Revision 8dbe5856 libavcodec/mlib/dsputil_mlib.c

View differences:

libavcodec/mlib/dsputil_mlib.c
421 421

  
422 422
void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx)
423 423
{
424
    const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
425

  
424 426
    c->get_pixels  = get_pixels_mlib;
425 427
    c->diff_pixels = diff_pixels_mlib;
426 428
    c->add_pixels_clamped = add_pixels_clamped_mlib;
427 429

  
430
    if (!h264_high_depth) {
428 431
    c->put_pixels_tab[0][0] = put_pixels16_mlib;
429 432
    c->put_pixels_tab[0][1] = put_pixels16_x2_mlib;
430 433
    c->put_pixels_tab[0][2] = put_pixels16_y2_mlib;
......
445 448

  
446 449
    c->put_no_rnd_pixels_tab[0][0] = put_pixels16_mlib;
447 450
    c->put_no_rnd_pixels_tab[1][0] = put_pixels8_mlib;
451
    }
448 452

  
449 453
    c->bswap_buf = bswap_buf_mlib;
450 454
}

Also available in: Unified diff