LCOV - code coverage report
Current view: directory - media/libvpx/vpx_scale/generic - scalesystemdependent.c (source / functions) Found Hit Coverage
Test: app.info Lines: 27 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       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_ports/config.h"
      13                 : #include "vpx_scale/vpxscale.h"
      14                 : 
      15                 : 
      16                 : void (*vp8_yv12_extend_frame_borders_ptr)(YV12_BUFFER_CONFIG *ybf);
      17                 : extern void vp8_yv12_extend_frame_borders(YV12_BUFFER_CONFIG *ybf);
      18                 : 
      19                 : void (*vp8_yv12_copy_frame_yonly_ptr)(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc);
      20                 : extern void vp8_yv12_copy_frame_yonly(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc);
      21                 : 
      22                 : void (*vp8_yv12_copy_frame_ptr)(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc);
      23                 : extern void vp8_yv12_copy_frame(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc);
      24                 : 
      25                 : /****************************************************************************
      26                 : *  Imports
      27                 : *****************************************************************************/
      28                 : 
      29                 : /****************************************************************************
      30                 :  *
      31                 :  *  ROUTINE       : vp8_scale_machine_specific_config
      32                 :  *
      33                 :  *  INPUTS        : UINT32 Version : Codec version number.
      34                 :  *
      35                 :  *  OUTPUTS       : None.
      36                 :  *
      37                 :  *  RETURNS       : void
      38                 :  *
      39                 :  *  FUNCTION      : Checks for machine specifc features such as MMX support
      40                 :  *                  sets appropriate flags and function pointers.
      41                 :  *
      42                 :  *  SPECIAL NOTES : None.
      43                 :  *
      44                 :  ****************************************************************************/
      45               0 : void vp8_scale_machine_specific_config()
      46                 : {
      47                 : #if CONFIG_SPATIAL_RESAMPLING
      48               0 :     vp8_horizontal_line_1_2_scale        = vp8cx_horizontal_line_1_2_scale_c;
      49               0 :     vp8_vertical_band_1_2_scale          = vp8cx_vertical_band_1_2_scale_c;
      50               0 :     vp8_last_vertical_band_1_2_scale      = vp8cx_last_vertical_band_1_2_scale_c;
      51               0 :     vp8_horizontal_line_3_5_scale        = vp8cx_horizontal_line_3_5_scale_c;
      52               0 :     vp8_vertical_band_3_5_scale          = vp8cx_vertical_band_3_5_scale_c;
      53               0 :     vp8_last_vertical_band_3_5_scale      = vp8cx_last_vertical_band_3_5_scale_c;
      54               0 :     vp8_horizontal_line_3_4_scale        = vp8cx_horizontal_line_3_4_scale_c;
      55               0 :     vp8_vertical_band_3_4_scale          = vp8cx_vertical_band_3_4_scale_c;
      56               0 :     vp8_last_vertical_band_3_4_scale      = vp8cx_last_vertical_band_3_4_scale_c;
      57               0 :     vp8_horizontal_line_2_3_scale        = vp8cx_horizontal_line_2_3_scale_c;
      58               0 :     vp8_vertical_band_2_3_scale          = vp8cx_vertical_band_2_3_scale_c;
      59               0 :     vp8_last_vertical_band_2_3_scale      = vp8cx_last_vertical_band_2_3_scale_c;
      60               0 :     vp8_horizontal_line_4_5_scale        = vp8cx_horizontal_line_4_5_scale_c;
      61               0 :     vp8_vertical_band_4_5_scale          = vp8cx_vertical_band_4_5_scale_c;
      62               0 :     vp8_last_vertical_band_4_5_scale      = vp8cx_last_vertical_band_4_5_scale_c;
      63                 : 
      64                 : 
      65               0 :     vp8_vertical_band_5_4_scale           = vp8cx_vertical_band_5_4_scale_c;
      66               0 :     vp8_vertical_band_5_3_scale           = vp8cx_vertical_band_5_3_scale_c;
      67               0 :     vp8_vertical_band_2_1_scale           = vp8cx_vertical_band_2_1_scale_c;
      68               0 :     vp8_vertical_band_2_1_scale_i         = vp8cx_vertical_band_2_1_scale_i_c;
      69               0 :     vp8_horizontal_line_2_1_scale         = vp8cx_horizontal_line_2_1_scale_c;
      70               0 :     vp8_horizontal_line_5_3_scale         = vp8cx_horizontal_line_5_3_scale_c;
      71               0 :     vp8_horizontal_line_5_4_scale         = vp8cx_horizontal_line_5_4_scale_c;
      72                 : #endif
      73                 : 
      74               0 :     vp8_yv12_extend_frame_borders_ptr      = vp8_yv12_extend_frame_borders;
      75               0 :     vp8_yv12_copy_frame_yonly_ptr          = vp8_yv12_copy_frame_yonly;
      76               0 :     vp8_yv12_copy_frame_ptr           = vp8_yv12_copy_frame;
      77                 : 
      78               0 : }

Generated by: LCOV version 1.7