FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/error.h"
#include "libavutil/mem.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 36 of file vf_fsync.c.
#define OFFSET | ( | x | ) | offsetof(FsyncContext, x) |
Definition at line 52 of file vf_fsync.c.
|
static |
Fills the buffer from cur to end, add \0 at EOF.
Definition at line 63 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 81 of file vf_fsync.c.
Referenced by activate().
|
static |
|
static |
Get number of bytes from cur until eol.
Definition at line 118 of file vf_fsync.c.
Referenced by activate().
|
static |
Get number of bytes from cur to '\0'.
Definition at line 133 of file vf_fsync.c.
Referenced by activate().
|
static |
Definition at line 138 of file vf_fsync.c.
|
static |
Definition at line 224 of file vf_fsync.c.
|
static |
Definition at line 245 of file vf_fsync.c.
|
static |
Definition at line 272 of file vf_fsync.c.
AVFILTER_DEFINE_CLASS | ( | fsync | ) |
|
static |
Definition at line 54 of file vf_fsync.c.
|
static |
Definition at line 283 of file vf_fsync.c.
const AVFilter ff_vf_fsync |
Definition at line 291 of file vf_fsync.c.