Revision 8dbe5856 libavcodec/ps2/dsputil_mmi.c

View differences:

libavcodec/ps2/dsputil_mmi.c
142 142
void dsputil_init_mmi(DSPContext* c, AVCodecContext *avctx)
143 143
{
144 144
    const int idct_algo= avctx->idct_algo;
145
    const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
145 146

  
147
    if (!h264_high_depth) {
146 148
    c->clear_blocks = clear_blocks_mmi;
147 149

  
148 150
    c->put_pixels_tab[1][0] = put_pixels8_mmi;
......
150 152

  
151 153
    c->put_pixels_tab[0][0] = put_pixels16_mmi;
152 154
    c->put_no_rnd_pixels_tab[0][0] = put_pixels16_mmi;
155
    }
153 156

  
154 157
    c->get_pixels = get_pixels_mmi;
155 158

  

Also available in: Unified diff