aspect ratio modification video filters More...
#include "avfilter.h"
Go to the source code of this file.
Data Structures | |
struct | AspectContext |
Functions | |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static void | start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
static int | setdar_config_props (AVFilterLink *inlink) |
static int | setsar_config_props (AVFilterLink *inlink) |
Variables | |
AVFilter | avfilter_vf_setdar |
AVFilter | avfilter_vf_setsar |
aspect ratio modification video filters
Definition in file vf_aspect.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 32 of file vf_aspect.c.
static int setdar_config_props | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 74 of file vf_aspect.c.
static int setsar_config_props | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 115 of file vf_aspect.c.
static void start_frame | ( | AVFilterLink * | link, | |
AVFilterBufferRef * | picref | |||
) | [static] |
Definition at line 64 of file vf_aspect.c.
{ .name = "setdar", .description = NULL_IF_CONFIG_SMALL("Set the frame display aspect ratio."), .init = init, .priv_size = sizeof(AspectContext), .inputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = setdar_config_props, .get_video_buffer = avfilter_null_get_video_buffer, .start_frame = start_frame, .end_frame = avfilter_null_end_frame }, { .name = NULL}}, .outputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, { .name = NULL}}, }
Definition at line 91 of file vf_aspect.c.
{ .name = "setsar", .description = NULL_IF_CONFIG_SMALL("Set the pixel sample aspect ratio."), .init = init, .priv_size = sizeof(AspectContext), .inputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = setsar_config_props, .get_video_buffer = avfilter_null_get_video_buffer, .start_frame = start_frame, .end_frame = avfilter_null_end_frame }, { .name = NULL}}, .outputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, { .name = NULL}}, }
Definition at line 124 of file vf_aspect.c.