vp9_postproc.c missing extern.
BUG=webm:1256 Change-Id: I5271e71bc53cce033fb906040643dcdd5ccb2381
This commit is contained in:
parent
6a3ff0b617
commit
6f424a768e
@ -34,6 +34,7 @@ static const int16_t kernel5[] = {
|
||||
|
||||
static const uint8_t q_diff_thresh = 20;
|
||||
static const uint8_t last_q_thresh = 170;
|
||||
extern int16_t vpx_rv[];
|
||||
|
||||
#if CONFIG_VP9_HIGHBITDEPTH
|
||||
void vp9_highbd_post_proc_down_and_across_c(const uint16_t *src_ptr,
|
||||
|
@ -8,7 +8,7 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
const int16_t vpx_rv[] = {8, 5, 2, 2, 8, 12, 4, 9, 8, 3, 0, 3, 9, 0, 0, 0, 8, 3,
|
||||
14, 4, 10, 1, 11, 14, 1, 14, 9, 6, 12, 11, 8, 6, 10, 0, 0, 8, 9, 0, 3, 14,
|
||||
@ -153,8 +153,7 @@ void vpx_mbpost_proc_across_ip_c(unsigned char *src, int pitch, int rows,
|
||||
void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,
|
||||
int flimit) {
|
||||
int r, c, i;
|
||||
unsigned int seed;
|
||||
const int16_t *rv3 = &vpx_rv[63 & rand_r(&seed)];
|
||||
const int16_t *rv3 = &vpx_rv[63 & rand()];
|
||||
|
||||
for (c = 0; c < cols; c++) {
|
||||
unsigned char *s = &dst[c];
|
||||
|
@ -575,8 +575,7 @@ void vpx_mbpost_proc_across_ip_msa(uint8_t *src_ptr, int32_t pitch,
|
||||
void vpx_mbpost_proc_down_msa(uint8_t *dst_ptr, int32_t pitch, int32_t rows,
|
||||
int32_t cols, int32_t flimit) {
|
||||
int32_t row, col, cnt, i;
|
||||
unsigned int seed;
|
||||
const int16_t *rv3 = &vpx_rv[63 & rand_r(&seed)];
|
||||
const int16_t *rv3 = &vpx_rv[63 & rand()];
|
||||
v4i32 flimit_vec;
|
||||
v16u8 dst7, dst8, dst_r_b, dst_l_b;
|
||||
v16i8 mask;
|
||||
|
Loading…
x
Reference in New Issue
Block a user