/third_party/ffmpeg/libavcodec/ |
H A D | avrndec.c | 29 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 D | rawdec.c | 53 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 D | vc1.h | 310 uint8_t rptfrm, tff, rff; member
|
H A D | vc1_parser.c | 109 s->field_order = vpc->v.tff ? AV_FIELD_TT : AV_FIELD_BB; in vc1_extract_header()
|
H A D | vc1dec.c | 884 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 D | vaapi_vc1.c | 305 .top_field_first = v->tff, in vaapi_vc1_start_frame()
|
H A D | vc1.c | 922 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 D | vc1_block.c | 64 if (v->field_mode && !(v->second_field ^ v->tff)) { in init_block_index()
|
/third_party/ffmpeg/libavfilter/ |
H A D | yadif_common.c | 31 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 D | vf_tinterlace.c | 65 { "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 D | vf_bwdif.c | 56 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 D | vf_yadif.c | 36 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 D | vf_nnedi.c | 544 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 D | vf_yadif_cuda.c | 67 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 D | yadif.h | 64 void (*filter)(AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff);
|
H A D | vf_telecine.c | 236 int tff = frame ? frame->top_field_first : 0; in filter_frame() local 245 frame->top_field_first = tff; in filter_frame()
|
H A D | vf_w3fdif.c | 65 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 D | vf_estdif.c | 90 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 D | filter-video.mak | 135 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,"
|