Revision 2483298a libavcodec/arm/dsputil_arm.c

View differences:

libavcodec/arm/dsputil_arm.c
43 43
void ff_simple_idct_put_neon(uint8_t *dest, int line_size, DCTELEM *data);
44 44
void ff_simple_idct_add_neon(uint8_t *dest, int line_size, DCTELEM *data);
45 45

  
46
void ff_vp3_idct_neon(DCTELEM *data);
47
void ff_vp3_idct_put_neon(uint8_t *dest, int line_size, DCTELEM *data);
48
void ff_vp3_idct_add_neon(uint8_t *dest, int line_size, DCTELEM *data);
49

  
46 50
/* XXX: local hack */
47 51
static void (*ff_put_pixels_clamped)(const DCTELEM *block, uint8_t *pixels, int line_size);
48 52
static void (*ff_add_pixels_clamped)(const DCTELEM *block, uint8_t *pixels, int line_size);
......
180 184
            c->idct_add= ff_simple_idct_add_neon;
181 185
            c->idct    = ff_simple_idct_neon;
182 186
            c->idct_permutation_type = FF_PARTTRANS_IDCT_PERM;
187
        } else if ((CONFIG_VP3_DECODER || CONFIG_VP5_DECODER || CONFIG_VP6_DECODER || CONFIG_THEORA_DECODER) &&
188
                   idct_algo==FF_IDCT_VP3){
189
            c->idct_put= ff_vp3_idct_put_neon;
190
            c->idct_add= ff_vp3_idct_add_neon;
191
            c->idct    = ff_vp3_idct_neon;
192
            c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
183 193
#endif
184 194
        }
185 195
    }

Also available in: Unified diff