#include "avfilter.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
Data Structures | |
struct | CropContext |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static int | config_input (AVFilterLink *link) |
static int | config_output (AVFilterLink *link) |
static void | start_frame (AVFilterLink *link, AVFilterPicRef *picref) |
static void | draw_slice (AVFilterLink *link, int y, int h, int slice_dir) |
Variables | |
AVFilter | avfilter_vf_crop |
Definition in file vf_crop.c.
static int config_input | ( | AVFilterLink * | link | ) | [static] |
static int config_output | ( | AVFilterLink * | link | ) | [static] |
static void draw_slice | ( | AVFilterLink * | link, | |
int | y, | |||
int | h, | |||
int | slice_dir | |||
) | [static] |
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
static void start_frame | ( | AVFilterLink * | link, | |
AVFilterPicRef * | picref | |||
) | [static] |
Initial value:
{ .name = "crop", .description = NULL_IF_CONFIG_SMALL("Crop the input video to x:y:width:height."), .priv_size = sizeof(CropContext), .query_formats = query_formats, .init = init, .inputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .start_frame = start_frame, .draw_slice = draw_slice, .get_video_buffer = avfilter_null_get_video_buffer, .config_props = config_input, }, { .name = NULL}}, .outputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = config_output, }, { .name = NULL}}, }