#include "libavutil/imgutils.h"
#include "avfilter.h"
Go to the source code of this file.
Data Structures | |
| struct | CropDetectContext |
Functions | |
| static int | query_formats (AVFilterContext *ctx) |
| static int | checkline (void *ctx, const unsigned char *src, int stride, int len, int bpp) |
| static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
| static int | config_input (AVFilterLink *inlink) |
| static void | end_frame (AVFilterLink *inlink) |
Variables | |
| AVFilter | avfilter_vf_cropdetect |
Definition in file vf_cropdetect.c.
| static int checkline | ( | void * | ctx, | |
| const unsigned char * | src, | |||
| int | stride, | |||
| int | len, | |||
| int | bpp | |||
| ) | [static] |
Definition at line 53 of file vf_cropdetect.c.
| static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 98 of file vf_cropdetect.c.
| static void end_frame | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 114 of file vf_cropdetect.c.
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args, | |||
| void * | opaque | |||
| ) | [static] |
Definition at line 80 of file vf_cropdetect.c.
| static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 38 of file vf_cropdetect.c.
Initial value:
{
.name = "cropdetect",
.description = NULL_IF_CONFIG_SMALL("Auto-detect crop size."),
.priv_size = sizeof(CropDetectContext),
.init = init,
.query_formats = query_formats,
.inputs = (AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_input,
.get_video_buffer = avfilter_null_get_video_buffer,
.start_frame = avfilter_null_start_frame,
.end_frame = end_frame, },
{ .name = NULL}},
.outputs = (AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO },
{ .name = NULL}},
}
Definition at line 194 of file vf_cropdetect.c.
1.5.8