Home | History | Annotate | Download | only in symbian
      1 /*
      2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 
     12 #include "vpx_scale/vpxscale.h"
     13 
     14 /****************************************************************************
     15  *
     16  *  ROUTINE       : vp8_scale_machine_specific_config
     17  *
     18  *  INPUTS        : UINT32 Version : Codec version number.
     19  *
     20  *  OUTPUTS       : None.
     21  *
     22  *  RETURNS       : void
     23  *
     24  *  FUNCTION      : Checks for machine specifc features such as MMX support
     25  *                  sets appropriate flags and function pointers.
     26  *
     27  *  SPECIAL NOTES : None.
     28  *
     29  ****************************************************************************/
     30 void vp8_scale_machine_specific_config()
     31 {
     32 #ifndef VPX_NO_GLOBALS
     33     vp8_horizontal_line_1_2_scale        = horizontal_line_1_2_scale_armv4;
     34     vp8_vertical_band_1_2_scale          = vertical_band_1_2_scale_armv4;
     35     vp8_last_vertical_band_1_2_scale      = vp8cx_last_vertical_band_1_2_scale_c;
     36     vp8_horizontal_line_3_5_scale        = horizontal_line_3_5_scale_armv4;
     37     vp8_vertical_band_3_5_scale          = vertical_band_3_5_scale_armv4;
     38     vp8_last_vertical_band_3_5_scale      = vp8cx_last_vertical_band_3_5_scale_c;
     39     vp8_horizontal_line_3_4_scale        = horizontal_line_3_4_scale_armv4;
     40     vp8_vertical_band_3_4_scale          = vertical_band_3_4_scale_armv4;
     41     vp8_last_vertical_band_3_4_scale      = vp8cx_last_vertical_band_3_4_scale_c;
     42     vp8_horizontal_line_2_3_scale        = horizontal_line_2_3_scale_armv4;
     43     vp8_vertical_band_2_3_scale          = vertical_band_2_3_scale_armv4;
     44     vp8_last_vertical_band_2_3_scale      = vp8cx_last_vertical_band_2_3_scale_c;
     45     vp8_horizontal_line_4_5_scale        = horizontal_line_4_5_scale_armv4;
     46     vp8_vertical_band_4_5_scale          = vertical_band_4_5_scale_armv4;
     47     vp8_last_vertical_band_4_5_scale      = vp8cx_last_vertical_band_4_5_scale_c;
     48 
     49 
     50     vp8_vertical_band_5_4_scale           = vp8cx_vertical_band_5_4_scale_c;
     51     vp8_vertical_band_5_3_scale           = vp8cx_vertical_band_5_3_scale_c;
     52     vp8_vertical_band_2_1_scale           = vp8cx_vertical_band_2_1_scale_c;
     53     vp8_vertical_band_2_1_scale_i         = vp8cx_vertical_band_2_1_scale_i_c;
     54     vp8_horizontal_line_2_1_scale         = vp8cx_horizontal_line_2_1_scale_c;
     55     vp8_horizontal_line_5_3_scale         = vp8cx_horizontal_line_5_3_scale_c;
     56     vp8_horizontal_line_5_4_scale         = vp8cx_horizontal_line_5_4_scale_c;
     57 #endif
     58 }
     59