FFmpeg
4.0
|
Filter for reading the vertical interval timecode (VITC). More...
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/timecode.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ReadVitcContext |
Macros | |
#define | LINE_DATA_SIZE 9 |
#define | OFFSET(x) offsetof(ReadVitcContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (readvitc) | |
static uint8_t | get_vitc_crc (uint8_t *line) |
static uint8_t | get_pit_avg3 (uint8_t *line, int i) |
static int | read_vitc_line (ReadVitcContext *ctx, uint8_t *src, int line_size, int width, int height) |
static unsigned | bcd2uint (uint8_t high, uint8_t low) |
static char * | make_vitc_tc_string (char *buf, uint8_t *line) |
static av_cold int | init (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *inlink) |
static int | query_formats (AVFilterContext *ctx) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
Variables | |
static const AVOption | readvitc_options [] |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
AVFilter | ff_vf_readvitc |
Filter for reading the vertical interval timecode (VITC).
See also https://en.wikipedia.org/wiki/Vertical_interval_timecode
Definition in file vf_readvitc.c.
#define LINE_DATA_SIZE 9 |
Definition at line 36 of file vf_readvitc.c.
Referenced by read_vitc_line().
#define OFFSET | ( | x | ) | offsetof(ReadVitcContext, x) |
Definition at line 53 of file vf_readvitc.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 54 of file vf_readvitc.c.
AVFILTER_DEFINE_CLASS | ( | readvitc | ) |
Definition at line 65 of file vf_readvitc.c.
Referenced by read_vitc_line().
Definition at line 83 of file vf_readvitc.c.
Referenced by read_vitc_line().
|
static |
Definition at line 87 of file vf_readvitc.c.
Referenced by filter_frame().
Definition at line 139 of file vf_readvitc.c.
Referenced by make_vitc_tc_string().
|
static |
Definition at line 146 of file vf_readvitc.c.
Referenced by filter_frame().
|
static |
Definition at line 158 of file vf_readvitc.c.
|
static |
Definition at line 176 of file vf_readvitc.c.
|
static |
Definition at line 187 of file vf_readvitc.c.
|
static |
Definition at line 216 of file vf_readvitc.c.
|
static |
Definition at line 56 of file vf_readvitc.c.
|
static |
Definition at line 231 of file vf_readvitc.c.
|
static |
Definition at line 241 of file vf_readvitc.c.
AVFilter ff_vf_readvitc |
Definition at line 249 of file vf_readvitc.c.