30 #define MAX_CHANNELS 2
32 #define randomize_buffers() \
35 for (i = 0; i < BUF_SIZE*MAX_CHANNELS; i++) { \
36 int32_t r = sign_extend(rnd(), 24); \
51 if (
check_func(
c.decorrelate_stereo,
"alac_decorrelate_stereo")) {
52 int len = (
rnd() & 0xFF) + 1;
66 report(
"decorrelate_stereo");
69 #undef randomize_buffers
70 #define randomize_buffers() \
73 for (i = 0; i < BUF_SIZE; i++) { \
74 for (j = 0; j < ch; j++) { \
75 int32_t r = sign_extend(rnd(), 24); \
94 static const char *
const channels[2] = {
"mono",
"stereo" };
98 for (ch = 1; ch <= 2; ch++) {
100 int len = (
rnd() & 0xFF) + 1;
113 report(
"append_extra_bits");
#define check_func(func,...)
#define declare_func(ret,...)
common internal and external API header
av_cold void ff_alacdsp_init(ALACDSPContext *c)
static int weight(int i, int blen, int offset)
common internal API header
#define LOCAL_ALIGNED_16(t, v,...)
static int shift(int a, int b)
#define randomize_buffers()
static void check_decorrelate_stereo(void)
static void check_append_extra_bits(void)
void checkasm_check_alacdsp(void)
static int ref[MAX_W *MAX_W]