Revision 8dbe5856 libavcodec/arm/dsputil_iwmmxt.c

View differences:

libavcodec/arm/dsputil_iwmmxt.c
155 155
void ff_dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx)
156 156
{
157 157
    int mm_flags = AV_CPU_FLAG_IWMMXT; /* multimedia extension flags */
158
    const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
158 159

  
159 160
    if (avctx->dsp_mask) {
160 161
        if (avctx->dsp_mask & AV_CPU_FLAG_FORCE)
......
167 168

  
168 169
    c->add_pixels_clamped = add_pixels_clamped_iwmmxt;
169 170

  
171
    if (!h264_high_depth) {
170 172
    c->clear_blocks = clear_blocks_iwmmxt;
171 173

  
172 174
    c->put_pixels_tab[0][0] = put_pixels16_iwmmxt;
......
204 206
    c->avg_no_rnd_pixels_tab[1][1] = avg_no_rnd_pixels8_x2_iwmmxt;
205 207
    c->avg_no_rnd_pixels_tab[1][2] = avg_no_rnd_pixels8_y2_iwmmxt;
206 208
    c->avg_no_rnd_pixels_tab[1][3] = avg_no_rnd_pixels8_xy2_iwmmxt;
209
    }
207 210
}

Also available in: Unified diff