Revision 182826c8 libavcodec/arm/ac3dsp_init_arm.c

View differences:

libavcodec/arm/ac3dsp_init_arm.c
29 29
void ff_ac3_rshift_int32_neon(int32_t *src, unsigned len, unsigned shift);
30 30
void ff_float_to_fixed24_neon(int32_t *dst, const float *src, unsigned int len);
31 31

  
32
void ff_ac3_bit_alloc_calc_bap_armv6(int16_t *mask, int16_t *psd,
33
                                     int start, int end,
34
                                     int snr_offset, int floor,
35
                                     const uint8_t *bap_tab, uint8_t *bap);
36

  
32 37
av_cold void ff_ac3dsp_init_arm(AC3DSPContext *c, int bit_exact)
33 38
{
39
    if (HAVE_ARMV6) {
40
        c->bit_alloc_calc_bap    = ff_ac3_bit_alloc_calc_bap_armv6;
41
    }
42

  
34 43
    if (HAVE_NEON) {
35 44
        c->ac3_exponent_min      = ff_ac3_exponent_min_neon;
36 45
        c->ac3_max_msb_abs_int16 = ff_ac3_max_msb_abs_int16_neon;

Also available in: Unified diff