32 #define randomize_buffers(buf, size) \ 35 for (j = 0; j < size; j+=4) \ 36 AV_WN32(buf + j, rnd()); \ 40 {16,16,16}, {21,23,25}, {32,17,48}, {15,128,16}, {128,127,128}
43 #define MAX_STRIDE 128 44 #define MAX_HEIGHT 127 67 for (i = 0; i < 5; i ++) {
70 if (memcmp(dst0, dst1,
planes[i].w))
94 for (i = 0; i < 5; i ++) {
114 report(
"sub_left_predict");
static void check_diff_bytes(LLVidEncDSPContext *c)
Memory handling functions.
av_cold void ff_llvidencdsp_init(LLVidEncDSPContext *c)
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
#define LOCAL_ALIGNED_32(t, v,...)
void(* diff_bytes)(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, intptr_t w)
static const struct @321 planes[]
#define declare_func_emms(cpu_flags, ret,...)
static void check_sub_left_pred(LLVidEncDSPContext *c)
#define AV_CPU_FLAG_MMX
standard MMX
#define check_func(func,...)
GLint GLenum GLboolean GLsizei stride
common internal and external API header
void checkasm_check_llviddspenc(void)
#define randomize_buffers(buf, size)
void(* sub_left_predict)(uint8_t *dst, uint8_t *src, ptrdiff_t stride, ptrdiff_t width, int height)