Home
last modified time | relevance | path

Searched refs:as_int (Results 1 – 25 of 87) sorted by relevance

1234

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
Dfindnearmv.c45 mv[0].as_int = mv[1].as_int = mv[2].as_int = 0; in vp8_find_near_mvs()
51 if (above->mbmi.mv.as_int) in vp8_find_near_mvs()
53 (++mv)->as_int = above->mbmi.mv.as_int; in vp8_find_near_mvs()
64 if (left->mbmi.mv.as_int) in vp8_find_near_mvs()
68 this_mv.as_int = left->mbmi.mv.as_int; in vp8_find_near_mvs()
71 if (this_mv.as_int != mv->as_int) in vp8_find_near_mvs()
73 (++mv)->as_int = this_mv.as_int; in vp8_find_near_mvs()
86 if (aboveleft->mbmi.mv.as_int) in vp8_find_near_mvs()
90 this_mv.as_int = aboveleft->mbmi.mv.as_int; in vp8_find_near_mvs()
93 if (this_mv.as_int != mv->as_int) in vp8_find_near_mvs()
[all …]
Dentropymode.c21 int lez = (l->as_int == 0); in vp8_mv_cont()
22 int aez = (a->as_int == 0); in vp8_mv_cont()
23 int lea = (l->as_int == a->as_int); in vp8_mv_cont()
Dreconinter.c278 x->block[voffset].bmi.mv.as_int = x->block[uoffset].bmi.mv.as_int; in vp8_build_inter4x4_predictors_mbuv()
288 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in vp8_build_inter4x4_predictors_mbuv()
303 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in vp8_build_inter4x4_predictors_mbuv()
392 _16x16mv.as_int = x->mode_info_context->mbmi.mv.as_int; in vp8_build_inter16x16_predictors_mb()
401 if ( _16x16mv.as_int & 0x00070007) in vp8_build_inter16x16_predictors_mb()
423 if ( _16x16mv.as_int & 0x00070007) in vp8_build_inter16x16_predictors_mb()
483 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in build_inter4x4_predictors_mb()
504 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in build_inter4x4_predictors_mb()
523 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in build_inter4x4_predictors_mb()
569 x->block[voffset].bmi.mv.as_int = x->block[uoffset].bmi.mv.as_int; in build_4x4uvmvs()
Dfindnearmv.h112 return cur_mb->mbmi.mv.as_int; in left_block_mv()
116 return (cur_mb->bmi + b - 1)->mv.as_int; in left_block_mv()
127 return cur_mb->mbmi.mv.as_int; in above_block_mv()
131 return (cur_mb->bmi + (b - 4))->mv.as_int; in above_block_mv()
/external/libvpx/libvpx/vp8/common/
Dfindnearmv.c45 mv[0].as_int = mv[1].as_int = mv[2].as_int = 0; in vp8_find_near_mvs()
51 if (above->mbmi.mv.as_int) in vp8_find_near_mvs()
53 (++mv)->as_int = above->mbmi.mv.as_int; in vp8_find_near_mvs()
64 if (left->mbmi.mv.as_int) in vp8_find_near_mvs()
68 this_mv.as_int = left->mbmi.mv.as_int; in vp8_find_near_mvs()
71 if (this_mv.as_int != mv->as_int) in vp8_find_near_mvs()
73 (++mv)->as_int = this_mv.as_int; in vp8_find_near_mvs()
86 if (aboveleft->mbmi.mv.as_int) in vp8_find_near_mvs()
90 this_mv.as_int = aboveleft->mbmi.mv.as_int; in vp8_find_near_mvs()
93 if (this_mv.as_int != mv->as_int) in vp8_find_near_mvs()
[all …]
Dentropymode.c21 int lez = (l->as_int == 0); in vp8_mv_cont()
22 int aez = (a->as_int == 0); in vp8_mv_cont()
23 int lea = (l->as_int == a->as_int); in vp8_mv_cont()
Dreconinter.c278 x->block[voffset].bmi.mv.as_int = x->block[uoffset].bmi.mv.as_int; in vp8_build_inter4x4_predictors_mbuv()
288 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in vp8_build_inter4x4_predictors_mbuv()
303 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in vp8_build_inter4x4_predictors_mbuv()
392 _16x16mv.as_int = x->mode_info_context->mbmi.mv.as_int; in vp8_build_inter16x16_predictors_mb()
401 if ( _16x16mv.as_int & 0x00070007) in vp8_build_inter16x16_predictors_mb()
423 if ( _16x16mv.as_int & 0x00070007) in vp8_build_inter16x16_predictors_mb()
483 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in build_inter4x4_predictors_mb()
504 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in build_inter4x4_predictors_mb()
523 if (d0->bmi.mv.as_int == d1->bmi.mv.as_int) in build_inter4x4_predictors_mb()
569 x->block[voffset].bmi.mv.as_int = x->block[uoffset].bmi.mv.as_int; in build_4x4uvmvs()
Dfindnearmv.h112 return cur_mb->mbmi.mv.as_int; in left_block_mv()
116 return (cur_mb->bmi + b - 1)->mv.as_int; in left_block_mv()
127 return cur_mb->mbmi.mv.as_int; in above_block_mv()
131 return (cur_mb->bmi + (b - 4))->mv.as_int; in above_block_mv()
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
Ddecodemv.c268 leftmv.as_int = left_mb->mbmi.mv.as_int; in decode_split_mv()
270 leftmv.as_int = (left_mb->bmi + k + 4 - 1)->mv.as_int; in decode_split_mv()
273 leftmv.as_int = (mi->bmi + k - 1)->mv.as_int; in decode_split_mv()
279 abovemv.as_int = above_mb->mbmi.mv.as_int; in decode_split_mv()
281 abovemv.as_int = (above_mb->bmi + k + 16 - 4)->mv.as_int; in decode_split_mv()
284 abovemv.as_int = (mi->bmi + k - 4)->mv.as_int; in decode_split_mv()
286 prob = get_sub_mv_ref_prob(leftmv.as_int, abovemv.as_int); in decode_split_mv()
292 blockmv.as_int = 0; in decode_split_mv()
303 blockmv.as_int = abovemv.as_int; in decode_split_mv()
308 blockmv.as_int = leftmv.as_int; in decode_split_mv()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Ddecodemv.c268 leftmv.as_int = left_mb->mbmi.mv.as_int; in decode_split_mv()
270 leftmv.as_int = (left_mb->bmi + k + 4 - 1)->mv.as_int; in decode_split_mv()
273 leftmv.as_int = (mi->bmi + k - 1)->mv.as_int; in decode_split_mv()
279 abovemv.as_int = above_mb->mbmi.mv.as_int; in decode_split_mv()
281 abovemv.as_int = (above_mb->bmi + k + 16 - 4)->mv.as_int; in decode_split_mv()
284 abovemv.as_int = (mi->bmi + k - 4)->mv.as_int; in decode_split_mv()
286 prob = get_sub_mv_ref_prob(leftmv.as_int, abovemv.as_int); in decode_split_mv()
292 blockmv.as_int = 0; in decode_split_mv()
303 blockmv.as_int = abovemv.as_int; in decode_split_mv()
308 blockmv.as_int = leftmv.as_int; in decode_split_mv()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_mvref_common.c157 near->as_int = 0; in vp9_append_sub8x8_mvs_for_idx()
160 nearest->as_int = mv_list[0].as_int; in vp9_append_sub8x8_mvs_for_idx()
161 near->as_int = mv_list[1].as_int; in vp9_append_sub8x8_mvs_for_idx()
165 nearest->as_int = bmi[0].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
167 if (nearest->as_int != mv_list[n].as_int) { in vp9_append_sub8x8_mvs_for_idx()
168 near->as_int = mv_list[n].as_int; in vp9_append_sub8x8_mvs_for_idx()
179 nearest->as_int = bmi[2].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
181 if (nearest->as_int != candidates[n].as_int) { in vp9_append_sub8x8_mvs_for_idx()
182 near->as_int = candidates[n].as_int; in vp9_append_sub8x8_mvs_for_idx()
Dvp9_mvref_common.h164 if ((mv).as_int != mv_ref_list[0].as_int) { \
182 (mbmi)->mv[1].as_int != (mbmi)->mv[0].as_int) \
/external/libvpx/libvpx/vp9/common/
Dvp9_mvref_common.c154 if ((mv).as_int != mv_ref_list[0].as_int) { \
172 (mbmi)->mv[1].as_int != (mbmi)->mv[0].as_int) \
332 near->as_int = 0; in vp9_append_sub8x8_mvs_for_idx()
335 nearest->as_int = mv_list[0].as_int; in vp9_append_sub8x8_mvs_for_idx()
336 near->as_int = mv_list[1].as_int; in vp9_append_sub8x8_mvs_for_idx()
340 nearest->as_int = bmi[0].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
342 if (nearest->as_int != mv_list[n].as_int) { in vp9_append_sub8x8_mvs_for_idx()
343 near->as_int = mv_list[n].as_int; in vp9_append_sub8x8_mvs_for_idx()
354 nearest->as_int = bmi[2].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
356 if (nearest->as_int != candidates[n].as_int) { in vp9_append_sub8x8_mvs_for_idx()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c92 dst_mv->as_int = 0; in do_16x16_motion_search()
100 dst_mv->as_int = tmp_mv.as_int; in do_16x16_motion_search()
105 if (ref_mv->as_int) { in do_16x16_motion_search()
109 zero_ref_mv.as_int = 0; in do_16x16_motion_search()
113 dst_mv->as_int = tmp_mv.as_int; in do_16x16_motion_search()
132 dst_mv->as_int = 0; in do_16x16_zerozero_search()
212 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
227 stats->ref[ALTREF_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
247 arf_top_mv.as_int = 0; in update_mbgraph_frame_stats()
248 gld_top_mv.as_int = 0; in update_mbgraph_frame_stats()
[all …]
Dvp9_rdopt.c1492 this_mv[0].as_int = seg_mvs[mbmi->ref_frame[0]].as_int; in labels2mode()
1496 this_mv[1].as_int = seg_mvs[mbmi->ref_frame[1]].as_int; in labels2mode()
1502 this_mv[0].as_int = frame_mv[NEARESTMV][mbmi->ref_frame[0]].as_int; in labels2mode()
1504 this_mv[1].as_int = frame_mv[NEARESTMV][mbmi->ref_frame[1]].as_int; in labels2mode()
1507 this_mv[0].as_int = frame_mv[NEARMV][mbmi->ref_frame[0]].as_int; in labels2mode()
1509 this_mv[1].as_int = frame_mv[NEARMV][mbmi->ref_frame[1]].as_int; in labels2mode()
1512 this_mv[0].as_int = 0; in labels2mode()
1514 this_mv[1].as_int = 0; in labels2mode()
1520 mic->bmi[i].as_mv[0].as_int = this_mv[0].as_int; in labels2mode()
1522 mic->bmi[i].as_mv[1].as_int = this_mv[1].as_int; in labels2mode()
[all …]
Dvp9_pickmode.c69 tmp_mv->as_int = INVALID_MV; in full_pixel_motion_search()
268 frame_mv[NEWMV][ref_frame].as_int = INVALID_MV; in vp9_pick_inter_mode()
269 frame_mv[ZEROMV][ref_frame].as_int = 0; in vp9_pick_inter_mode()
317 if (frame_mv[NEWMV][ref_frame].as_int == INVALID_MV) in vp9_pick_inter_mode()
330 if (frame_mv[this_mode][ref_frame].as_int == in vp9_pick_inter_mode()
331 frame_mv[NEARESTMV][ref_frame].as_int) in vp9_pick_inter_mode()
335 mbmi->mv[0].as_int = frame_mv[this_mode][ref_frame].as_int; in vp9_pick_inter_mode()
412 mbmi->mv[0].as_int = frame_mv[best_mode][best_ref_frame].as_int; in vp9_pick_inter_mode()
413 xd->mi[0]->bmi[0].as_mv[0].as_int = mbmi->mv[0].as_int; in vp9_pick_inter_mode()
436 mbmi->mv[0].as_int = INVALID_MV; in vp9_pick_inter_mode()
/external/libvpx/libvpx/vp8/encoder/
Drdopt.c941 x->e_mbd.mode_info_context->mbmi.mv.as_int = mv->as_int; in vp8_set_mbmode_and_mvs()
990 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); in labels2mode()
993 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); in labels2mode()
996 this_mv->as_int = 0; in labels2mode()
1006 left_mv.as_int = col ? d[-1].bmi.mv.as_int : in labels2mode()
1009 if (left_mv.as_int == this_mv->as_int) in labels2mode()
1016 d->bmi.mv.as_int = this_mv->as_int; in labels2mode()
1019 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; in labels2mode()
1199 bsi->mvp.as_int = bsi->sv_mvp[i].as_int; in rd_check_segment()
1201 bsi->mvp.as_int = bsi->sv_mvp[2].as_int; in rd_check_segment()
[all …]
Dpickinter.c648 best_ref_mv.as_int = 0; in vp8_pick_inter_mode()
678 best_ref_mv.as_int = best_ref_mv_sb[sign_bias].as_int; in vp8_pick_inter_mode()
724 best_ref_mv.as_int = best_ref_mv_sb[sign_bias].as_int; in vp8_pick_inter_mode()
731 mode_mv[NEARESTMV].as_int ==0) in vp8_pick_inter_mode()
734 mode_mv[NEARMV].as_int ==0) in vp8_pick_inter_mode()
738 && best_ref_mv.as_int==0) in vp8_pick_inter_mode()
741 && best_ref_mv.as_int==parent_ref_mv.as_int) in vp8_pick_inter_mode()
893 mvp.as_int = parent_ref_mv.as_int; in vp8_pick_inter_mode()
925 mvp.as_int = best_ref_mv.as_int; in vp8_pick_inter_mode()
936 d->bmi.mv.as_int = mvp_full.as_int; in vp8_pick_inter_mode()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
Drdopt.c940 x->e_mbd.mode_info_context->mbmi.mv.as_int = mv->as_int; in vp8_set_mbmode_and_mvs()
989 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); in labels2mode()
992 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); in labels2mode()
995 this_mv->as_int = 0; in labels2mode()
1005 left_mv.as_int = col ? d[-1].bmi.mv.as_int : in labels2mode()
1008 if (left_mv.as_int == this_mv->as_int) in labels2mode()
1015 d->bmi.mv.as_int = this_mv->as_int; in labels2mode()
1018 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; in labels2mode()
1198 bsi->mvp.as_int = bsi->sv_mvp[i].as_int; in rd_check_segment()
1200 bsi->mvp.as_int = bsi->sv_mvp[2].as_int; in rd_check_segment()
[all …]
Dpickinter.c651 best_ref_mv.as_int = 0; in vp8_pick_inter_mode()
681 best_ref_mv.as_int = best_ref_mv_sb[sign_bias].as_int; in vp8_pick_inter_mode()
734 best_ref_mv.as_int = best_ref_mv_sb[sign_bias].as_int; in vp8_pick_inter_mode()
741 mode_mv[NEARESTMV].as_int ==0) in vp8_pick_inter_mode()
744 mode_mv[NEARMV].as_int ==0) in vp8_pick_inter_mode()
748 && best_ref_mv.as_int==0) in vp8_pick_inter_mode()
751 && best_ref_mv.as_int==parent_ref_mv.as_int) in vp8_pick_inter_mode()
903 mvp.as_int = parent_ref_mv.as_int; in vp8_pick_inter_mode()
935 mvp.as_int = best_ref_mv.as_int; in vp8_pick_inter_mode()
946 d->bmi.mv.as_int = mvp_full.as_int; in vp8_pick_inter_mode()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c384 mv[0].as_int = nearest_mv[0].as_int; in assign_mv()
386 mv[1].as_int = nearest_mv[1].as_int; in assign_mv()
390 mv[0].as_int = near_mv[0].as_int; in assign_mv()
392 mv[1].as_int = near_mv[1].as_int; in assign_mv()
396 mv[0].as_int = 0; in assign_mv()
398 mv[1].as_int = 0; in assign_mv()
493 mi->bmi[j].as_mv[0].as_int = block[0].as_int; in read_inter_block_mode_info()
495 mi->bmi[j].as_mv[1].as_int = block[1].as_int; in read_inter_block_mode_info()
506 mbmi->mv[0].as_int = mi->bmi[3].as_mv[0].as_int; in read_inter_block_mode_info()
507 mbmi->mv[1].as_int = mi->bmi[3].as_mv[1].as_int; in read_inter_block_mode_info()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
Dvp9_decodemv.c383 mv[0].as_int = nearest_mv[0].as_int; in assign_mv()
385 mv[1].as_int = nearest_mv[1].as_int; in assign_mv()
389 mv[0].as_int = near_mv[0].as_int; in assign_mv()
391 mv[1].as_int = near_mv[1].as_int; in assign_mv()
395 mv[0].as_int = 0; in assign_mv()
397 mv[1].as_int = 0; in assign_mv()
497 mi->bmi[j].as_mv[0].as_int = block[0].as_int; in read_inter_block_mode_info()
499 mi->bmi[j].as_mv[1].as_int = block[1].as_int; in read_inter_block_mode_info()
510 mbmi->mv[0].as_int = mi->bmi[3].as_mv[0].as_int; in read_inter_block_mode_info()
511 mbmi->mv[1].as_int = mi->bmi[3].as_mv[1].as_int; in read_inter_block_mode_info()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_rdopt.c1053 this_mv[0].as_int = seg_mvs[mbmi->ref_frame[0]].as_int; in set_and_cost_bmi_mvs()
1057 this_mv[1].as_int = seg_mvs[mbmi->ref_frame[1]].as_int; in set_and_cost_bmi_mvs()
1064 this_mv[0].as_int = frame_mv[mode][mbmi->ref_frame[0]].as_int; in set_and_cost_bmi_mvs()
1066 this_mv[1].as_int = frame_mv[mode][mbmi->ref_frame[1]].as_int; in set_and_cost_bmi_mvs()
1069 this_mv[0].as_int = 0; in set_and_cost_bmi_mvs()
1071 this_mv[1].as_int = 0; in set_and_cost_bmi_mvs()
1077 mic->bmi[i].as_mv[0].as_int = this_mv[0].as_int; in set_and_cost_bmi_mvs()
1079 mic->bmi[i].as_mv[1].as_int = this_mv[1].as_int; in set_and_cost_bmi_mvs()
1237 frame_mv[this_mode][ref_frames[0]].as_int == 0 && in check_best_zero_mv()
1239 frame_mv[this_mode][ref_frames[1]].as_int == 0)) { in check_best_zero_mv()
[all …]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dmock_util.h30 return arg.value.as_int == var.value.as_int;
/external/chromium_org/ppapi/shared_impl/
Dunittest_utils.cc64 if (expected.value.as_int != actual.value.as_int) { in Equals()
65 LOG(ERROR) << "expected: " << expected.value.as_int in Equals()
66 << " actual: " << actual.value.as_int; in Equals()

1234