#include "libavutil/eval.h"
#include "libavutil/mathematics.h"
#include "avfilter.h"
#include "video.h"
Go to the source code of this file.
Definition in file vf_setpts.c.
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 91 of file vf_setpts.c.
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 92 of file vf_setpts.c.
enum var_name |
Definition at line 46 of file vf_setpts.c.
static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 81 of file vf_setpts.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 63 of file vf_setpts.c.
static void start_frame | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | inpicref | |||
) | [static] |
Definition at line 94 of file vf_setpts.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 126 of file vf_setpts.c.
Initial value:
{ .name = "setpts", .description = NULL_IF_CONFIG_SMALL("Set PTS for the output video frame."), .init = init, .uninit = uninit, .priv_size = sizeof(SetPTSContext), .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .get_video_buffer = ff_null_get_video_buffer, .config_props = config_input, .start_frame = start_frame, }, { .name = NULL }}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, { .name = NULL}}, }
Definition at line 133 of file vf_setpts.c.
const char* const var_names[] [static] |
Initial value:
{ "INTERLACED", "N", "POS", "PREV_INPTS", "PREV_OUTPTS", "PTS", "STARTPTS", "TB", NULL }
Definition at line 34 of file vf_setpts.c.