#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) | 
| static int | query_formats (AVFilterContext *ctx) | 
| static int | end_frame (AVFilterLink *inlink) | 
Variables | |
| AVFilter | avfilter_vf_bbox | 
Definition in file vf_bbox.c.
| static int end_frame | ( | AVFilterLink * | inlink | ) |  [static] | 
        
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args | |||
| ) |  [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 = ff_null_get_video_buffer,
          .start_frame      = ff_null_start_frame,
          .end_frame        = end_frame,
          .min_perms        = AV_PERM_READ, },
        { .name = NULL }
    },
    .outputs = (const AVFilterPad[]) {
        { .name             = "default",
          .type             = AVMEDIA_TYPE_VIDEO },
        { .name = NULL }
    },
}
 1.5.8