Go to the documentation of this file.
19 #ifndef AVFILTER_IDET_H
20 #define AVFILTER_IDET_H
ff_idet_filter_func filter_line
This structure describes decoded (raw) audio or video data.
int analyze_interlaced_flag_done
float interlace_threshold
const AVPixFmtDescriptor * csp
Describe the class of an AVClass context structure.
uint64_t total_poststat[4]
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
int interlaced_flag_accuracy
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
int(* ff_idet_filter_func)(const uint8_t *a, const uint8_t *b, const uint8_t *c, int w)
int analyze_interlaced_flag
int ff_idet_filter_line_c(const uint8_t *a, const uint8_t *b, const uint8_t *c, int w)
uint64_t total_prestat[4]
uint64_t total_repeats[3]
uint8_t history[HIST_SIZE]
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
uint64_t decay_coefficient
float progressive_threshold
void ff_idet_init_x86(IDETContext *idet, int for_16b)
int ff_idet_filter_line_c_16bit(const uint16_t *a, const uint16_t *b, const uint16_t *c, int w)