Revision 8dbe5856 libavcodec/sparc/dsputil_vis.c

View differences:

libavcodec/sparc/dsputil_vis.c
3953 3953
{
3954 3954
  /* VIS-specific optimizations */
3955 3955
  int accel = vis_level ();
3956
  const int h264_high_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
3956 3957

  
3957 3958
  if (accel & ACCEL_SPARC_VIS) {
3958 3959
      if(avctx->idct_algo==FF_IDCT_SIMPLEVIS){
......
3962 3963
          c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
3963 3964
      }
3964 3965

  
3966
      if (!h264_high_depth) {
3965 3967
      c->put_pixels_tab[0][0] = MC_put_o_16_vis;
3966 3968
      c->put_pixels_tab[0][1] = MC_put_x_16_vis;
3967 3969
      c->put_pixels_tab[0][2] = MC_put_y_16_vis;
......
4001 4003
      c->avg_no_rnd_pixels_tab[1][1] = MC_avg_no_round_x_8_vis;
4002 4004
      c->avg_no_rnd_pixels_tab[1][2] = MC_avg_no_round_y_8_vis;
4003 4005
      c->avg_no_rnd_pixels_tab[1][3] = MC_avg_no_round_xy_8_vis;
4006
      }
4004 4007
  }
4005 4008
}

Also available in: Unified diff