Revision 8dbe5856 libavcodec/ppc/dsputil_ppc.c

View differences:

libavcodec/ppc/dsputil_ppc.c
153 153

  
154 154
void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
155 155
{
156
    const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
157

  
156 158
    // Common optimizations whether AltiVec is available or not
157 159
    c->prefetch = prefetch_ppc;
160
    if (!h264_high_depth) {
158 161
    switch (check_dcbzl_effect()) {
159 162
        case 32:
160 163
            c->clear_blocks = clear_blocks_dcbz32_ppc;
......
165 168
        default:
166 169
            break;
167 170
    }
171
    }
168 172

  
169 173
#if HAVE_ALTIVEC
170 174
    if(CONFIG_H264_DECODER) dsputil_h264_init_ppc(c, avctx);

Also available in: Unified diff