Revision 8dbe5856 libavcodec/arm/h264dsp_init_arm.c

View differences:

libavcodec/arm/h264dsp_init_arm.c
92 92
                             DCTELEM *block, int stride,
93 93
                             const uint8_t nnzc[6*8]);
94 94

  
95
static void ff_h264dsp_init_neon(H264DSPContext *c)
95
static void ff_h264dsp_init_neon(H264DSPContext *c, const int bit_depth)
96 96
{
97
    if (bit_depth == 8) {
97 98
    c->h264_v_loop_filter_luma   = ff_h264_v_loop_filter_luma_neon;
98 99
    c->h264_h_loop_filter_luma   = ff_h264_h_loop_filter_luma_neon;
99 100
    c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon;
......
125 126
    c->h264_idct8_add       = ff_h264_idct8_add_neon;
126 127
    c->h264_idct8_dc_add    = ff_h264_idct8_dc_add_neon;
127 128
    c->h264_idct8_add4      = ff_h264_idct8_add4_neon;
129
    }
128 130
}
129 131

  
130
void ff_h264dsp_init_arm(H264DSPContext *c)
132
void ff_h264dsp_init_arm(H264DSPContext *c, const int bit_depth)
131 133
{
132
    if (HAVE_NEON) ff_h264dsp_init_neon(c);
134
    if (HAVE_NEON) ff_h264dsp_init_neon(c, bit_depth);
133 135
}

Also available in: Unified diff