summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2014-02-11 16:59:22 -0800
committerJason Sams <jsams@google.com>2014-02-11 16:59:37 -0800
commitd22e2e22523f46ae4869982fdc8f3396cc3d0888 (patch)
treefcaf651de2f15dedc5480510e72c80c16786fe03 /driver
parentafdb47f35f2c2df1cab652e7899943ddfe00692d (diff)
downloadrs-d22e2e22523f46ae4869982fdc8f3396cc3d0888.tar.gz
Clean up naming of VP9 support functions.
Change-Id: Ibfa931f3fb3a2ed2649733b7d7e679c0091dda90
Diffstat (limited to 'driver')
-rw-r--r--driver/runtime/rs_dct.c10
-rw-r--r--driver/runtime/rs_fadst.c6
-rw-r--r--driver/runtime/rs_iadst.c6
-rw-r--r--driver/runtime/rs_idct.c30
-rw-r--r--driver/runtime/rs_walsh.c4
5 files changed, 28 insertions, 28 deletions
diff --git a/driver/runtime/rs_dct.c b/driver/runtime/rs_dct.c
index 8e8dbb0e..a28287a9 100644
--- a/driver/runtime/rs_dct.c
+++ b/driver/runtime/rs_dct.c
@@ -392,7 +392,7 @@ static void dct32_1d(const int *input, int *output, int round) {
output[31] = dct_32_round(step[31] * cospi_31_64 + step[16] * -cospi_1_64);
}
-extern void dct4x4(rs_allocation input, rs_allocation output, int xoff, int yoff) {
+extern void rsDct4x4(rs_allocation input, rs_allocation output, int xoff, int yoff) {
// The 2D transform is done with two passes which are actually pretty
// similar. In the first one, we transform the columns and transpose
// the results. In the second one, we transform the rows. To achieve that,
@@ -467,7 +467,7 @@ extern void dct4x4(rs_allocation input, rs_allocation output, int xoff, int yoff
}
}
-extern void dct8x8(rs_allocation input, rs_allocation output, int xoff, int yoff) {
+extern void rsDct8x8(rs_allocation input, rs_allocation output, int xoff, int yoff) {
int i, j;
int16_t intermediate[64];
int16_t inptr[64];
@@ -553,7 +553,7 @@ extern void dct8x8(rs_allocation input, rs_allocation output, int xoff, int yoff
}
-extern void dct16x16(rs_allocation input, rs_allocation output, int xoff, int yoff) {
+extern void rsDct16x16(rs_allocation input, rs_allocation output, int xoff, int yoff) {
// The 2D transform is done with two passes which are actually pretty
// similar. In the first one, we transform the columns and transpose
// the results. In the second one, we transform the rows. To achieve that,
@@ -748,7 +748,7 @@ extern void dct16x16(rs_allocation input, rs_allocation output, int xoff, int yo
}
}
-extern void dct32x32(rs_allocation input, rs_allocation out, int xoff, int yoff) {
+extern void rsDct32x32(rs_allocation input, rs_allocation out, int xoff, int yoff) {
int i, j;
int output[32 * 32];
int16_t inptr[1024];
@@ -792,7 +792,7 @@ extern void dct32x32(rs_allocation input, rs_allocation out, int xoff, int yoff)
// Note that although we use dct_32_round in dct32_1d computation flow,
// this 2d fdct32x32 for rate-distortion optimization loop is operating
// within 16 bits precision.
-extern void dct32x32_rd(rs_allocation input, rs_allocation out, int xoff, int yoff) {
+extern void rsDct32x32_rd(rs_allocation input, rs_allocation out, int xoff, int yoff) {
int i, j;
int output[32 * 32];
int16_t inptr[1024];
diff --git a/driver/runtime/rs_fadst.c b/driver/runtime/rs_fadst.c
index b3483b79..0698e1a8 100644
--- a/driver/runtime/rs_fadst.c
+++ b/driver/runtime/rs_fadst.c
@@ -1,7 +1,7 @@
#include "rs_fadst.h"
#include "rs_allocation.rsh"
-extern void fadst4(const rs_allocation input, rs_allocation output, int32_t xoff) {
+extern void rsFadst4(const rs_allocation input, rs_allocation output, int32_t xoff) {
int x0, x1, x2, x3;
int s0, s1, s2, s3, s4, s5, s6, s7;
@@ -43,7 +43,7 @@ extern void fadst4(const rs_allocation input, rs_allocation output, int32_t xoff
rsSetElementAt_short(output, fdct_round_shift(s3), xoff + 3);
}
-extern void fadst8(const rs_allocation input, rs_allocation output, int32_t xoff) {
+extern void rsFadst8(const rs_allocation input, rs_allocation output, int32_t xoff) {
int s0, s1, s2, s3, s4, s5, s6, s7;
int16_t outArr[8];
@@ -120,7 +120,7 @@ extern void fadst8(const rs_allocation input, rs_allocation output, int32_t xoff
}
}
-extern void fadst16(const rs_allocation input, rs_allocation output, int32_t xoff) {
+extern void rsFadst16(const rs_allocation input, rs_allocation output, int32_t xoff) {
int s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15;
int16_t outArr[16];
diff --git a/driver/runtime/rs_iadst.c b/driver/runtime/rs_iadst.c
index ee1d0cf3..ccb6fc05 100644
--- a/driver/runtime/rs_iadst.c
+++ b/driver/runtime/rs_iadst.c
@@ -1,7 +1,7 @@
#include "rs_iadst.h"
#include "rs_allocation.rsh"
-extern void iadst4(const rs_allocation input, rs_allocation output, int32_t xoff) {
+extern void rsIadst4(const rs_allocation input, rs_allocation output, int32_t xoff) {
int s0, s1, s2, s3, s4, s5, s6, s7;
int x0 = rsGetElementAt_short(input, xoff);
@@ -42,7 +42,7 @@ extern void iadst4(const rs_allocation input, rs_allocation output, int32_t xoff
rsSetElementAt_short(output, dct_const_round_shift(s3), xoff + 3);
}
-extern void iadst8(const rs_allocation input, rs_allocation output, int32_t xoff) {
+extern void rsIadst8(const rs_allocation input, rs_allocation output, int32_t xoff) {
int s0, s1, s2, s3, s4, s5, s6, s7;
int16_t outArr[8];
@@ -131,7 +131,7 @@ extern void iadst8(const rs_allocation input, rs_allocation output, int32_t xoff
}
}
-extern void iadst16(const rs_allocation input, rs_allocation output, int32_t xoff) {
+extern void rsIadst16(const rs_allocation input, rs_allocation output, int32_t xoff) {
int s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15;
int16_t outArr[16];
int i;
diff --git a/driver/runtime/rs_idct.c b/driver/runtime/rs_idct.c
index 575599fc..7319bdff 100644
--- a/driver/runtime/rs_idct.c
+++ b/driver/runtime/rs_idct.c
@@ -22,7 +22,7 @@ static void idct4_1d(const int16_t *input, int16_t *output) {
output[3] = step[0] - step[3];
}
-void idct4x4_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct4x4_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int i, j;
int a1;
int16_t out = dct_const_round_shift(rsGetElementAt_short(input, xoff, yoff)
@@ -39,7 +39,7 @@ void idct4x4_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff
}
}
-void idct4x4_16(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct4x4_16(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[4 * 4];
int16_t *outptr = out;
int i, j;
@@ -120,7 +120,7 @@ static void idct8_1d(const int16_t *input, int16_t *output) {
output[7] = step1[0] - step1[7];
}
-void idct8x8_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct8x8_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int i, j;
int a1;
int16_t out = dct_const_round_shift(rsGetElementAt_short(input, xoff, yoff)
@@ -137,7 +137,7 @@ void idct8x8_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff
}
}
-void idct8x8_10(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct8x8_10(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[8 * 8] = { 0 };
int16_t *outptr = out;
int i, j;
@@ -173,7 +173,7 @@ void idct8x8_10(const rs_allocation input, rs_allocation dest, int xoff, int yof
}
}
-void idct8x8_64(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct8x8_64(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[8 * 8];
int16_t *outptr = out;
int i, j;
@@ -373,7 +373,7 @@ static void idct16_1d(const int16_t *input, int16_t *output) {
output[15] = step2[0] - step2[15];
}
-void idct16x16_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct16x16_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int i, j;
int a1;
int16_t out = dct_const_round_shift(rsGetElementAt_short(input, xoff, yoff)
@@ -390,7 +390,7 @@ void idct16x16_1(const rs_allocation input, rs_allocation dest, int xoff, int yo
}
}
-void idct16x16_10(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct16x16_10(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[16 * 16] = { 0 };
int16_t *outptr = out;
int i, j;
@@ -426,7 +426,7 @@ void idct16x16_10(const rs_allocation input, rs_allocation dest, int xoff, int y
}
}
-void idct16x16_256(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct16x16_256(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[16 * 16];
int16_t *outptr = out;
int i, j;
@@ -828,7 +828,7 @@ static void idct32_1d(const int16_t *input, int16_t *output) {
output[31] = step1[0] - step1[31];
}
-void idct32x32_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct32x32_1(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int i, j;
int a1;
int16_t out = dct_const_round_shift(rsGetElementAt_short(input, xoff, yoff)
@@ -844,7 +844,7 @@ void idct32x32_1(const rs_allocation input, rs_allocation dest, int xoff, int yo
}
}
-void idct32x32_34(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct32x32_34(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[32 * 32] = { 0 };
int16_t *outptr = out;
int i, j;
@@ -880,7 +880,7 @@ void idct32x32_34(const rs_allocation input, rs_allocation dest, int xoff, int y
}
}
-void idct32x32_1024(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+static void idct32x32_1024(const rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int16_t out[32 * 32];
int16_t *outptr = out;
int i, j;
@@ -928,7 +928,7 @@ void idct32x32_1024(const rs_allocation input, rs_allocation dest, int xoff, int
}
}
-extern void idct4x4(const rs_allocation input, rs_allocation dest, int eob,
+extern void rsIdct4x4(const rs_allocation input, rs_allocation dest, int eob,
int xoff, int yoff) {
if (eob > 1) {
idct4x4_16(input, dest, xoff, yoff);
@@ -937,7 +937,7 @@ extern void idct4x4(const rs_allocation input, rs_allocation dest, int eob,
}
}
-extern void idct8x8(const rs_allocation input, rs_allocation dest, int eob,
+extern void rsIdct8x8(const rs_allocation input, rs_allocation dest, int eob,
int xoff, int yoff) {
if (eob == 1)
// DC only DCT coefficient
@@ -948,7 +948,7 @@ extern void idct8x8(const rs_allocation input, rs_allocation dest, int eob,
idct8x8_64(input, dest, xoff, yoff);
}
-extern void idct16x16(const rs_allocation input, rs_allocation dest, int eob,
+extern void rsIdct16x16(const rs_allocation input, rs_allocation dest, int eob,
int xoff, int yoff) {
if (eob == 1)
/* DC only DCT coefficient. */
@@ -959,7 +959,7 @@ extern void idct16x16(const rs_allocation input, rs_allocation dest, int eob,
idct16x16_256(input, dest, xoff, yoff);
}
-extern void idct32x32(const rs_allocation input, rs_allocation dest, int eob,
+extern void rsIdct32x32(const rs_allocation input, rs_allocation dest, int eob,
int xoff, int yoff) {
if (eob == 1)
idct32x32_1(input, dest, xoff, yoff);
diff --git a/driver/runtime/rs_walsh.c b/driver/runtime/rs_walsh.c
index 9d7630ea..b3441af4 100644
--- a/driver/runtime/rs_walsh.c
+++ b/driver/runtime/rs_walsh.c
@@ -1,7 +1,7 @@
#include "rs_types.rsh"
#include "rs_allocation.rsh"
-extern void walsh4x4(rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+extern void rsWalsh4x4(rs_allocation input, rs_allocation dest, int xoff, int yoff) {
short output[16];
int i, j;
int a1, b1, c1, d1;
@@ -56,7 +56,7 @@ extern void walsh4x4(rs_allocation input, rs_allocation dest, int xoff, int yoff
}
-extern void walsh4x4_1(rs_allocation input, rs_allocation dest, int xoff, int yoff) {
+extern void rsWalsh4x4_1(rs_allocation input, rs_allocation dest, int xoff, int yoff) {
int i, j;
int a1;
int16_t inptr[16];