Revision 8dbe5856 libavcodec/arm/dsputil_init_arm.c

View differences:

libavcodec/arm/dsputil_init_arm.c
75 75

  
76 76
void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx)
77 77
{
78
    const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
79

  
78 80
    ff_put_pixels_clamped = c->put_pixels_clamped;
79 81
    ff_add_pixels_clamped = c->add_pixels_clamped;
80 82

  
......
95 97

  
96 98
    c->add_pixels_clamped = ff_add_pixels_clamped_arm;
97 99

  
100
    if (!h264_high_depth) {
98 101
    c->put_pixels_tab[0][0] = ff_put_pixels16_arm;
99 102
    c->put_pixels_tab[0][1] = ff_put_pixels16_x2_arm;
100 103
    c->put_pixels_tab[0][2] = ff_put_pixels16_y2_arm;
......
112 115
    c->put_no_rnd_pixels_tab[1][1] = ff_put_no_rnd_pixels8_x2_arm;
113 116
    c->put_no_rnd_pixels_tab[1][2] = ff_put_no_rnd_pixels8_y2_arm;
114 117
    c->put_no_rnd_pixels_tab[1][3] = ff_put_no_rnd_pixels8_xy2_arm;
118
    }
115 119

  
116 120
    if (HAVE_ARMV5TE) ff_dsputil_init_armv5te(c, avctx);
117 121
    if (HAVE_ARMV6)   ff_dsputil_init_armv6(c, avctx);

Also available in: Unified diff