Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (tinterlace) |
|
| AVFILTER_DEFINE_CLASS (interlace) |
|
static void | lowpass_line_c (uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
|
static void | lowpass_line_c_16 (uint8_t *dst8, ptrdiff_t width, const uint8_t *src8, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
|
static void | lowpass_line_complex_c (uint8_t *dstp, ptrdiff_t width, const uint8_t *srcp, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
|
static void | lowpass_line_complex_c_16 (uint8_t *dst8, ptrdiff_t width, const uint8_t *src8, ptrdiff_t mref, ptrdiff_t pref, int clip_max) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static int | config_out_props (AVFilterLink *outlink) |
|
static void | copy_picture_field (TInterlaceContext *tinterlace, uint8_t *dst[4], int dst_linesize[4], const uint8_t *src[4], int src_linesize[4], enum AVPixelFormat format, int w, int src_h, int src_field, int interleave, int dst_field, int flags) |
| Copy picture field from src to dst. More...
|
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
|
static int | init_interlace (AVFilterContext *ctx) |
|
temporal field interlace filter, ported from MPlayer/libmpcodecs
Definition in file vf_tinterlace.c.
◆ OFFSET
◆ FLAGS
◆ FULL_SCALE_YUVJ_FORMATS
◆ FIELD_UPPER
◆ FIELD_LOWER
◆ FIELD_UPPER_AND_LOWER
#define FIELD_UPPER_AND_LOWER 2 |
◆ AVFILTER_DEFINE_CLASS() [1/2]
AVFILTER_DEFINE_CLASS |
( |
tinterlace |
| ) |
|
◆ AVFILTER_DEFINE_CLASS() [2/2]
AVFILTER_DEFINE_CLASS |
( |
interlace |
| ) |
|
◆ lowpass_line_c()
static void lowpass_line_c |
( |
uint8_t * |
dstp, |
|
|
ptrdiff_t |
width, |
|
|
const uint8_t * |
srcp, |
|
|
ptrdiff_t |
mref, |
|
|
ptrdiff_t |
pref, |
|
|
int |
clip_max |
|
) |
| |
|
static |
◆ lowpass_line_c_16()
static void lowpass_line_c_16 |
( |
uint8_t * |
dst8, |
|
|
ptrdiff_t |
width, |
|
|
const uint8_t * |
src8, |
|
|
ptrdiff_t |
mref, |
|
|
ptrdiff_t |
pref, |
|
|
int |
clip_max |
|
) |
| |
|
static |
◆ lowpass_line_complex_c()
static void lowpass_line_complex_c |
( |
uint8_t * |
dstp, |
|
|
ptrdiff_t |
width, |
|
|
const uint8_t * |
srcp, |
|
|
ptrdiff_t |
mref, |
|
|
ptrdiff_t |
pref, |
|
|
int |
clip_max |
|
) |
| |
|
static |
◆ lowpass_line_complex_c_16()
static void lowpass_line_complex_c_16 |
( |
uint8_t * |
dst8, |
|
|
ptrdiff_t |
width, |
|
|
const uint8_t * |
src8, |
|
|
ptrdiff_t |
mref, |
|
|
ptrdiff_t |
pref, |
|
|
int |
clip_max |
|
) |
| |
|
static |
◆ uninit()
◆ config_out_props()
◆ copy_picture_field()
static void copy_picture_field |
( |
TInterlaceContext * |
tinterlace, |
|
|
uint8_t * |
dst[4], |
|
|
int |
dst_linesize[4], |
|
|
const uint8_t * |
src[4], |
|
|
int |
src_linesize[4], |
|
|
enum AVPixelFormat |
format, |
|
|
int |
w, |
|
|
int |
src_h, |
|
|
int |
src_field, |
|
|
int |
interleave, |
|
|
int |
dst_field, |
|
|
int |
flags |
|
) |
| |
|
inlinestatic |
Copy picture field from src to dst.
- Parameters
-
src_field | copy from upper, lower field or both |
interleave | leave a padding line between each copied line |
dst_field | copy to upper or lower field, only meaningful when interleave is selected |
flags | context flags |
Definition at line 326 of file vf_tinterlace.c.
Referenced by filter_frame().
◆ filter_frame()
◆ init_interlace()
◆ tinterlace_options
◆ interlace_options
◆ full_scale_yuvj_pix_fmts
◆ standard_tbs
◆ pix_fmts
◆ tinterlace_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 590 of file vf_tinterlace.c.
◆ tinterlace_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 598 of file vf_tinterlace.c.
◆ ff_vf_tinterlace
Initial value:= {
.name = "tinterlace",
.priv_class = &tinterlace_class,
}
Definition at line 606 of file vf_tinterlace.c.
◆ ff_vf_interlace
Initial value:= {
.name = "interlace",
.priv_class = &interlace_class,
}
Definition at line 618 of file vf_tinterlace.c.
static int filter_frame(AVFilterLink *inlink, AVFrame *picref)
static int init_interlace(AVFilterContext *ctx)
#define FILTER_PIXFMTS_ARRAY(array)
#define TINTERLACE_FLAG_BYPASS_IL
#define FILTER_INPUTS(array)
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
@ AV_PIX_FMT_YUV420P12LE
planar YUV 4:2:0,18bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian
static int config_out_props(AVFilterLink *outlink)
static const AVFilterPad tinterlace_inputs[]
@ AV_PIX_FMT_YUV420P10LE
planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian
static av_cold void uninit(AVFilterContext *ctx)
@ AV_PIX_FMT_YUV444P12LE
planar YUV 4:4:4,36bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_OUTPUTS(array)
@ AV_PIX_FMT_YUV444P10LE
planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
@ AV_PIX_FMT_YUVA422P10LE
planar YUV 4:2:2 30bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian)
#define TINTERLACE_FLAG_EXACT_TB
@ AV_PIX_FMT_YUV440P10LE
planar YUV 4:4:0,20bpp, (1 Cr & Cb sample per 1x2 Y samples), little-endian
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
int(* init)(AVBSFContext *ctx)
@ AV_PIX_FMT_YUV440P12LE
planar YUV 4:4:0,24bpp, (1 Cr & Cb sample per 1x2 Y samples), little-endian
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static enum AVPixelFormat pix_fmts[]
@ AV_PIX_FMT_YUV422P10LE
planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian
#define TINTERLACE_FLAG_CVLPF
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
#define FULL_SCALE_YUVJ_FORMATS
@ AV_PIX_FMT_YUVA420P10LE
planar YUV 4:2:0 25bpp, (1 Cr & Cb sample per 2x2 Y & A samples, little-endian)
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
@ AV_PIX_FMT_YUVA444P10LE
planar YUV 4:4:4 40bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian)
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
#define TINTERLACE_FLAG_VLPF
@ AV_OPT_TYPE_FLAGS
Underlying C type is unsigned int.
#define flags(name, subs,...)
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_PIX_FMT_YUV422P12LE
planar YUV 4:2:2,24bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian
@ AV_PIX_FMT_YUVA422P
planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples)
static const AVFilterPad tinterlace_outputs[]