Lines Matching refs:uvsrc_y
177 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y; in ff_vc1_mc_1mv() local
256 uvsrc_y = s->mb_y * 8 + (uvmy >> 2); in ff_vc1_mc_1mv()
262 uvsrc_y = av_clip(uvsrc_y, -8, s->mb_height * 8); in ff_vc1_mc_1mv()
268 … uvsrc_y = av_clip(uvsrc_y, -8 + (uvsrc_y & 1), (s->avctx->coded_height >> 1) + (uvsrc_y & 1)); in ff_vc1_mc_1mv()
271 uvsrc_y = av_clip(uvsrc_y, -8, s->avctx->coded_height >> 1); in ff_vc1_mc_1mv()
276 srcU += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_mc_1mv()
277 srcV += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_mc_1mv()
343 uvsrc_y >> !v->field_mode, in ff_vc1_mc_1mv()
353 uvsrc_y >> !v->field_mode, in ff_vc1_mc_1mv()
364 uvsrc_y + 1 >> 1, in ff_vc1_mc_1mv()
374 uvsrc_y + 1 >> 1, in ff_vc1_mc_1mv()
386 v->field_mode ? 2 * uvsrc_y + v->ref_field_type[dir] : uvsrc_y, in ff_vc1_mc_1mv()
396 v->field_mode ? 2 * uvsrc_y + v->ref_field_type[dir] : uvsrc_y, in ff_vc1_mc_1mv()
414 … lutuv[v->field_mode ? v->ref_field_type[dir] : ((0 + uvsrc_y) & 1)], in ff_vc1_mc_1mv()
415 … lutuv[v->field_mode ? v->ref_field_type[dir] : ((1 + uvsrc_y) & 1)], in ff_vc1_mc_1mv()
639 int uvmx, uvmy, uvsrc_x, uvsrc_y; in ff_vc1_mc_4mv_chroma() local
689 uvsrc_y = s->mb_y * 8 + (uvmy >> 2); in ff_vc1_mc_4mv_chroma()
693 uvsrc_y = av_clip(uvsrc_y, -8, s->mb_height * 8); in ff_vc1_mc_4mv_chroma()
696 uvsrc_y = av_clip(uvsrc_y, -8, s->avctx->coded_height >> 1); in ff_vc1_mc_4mv_chroma()
726 srcU += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_mc_4mv_chroma()
727 srcV += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_mc_4mv_chroma()
739 || (unsigned)uvsrc_y > (v_edge_pos >> 1) - 9) { in ff_vc1_mc_4mv_chroma()
748 uvsrc_y >> !v->field_mode, in ff_vc1_mc_4mv_chroma()
758 uvsrc_y >> !v->field_mode, in ff_vc1_mc_4mv_chroma()
769 uvsrc_y + 1 >> 1, in ff_vc1_mc_4mv_chroma()
779 uvsrc_y + 1 >> 1, in ff_vc1_mc_4mv_chroma()
791 v->field_mode ? 2 * uvsrc_y + chroma_ref_type : uvsrc_y, in ff_vc1_mc_4mv_chroma()
801 v->field_mode ? 2 * uvsrc_y + chroma_ref_type : uvsrc_y, in ff_vc1_mc_4mv_chroma()
815 lutuv[v->field_mode ? chroma_ref_type : ((0 + uvsrc_y) & 1)], in ff_vc1_mc_4mv_chroma()
816 lutuv[v->field_mode ? chroma_ref_type : ((1 + uvsrc_y) & 1)], in ff_vc1_mc_4mv_chroma()
844 int uvsrc_x, uvsrc_y; in ff_vc1_mc_4mv_chroma4() local
875 uvsrc_y = s->mb_y * 8 + ((i & 2) ? v_dist : 0) + (uvmy_field[i] >> 2); in ff_vc1_mc_4mv_chroma4()
879 … uvsrc_y = av_clip(uvsrc_y, -8 + (uvsrc_y & 1), (s->avctx->coded_height >> 1) + (uvsrc_y & 1)); in ff_vc1_mc_4mv_chroma4()
881 uvsrc_y = av_clip(uvsrc_y, -8, s->avctx->coded_height >> 1); in ff_vc1_mc_4mv_chroma4()
897 srcU += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_mc_4mv_chroma4()
898 srcV += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_mc_4mv_chroma4()
905 || (unsigned)uvsrc_y > v_edge_pos - (5 << fieldmv)) { in ff_vc1_mc_4mv_chroma4()
914 uvsrc_y >> 1, in ff_vc1_mc_4mv_chroma4()
924 uvsrc_y >> 1, in ff_vc1_mc_4mv_chroma4()
935 uvsrc_y + 1 >> 1, in ff_vc1_mc_4mv_chroma4()
945 uvsrc_y + 1 >> 1, in ff_vc1_mc_4mv_chroma4()
957 uvsrc_y, in ff_vc1_mc_4mv_chroma4()
967 uvsrc_y, in ff_vc1_mc_4mv_chroma4()
977 lutuv[(uvsrc_y + (0 << fieldmv)) & 1], in ff_vc1_mc_4mv_chroma4()
978 lutuv[(uvsrc_y + (1 << fieldmv)) & 1], in ff_vc1_mc_4mv_chroma4()
1009 int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y; in ff_vc1_interp_mc() local
1042 uvsrc_y = s->mb_y * 8 + (uvmy >> 2); in ff_vc1_interp_mc()
1048 uvsrc_y = av_clip(uvsrc_y, -8, s->mb_height * 8); in ff_vc1_interp_mc()
1054 … uvsrc_y = av_clip(uvsrc_y, -8 + (uvsrc_y & 1), (s->avctx->coded_height >> 1) + (uvsrc_y & 1)); in ff_vc1_interp_mc()
1057 uvsrc_y = av_clip(uvsrc_y, -8, s->avctx->coded_height >> 1); in ff_vc1_interp_mc()
1062 srcU += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_interp_mc()
1063 srcV += uvsrc_y * s->uvlinesize + uvsrc_x; in ff_vc1_interp_mc()
1128 uvsrc_y >> !v->field_mode, in ff_vc1_interp_mc()
1138 uvsrc_y >> !v->field_mode, in ff_vc1_interp_mc()
1149 uvsrc_y + 1 >> 1, in ff_vc1_interp_mc()
1159 uvsrc_y + 1 >> 1, in ff_vc1_interp_mc()
1171 v->field_mode ? 2 * uvsrc_y + v->ref_field_type[1] : uvsrc_y, in ff_vc1_interp_mc()
1181 v->field_mode ? 2 * uvsrc_y + v->ref_field_type[1] : uvsrc_y, in ff_vc1_interp_mc()
1201 lutuv[v->field_mode ? v->ref_field_type[1] : ((0+uvsrc_y) & 1)], in ff_vc1_interp_mc()
1202 lutuv[v->field_mode ? v->ref_field_type[1] : ((1+uvsrc_y) & 1)], in ff_vc1_interp_mc()