Searched defs:mv (Results 76 - 100 of 118) sorted by last modified time

12345

/external/deqp/framework/common/
H A DtcuTexLookupVerifier.cpp2061 const float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); local
2063 const float minDBound = de::max(de::max(mu, mv), mw);
2064 const float maxDBound = mu + mv + mw;
/external/chromium_org/v8/tools/
H A Dtest-push-to-trunk.sh198 mv() { function
200 echo "mv $@" >> $TEST_OUTPUT
226 export -f mv
/external/chromium_org/third_party/skia/tests/
H A DPathTest.cpp987 SkPoint mv; local
992 mv.set(0, 0);
996 mv = pts[0];
1000 REPORTER_ASSERT(reporter, mv == pts[0]);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dblockd.h19 #include "mv.h"
143 int_mv mv; member in union:b_mode_info
160 int_mv mv; member in struct:__anon13048
180 int_mv mv; member in struct:__anon13049
H A Dfindnearmv.c40 int_mv *mv = near_mvs; local
45 mv[0].as_int = mv[1].as_int = mv[2].as_int = 0;
51 if (above->mbmi.mv.as_int)
53 (++mv)->as_int = above->mbmi.mv.as_int;
54 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, ref_frame_sign_bias);
64 if (left->mbmi.mv.as_int)
68 this_mv.as_int = left->mbmi.mv
[all...]
H A Dfindnearmv.h15 #include "mv.h"
37 static void vp8_clamp_mv2(int_mv *mv, const MACROBLOCKD *xd) argument
39 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN))
40 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN;
41 else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN)
42 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN;
44 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN))
45 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN;
46 else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN)
47 mv
50 vp8_clamp_mv(int_mv *mv, int mb_to_left_edge, int mb_to_right_edge, int mb_to_top_edge, int mb_to_bottom_edge) argument
62 vp8_check_mv_bounds(int_mv *mv, int mb_to_left_edge, int mb_to_right_edge, int mb_to_top_edge, int mb_to_bottom_edge) argument
[all...]
H A Dpostproc.c959 MV *mv = &bmi->mv.as_mv; local
961 x1 = x0 + 8 + (mv->col >> 3);
962 y1 = y0 + 4 + (mv->row >> 3);
969 x1 = x0 + 8 + (mv->col >> 3);
970 y1 = y0 +12 + (mv->row >> 3);
980 MV *mv = &bmi->mv.as_mv; local
982 x1 = x0 + 4 + (mv->col >> 3);
983 y1 = y0 + 8 + (mv
1001 MV *mv = &bmi->mv.as_mv; local
1043 MV *mv = &bmi->mv.as_mv; local
1059 MV *mv = &mi->mbmi.mv.as_mv; local
[all...]
H A Dreconinter.c131 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3);
133 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7)
135 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch);
154 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3);
156 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv
340 clamp_mv_to_umv_border(MV *mv, const MACROBLOCKD *xd) argument
363 clamp_uvmv_to_umv_border(MV *mv, const MACROBLOCKD *xd) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Ddecodemv.c111 static void read_mv(vp8_reader *r, MV *mv, const MV_CONTEXT *mvc) argument
113 mv->row = (short)(read_mvcomponent(r, mvc) * 2);
114 mv->col = (short)(read_mvcomponent(r, ++mvc) * 2);
268 leftmv.as_int = left_mb->mbmi.mv.as_int;
270 leftmv.as_int = (left_mb->bmi + k + 4 - 1)->mv.as_int;
273 leftmv.as_int = (mi->bmi + k - 1)->mv.as_int;
279 abovemv.as_int = above_mb->mbmi.mv.as_int;
281 abovemv.as_int = (above_mb->bmi + k + 16 - 4)->mv.as_int;
284 abovemv.as_int = (mi->bmi + k - 4)->mv.as_int;
328 mi->bmi[ *fill_offset].mv
[all...]
H A Dec_types.h50 MV mv; member in struct:__anon13076
H A Derror_concealment.c187 new_row = row - bmi->mv.as_mv.row;
188 new_col = col - bmi->mv.as_mv.col;
254 bmi->mv.as_int = 0;
259 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col;
260 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row;
266 bmi->mv.as_mv.col = col_acc / overlap_sum;
267 bmi->mv.as_mv.row = row_acc / overlap_sum;
271 bmi->mv.as_mv.col = 0;
272 bmi->mv.as_mv.row = 0;
288 MV * const filtered_mv = &(mi->mbmi.mv
523 int_mv * const mv = &(mi->bmi[row*4 + col].mv); local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dbitstream.c451 vp8_writer *w, const MV *mv, const int_mv *ref, const MV_CONTEXT *mvc
455 e.row = mv->row - ref->as_mv.row;
456 e.col = mv->col - ref->as_mv.col;
655 write_mv(w, &mi->mv.as_mv, &best_mv, mvc);
678 blockmv = cpi->mb.partition_info->bmi[j].mv;
449 write_mv( vp8_writer *w, const MV *mv, const int_mv *ref, const MV_CONTEXT *mvc ) argument
H A Dblock.h31 MV mv; member in struct:__anon13080
63 int_mv mv; member in struct:__anon13081::__anon13082
H A Dencodemv.c68 void vp8_encode_motion_vector(vp8_writer *w, const MV *mv, const MV_CONTEXT *mvc) argument
73 if (abs(mv->row >> 1) > max_mv_r)
76 max_mv_r = abs(mv->row >> 1);
77 fprintf(f, "New Mv Row Max %6d\n", (mv->row >> 1));
79 if ((abs(mv->row) / 2) != max_mv_r)
80 fprintf(f, "MV Row conversion error %6d\n", abs(mv->row) / 2);
85 if (abs(mv->col >> 1) > max_mv_c)
88 fprintf(f, "New Mv Col Max %6d\n", (mv->col >> 1));
89 max_mv_c = abs(mv->col >> 1);
95 encode_mvcomponent(w, mv
[all...]
H A Dmcomp.c27 int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight) argument
36 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7;
39 static int mv_err_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int error_per_bit) argument
41 /* Ignore mv costing if mvcost is NULL */
43 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] +
44 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1])
49 static int mvsad_err_cost(int_mv *mv, int_mv *ref, int *mvsadcost[2], int error_per_bit) argument
52 /* Ignore mv costing if mvsadcost is NULL */
54 return ((mvsadcost[0][(mv
[all...]
H A Dpickinter.c399 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row -
401 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col -
448 (*parent_ref_mv).as_mv.row = store_mode_info[parent_mb_index].mv.as_mv.row
451 (*parent_ref_mv).as_mv.col = store_mode_info[parent_mb_index].mv.as_mv.col
488 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; local
505 sse, mv);
539 mv_l = mic->mbmi.mv;
547 mv_al = mic->mbmi.mv;
555 mv_a = mic->mbmi.mv;
[all...]
H A Drdopt.c478 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row;
479 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col;
937 void vp8_set_mbmode_and_mvs(MACROBLOCK *x, MB_PREDICTION_MODE mb, int_mv *mv) argument
940 x->e_mbd.mode_info_context->mbmi.mv.as_int = mv->as_int;
989 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i);
992 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis);
1005 left_mv.as_int = col ? d[-1].bmi.mv.as_int :
1015 d->bmi.mv.as_int = this_mv->as_int;
1018 x->partition_info->bmi[i].mv
1536 int_mv mv; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_blockd.h140 int_mv mv[2]; member in struct:__anon13106
H A Dvp9_entropymode.h73 nmv_context_counts mv; member in struct:__anon13110
H A Dvp9_entropymv.c17 // Integer pel reference mv threshold for use of high-precision 1/8 mv
153 d = (o >> 3); /* int mv data */
154 f = (o >> 1) & 3; /* fractional pel mv data */
155 e = (o & 1); /* high precision mv data */
171 void vp9_inc_mv(const MV *mv, nmv_context_counts *counts) { argument
173 const MV_JOINT_TYPE j = vp9_get_mv_joint(mv);
177 inc_mv_component(mv->row, &counts->comps[0], 1, 1);
181 inc_mv_component(mv->col, &counts->comps[1], 1, 1);
201 const nmv_context_counts *counts = &cm->counts.mv;
[all...]
H A Dvp9_entropymv.h98 static INLINE MV_JOINT_TYPE vp9_get_mv_joint(const MV *mv) { argument
99 if (mv->row == 0) {
100 return mv->col == 0 ? MV_JOINT_ZERO : MV_JOINT_HNZVZ;
102 return mv->col == 0 ? MV_JOINT_HZVNZ : MV_JOINT_HNZVNZ;
126 void vp9_inc_mv(const MV *mv, nmv_context_counts *mvctx);
H A Dvp9_mv.h22 typedef struct mv { struct
37 static INLINE int is_zero_mv(const MV *mv) { argument
38 return *((const uint32_t *)mv) == 0;
45 static INLINE void clamp_mv(MV *mv, int min_col, int max_col, argument
47 mv->col = clamp(mv->col, min_col, max_col);
48 mv->row = clamp(mv->row, min_row, max_row);
H A Dvp9_mvref_common.c38 // if the size < 8x8 we get the mv from the bmi substructure,
68 ADD_MV_REF_LIST(candidate->mv[0]);
70 ADD_MV_REF_LIST(candidate->mv[1]);
74 // Check the last frame's mode and mv info.
77 ADD_MV_REF_LIST(prev_mbmi->mv[0]);
79 ADD_MV_REF_LIST(prev_mbmi->mv[1]);
92 // If the candidate is INTRA we don't want to consider its mv.
120 static void lower_mv_precision(MV *mv, int allow_hp) { argument
121 const int use_hp = allow_hp && vp9_use_mv_hp(mv);
123 if (mv
[all...]
H A Dvp9_mvref_common.h44 // adding 9 for each intra block, 3 for each zero mv and 1 for each new
128 static INLINE void clamp_mv_ref(MV *mv, const MACROBLOCKD *xd) { argument
129 clamp_mv(mv, xd->mb_to_left_edge - MV_BORDER,
135 // This function returns either the appropriate sub block or block's mv
142 : candidate->mbmi.mv[which_mv];
146 // Performs mv sign inversion if indicated by the reference frame combination.
150 int_mv mv = mbmi->mv[ref]; local
152 mv.as_mv.row *= -1;
153 mv
200 clamp_mv2(MV *mv, const MACROBLOCKD *xd) argument
[all...]
H A Dvp9_reconinter.c137 MV32 mv = vp9_scale_mv(&mv_q4, x, y, sf); local
138 const int subpel_x = mv.col & SUBPEL_MASK;
139 const int subpel_y = mv.row & SUBPEL_MASK;
141 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv.col >> SUBPEL_BITS);
172 MV32 mv = vp9_scale_mv(&mv_q4, x, y, sf); local
173 const int subpel_x = mv.col & SUBPEL_MASK;
174 const int subpel_y = mv.row & SUBPEL_MASK;
176 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv
275 const MV mv = mi->mbmi.sb_type < BLOCK_8X8 local
384 const MV mv = mi->mbmi.sb_type < BLOCK_8X8 local
[all...]

Completed in 257 milliseconds

12345