#include "libavutil/eval.h"
#include "avfilter.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)) |
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
enum var_name |
Definition at line 47 of file vf_setpts.c.
static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 88 of file vf_setpts.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 67 of file vf_setpts.c.
static void start_frame | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | inpicref | |||
) | [static] |
Definition at line 101 of file vf_setpts.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 133 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 = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .get_video_buffer = avfilter_null_get_video_buffer, .config_props = config_input, .start_frame = start_frame, }, { .name = NULL }}, .outputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, { .name = NULL}}, }
Definition at line 140 of file vf_setpts.c.
const char* var_names[] [static] |
Initial value:
{ "E", "INTERLACED", "N", "PHI", "PI", "POS", "PREV_INPTS", "PREV_OUTPTS", "PTS", "STARTPTS", "TB", NULL }
Definition at line 32 of file vf_setpts.c.