Home
last modified time | relevance | path

Searched refs:field_select (Results 1 – 15 of 15) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpeg4video.c148 int field_select = s->next_picture.ref_index[0][4 * mb_index + 2 * i]; in ff_mpeg4_set_direct_mv() local
149 s->field_select[0][i] = field_select; in ff_mpeg4_set_direct_mv()
150 s->field_select[1][i] = i; in ff_mpeg4_set_direct_mv()
152 time_pp = s->pp_field_time - field_select + i; in ff_mpeg4_set_direct_mv()
153 time_pb = s->pb_field_time - field_select + i; in ff_mpeg4_set_direct_mv()
155 time_pp = s->pp_field_time + field_select - i; in ff_mpeg4_set_direct_mv()
156 time_pb = s->pb_field_time + field_select - i; in ff_mpeg4_set_direct_mv()
Dmpegvideo_motion.c234 int field_select, in mpeg_motion_internal() argument
350 if (field_select) { in mpeg_motion_internal()
372 int field_select, uint8_t **ref_picture, in mpeg_motion() argument
379 field_select, ref_picture, pix_op, in mpeg_motion()
384 field_select, ref_picture, pix_op, in mpeg_motion()
390 int bottom_field, int field_select, in mpeg_motion_field() argument
398 bottom_field, field_select, ref_picture, pix_op, in mpeg_motion_field()
403 bottom_field, field_select, ref_picture, pix_op, in mpeg_motion_field()
492 int field_select, uint8_t **ref_picture, in qpel_motion() argument
575 if (field_select) { in qpel_motion()
[all …]
Dmpegvideo_xvmc.c279 mv_block->motion_vertical_field_select |= s->field_select[0][0]; in ff_xvmc_decode_mb()
280 mv_block->motion_vertical_field_select |= s->field_select[1][0] << 1; in ff_xvmc_decode_mb()
281 mv_block->motion_vertical_field_select |= s->field_select[0][1] << 2; in ff_xvmc_decode_mb()
282 mv_block->motion_vertical_field_select |= s->field_select[1][1] << 3; in ff_xvmc_decode_mb()
Dmotion_est.c762 int field_select; in interlaced_search() local
766 for(field_select=0; field_select<2; field_select++){ in interlaced_search()
768 int16_t (*mv_table)[2]= mv_tables[block][field_select]; in interlaced_search()
771 av_assert1(field_select==0 || field_select==1); in interlaced_search()
773 if(field_select_tables[block][xy] != field_select) in interlaced_search()
800 …dmin = epzs_motion_search2(s, &mx_i, &my_i, P, block, field_select+ref_index, mv_table, (1<<16)>>1… in interlaced_search()
802 … dmin= c->sub_motion_search(s, &mx_i, &my_i, dmin, block, field_select+ref_index, size, h); in interlaced_search()
811 uint8_t *ref= c->ref[field_select+ref_index][0] + (mx_i>>1) + (my_i>>1)*stride; in interlaced_search()
824 dmin += field_select != block; //slightly prefer same field in interlaced_search()
828 best_field= field_select; in interlaced_search()
[all …]
Dmpegvideo.c920 int field_based, int field_select, in hpel_motion_lowres() argument
958 if (field_select) in hpel_motion_lowres()
971 int field_select, in mpeg_motion_lowres() argument
996 motion_y += (bottom_field - field_select)*((1 << lowres)-1); in mpeg_motion_lowres()
1082 if (field_select) { in mpeg_motion_lowres()
1220 1, 0, s->field_select[dir][0], in MPV_motion_lowres()
1226 1, 1, s->field_select[dir][1], in MPV_motion_lowres()
1231 if (s->picture_structure != s->field_select[dir][0] + 1 && in MPV_motion_lowres()
1237 0, 0, s->field_select[dir][0], in MPV_motion_lowres()
1247 if (s->picture_structure == s->field_select[dir][i] + 1 || in MPV_motion_lowres()
[all …]
Dh263.c79 s->current_picture.ref_index[0][4*mb_xy + 1] = s->field_select[0][0]; in ff_h263_update_motion_val()
81 s->current_picture.ref_index[0][4*mb_xy + 3] = s->field_select[0][1]; in ff_h263_update_motion_val()
Dmotion_est.h132 int field_select, int16_t (*mv_table)[2], int f_code,
Dmpeg4videoenc.c594 put_bits(&s->pb, 1, s->field_select[0][0]); in ff_mpeg4_encode_mb()
595 put_bits(&s->pb, 1, s->field_select[0][1]); in ff_mpeg4_encode_mb()
598 put_bits(&s->pb, 1, s->field_select[1][0]); in ff_mpeg4_encode_mb()
599 put_bits(&s->pb, 1, s->field_select[1][1]); in ff_mpeg4_encode_mb()
753 put_bits(&s->pb, 1, s->field_select[0][0]); in ff_mpeg4_encode_mb()
754 put_bits(&s->pb, 1, s->field_select[0][1]); in ff_mpeg4_encode_mb()
Dmpeg12dec.c808 s->field_select[0][0] = s->picture_structure - 1; in mpeg_decode_mb()
870 s->field_select[i][j] = get_bits1(&s->gb); in mpeg_decode_mb()
889 s->field_select[i][j] = get_bits1(&s->gb); in mpeg_decode_mb()
908 s->field_select[i][0] = get_bits1(&s->gb); in mpeg_decode_mb()
1815 s->current_picture.ref_index [dir][b8_xy + 1] = s->field_select[dir][i]; in mpeg_decode_slice()
1816 av_assert2(s->field_select[dir][i] == 0 || in mpeg_decode_slice()
1817 s->field_select[dir][i] == 1); in mpeg_decode_slice()
1937 s->field_select[0][0] = (s->picture_structure - 1) & 1; in mpeg_decode_slice()
1944 s->field_select[0][0] = (s->picture_structure - 1) & 1; in mpeg_decode_slice()
1945 s->field_select[1][0] = (s->picture_structure - 1) & 1; in mpeg_decode_slice()
Dmpeg12enc.c919 put_bits(&s->pb, 1, s->field_select[0][i]); in mpeg1_encode_mb_internal()
1007 put_bits(&s->pb, 1, s->field_select[0][i]); in mpeg1_encode_mb_internal()
1020 put_bits(&s->pb, 1, s->field_select[1][i]); in mpeg1_encode_mb_internal()
Dmpegvideo.h257 int field_select[2][2]; member
Dmpegvideo_enc.c2989 j= s->field_select[0][i] = s->p_field_select_table[i][xy]; in encode_thread()
3050 j= s->field_select[0][i] = s->b_field_select_table[0][i][xy]; in encode_thread()
3062 j= s->field_select[1][i] = s->b_field_select_table[1][i][xy]; in encode_thread()
3075 j= s->field_select[dir][i] = s->b_field_select_table[dir][i][xy]; in encode_thread()
3255 j= s->field_select[0][i] = s->p_field_select_table[i][xy]; in encode_thread()
3310 j= s->field_select[0][i] = s->b_field_select_table[0][i][xy]; in encode_thread()
3320 j= s->field_select[1][i] = s->b_field_select_table[1][i][xy]; in encode_thread()
3331 j= s->field_select[dir][i] = s->b_field_select_table[dir][i][xy]; in encode_thread()
Dmpeg4videodec.c1565 s->field_select[0][0] = get_bits1(&s->gb); in mpeg4_decode_mb()
1566 s->field_select[0][1] = get_bits1(&s->gb); in mpeg4_decode_mb()
1690 s->field_select[0][0] = get_bits1(&s->gb); in mpeg4_decode_mb()
1691 s->field_select[0][1] = get_bits1(&s->gb); in mpeg4_decode_mb()
1694 s->field_select[1][0] = get_bits1(&s->gb); in mpeg4_decode_mb()
1695 s->field_select[1][1] = get_bits1(&s->gb); in mpeg4_decode_mb()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_decoder.c368 mv.top.field_select = PIPE_VIDEO_FRAME; in MotionVectorToPipe()
374 mv.bottom.field_select = PIPE_VIDEO_FRAME; in MotionVectorToPipe()
380 mv.top.field_select = (mb->motion_vertical_field_select & field_select_mask) ? in MotionVectorToPipe()
386 mv.bottom.field_select = (mb->motion_vertical_field_select & (field_select_mask << 2)) ? in MotionVectorToPipe()
396 mv.top.field_select = PIPE_VIDEO_FRAME; in MotionVectorToPipe()
400 mv.bottom.field_select = PIPE_VIDEO_FRAME; in MotionVectorToPipe()
702 skipped_mv[0].top.field_select = PIPE_VIDEO_FRAME; in vl_mpeg12_decode_macroblock()
703 skipped_mv[1].top.field_select = PIPE_VIDEO_FRAME; in vl_mpeg12_decode_macroblock()
Dvl_vertex_buffers.h78 int16_t field_select; /**< enum pipe_video_field_select */ member