Go to the documentation of this file.
   31 #define randomize(buf, len) \ 
   33         for (int i = 0; i < len; i++) \ 
   42     if (
check_func(
s->decorrelate_ls, 
"decorrelate_ls")) {
 
   49         memcpy(p2_2, p2, 
BUF_SIZE * 
sizeof(*p2));
 
   54         if (memcmp(p2, p2_2, 
BUF_SIZE * 
sizeof(*p2)) != 0) {
 
   67     if (
check_func(
s->decorrelate_sr, 
"decorrelate_sr")) {
 
   73         memcpy(p1_2, p1, 
BUF_SIZE * 
sizeof(*p1));
 
   79         if (memcmp(p1, p1_2, 
BUF_SIZE * 
sizeof(*p1)) != 0) {
 
   92     if (
check_func(
s->decorrelate_sm, 
"decorrelate_sm")) {
 
   99         memcpy(p1_2, p1, 
BUF_SIZE * 
sizeof(*p1));
 
  101         memcpy(p2_2, p2, 
BUF_SIZE * 
sizeof(*p2));
 
  106         if (memcmp(p1, p1_2, 
BUF_SIZE * 
sizeof(*p1)) != 0 ||
 
  107             memcmp(p2, p2_2, 
BUF_SIZE * 
sizeof(*p2)) != 0) {
 
  120     if (
check_func(
s->decorrelate_sf, 
"decorrelate_sf")) {
 
  127         memcpy(p1_2, p1, 
BUF_SIZE * 
sizeof(*p1));
 
  129         dshift = (
rnd() & 0xF) + 1;
 
  135         if (memcmp(p1, p1_2, 
BUF_SIZE * 
sizeof(*p1)) != 0) {
 
  
static void test_decorrelate_ls(TAKDSPContext *s)
 
#define check_func(func,...)
 
av_cold void ff_takdsp_init(TAKDSPContext *c)
 
static void test_decorrelate_sf(TAKDSPContext *s)
 
#define randomize(buf, len)
 
#define LOCAL_ALIGNED_32(t, v,...)
 
static void test_decorrelate_sr(TAKDSPContext *s)
 
void checkasm_check_takdsp(void)
 
static av_const int sign_extend(int val, unsigned bits)
 
static void test_decorrelate_sm(TAKDSPContext *s)
 
#define declare_func(ret,...)