Home
last modified time | relevance | path

Searched refs:field_mode (Results 1 - 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dvc1_mc.c178 int v_edge_pos = s->v_edge_pos >> v->field_mode; in ff_vc1_mc_1mv()
185 if ((!v->field_mode || in ff_vc1_mc_1mv()
209 if (v->field_mode && in ff_vc1_mc_1mv()
221 if (v->field_mode && (v->cur_field_type != v->ref_field_type[dir]) && v->second_field) { in ff_vc1_mc_1mv()
279 if (v->field_mode && v->ref_field_type[dir]) { in ff_vc1_mc_1mv()
306 v->field_mode ? k : k + 1 >> 1, in ff_vc1_mc_1mv()
308 src_y - s->mspel >> !v->field_mode, in ff_vc1_mc_1mv()
311 if (!v->field_mode) in ff_vc1_mc_1mv()
328 v->field_mode ? (k << 1) - 1 : k, in ff_vc1_mc_1mv()
330 v->field_mode in ff_vc1_mc_1mv()
[all...]
H A Dvc1.c107 height = v->s.mb_height >> v->field_mode; in bitplane_decoding()
631 v->field_mode = 0; in ff_vc1_parse_frame_header()
855 int field_mode, fcm; in ff_vc1_parse_frame_header_adv() local
860 if (v->fcm != ILACE_FIELD || v->field_mode!=1) in ff_vc1_parse_frame_header_adv()
871 field_mode = 0; in ff_vc1_parse_frame_header_adv()
876 field_mode = 1; in ff_vc1_parse_frame_header_adv()
881 if (!v->first_pic_header_flag && v->field_mode != field_mode) in ff_vc1_parse_frame_header_adv()
883 v->field_mode = field_mode; in ff_vc1_parse_frame_header_adv()
[all...]
H A Dvc1dec.c852 && v->field_mode) { in vc1_decode_frame()
857 if ((s->mb_height >> v->field_mode) == 0) { in vc1_decode_frame()
882 v->s.current_picture_ptr->field_picture = v->field_mode; in vc1_decode_frame()
903 if (v->field_mode && buf_start_second_field) { in vc1_decode_frame()
1029 if (v->field_mode) { in vc1_decode_frame()
1036 mb_height = s->mb_height >> v->field_mode; in vc1_decode_frame()
1042 if (v->field_mode <= 0) { in vc1_decode_frame()
1059 if (v->field_mode && i == n_slices1 + 2) { in vc1_decode_frame()
1081 if (!v->field_mode || v->second_field) in vc1_decode_frame()
1105 if (v->field_mode) { in vc1_decode_frame()
[all...]
H A Dvc1_pred.c270 if (v->field_mode && mixedmv_pic) in ff_vc1_pred_mv()
293 if (v->field_mode && s->mb_width == 1) in ff_vc1_pred_mv()
297 if (v->field_mode) { in ff_vc1_pred_mv()
337 if (v->field_mode) { in ff_vc1_pred_mv()
402 if (!v->field_mode) { in ff_vc1_pred_mv()
415 if (!v->field_mode || s->pict_type != AV_PICTURE_TYPE_B) { in ff_vc1_pred_mv()
449 if (v->field_mode && v->numref) in ff_vc1_pred_mv()
451 if (v->field_mode && v->cur_field_type && v->ref_field_type[dir] == 0) in ff_vc1_pred_mv()
702 av_assert0(!v->field_mode); in ff_vc1_pred_b_mv()
H A Dnvdec_vc1.c55 .field_pic_flag = v->field_mode, in nvdec_vc1_start_frame()
H A Ddxva2_vc1.c180 slice->wNumberMBsInSlice = (s->mb_y >> v->field_mode) * s->mb_width + s->mb_x; in fill_slice()
196 const unsigned mb_count = s->mb_width * (s->mb_height >> v->field_mode); in commit_bitstream_and_slice_buffer()
H A Dvc1.h349 int field_mode; ///< 1 for interlaced field pictures member
H A Dvc1_block.c64 if (v->field_mode && !(v->second_field ^ v->tff)) { in init_block_index()
209 s->mb_y == ((s->mb_height >> v->field_mode) - 1)) \
2791 ff_er_add_slice(&s->er, 0, s->start_mb_y << v->field_mode, s->mb_width - 1, in vc1_decode_i_blocks_adv()
2792 (s->end_mb_y << v->field_mode) - 1, ER_MB_END); in vc1_decode_i_blocks_adv()
2884 ff_er_add_slice(&s->er, 0, s->start_mb_y << v->field_mode, s->mb_width - 1, in vc1_decode_p_blocks()
2885 (s->end_mb_y << v->field_mode) - 1, ER_MB_END); in vc1_decode_p_blocks()
2968 ff_er_add_slice(&s->er, 0, s->start_mb_y << v->field_mode, s->mb_width - 1, in vc1_decode_b_blocks()
2969 (s->end_mb_y << v->field_mode) - 1, ER_MB_END); in vc1_decode_b_blocks()
/third_party/ffmpeg/libavfilter/
H A Dvf_setparams.c38 int field_mode; member
49 {"field_mode", "select interlace mode", OFFSET(field_mode), AV_OPT_TYPE_INT, {.i64=MODE_AUTO}, -1, MODE_PROG, FLAGS, "mode"},
129 if (s->field_mode == MODE_PROG) { in filter_frame()
131 } else if (s->field_mode != MODE_AUTO) { in filter_frame()
133 frame->top_field_first = s->field_mode; in filter_frame()
197 s->field_mode = MODE_AUTO;/* set field mode to auto */ in init_setrange()
218 {"mode", "select interlace mode", OFFSET(field_mode), AV_OPT_TYPE_INT, {.i64=MODE_AUTO}, -1, MODE_PROG, FLAGS, "mode"},

Completed in 21 milliseconds