Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmpeg4video.c136 int field_select = s->next_picture.ref_index[0][4 * mb_index + 2 * i]; in ff_mpeg4_set_direct_mv() local
137 s->field_select[0][i] = field_select; in ff_mpeg4_set_direct_mv()
138 s->field_select[1][i] = i; in ff_mpeg4_set_direct_mv()
140 time_pp = s->pp_field_time - field_select + i; in ff_mpeg4_set_direct_mv()
141 time_pb = s->pb_field_time - field_select + i; in ff_mpeg4_set_direct_mv()
143 time_pp = s->pp_field_time + field_select - i; in ff_mpeg4_set_direct_mv()
144 time_pb = s->pb_field_time + field_select - i; in ff_mpeg4_set_direct_mv()
Dmpegvideo_motion.c232 int field_select, in mpeg_motion_internal() argument
348 if (field_select) { in mpeg_motion_internal()
370 int field_select, uint8_t **ref_picture, in mpeg_motion() argument
377 field_select, ref_picture, pix_op, in mpeg_motion()
382 field_select, ref_picture, pix_op, in mpeg_motion()
388 int bottom_field, int field_select, in mpeg_motion_field() argument
396 bottom_field, field_select, ref_picture, pix_op, in mpeg_motion_field()
401 bottom_field, field_select, ref_picture, pix_op, in mpeg_motion_field()
490 int field_select, uint8_t **ref_picture, in qpel_motion() argument
573 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.c760 int field_select; in interlaced_search() local
764 for(field_select=0; field_select<2; field_select++){ in interlaced_search()
766 int16_t (*mv_table)[2]= mv_tables[block][field_select]; in interlaced_search()
769 av_assert1(field_select==0 || field_select==1); in interlaced_search()
771 if(field_select_tables[block][xy] != field_select) in interlaced_search()
798 …dmin = epzs_motion_search2(s, &mx_i, &my_i, P, block, field_select+ref_index, mv_table, (1<<16)>>1… in interlaced_search()
800 … dmin= c->sub_motion_search(s, &mx_i, &my_i, dmin, block, field_select+ref_index, size, h); in interlaced_search()
809 uint8_t *ref= c->ref[field_select+ref_index][0] + (mx_i>>1) + (my_i>>1)*stride; in interlaced_search()
822 dmin += field_select != block; //slightly prefer same field in interlaced_search()
826 best_field= field_select; in interlaced_search()
[all …]
Dmotion_est.h132 int field_select, int16_t (*mv_table)[2], int f_code,
Dh263.c80 s->current_picture.ref_index[0][4*mb_xy + 1] = s->field_select[0][0]; in ff_h263_update_motion_val()
82 s->current_picture.ref_index[0][4*mb_xy + 3] = s->field_select[0][1]; in ff_h263_update_motion_val()
Dmpeg4videoenc.c591 put_bits(&s->pb, 1, s->field_select[0][0]); in ff_mpeg4_encode_mb()
592 put_bits(&s->pb, 1, s->field_select[0][1]); in ff_mpeg4_encode_mb()
595 put_bits(&s->pb, 1, s->field_select[1][0]); in ff_mpeg4_encode_mb()
596 put_bits(&s->pb, 1, s->field_select[1][1]); in ff_mpeg4_encode_mb()
752 put_bits(&s->pb, 1, s->field_select[0][0]); in ff_mpeg4_encode_mb()
753 put_bits(&s->pb, 1, s->field_select[0][1]); in ff_mpeg4_encode_mb()
Dmpegvideo.c1453 int field_based, int field_select, in hpel_motion_lowres() argument
1491 if (field_select) in hpel_motion_lowres()
1504 int field_select, in mpeg_motion_lowres() argument
1529 motion_y += (bottom_field - field_select)*((1 << lowres)-1); in mpeg_motion_lowres()
1615 if (field_select) { in mpeg_motion_lowres()
1753 1, 0, s->field_select[dir][0], in MPV_motion_lowres()
1759 1, 1, s->field_select[dir][1], in MPV_motion_lowres()
1764 if (s->picture_structure != s->field_select[dir][0] + 1 && in MPV_motion_lowres()
1770 0, 0, s->field_select[dir][0], in MPV_motion_lowres()
1780 if (s->picture_structure == s->field_select[dir][i] + 1 || in MPV_motion_lowres()
[all …]
Dmpeg12dec.c803 s->field_select[0][0] = s->picture_structure - 1; in mpeg_decode_mb()
865 s->field_select[i][j] = get_bits1(&s->gb); in mpeg_decode_mb()
884 s->field_select[i][j] = get_bits1(&s->gb); in mpeg_decode_mb()
903 s->field_select[i][0] = get_bits1(&s->gb); in mpeg_decode_mb()
1835 s->current_picture.ref_index [dir][b8_xy + 1] = s->field_select[dir][i]; in mpeg_decode_slice()
1836 av_assert2(s->field_select[dir][i] == 0 || in mpeg_decode_slice()
1837 s->field_select[dir][i] == 1); in mpeg_decode_slice()
1957 s->field_select[0][0] = (s->picture_structure - 1) & 1; in mpeg_decode_slice()
1964 s->field_select[0][0] = (s->picture_structure - 1) & 1; in mpeg_decode_slice()
1965 s->field_select[1][0] = (s->picture_structure - 1) & 1; in mpeg_decode_slice()
Dmpeg12enc.c887 put_bits(&s->pb, 1, s->field_select[0][i]); in mpeg1_encode_mb_internal()
978 put_bits(&s->pb, 1, s->field_select[0][i]); in mpeg1_encode_mb_internal()
992 put_bits(&s->pb, 1, s->field_select[1][i]); in mpeg1_encode_mb_internal()
Dmpeg4videodec.c1492 s->field_select[0][0] = get_bits1(&s->gb); in mpeg4_decode_mb()
1493 s->field_select[0][1] = get_bits1(&s->gb); in mpeg4_decode_mb()
1617 s->field_select[0][0] = get_bits1(&s->gb); in mpeg4_decode_mb()
1618 s->field_select[0][1] = get_bits1(&s->gb); in mpeg4_decode_mb()
1621 s->field_select[1][0] = get_bits1(&s->gb); in mpeg4_decode_mb()
1622 s->field_select[1][1] = get_bits1(&s->gb); in mpeg4_decode_mb()
Dmpegvideo_enc.c3193 j= s->field_select[0][i] = s->p_field_select_table[i][xy]; in encode_thread()
3254 j= s->field_select[0][i] = s->b_field_select_table[0][i][xy]; in encode_thread()
3266 j= s->field_select[1][i] = s->b_field_select_table[1][i][xy]; in encode_thread()
3279 j= s->field_select[dir][i] = s->b_field_select_table[dir][i][xy]; in encode_thread()
3459 j= s->field_select[0][i] = s->p_field_select_table[i][xy]; in encode_thread()
3514 j= s->field_select[0][i] = s->b_field_select_table[0][i][xy]; in encode_thread()
3524 j= s->field_select[1][i] = s->b_field_select_table[1][i][xy]; in encode_thread()
3535 j= s->field_select[dir][i] = s->b_field_select_table[dir][i][xy]; in encode_thread()
Dmpegvideo.h277 int field_select[2][2]; member
/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