FFmpeg
|
MPEG-7 video signature calculation and lookup filter. More...
#include <float.h>
#include "libavcodec/put_bits.h"
#include "libavformat/avformat.h"
#include "libavutil/opt.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "internal.h"
#include "signature.h"
#include "signature_lookup.c"
Go to the source code of this file.
Macros | |
#define | OFFSET(x) offsetof(SignatureContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
#define | BLOCK_LCM (int64_t) 476985600 |
Functions | |
AVFILTER_DEFINE_CLASS (signature) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | get_block_size (const Block *b) |
static uint64_t | get_block_sum (StreamContext *sc, uint64_t intpic[32][32], const Block *b) |
static int | cmp (const uint64_t *a, const uint64_t *b) |
static void | set_bit (uint8_t *data, size_t pos) |
sets the bit at position pos to 1 in data More... | |
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
static int | xml_export (AVFilterContext *ctx, StreamContext *sc, const char *filename) |
static int | binary_export (AVFilterContext *ctx, StreamContext *sc, const char *filename) |
static int | export (AVFilterContext *ctx, StreamContext *sc, int input) |
static int | request_frame (AVFilterLink *outlink) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
Variables | |
static const AVOption | signature_options [] |
static const AVFilterPad | signature_outputs [] |
AVFilter | ff_vf_signature |
MPEG-7 video signature calculation and lookup filter.
Definition in file vf_signature.c.
#define OFFSET | ( | x | ) | offsetof(SignatureContext, x) |
Definition at line 39 of file vf_signature.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 40 of file vf_signature.c.
#define BLOCK_LCM (int64_t) 476985600 |
Definition at line 41 of file vf_signature.c.
Referenced by config_input(), and filter_frame().
AVFILTER_DEFINE_CLASS | ( | signature | ) |
|
static |
Definition at line 72 of file vf_signature.c.
|
static |
Definition at line 90 of file vf_signature.c.
Referenced by init().
Definition at line 107 of file vf_signature.c.
Referenced by filter_frame().
|
static |
Definition at line 112 of file vf_signature.c.
Referenced by filter_frame().
|
static |
Definition at line 135 of file vf_signature.c.
Referenced by filter_frame().
sets the bit at position pos to 1 in data
Definition at line 143 of file vf_signature.c.
Referenced by filter_frame().
|
static |
Definition at line 149 of file vf_signature.c.
Referenced by init().
|
static |
Definition at line 383 of file vf_signature.c.
Referenced by export().
|
static |
Definition at line 489 of file vf_signature.c.
Referenced by export().
|
static |
Definition at line 567 of file vf_signature.c.
Referenced by request_frame().
|
static |
Definition at line 585 of file vf_signature.c.
|
static |
Definition at line 641 of file vf_signature.c.
|
static |
Definition at line 697 of file vf_signature.c.
|
static |
Definition at line 732 of file vf_signature.c.
|
static |
Definition at line 43 of file vf_signature.c.
|
static |
Definition at line 746 of file vf_signature.c.
AVFilter ff_vf_signature |
Definition at line 756 of file vf_signature.c.