Go to the source code of this file.
Filter for reading the vertical interval timecode (VITC). See also https://en.wikipedia.org/wiki/Vertical_interval_timecode
Definition in file vf_readvitc.c.
◆ LINE_DATA_SIZE
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
readvitc |
| ) |
|
◆ get_vitc_crc()
static uint8_t get_vitc_crc |
( |
uint8_t * |
line | ) |
|
|
static |
◆ get_pit_avg3()
static uint8_t get_pit_avg3 |
( |
uint8_t * |
line, |
|
|
int |
i |
|
) |
| |
|
inlinestatic |
◆ read_vitc_line()
static int read_vitc_line |
( |
ReadVitcContext * |
ctx, |
|
|
uint8_t * |
src, |
|
|
int |
line_size, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ bcd2uint()
static unsigned bcd2uint |
( |
uint8_t |
high, |
|
|
uint8_t |
low |
|
) |
| |
|
static |
◆ make_vitc_tc_string()
static char* make_vitc_tc_string |
( |
char * |
buf, |
|
|
uint8_t * |
line |
|
) |
| |
|
static |
◆ init()
◆ config_props()
◆ filter_frame()
◆ readvitc_options
◆ pixel_fmts
◆ inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 223 of file vf_readvitc.c.
◆ ff_vf_readvitc
Initial value:= {
.name = "readvitc",
.description =
NULL_IF_CONFIG_SMALL(
"Read vertical interval timecode and write it to frame metadata."),
.priv_class = &readvitc_class,
}
Definition at line 232 of file vf_readvitc.c.
static int config_props(AVFilterLink *inlink)
static av_cold int init(AVFilterContext *ctx)
#define FILTER_PIXFMTS_ARRAY(array)
#define FILTER_INPUTS(array)
static const AVFilterPad inputs[]
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
@ AV_PIX_FMT_YUVJ411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor ...
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
static enum AVPixelFormat pixel_fmts[]
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
@ 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_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_PIX_FMT_NV16
interleaved chroma YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
@ AV_PIX_FMT_YUVJ440P
planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range
@ AV_PIX_FMT_NV21
as above, but U and V bytes are swapped
@ AV_PIX_FMT_NV12
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
@ AV_OPT_TYPE_INT
Underlying C type is int.
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
@ 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_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
#define flags(name, subs,...)
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
@ AV_PIX_FMT_YUVA422P
planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples)