Libav 0.7.1
|
video presentation timestamp (PTS) modification filter More...
Go to the source code of this file.
video presentation timestamp (PTS) modification filter
Definition in file vf_setpts.c.
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 98 of file vf_setpts.c.
Referenced by start_frame().
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 99 of file vf_setpts.c.
Referenced by start_frame().
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.
{ .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] |
{ "E", "INTERLACED", "N", "PHI", "PI", "POS", "PREV_INPTS", "PREV_OUTPTS", "PTS", "STARTPTS", "TB", NULL }
Definition at line 32 of file vf_setpts.c.
Referenced by init().