FFmpeg
|
video presentation timestamp (PTS) modification filter More...
#include "libavutil/eval.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/time.h"
#include "avfilter.h"
#include "internal.h"
#include "audio.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | SetPTSContext |
Macros | |
#define | D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
#define | TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
#define | TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) |
#define | BUF_SIZE 64 |
#define | d2istr(v) double2int64str((char[BUF_SIZE]){0}, v) |
Functions | |
static av_cold int | init (AVFilterContext *ctx, const char *args) |
static int | config_input (AVFilterLink *inlink) |
static char * | double2int64str (char *buf, double v) |
static int | filter_frame (AVFilterLink *inlink, AVFilterBufferRef *frame) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const char *const | var_names [] |
video presentation timestamp (PTS) modification filter
Definition in file f_setpts.c.
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 126 of file f_setpts.c.
Referenced by filter_frame().
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 127 of file f_setpts.c.
Referenced by filter_frame().
#define TS2T | ( | ts, | |
tb | |||
) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) |
Definition at line 128 of file f_setpts.c.
Referenced by filter_frame().
#define BUF_SIZE 64 |
Definition at line 130 of file f_setpts.c.
Referenced by double2int64str().
#define d2istr | ( | v | ) | double2int64str((char[BUF_SIZE]){0}, v) |
Definition at line 139 of file f_setpts.c.
Referenced by filter_frame().
enum var_name |
Definition at line 58 of file f_setpts.c.
|
static |
Definition at line 86 of file f_setpts.c.
|
static |
Definition at line 104 of file f_setpts.c.
|
inlinestatic |
Definition at line 132 of file f_setpts.c.
|
static |
Definition at line 141 of file f_setpts.c.
|
static |
Definition at line 200 of file f_setpts.c.
|
static |
Definition at line 36 of file f_setpts.c.
Referenced by init().