e5aaac24bb
make reference version of bilinear_filters short. use reference versions of bilinear_filters and sub_pel_filters when possible. recognize that Width was being passed into filter_block2d_bil_first_pass multiple times. ARM version had already fixed this. propegate to C. change references to src_pixels_per_line to src_pitch and standardize on src/dst (instead of input/output). recognize that first_pass is only run in the verticle and second_pass only horizontal. ARM version had already fixed this. propegate to C Change-Id: I292d376d239a9a7ca37ec2bf03cc0720606983e2
23 lines
648 B
C
23 lines
648 B
C
/*
|
|
* Copyright (c) 2011 The WebM project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
|
|
#ifndef FILTER_H
|
|
#define FILTER_H
|
|
|
|
#define BLOCK_HEIGHT_WIDTH 4
|
|
#define VP8_FILTER_WEIGHT 128
|
|
#define VP8_FILTER_SHIFT 7
|
|
|
|
extern const short vp8_bilinear_filters[8][2];
|
|
extern const short vp8_sub_pel_filters[8][6];
|
|
|
|
#endif //FILTER_H
|