video crop filter
More...
#include "avfilter.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
Detailed Description
video crop filter
Definition in file vf_crop.c.
Function Documentation
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] |
Variable Documentation
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}},
}
Definition at line 207 of file vf_crop.c.