FFmpeg
|
Go to the source code of this file.
Macros | |
#define | HOUGH_MAX_OFFSET 90 |
#define | MAX_FRAMERATE 60 |
#define | DIR_PREV 0 |
#define | DIR_NEXT 1 |
#define | DIR_PREV_END 2 |
#define | DIR_NEXT_END 3 |
#define | STATUS_NULL 0 |
#define | STATUS_END_REACHED 1 |
#define | STATUS_BEGIN_REACHED 2 |
Functions | |
static void | sll_free (MatchingInfo **sll) |
static void | fill_l1distlut (uint8_t lut[]) |
static unsigned int | intersection_word (const uint8_t *first, const uint8_t *second) |
static unsigned int | union_word (const uint8_t *first, const uint8_t *second) |
static unsigned int | get_l1dist (AVFilterContext *ctx, SignatureContext *sc, const uint8_t *first, const uint8_t *second) |
static int | get_jaccarddist (SignatureContext *sc, CoarseSignature *first, CoarseSignature *second) |
calculates the jaccard distance and evaluates a pair of coarse signatures as good More... | |
static int | find_next_coarsecandidate (SignatureContext *sc, CoarseSignature *secondstart, CoarseSignature **first, CoarseSignature **second, int start) |
step through the coarsesignatures as long as a good candidate is found More... | |
static MatchingInfo * | get_matching_parameters (AVFilterContext *ctx, SignatureContext *sc, FineSignature *first, FineSignature *second) |
compares framesignatures and sorts out signatures with a l1 distance above a given threshold. More... | |
static int | iterate_frame (double frr, FineSignature **a, FineSignature **b, int fcount, int *bcount, int dir) |
static MatchingInfo | evaluate_parameters (AVFilterContext *ctx, SignatureContext *sc, MatchingInfo *infos, MatchingInfo bestmatch, int mode) |
static MatchingInfo | lookup_signatures (AVFilterContext *ctx, SignatureContext *sc, StreamContext *first, StreamContext *second, int mode) |
MPEG-7 video signature calculation and lookup filter
Definition in file signature_lookup.c.
#define HOUGH_MAX_OFFSET 90 |
Definition at line 29 of file signature_lookup.c.
#define MAX_FRAMERATE 60 |
Definition at line 30 of file signature_lookup.c.
#define DIR_PREV 0 |
Definition at line 32 of file signature_lookup.c.
#define DIR_NEXT 1 |
Definition at line 33 of file signature_lookup.c.
#define DIR_PREV_END 2 |
Definition at line 34 of file signature_lookup.c.
#define DIR_NEXT_END 3 |
Definition at line 35 of file signature_lookup.c.
#define STATUS_NULL 0 |
Definition at line 37 of file signature_lookup.c.
#define STATUS_END_REACHED 1 |
Definition at line 38 of file signature_lookup.c.
#define STATUS_BEGIN_REACHED 2 |
Definition at line 39 of file signature_lookup.c.
|
static |
Definition at line 41 of file signature_lookup.c.
Referenced by get_matching_parameters(), and lookup_signatures().
|
static |
Definition at line 51 of file signature_lookup.c.
Referenced by lookup_signatures().
|
static |
Definition at line 71 of file signature_lookup.c.
Referenced by get_jaccarddist().
|
static |
Definition at line 86 of file signature_lookup.c.
Referenced by get_jaccarddist().
|
static |
Definition at line 101 of file signature_lookup.c.
Referenced by evaluate_parameters(), and get_matching_parameters().
|
static |
calculates the jaccard distance and evaluates a pair of coarse signatures as good
Definition at line 126 of file signature_lookup.c.
Referenced by find_next_coarsecandidate().
|
static |
step through the coarsesignatures as long as a good candidate is found
Definition at line 152 of file signature_lookup.c.
Referenced by lookup_signatures().
|
static |
compares framesignatures and sorts out signatures with a l1 distance above a given threshold.
Then tries to find out offset and differences between framerates with a hough transformation
Definition at line 186 of file signature_lookup.c.
Referenced by lookup_signatures().
|
static |
Definition at line 327 of file signature_lookup.c.
Referenced by evaluate_parameters().
|
static |
Definition at line 430 of file signature_lookup.c.
Referenced by lookup_signatures().
|
static |
Definition at line 535 of file signature_lookup.c.
Referenced by request_frame().