Revision 8dbe5856 libavcodec/bfin/dsputil_bfin.c

View differences:

libavcodec/bfin/dsputil_bfin.c
197 197

  
198 198
void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx )
199 199
{
200
    const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
201

  
200 202
    c->get_pixels         = ff_bfin_get_pixels;
201 203
    c->diff_pixels        = ff_bfin_diff_pixels;
202 204
    c->put_pixels_clamped = ff_bfin_put_pixels_clamped;
203 205
    c->add_pixels_clamped = ff_bfin_add_pixels_clamped;
204 206

  
207
    if (!h264_high_depth)
205 208
    c->clear_blocks       = bfin_clear_blocks;
206 209
    c->pix_sum            = ff_bfin_pix_sum;
207 210
    c->pix_norm1          = ff_bfin_pix_norm1;
......
228 231
    c->sse[1] = ff_bfin_sse8;
229 232
    c->sse[2] = ff_bfin_sse4;
230 233

  
234
    if (!h264_high_depth) {
231 235
    c->put_pixels_tab[0][0] = bfin_put_pixels16;
232 236
    c->put_pixels_tab[0][1] = bfin_put_pixels16_x2;
233 237
    c->put_pixels_tab[0][2] = bfin_put_pixels16_y2;
......
247 251
    c->put_no_rnd_pixels_tab[0][1] = bfin_put_pixels16_x2_nornd;
248 252
    c->put_no_rnd_pixels_tab[0][2] = bfin_put_pixels16_y2_nornd;
249 253
/*     c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; */
254
    }
250 255

  
251 256
    if (avctx->dct_algo == FF_DCT_AUTO)
252 257
        c->fdct               = ff_bfin_fdct;

Also available in: Unified diff