Home
last modified time | relevance | path

Searched refs:tff (Results 1 - 19 of 19) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Davrndec.c29 int tff; member
46 a->tff = avctx->extradata[ndx + 24] == 1; in init()
76 memcpy(p->data[0] + (y+ a->tff)*p->linesize[0], buf , 2*avctx->width); in decode_frame()
77 memcpy(p->data[0] + (y+!a->tff)*p->linesize[0], buf + avctx->width*true_height+4, 2*avctx->width); in decode_frame()
H A Drawdec.c53 int tff; member
61 {"top", "top field first", offsetof(RawVideoContext, tff), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_VIDEO_PARAM},
239 if (context->tff >= 0) { in raw_decode()
241 frame->top_field_first = context->tff; in raw_decode()
H A Dvc1.h310 uint8_t rptfrm, tff, rff; member
H A Dvc1_parser.c109 s->field_order = vpc->v.tff ? AV_FIELD_TT : AV_FIELD_BB; in vc1_extract_header()
H A Dvc1dec.c884 v->s.current_picture_ptr->f->top_field_first = v->tff; in vc1_decode_frame()
905 s->picture_structure = PICT_BOTTOM_FIELD - v->tff; in vc1_decode_frame()
943 s->picture_structure = PICT_TOP_FIELD + v->tff; in vc1_decode_frame()
H A Dvaapi_vc1.c305 .top_field_first = v->tff, in vaapi_vc1_start_frame()
H A Dvc1.c922 v->tff = get_bits1(gb); in ff_vc1_parse_frame_header_adv()
926 v->tff = 1; in ff_vc1_parse_frame_header_adv()
974 v->cur_field_type = !(v->tff ^ v->second_field); in ff_vc1_parse_frame_header_adv()
H A Dvc1_block.c64 if (v->field_mode && !(v->second_field ^ v->tff)) { in init_block_index()
/third_party/ffmpeg/libavfilter/
H A Dyadif_common.c31 int tff, ret; in return_frame() local
34 tff = yadif->cur->interlaced_frame ? in return_frame()
37 tff = yadif->parity ^ 1; in return_frame()
51 yadif->filter(ctx, yadif->out, tff ^ !is_second, tff); in return_frame()
206 CONST("tff", "assume top field first", YADIF_PARITY_TFF, "parity"),
H A Dvf_tinterlace.c65 { "tff", "top field first", 0, AV_OPT_TYPE_CONST, {.i64 = MODE_TFF}, INT_MIN, INT_MAX, FLAGS, .unit = "mode"},
363 int field, tff, ret; in filter_frame() local
447 tff = tinterlace->mode == MODE_INTERLEAVE_TOP; in filter_frame()
453 out->top_field_first = tff; in filter_frame()
459 tff ? FIELD_UPPER : FIELD_LOWER, 1, tff ? FIELD_UPPER : FIELD_LOWER, in filter_frame()
465 tff ? FIELD_LOWER : FIELD_UPPER, 1, tff ? FIELD_LOWER : FIELD_UPPER, in filter_frame()
483 tff = next->top_field_first; in filter_frame()
489 out->top_field_first = !tff; in filter_frame()
[all...]
H A Dvf_bwdif.c56 int tff; member
239 td->parity ^ td->tff, clip_max); in filter_slice()
245 td->parity ^ td->tff, clip_max, in filter_slice()
251 td->parity ^ td->tff, clip_max); in filter_slice()
262 int parity, int tff) in filter()
266 ThreadData td = { .frame = dstpic, .parity = parity, .tff = tff }; in filter()
372 CONST("tff", "assume top field first", YADIF_PARITY_TFF, "parity"),
261 filter(AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff) filter() argument
H A Dvf_yadif.c36 int tff; member
218 td->parity ^ td->tff, mode); in filter_slice()
222 td->parity ^ td->tff, mode); in filter_slice()
232 int parity, int tff) in filter()
235 ThreadData td = { .frame = dstpic, .parity = parity, .tff = tff }; in filter()
231 filter(AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff) filter() argument
H A Dvf_nnedi.c544 const int tff = s->field_n == (s->field < 0 ? interlaced ? in->top_field_first : 1 : in filter_slice() local
577 y_out = slice_start + (tff ^ (slice_start & 1)); in filter_slice()
588 y_out = slice_start + ((!tff) ^ (slice_start & 1)); in filter_slice()
590 s->read(src_data + FFMAX(y_out - 5, tff) * src_linesize, in filter_slice()
596 s->read(src_data + FFMAX(y_out - 3, tff) * src_linesize, in filter_slice()
602 s->read(src_data + FFMAX(y_out - 1, tff) * src_linesize, in filter_slice()
608 in_line = src_data + FFMIN(y_out + 1, height - 1 - !tff) * src_linesize; in filter_slice()
616 s->read(src_data + FFMIN(y_out + 1, height - 1 - !tff) * src_linesize, in filter_slice()
621 s->read(src_data + FFMIN(y_out + 3, height - 1 - !tff) * src_linesize, in filter_slice()
626 s->read(src_data + FFMIN(y_out + 5, height - 1 - !tff) * src_linesiz in filter_slice()
[all...]
H A Dvf_yadif_cuda.c67 int parity, int tff) in call_kernel()
77 &src_width, &src_height, &parity, &tff, in call_kernel()
126 int parity, int tff) in filter()
184 parity, tff); in filter()
57 call_kernel(AVFilterContext *ctx, CUfunction func, CUdeviceptr prev, CUdeviceptr cur, CUdeviceptr next, CUarray_format format, int channels, int src_width, int src_height, int src_pitch, CUdeviceptr dst, int dst_width, int dst_height, int dst_pitch, int parity, int tff) call_kernel() argument
125 filter(AVFilterContext *ctx, AVFrame *dst, int parity, int tff) filter() argument
H A Dyadif.h64 void (*filter)(AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff);
H A Dvf_telecine.c236 int tff = frame ? frame->top_field_first : 0; in filter_frame() local
245 frame->top_field_first = tff; in filter_frame()
H A Dvf_w3fdif.c65 CONST("tff", "assume top field first", 0, "parity"),
383 const int tff = s->field == (s->parity == -1 ? interlaced ? cur->top_field_first : 1 : in deinterlace_plane_slice() local
388 y_out = start + (tff ^ (start & 1)); in deinterlace_plane_slice()
401 y_out = start + ((!tff) ^ (start & 1)); in deinterlace_plane_slice()
H A Dvf_estdif.c90 CONST("tff", "assume top field first", 0, "parity"),
350 const int tff = (s->field == (s->parity == -1 ? interlaced ? in->top_field_first : 1 : in deinterlace_slice() local
368 y_out = start + (tff ^ (start & 1)); in deinterlace_slice()
380 y_out = start + ((!tff) ^ (start & 1)); in deinterlace_slice()
/third_party/ffmpeg/tests/fate/
H A Dfilter-video.mak135 fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,scale,fieldorder=bff -sws_flags +accurate_rnd+bitexact
556 fate-filter-pixfmts-fieldorder: CMD = pixfmts "tff" "setfield=bff,"

Completed in 26 milliseconds