FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/error.h"
#include "libavutil/opt.h"
#include "libavformat/avio.h"
#include "video.h"
#include "filters.h"
Go to the source code of this file.
Data Structures | |
struct | FsyncContext |
Macros | |
#define | BUF_SIZE 256 |
#define | OFFSET(x) offsetof(FsyncContext, x) |
Functions | |
static int | buf_fill (FsyncContext *ctx) |
Fills the buffer from cur to end, add \0 at EOF. More... | |
static int | buf_reload (FsyncContext *ctx) |
Copies cur to end to the beginning and fills the rest. More... | |
static void | buf_skip_eol (FsyncContext *ctx) |
Skip from cur over eol. More... | |
static int | buf_get_line_count (FsyncContext *ctx) |
Get number of bytes from cur until eol. More... | |
static int | buf_get_zero (FsyncContext *ctx) |
Get number of bytes from cur to '\0'. More... | |
static int | activate (AVFilterContext *ctx) |
static int | fsync_config_props (AVFilterLink *outlink) |
static av_cold int | fsync_init (AVFilterContext *ctx) |
static av_cold void | fsync_uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (fsync) | |
Variables | |
static const AVOption | fsync_options [] |
static const AVFilterPad | fsync_outputs [] |
const AVFilter | ff_vf_fsync |
Filter for syncing video frames from external source
Definition in file vf_fsync.c.
#define BUF_SIZE 256 |
Definition at line 35 of file vf_fsync.c.
#define OFFSET | ( | x | ) | offsetof(FsyncContext, x) |
Definition at line 51 of file vf_fsync.c.
|
static |
Fills the buffer from cur to end, add \0 at EOF.
Definition at line 62 of file vf_fsync.c.
Referenced by buf_reload(), and fsync_init().
|
static |
Copies cur to end to the beginning and fills the rest.
Definition at line 80 of file vf_fsync.c.
Referenced by activate().
|
static |
|
static |
Get number of bytes from cur until eol.
Definition at line 117 of file vf_fsync.c.
Referenced by activate().
|
static |
Get number of bytes from cur to '\0'.
Definition at line 132 of file vf_fsync.c.
Referenced by activate().
|
static |
Definition at line 137 of file vf_fsync.c.
|
static |
Definition at line 223 of file vf_fsync.c.
|
static |
Definition at line 243 of file vf_fsync.c.
|
static |
Definition at line 270 of file vf_fsync.c.
AVFILTER_DEFINE_CLASS | ( | fsync | ) |
|
static |
Definition at line 53 of file vf_fsync.c.
|
static |
Definition at line 281 of file vf_fsync.c.
const AVFilter ff_vf_fsync |
Definition at line 289 of file vf_fsync.c.