#include "libavutil/pixdesc.h"
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "bbox.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | BBoxContext |
Functions | |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static int | query_formats (AVFilterContext *ctx) |
static void | end_frame (AVFilterLink *inlink) |
Variables | |
AVFilter | avfilter_vf_bbox |
Definition in file vf_bbox.c.
static void end_frame | ( | AVFilterLink * | inlink | ) | [static] |
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Initial value:
{ .name = "bbox", .description = NULL_IF_CONFIG_SMALL("Compute bounding box for each frame."), .priv_size = sizeof(BBoxContext), .query_formats = query_formats, .init = init, .inputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, .get_video_buffer = avfilter_null_get_video_buffer, .start_frame = ff_null_start_frame_keep_ref, .end_frame = end_frame, .min_perms = AV_PERM_READ, }, { .name = NULL } }, .outputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_VIDEO }, { .name = NULL } }, }