#define EXTERNAL_MMX(flags)
void(* clear_block)(int16_t *block)
static atomic_int cpu_flags
#define EXTERNAL_SSE(flags)
const struct AVHWAccel * hwaccel
Hardware accelerator in use.
Macro definitions for various function/variable attributes.
The exact code depends on how similar the blocks are and how related they are to the block
void ff_clear_block_avx(int16_t *block)
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
void ff_clear_block_sse(int16_t *block)
#define EXTERNAL_AVX_FAST(flags)
Libavcodec version macros.
void ff_clear_blocks_avx(int16_t *blocks)
void(* clear_blocks)(int16_t *blocks)
av_cold void ff_blockdsp_init_x86(BlockDSPContext *c, AVCodecContext *avctx)
void ff_clear_block_mmx(int16_t *block)
common internal API header
void ff_clear_blocks_sse(int16_t *blocks)
main external API structure.
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
void ff_clear_blocks_mmx(int16_t *blocks)
void(* decode_mb)(struct MpegEncContext *s)
Called for every Macroblock in a slice.