/external/chromium_org/third_party/libvpx/source/libvpx/vp8/ |
vp8_dx_iface.c | 411 MACROBLOCKD *const xd = & pbi->mb; local 448 xd->pre = pc->yv12_fb[pc->lst_fb_idx]; 449 xd->dst = pc->yv12_fb[pc->new_fb_idx];
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_encodemb.c | 103 MACROBLOCKD *const xd = &mb->e_mbd; local 105 struct macroblockd_plane *const pd = &xd->plane[plane]; 106 const int ref = is_inter_block(&xd->mi[0].src_mi->mbmi); 119 const scan_order *const so = get_scan(xd, tx_size, type, block); 317 MACROBLOCKD *const xd = &x->e_mbd; local 319 const struct macroblockd_plane *const pd = &xd->plane[plane]; 368 MACROBLOCKD *const xd = &x->e_mbd; local 370 const struct macroblockd_plane *const pd = &xd->plane[plane]; 415 MACROBLOCKD *const xd = &x->e_mbd; local 417 const struct macroblockd_plane *const pd = &xd->plane[plane] 468 MACROBLOCKD *const xd = &x->e_mbd; local 549 MACROBLOCKD *const xd = &x->e_mbd; local 571 MACROBLOCKD *const xd = &x->e_mbd; local 602 MACROBLOCKD *const xd = &x->e_mbd; local 734 const MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
vp9_tokenize.c | 247 MACROBLOCKD *xd; member in struct:tokenize_b_args 254 MACROBLOCKD *const xd = args->xd; local 256 struct macroblockd_plane *pd = &xd->plane[plane]; 259 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0, 297 MACROBLOCKD *xd = args->xd; local 301 struct macroblockd_plane *pd = &xd->plane[plane]; 302 MB_MODE_INFO *mbmi = &xd->mi[0].src_mi->mbmi; 328 so = get_scan(xd, tx_size, type, block) 409 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local [all...] |
vp9_bitstream.c | 82 const MACROBLOCKD *xd, 86 const vp9_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, 96 static int write_skip(const VP9_COMMON *cm, const MACROBLOCKD *xd, 102 vp9_write(w, skip, vp9_get_skip_prob(cm, xd)); 190 static void write_ref_frames(const VP9_COMMON *cm, const MACROBLOCKD *xd, 192 const MB_MODE_INFO *const mbmi = &xd->mi[0].src_mi->mbmi; 206 vp9_write(w, is_compound, vp9_get_reference_mode_prob(cm, xd)); 213 vp9_get_pred_prob_comp_ref_p(cm, xd)); 216 vp9_write(w, bit0, vp9_get_pred_prob_single_ref_p1(cm, xd)); 219 vp9_write(w, bit1, vp9_get_pred_prob_single_ref_p2(cm, xd)); 230 const MACROBLOCKD *const xd = &x->e_mbd; local 373 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 420 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local 1147 MACROBLOCKD *const xd = &cpi->mb.e_mbd; local [all...] |
vp9_mcomp.c | 262 const MACROBLOCKD *xd = &x->e_mbd; \ 270 const int y_stride = xd->plane[0].pre[0].stride; \ 272 const uint8_t *const y = xd->plane[0].pre[0].buf; \ 505 const MACROBLOCKD *const xd = &x->e_mbd; local 511 const struct buf_2d *const in_what = &xd->plane[0].pre[0]; 706 const MACROBLOCKD *const xd = &x->e_mbd; local 712 const struct buf_2d *const in_what = &xd->plane[0].pre[0]; 983 const MACROBLOCKD *const xd = &x->e_mbd; local 1000 const MACROBLOCKD *const xd = &x->e_mbd; local 1169 const MACROBLOCKD *const xd = &x->e_mbd; local 1244 const MACROBLOCKD *const xd = &x->e_mbd; local 1445 const MACROBLOCKD *const xd = &x->e_mbd; local 1478 const MACROBLOCKD *const xd = &x->e_mbd; local 1543 const MACROBLOCKD *const xd = &x->e_mbd; local 1632 const MACROBLOCKD *const xd = &x->e_mbd; local 1714 const MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
/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/decoder/ |
decodeframe.c | 57 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) 61 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; 65 if (xd->segmentation_enabled) 68 if (xd->mb_segement_abs_delta == SEGMENT_ABSDATA) 69 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; 74 QIndex = pc->base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; 82 xd->dequant_y1_dc[0] = 1; 83 xd->dequant_y1[0] = pc->Y1dequant[QIndex][0]; 84 xd->dequant_y2[0] = pc->Y2dequant[QIndex][0]; 85 xd->dequant_uv[0] = pc->UVdequant[QIndex][0] 502 MACROBLOCKD *const xd = & pbi->mb; local 905 MACROBLOCKD *const xd = & pbi->mb; local 975 MACROBLOCKD *const xd = &pbi->mb; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
encodeframe.c | 265 MACROBLOCKD *xd = &x->e_mbd; local 283 xd->up_available = (mb_row != 0); 290 xd->dst.y_buffer = new_yv12->y_buffer + recon_yoffset; 291 xd->left_available = (mb_col != 0); 319 vp8_extend_mb_row(new_yv12, xd->dst.y_buffer + 16, 320 xd->dst.u_buffer + 8, xd->dst.v_buffer + 8); 365 MACROBLOCKD *xd, 404 xd->above_context = cm->above_context; 406 xd->up_available = (mb_row != 0) 610 MACROBLOCKD *const xd = & x->e_mbd; local 718 MACROBLOCKD *const xd = & x->e_mbd; local 1111 const MACROBLOCKD *xd = & x->e_mbd; local 1166 MACROBLOCKD *xd = &x->e_mbd; local 1213 MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
mcomp.c | 239 MACROBLOCKD *xd = &x->e_mbd; local 251 vfp->copymem(y_0 - buf_c1 - pre_stride*buf_r1, pre_stride, xd->y_buf, y_stride, 16+buf_r1+buf_r2); 252 y = xd->y_buf + y_stride*buf_r1 +buf_c1; 381 MACROBLOCKD *xd = &x->e_mbd; local 387 vfp->copymem(y_0 - 1 - pre_stride, pre_stride, xd->y_buf, y_stride, 18); 388 y = xd->y_buf + y_stride + 1; 692 MACROBLOCKD *xd = &x->e_mbd; local 698 vfp->copymem(y_0 - 1 - pre_stride, pre_stride, xd->y_buf, y_stride, 18); 699 y = xd->y_buf + y_stride + 1; [all...] |
/external/libvpx/libvpx/vp8/ |
vp8_dx_iface.c | 466 MACROBLOCKD *const xd = & pbi->mb; local 502 xd->pre = pc->yv12_fb[pc->lst_fb_idx]; 503 xd->dst = pc->yv12_fb[pc->new_fb_idx];
|
/external/libvpx/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...] |
/external/opencv/cv/src/ |
cvemd.cpp | 457 float* xd = xs + dims; local 460 memset( xd, 0, dims*sizeof(xd[0])); 473 xd[i] += signature2[j + i + 1] * weight; 476 lb = dist_func( xs, xd, user_param ) / state->weight; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
decodeframe.c | 57 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd) 61 MB_MODE_INFO *mbmi = &xd->mode_info_context->mbmi; 65 if (xd->segmentation_enabled) 68 if (xd->mb_segement_abs_delta == SEGMENT_ABSDATA) 69 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; 74 QIndex = pc->base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; 82 xd->dequant_y1_dc[0] = 1; 83 xd->dequant_y1[0] = pc->Y1dequant[QIndex][0]; 84 xd->dequant_y2[0] = pc->Y2dequant[QIndex][0]; 85 xd->dequant_uv[0] = pc->UVdequant[QIndex][0] 502 MACROBLOCKD *const xd = & pbi->mb; local 905 MACROBLOCKD *const xd = & pbi->mb; local 975 MACROBLOCKD *const xd = &pbi->mb; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
encodeframe.c | 266 MACROBLOCKD *xd = &x->e_mbd; local 284 xd->up_available = (mb_row != 0); 291 xd->dst.y_buffer = new_yv12->y_buffer + recon_yoffset; 292 xd->left_available = (mb_col != 0); 320 vp8_extend_mb_row(new_yv12, xd->dst.y_buffer + 16, 321 xd->dst.u_buffer + 8, xd->dst.v_buffer + 8); 366 MACROBLOCKD *xd, 405 xd->above_context = cm->above_context; 407 xd->up_available = (mb_row != 0) 611 MACROBLOCKD *const xd = & x->e_mbd; local 719 MACROBLOCKD *const xd = & x->e_mbd; local 1112 const MACROBLOCKD *xd = & x->e_mbd; local 1167 MACROBLOCKD *xd = &x->e_mbd; local 1214 MACROBLOCKD *const xd = &x->e_mbd; local [all...] |
mcomp.c | 239 MACROBLOCKD *xd = &x->e_mbd; local 251 vfp->copymem(y_0 - buf_c1 - pre_stride*buf_r1, pre_stride, xd->y_buf, y_stride, 16+buf_r1+buf_r2); 252 y = xd->y_buf + y_stride*buf_r1 +buf_c1; 381 MACROBLOCKD *xd = &x->e_mbd; local 387 vfp->copymem(y_0 - 1 - pre_stride, pre_stride, xd->y_buf, y_stride, 18); 388 y = xd->y_buf + y_stride + 1; 692 MACROBLOCKD *xd = &x->e_mbd; local 698 vfp->copymem(y_0 - 1 - pre_stride, pre_stride, xd->y_buf, y_stride, 18); 699 y = xd->y_buf + y_stride + 1; [all...] |
/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...] |
/packages/apps/Camera/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/Camera/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...] |
/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/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
bitstream.c | 571 MACROBLOCKD *xd = &cpi->mb.e_mbd; local 577 xd->mb_to_left_edge = -((mb_col * 16) << 3); 578 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; 579 xd->mb_to_top_edge = -((mb_row * 16) << 3); 580 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; 630 vp8_find_near_mvs(xd, m, &n1, &n2, &best_mv, ct, rf, cpi->common.ref_frame_sign_bias); 631 vp8_clamp_mv2(&best_mv, xd); 1272 MACROBLOCKD *const xd = & cpi->mb.e_mbd; local [all...] |
pickinter.c | 187 MACROBLOCKD *const xd = &mb->e_mbd; local 189 int cost = mb->mbmode_cost [xd->frame_type] [B_PRED]; 194 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); 200 MODE_INFO *const mic = xd->mode_info_context; 201 const int mis = xd->mode_info_stride; 394 MACROBLOCKD *xd = &x->e_mbd; local 397 if (xd->mode_info_context->mbmi.mode == NEWMV) 399 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row 462 MACROBLOCKD *xd = &x->e_mbd; local 576 MACROBLOCKD *xd = &x->e_mbd; local 1270 MACROBLOCKD *xd = &x->e_mbd; local [all...] |
/external/chromium_org/third_party/libvpx/source/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]; 199 if (xd->lossless) { 206 tx_type = get_tx_type_4x4(plane_type, xd, block); 210 tx_type = get_tx_type(plane_type, xd); 214 tx_type = get_tx_type(plane_type, xd); 241 MACROBLOCKD *xd; member in struct:intra_args 250 MACROBLOCKD *const xd = args->xd; local 276 MACROBLOCKD *xd; member in struct:inter_args 286 MACROBLOCKD *const xd = args->xd; local 1326 MACROBLOCKD *const xd = &pbi->mb; local 1449 MACROBLOCKD *const xd = &pbi->mb; local [all...] |