#include "libavutil/eval.h"
#include "libavutil/mathematics.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)) |
Definition at line 90 of file vf_setpts.c.
| #define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 91 of file vf_setpts.c.
| enum var_name |
Definition at line 45 of file vf_setpts.c.
| static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 80 of file vf_setpts.c.
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args, | |||
| void * | opaque | |||
| ) | [static] |
Definition at line 62 of file vf_setpts.c.
| static void start_frame | ( | AVFilterLink * | inlink, | |
| AVFilterBufferRef * | inpicref | |||
| ) | [static] |
Definition at line 93 of file vf_setpts.c.
| static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 125 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 = avfilter_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 132 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 33 of file vf_setpts.c.
1.5.8