/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
vp8_dx_iface.c | 468 MACROBLOCKD *const xd = & pbi->mb; local 504 xd->pre = pc->yv12_fb[pc->lst_fb_idx]; 505 xd->dst = pc->yv12_fb[pc->new_fb_idx];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_encodemb.c | 111 MACROBLOCKD *const xd = &mb->e_mbd; local 113 struct macroblockd_plane *pd = &xd->plane[plane]; 114 const int ref = is_inter_block(&xd->mi[0]->mbmi); 133 const scan_order *so = get_scan(xd, tx_size, type, block); 319 MACROBLOCKD *const xd = &x->e_mbd; local 321 const struct macroblockd_plane *const pd = &xd->plane[plane]; 371 MACROBLOCKD *const xd = &x->e_mbd; local 374 struct macroblockd_plane *const pd = &xd->plane[plane]; 421 xd->itxm_add(dqcoeff, dst, pd->dst.stride, p->eobs[block]); 431 MACROBLOCKD *const xd = &x->e_mbd local 453 MACROBLOCKD *const xd = &x->e_mbd; local 479 MACROBLOCKD *const xd = &x->e_mbd; local 610 const MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
vp9_bitstream.c | 86 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 87 const vp9_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, 99 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 104 vp9_write(w, skip, vp9_get_skip_prob(&cpi->common, xd)); 194 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 195 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; 209 vp9_write(w, is_compound, vp9_get_reference_mode_prob(cm, xd)); 216 vp9_get_pred_prob_comp_ref_p(cm, xd)); 219 vp9_write(w, bit0, vp9_get_pred_prob_single_ref_p1(cm, xd)); 222 vp9_write(w, bit1, vp9_get_pred_prob_single_ref_p2(cm, xd)); 233 const MACROBLOCKD *const xd = &x->e_mbd; local 336 const MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 375 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 421 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 1114 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local [all...] |
vp9_mcomp.c | 275 const MACROBLOCKD *xd = &x->e_mbd; local 284 const int y_stride = xd->plane[0].pre[0].stride; 286 const uint8_t *y = xd->plane[0].pre[0].buf + offset; 373 const MACROBLOCKD *xd = &x->e_mbd; local 383 const int y_stride = xd->plane[0].pre[0].stride; 385 const uint8_t *y = xd->plane[0].pre[0].buf + offset; 510 const MACROBLOCKD *const xd = &x->e_mbd; local 516 const struct buf_2d *const in_what = &xd->plane[0].pre[0]; 705 const MACROBLOCKD *const xd = &x->e_mbd; local 707 const struct buf_2d *const in_what = &xd->plane[0].pre[0] 722 const MACROBLOCKD *const xd = &x->e_mbd; local 885 const MACROBLOCKD *const xd = &x->e_mbd; local 986 const MACROBLOCKD *const xd = &x->e_mbd; local 1095 const MACROBLOCKD *const xd = &x->e_mbd; local 1309 const MACROBLOCKD *const xd = &x->e_mbd; local 1346 const MACROBLOCKD *const xd = &x->e_mbd; local 1438 const MACROBLOCKD *const xd = &x->e_mbd; local 1559 const MACROBLOCKD *const xd = &x->e_mbd; local 1608 const MACROBLOCKD *const xd = &x->e_mbd; local 1709 const MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
vp9_firstpass.c | 379 const MACROBLOCKD *const xd = &x->e_mbd; local 382 const uint8_t *const ref = xd->plane[0].pre[0].buf; 383 const int ref_stride = xd->plane[0].pre[0].stride; 385 vp9_variance_fn_t fn = get_block_variance_fn(xd->mi[0]->mbmi.sb_type); 393 MACROBLOCKD *const xd = &x->e_mbd; local 399 const BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; 475 MACROBLOCKD *const xd = &x->e_mbd; local 478 struct macroblockd_plane *const pd = xd->plane; 536 set_ref_ptrs(cm, xd, ref_frame, NONE); 540 vp9_setup_pre_planes(xd, 0, first_ref_buf, 0, 0, NULL) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_feature_matching.cpp | 2790 double xd[2],wx[2]; local 2834 double xd[2],wx[2]; local 2881 double xd[2],wx[2]; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbreg.h | 423 xd = H*xs; 424 xd = xd/xd(3); 484 int xd=0, yd=0; local 489 xd = static_cast<unsigned int>(lut_x[j][i]); 491 if ( xd >= w || yd >= h || 492 xd < 0 || yd < 0) 500 dst[j][3*i ] = src[yd][3*xd ]; 501 dst[j][3*i+1] = src[yd][3*xd+1] 530 double xd=0.0, yd=0.0; local [all...] |
/external/ceres-solver/examples/ |
libmv_bundle_adjuster.cc | 469 // Apply distortion to the normalized points to get (xd, yd). 474 T xd = x * r_coeff + T(2)*p1*x*y + p2*(r2 + T(2)*x*x); local 478 *image_x = focal_length_x * xd + principal_point_x; 521 // Apply distortion to the normalized points to get (xd, yd).
|
/external/deqp/framework/referencerenderer/ |
rrRasterizer.cpp | 61 const deInt64 xd = x1-x0; local 66 inclusive = verticalFill == FILL_BOTTOM ? xd >= 0 : xd <= 0; [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
bitstream.c | 573 MACROBLOCKD *xd = &cpi->mb.e_mbd; local 579 xd->mb_to_left_edge = -((mb_col * 16) << 3); 580 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; 581 xd->mb_to_top_edge = -((mb_row * 16) << 3); 582 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; 632 vp8_find_near_mvs(xd, m, &n1, &n2, &best_mv, ct, rf, cpi->common.ref_frame_sign_bias); 633 vp8_clamp_mv2(&best_mv, xd); 1274 MACROBLOCKD *const xd = & cpi->mb.e_mbd; local [all...] |
pickinter.c | 288 MACROBLOCKD *const xd = &mb->e_mbd; local 290 int cost = mb->mbmode_cost [xd->frame_type] [B_PRED]; 295 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); 301 MODE_INFO *const mic = xd->mode_info_context; 302 const int mis = xd->mode_info_stride; 495 MACROBLOCKD *xd = &x->e_mbd; local 498 if (xd->mode_info_context->mbmi.mode == NEWMV) 500 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row 563 MACROBLOCKD *xd = &x->e_mbd; local 683 MACROBLOCKD *xd = &x->e_mbd; local 1523 MACROBLOCKD *xd = &x->e_mbd; local [all...] |
firstpass.c | 411 MACROBLOCKD * const xd = & x->e_mbd; local 430 xd->pre.y_buffer = recon_buffer->y_buffer + recon_yoffset; 431 ref_ptr = (unsigned char *)(xd->pre.y_buffer + d->offset ); 441 MACROBLOCKD *const xd = & x->e_mbd; local 460 xd->pre.y_buffer = recon_buffer->y_buffer + recon_yoffset; 513 MACROBLOCKD *const xd = & x->e_mbd; local 543 xd->pre = *lst_yv12; 544 xd->dst = *new_yv12; 548 xd->mode_info_context = cm->mi; 552 xd->subpixel_predict = vp8_sixtap_predict4x4 [all...] |
onyx_if.c | 5243 const MACROBLOCKD *xd = &cpi->mb.e_mbd; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_bitstream.c | 81 const MACROBLOCKD *xd, vpx_writer *w) { 82 TX_SIZE tx_size = xd->mi[0]->mbmi.tx_size; 83 BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; 85 const vpx_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, 95 static int write_skip(const VP9_COMMON *cm, const MACROBLOCKD *xd, 101 vpx_write(w, skip, vp9_get_skip_prob(cm, xd)); 201 static void write_ref_frames(const VP9_COMMON *cm, const MACROBLOCKD *xd, 203 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; 217 vpx_write(w, is_compound, vp9_get_reference_mode_prob(cm, xd)); 224 vp9_get_pred_prob_comp_ref_p(cm, xd)); 241 const MACROBLOCKD *const xd = &x->e_mbd; local 381 MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; local 431 MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; local 488 MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; local 1080 MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; local 1155 MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; local [all...] |
vp9_mcomp.c | 284 const MACROBLOCKD *xd = &x->e_mbd; \ 292 const int y_stride = xd->plane[0].pre[0].stride; \ 294 const uint8_t *const y = xd->plane[0].pre[0].buf; \ 311 static unsigned int setup_center_error(const MACROBLOCKD *xd, 328 if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { 345 (void) xd; 401 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, 480 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, 554 besterr = setup_center_error(xd, bestmv, ref_mv, error_per_bit, vfp, 658 const MACROBLOCKD *xd = &x->e_mbd local 894 const MACROBLOCKD *const xd = &x->e_mbd; local 1069 const MACROBLOCKD *const xd = &x->e_mbd; local 1346 const MACROBLOCKD *const xd = &x->e_mbd; local 1363 const MACROBLOCKD *const xd = &x->e_mbd; local 1532 const MACROBLOCKD *const xd = &x->e_mbd; local 1607 const MACROBLOCKD *const xd = &x->e_mbd; local 1817 MACROBLOCKD *xd = &x->e_mbd; local 2023 const MACROBLOCKD *const xd = &x->e_mbd; local 2056 const MACROBLOCKD *const xd = &x->e_mbd; local 2121 const MACROBLOCKD *const xd = &x->e_mbd; local 2210 const MACROBLOCKD *const xd = &x->e_mbd; local 2292 const MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
vp9_pickmode.c | 44 const MACROBLOCKD *xd, 67 const MODE_INFO *const candidate_mi = xd->mi[mv_ref->col + mv_ref->row * 68 xd->mi_stride]; 88 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row * 89 xd->mi_stride]->mbmi; 104 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row 105 * xd->mi_stride]->mbmi; 120 clamp_mv_ref(&mv_ref_list[i].as_mv, xd); 129 MACROBLOCKD *xd = &x->e_mbd; local 130 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi 568 MACROBLOCKD *xd = &x->e_mbd; local 581 MACROBLOCKD *xd = &x->e_mbd; local 781 MACROBLOCKD *xd = &x->e_mbd; local 886 MACROBLOCKD *const xd = &x->e_mbd; local 977 MACROBLOCKD *const xd = &x->e_mbd; local 1080 MACROBLOCKD *const xd = &x->e_mbd; local 1679 MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
/external/opencv3/modules/imgproc/src/ |
emd.cpp | 437 float* xd = xs + dims; local 440 memset( xd, 0, dims*sizeof(xd[0])); 453 xd[i] += signature2[j + i + 1] * weight; 456 lb = dist_func( xs, xd, user_param ) / state->weight; [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmslut.c | 1704 cmsFloat32Number fx[4], x[4], xd[4], fxd[4]; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
bitstream.c | 572 MACROBLOCKD *xd = &cpi->mb.e_mbd; local 578 xd->mb_to_left_edge = -((mb_col * 16) << 3); 579 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; 580 xd->mb_to_top_edge = -((mb_row * 16) << 3); 581 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; 631 vp8_find_near_mvs(xd, m, &n1, &n2, &best_mv, ct, rf, cpi->common.ref_frame_sign_bias); 632 vp8_clamp_mv2(&best_mv, xd); 1273 MACROBLOCKD *const xd = & cpi->mb.e_mbd; local [all...] |
pickinter.c | 188 MACROBLOCKD *const xd = &mb->e_mbd; local 190 int cost = mb->mbmode_cost [xd->frame_type] [B_PRED]; 195 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); 201 MODE_INFO *const mic = xd->mode_info_context; 202 const int mis = xd->mode_info_stride; 396 MACROBLOCKD *xd = &x->e_mbd; local 399 if (xd->mode_info_context->mbmi.mode == NEWMV) 401 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row 464 MACROBLOCKD *xd = &x->e_mbd; local 575 MACROBLOCKD *xd = &x->e_mbd; local 1260 MACROBLOCKD *xd = &x->e_mbd; local [all...] |
onyx_if.c | 4880 const MACROBLOCKD *xd = &cpi->mb.e_mbd; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_decodeframe.c | 184 static void setup_plane_dequants(VP9_COMMON *cm, MACROBLOCKD *xd, int q_index) { 186 xd->plane[0].dequant = cm->y_dequant[q_index]; 189 xd->plane[i].dequant = cm->uv_dequant[q_index]; 192 static void inverse_transform_block(MACROBLOCKD* xd, int plane, int block, 195 struct macroblockd_plane *const pd = &xd->plane[plane]; 202 tx_type = get_tx_type_4x4(plane_type, xd, block); 204 xd->itxm_add(dqcoeff, dst, stride, eob); 209 tx_type = get_tx_type(plane_type, xd); 213 tx_type = get_tx_type(plane_type, xd); 239 MACROBLOCKD *xd; member in struct:intra_args 248 MACROBLOCKD *const xd = args->xd; local 274 MACROBLOCKD *xd; member in struct:inter_args 284 MACROBLOCKD *const xd = args->xd; local 681 MACROBLOCKD *xd = &pbi->mb; local 1155 MACROBLOCKD *const xd = &pbi->mb; local 1256 MACROBLOCKD *const xd = &pbi->mb; local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Intersector.java | 774 float xd = x1 - x3; local 775 float ua = ((x4 - x3) * yd - (y4 - y3) * xd) / d; 815 float xd = x1 - x3; local 816 float ua = ((x4 - x3) * yd - (y4 - y3) * xd) / d; 818 float ub = ((x2 - x1) * yd - (y2 - y1) * xd) / d; 845 float xd = x1 - x3; local 846 float ua = ((x4 - x3) * yd - (y4 - y3) * xd) / d; 849 float ub = ((x2 - x1) * yd - (y2 - y1) * xd) / d; 863 float xd = x1 - x3; local [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodeframe.c | 187 static void inverse_transform_block_inter(MACROBLOCKD* xd, int plane, 191 struct macroblockd_plane *const pd = &xd->plane[plane]; 195 if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) { 196 if (xd->lossless) { 197 vp9_highbd_iwht4x4_add(dqcoeff, dst, stride, eob, xd->bd); 201 vp9_highbd_idct4x4_add(dqcoeff, dst, stride, eob, xd->bd); 204 vp9_highbd_idct8x8_add(dqcoeff, dst, stride, eob, xd->bd); 207 vp9_highbd_idct16x16_add(dqcoeff, dst, stride, eob, xd->bd); 210 vp9_highbd_idct32x32_add(dqcoeff, dst, stride, eob, xd->bd); 217 if (xd->lossless) 2036 MACROBLOCKD *const xd = &pbi->mb; local 2169 MACROBLOCKD *const xd = &pbi->mb; local [all...] |
/external/opencv/cv/src/ |
cvfundam.cpp | 1347 float* xd = dst->data.fl; local 1393 double* xd = dst->data.db; local [all...] |