ref: 8515e62e6b6495590634a0f6d3a2c89192bd0a55
parent: f3bf5f2029ac66acc866b0e68aa0103fa39d8d4c
author: James Zern <[email protected]>
date: Thu May 14 15:56:51 EDT 2015
vp9_dct_sse2: make some functions static silences missing prototype warnings Change-Id: I773b6a6b5bd7c57db18c3b17c519534f80e131de
--- a/vp9/encoder/x86/vp9_dct_sse2.c
+++ b/vp9/encoder/x86/vp9_dct_sse2.c
@@ -96,7 +96,7 @@
res[3] = _mm_unpackhi_epi64(res[2], res[2]);
}
-void fdct4_sse2(__m128i *in) {
+static void fdct4_sse2(__m128i *in) {
const __m128i k__cospi_p16_p16 = _mm_set1_epi16((int16_t)cospi_16_64);
const __m128i k__cospi_p16_m16 = pair_set_epi16(cospi_16_64, -cospi_16_64);
const __m128i k__cospi_p08_p24 = pair_set_epi16(cospi_8_64, cospi_24_64);
@@ -129,7 +129,7 @@
transpose_4x4(in);
}
-void fadst4_sse2(__m128i *in) {
+static void fadst4_sse2(__m128i *in) {
const __m128i k__sinpi_p01_p02 = pair_set_epi16(sinpi_1_9, sinpi_2_9);
const __m128i k__sinpi_p04_m01 = pair_set_epi16(sinpi_4_9, -sinpi_1_9);
const __m128i k__sinpi_p03_p04 = pair_set_epi16(sinpi_3_9, sinpi_4_9);
@@ -831,7 +831,7 @@
// 07 17 27 37 47 57 67 77
}
-void fdct8_sse2(__m128i *in) {
+static void fdct8_sse2(__m128i *in) {
// constants
const __m128i k__cospi_p16_p16 = _mm_set1_epi16((int16_t)cospi_16_64);
const __m128i k__cospi_p16_m16 = pair_set_epi16(cospi_16_64, -cospi_16_64);
@@ -971,7 +971,7 @@
array_transpose_8x8(in, in);
}
-void fadst8_sse2(__m128i *in) {
+static void fadst8_sse2(__m128i *in) {
// Constants
const __m128i k__cospi_p02_p30 = pair_set_epi16(cospi_2_64, cospi_30_64);
const __m128i k__cospi_p30_m02 = pair_set_epi16(cospi_30_64, -cospi_2_64);
@@ -1353,7 +1353,7 @@
right_shift_8x8(res1 + 8, 2);
}
-void fdct16_8col(__m128i *in) {
+static void fdct16_8col(__m128i *in) {
// perform 16x16 1-D DCT for 8 columns
__m128i i[8], s[8], p[8], t[8], u[16], v[16];
const __m128i k__cospi_p16_p16 = _mm_set1_epi16((int16_t)cospi_16_64);
@@ -1675,7 +1675,7 @@
in[15] = _mm_packs_epi32(v[14], v[15]);
}
-void fadst16_8col(__m128i *in) {
+static void fadst16_8col(__m128i *in) {
// perform 16x16 1-D ADST for 8 columns
__m128i s[16], x[16], u[32], v[32];
const __m128i k__cospi_p01_p31 = pair_set_epi16(cospi_1_64, cospi_31_64);
@@ -2145,13 +2145,13 @@
in[15] = _mm_sub_epi16(kZero, s[1]);
}
-void fdct16_sse2(__m128i *in0, __m128i *in1) {
+static void fdct16_sse2(__m128i *in0, __m128i *in1) {
fdct16_8col(in0);
fdct16_8col(in1);
array_transpose_16x16(in0, in1);
}
-void fadst16_sse2(__m128i *in0, __m128i *in1) {
+static void fadst16_sse2(__m128i *in0, __m128i *in1) {
fadst16_8col(in0);
fadst16_8col(in1);
array_transpose_16x16(in0, in1);