FFmpeg
|
video presentation timestamp (PTS) modification filter More...
#include "libavutil/eval.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.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 120 of file f_setpts.c.
Referenced by filter_frame().
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 121 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 122 of file f_setpts.c.
Referenced by filter_frame().
#define BUF_SIZE 64 |
Definition at line 124 of file f_setpts.c.
Referenced by double2int64str().
#define d2istr | ( | v | ) | double2int64str((char[BUF_SIZE]){0}, v) |
Definition at line 133 of file f_setpts.c.
Referenced by filter_frame().
enum var_name |
Definition at line 55 of file f_setpts.c.
|
static |
Definition at line 81 of file f_setpts.c.
|
static |
Definition at line 99 of file f_setpts.c.
|
inlinestatic |
Definition at line 126 of file f_setpts.c.
|
static |
Definition at line 135 of file f_setpts.c.
|
static |
Definition at line 193 of file f_setpts.c.
|
static |
Definition at line 35 of file f_setpts.c.
Referenced by init().