#include "avfilter.h"
Go to the source code of this file.
Data Structures | |
| struct | BlackFrameContext |
Functions | |
| static int | query_formats (AVFilterContext *ctx) |
| static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
| static void | draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir) |
| static void | end_frame (AVFilterLink *inlink) |
Variables | |
| AVFilter | avfilter_vf_blackframe |
Ported from MPlayer libmpcodecs/vf_blackframe.c.
Definition in file vf_blackframe.c.
| static void draw_slice | ( | AVFilterLink * | inlink, | |
| int | y, | |||
| int | h, | |||
| int | slice_dir | |||
| ) | [static] |
Definition at line 76 of file vf_blackframe.c.
| static void end_frame | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 93 of file vf_blackframe.c.
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args, | |||
| void * | opaque | |||
| ) | [static] |
Definition at line 52 of file vf_blackframe.c.
| static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 40 of file vf_blackframe.c.
Initial value:
{
.name = "blackframe",
.description = NULL_IF_CONFIG_SMALL("Detect frames that are (almost) black."),
.priv_size = sizeof(BlackFrameContext),
.init = init,
.query_formats = query_formats,
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.draw_slice = draw_slice,
.get_video_buffer = avfilter_null_get_video_buffer,
.start_frame = avfilter_null_start_frame,
.end_frame = end_frame, },
{ .name = NULL}},
.outputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO },
{ .name = NULL}},
}
Definition at line 116 of file vf_blackframe.c.
1.5.8