FFmpeg
|
video presentation timestamp (PTS) modification filter More...
#include "libavutil/eval.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.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) |
static int | config_input (AVFilterLink *inlink) |
static char * | double2int64str (char *buf, double v) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const char *const | var_names [] |
Detailed Description
video presentation timestamp (PTS) modification filter
Definition in file f_setpts.c.
Macro Definition Documentation
#define BUF_SIZE 64 |
Definition at line 133 of file f_setpts.c.
Referenced by double2int64str().
#define d2istr | ( | v | ) | double2int64str((char[BUF_SIZE]){0}, v) |
Definition at line 142 of file f_setpts.c.
Referenced by filter_frame().
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 129 of file f_setpts.c.
Referenced by filter_frame().
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 130 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 131 of file f_setpts.c.
Referenced by filter_frame().
Enumeration Type Documentation
enum var_name |
Definition at line 59 of file f_setpts.c.
Function Documentation
|
static |
Definition at line 107 of file f_setpts.c.
Referenced by uninit().
|
inlinestatic |
Definition at line 135 of file f_setpts.c.
|
static |
Definition at line 144 of file f_setpts.c.
Referenced by uninit().
|
static |
Definition at line 89 of file f_setpts.c.
Referenced by uninit().
|
static |
Definition at line 203 of file f_setpts.c.
Variable Documentation
|
static |
Definition at line 37 of file f_setpts.c.
Referenced by init().
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11