summaryrefslogtreecommitdiff
path: root/vp8/decoder/idct_blk.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2012-10-30 14:51:31 -0700
committerRonald S. Bultje <rbultje@google.com>2012-10-30 22:07:14 -0700
commit0d53fc262ced6ddaf8b991ad40ed3a29a104426c (patch)
tree809f1f45e28f4c52c9a2c1c4b8d9db7eed0403e3 /vp8/decoder/idct_blk.c
parentd115dbc24c341739ed89cf5698f81be6aee24b27 (diff)
downloadlibvpx-0d53fc262ced6ddaf8b991ad40ed3a29a104426c.tar
libvpx-0d53fc262ced6ddaf8b991ad40ed3a29a104426c.tar.gz
libvpx-0d53fc262ced6ddaf8b991ad40ed3a29a104426c.tar.bz2
libvpx-0d53fc262ced6ddaf8b991ad40ed3a29a104426c.zip
Change decoder vp8_ and vp8dx_ public symbol prefixes to vp9_.
Change-Id: Iedb4c3b4171d8640cc525727b4c3658e2bb400db
Diffstat (limited to 'vp8/decoder/idct_blk.c')
-rw-r--r--vp8/decoder/idct_blk.c76
1 files changed, 38 insertions, 38 deletions
diff --git a/vp8/decoder/idct_blk.c b/vp8/decoder/idct_blk.c
index e97d3298f..cbe8b4305 100644
--- a/vp8/decoder/idct_blk.c
+++ b/vp8/decoder/idct_blk.c
@@ -12,21 +12,21 @@
#include "vp8/common/idct.h"
#include "dequantize.h"
-void vp8_dequant_dc_idct_add_c(short *input, short *dq, unsigned char *pred,
+void vp9_dequant_dc_idct_add_c(short *input, short *dq, unsigned char *pred,
unsigned char *dest, int pitch, int stride,
int Dc);
-void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *pred,
+void vp9_dequant_idct_add_c(short *input, short *dq, unsigned char *pred,
unsigned char *dest, int pitch, int stride);
void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr,
unsigned char *dst_ptr, int pitch, int stride);
#if CONFIG_LOSSLESS
-void vp8_dequant_idct_add_lossless_c(short *input, short *dq, unsigned char *pred,
+void vp9_dequant_idct_add_lossless_c(short *input, short *dq, unsigned char *pred,
unsigned char *dest, int pitch, int stride);
void vp8_dc_only_idct_add_lossless_c(short input_dc, unsigned char *pred_ptr,
unsigned char *dst_ptr, int pitch, int stride);
#endif
-void vp8_dequant_dc_idct_add_y_block_c
+void vp9_dequant_dc_idct_add_y_block_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dst, int stride, char *eobs, short *dc) {
int i, j;
@@ -34,7 +34,7 @@ void vp8_dequant_dc_idct_add_y_block_c
for (i = 0; i < 4; i++) {
for (j = 0; j < 4; j++) {
if (*eobs++ > 1)
- vp8_dequant_dc_idct_add_c(q, dq, pre, dst, 16, stride, dc[0]);
+ vp9_dequant_dc_idct_add_c(q, dq, pre, dst, 16, stride, dc[0]);
else
vp8_dc_only_idct_add_c(dc[0], pre, dst, 16, stride);
@@ -49,7 +49,7 @@ void vp8_dequant_dc_idct_add_y_block_c
}
}
-void vp8_dequant_idct_add_y_block_c
+void vp9_dequant_idct_add_y_block_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dst, int stride, char *eobs) {
int i, j;
@@ -57,7 +57,7 @@ void vp8_dequant_idct_add_y_block_c
for (i = 0; i < 4; i++) {
for (j = 0; j < 4; j++) {
if (*eobs++ > 1)
- vp8_dequant_idct_add_c(q, dq, pre, dst, 16, stride);
+ vp9_dequant_idct_add_c(q, dq, pre, dst, 16, stride);
else {
vp8_dc_only_idct_add_c(q[0]*dq[0], pre, dst, 16, stride);
((int *)q)[0] = 0;
@@ -73,7 +73,7 @@ void vp8_dequant_idct_add_y_block_c
}
}
-void vp8_dequant_idct_add_uv_block_c
+void vp9_dequant_idct_add_uv_block_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) {
int i, j;
@@ -81,7 +81,7 @@ void vp8_dequant_idct_add_uv_block_c
for (i = 0; i < 2; i++) {
for (j = 0; j < 2; j++) {
if (*eobs++ > 1)
- vp8_dequant_idct_add_c(q, dq, pre, dstu, 8, stride);
+ vp9_dequant_idct_add_c(q, dq, pre, dstu, 8, stride);
else {
vp8_dc_only_idct_add_c(q[0]*dq[0], pre, dstu, 8, stride);
((int *)q)[0] = 0;
@@ -99,7 +99,7 @@ void vp8_dequant_idct_add_uv_block_c
for (i = 0; i < 2; i++) {
for (j = 0; j < 2; j++) {
if (*eobs++ > 1)
- vp8_dequant_idct_add_c(q, dq, pre, dstv, 8, stride);
+ vp9_dequant_idct_add_c(q, dq, pre, dstv, 8, stride);
else {
vp8_dc_only_idct_add_c(q[0]*dq[0], pre, dstv, 8, stride);
((int *)q)[0] = 0;
@@ -116,31 +116,31 @@ void vp8_dequant_idct_add_uv_block_c
}
-void vp8_dequant_dc_idct_add_y_block_8x8_c
+void vp9_dequant_dc_idct_add_y_block_8x8_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dst, int stride, char *eobs, short *dc, MACROBLOCKD *xd) {
- vp8_dequant_dc_idct_add_8x8_c(q, dq, pre, dst, 16, stride, dc[0]);
- vp8_dequant_dc_idct_add_8x8_c(&q[64], dq, pre + 8, dst + 8, 16, stride, dc[1]);
- vp8_dequant_dc_idct_add_8x8_c(&q[128], dq, pre + 8 * 16, dst + 8 * stride, 16, stride, dc[4]);
- vp8_dequant_dc_idct_add_8x8_c(&q[192], dq, pre + 8 * 16 + 8, dst + 8 * stride + 8, 16, stride, dc[8]);
+ vp9_dequant_dc_idct_add_8x8_c(q, dq, pre, dst, 16, stride, dc[0]);
+ vp9_dequant_dc_idct_add_8x8_c(&q[64], dq, pre + 8, dst + 8, 16, stride, dc[1]);
+ vp9_dequant_dc_idct_add_8x8_c(&q[128], dq, pre + 8 * 16, dst + 8 * stride, 16, stride, dc[4]);
+ vp9_dequant_dc_idct_add_8x8_c(&q[192], dq, pre + 8 * 16 + 8, dst + 8 * stride + 8, 16, stride, dc[8]);
}
#if CONFIG_SUPERBLOCKS
-void vp8_dequant_dc_idct_add_y_block_8x8_inplace_c
+void vp9_dequant_dc_idct_add_y_block_8x8_inplace_c
(short *q, short *dq,
unsigned char *dst, int stride, char *eobs, short *dc, MACROBLOCKD *xd) {
- vp8_dequant_dc_idct_add_8x8_c(q, dq, dst, dst, stride, stride, dc[0]);
- vp8_dequant_dc_idct_add_8x8_c(&q[64], dq, dst + 8, dst + 8, stride, stride, dc[1]);
- vp8_dequant_dc_idct_add_8x8_c(&q[128], dq, dst + 8 * stride, dst + 8 * stride, stride, stride, dc[4]);
- vp8_dequant_dc_idct_add_8x8_c(&q[192], dq, dst + 8 * stride + 8, dst + 8 * stride + 8, stride, stride, dc[8]);
+ vp9_dequant_dc_idct_add_8x8_c(q, dq, dst, dst, stride, stride, dc[0]);
+ vp9_dequant_dc_idct_add_8x8_c(&q[64], dq, dst + 8, dst + 8, stride, stride, dc[1]);
+ vp9_dequant_dc_idct_add_8x8_c(&q[128], dq, dst + 8 * stride, dst + 8 * stride, stride, stride, dc[4]);
+ vp9_dequant_dc_idct_add_8x8_c(&q[192], dq, dst + 8 * stride + 8, dst + 8 * stride + 8, stride, stride, dc[8]);
}
#endif
-void vp8_dequant_idct_add_y_block_8x8_c
+void vp9_dequant_idct_add_y_block_8x8_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dst, int stride, char *eobs, MACROBLOCKD *xd) {
@@ -148,38 +148,38 @@ void vp8_dequant_idct_add_y_block_8x8_c
unsigned char *origdest = dst;
unsigned char *origpred = pre;
- vp8_dequant_idct_add_8x8_c(q, dq, pre, dst, 16, stride);
- vp8_dequant_idct_add_8x8_c(&q[64], dq, origpred + 8, origdest + 8, 16, stride);
- vp8_dequant_idct_add_8x8_c(&q[128], dq, origpred + 8 * 16, origdest + 8 * stride, 16, stride);
- vp8_dequant_idct_add_8x8_c(&q[192], dq, origpred + 8 * 16 + 8, origdest + 8 * stride + 8, 16, stride);
+ vp9_dequant_idct_add_8x8_c(q, dq, pre, dst, 16, stride);
+ vp9_dequant_idct_add_8x8_c(&q[64], dq, origpred + 8, origdest + 8, 16, stride);
+ vp9_dequant_idct_add_8x8_c(&q[128], dq, origpred + 8 * 16, origdest + 8 * stride, 16, stride);
+ vp9_dequant_idct_add_8x8_c(&q[192], dq, origpred + 8 * 16 + 8, origdest + 8 * stride + 8, 16, stride);
}
-void vp8_dequant_idct_add_uv_block_8x8_c
+void vp9_dequant_idct_add_uv_block_8x8_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dstu, unsigned char *dstv, int stride, char *eobs, MACROBLOCKD *xd) {
- vp8_dequant_idct_add_8x8_c(q, dq, pre, dstu, 8, stride);
+ vp9_dequant_idct_add_8x8_c(q, dq, pre, dstu, 8, stride);
q += 64;
pre += 64;
- vp8_dequant_idct_add_8x8_c(q, dq, pre, dstv, 8, stride);
+ vp9_dequant_idct_add_8x8_c(q, dq, pre, dstv, 8, stride);
}
#if CONFIG_SUPERBLOCKS
-void vp8_dequant_idct_add_uv_block_8x8_inplace_c
+void vp9_dequant_idct_add_uv_block_8x8_inplace_c
(short *q, short *dq,
unsigned char *dstu, unsigned char *dstv, int stride, char *eobs, MACROBLOCKD *xd) {
- vp8_dequant_idct_add_8x8_c(q, dq, dstu, dstu, stride, stride);
+ vp9_dequant_idct_add_8x8_c(q, dq, dstu, dstu, stride, stride);
q += 64;
- vp8_dequant_idct_add_8x8_c(q, dq, dstv, dstv, stride, stride);
+ vp9_dequant_idct_add_8x8_c(q, dq, dstv, dstv, stride, stride);
}
#endif
#if CONFIG_LOSSLESS
-void vp8_dequant_dc_idct_add_y_block_lossless_c
+void vp9_dequant_dc_idct_add_y_block_lossless_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dst, int stride, char *eobs, short *dc) {
int i, j;
@@ -187,7 +187,7 @@ void vp8_dequant_dc_idct_add_y_block_lossless_c
for (i = 0; i < 4; i++) {
for (j = 0; j < 4; j++) {
if (*eobs++ > 1)
- vp8_dequant_dc_idct_add_lossless_c(q, dq, pre, dst, 16, stride, dc[0]);
+ vp9_dequant_dc_idct_add_lossless_c(q, dq, pre, dst, 16, stride, dc[0]);
else
vp8_dc_only_inv_walsh_add_c(dc[0], pre, dst, 16, stride);
@@ -202,7 +202,7 @@ void vp8_dequant_dc_idct_add_y_block_lossless_c
}
}
-void vp8_dequant_idct_add_y_block_lossless_c
+void vp9_dequant_idct_add_y_block_lossless_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dst, int stride, char *eobs) {
int i, j;
@@ -210,7 +210,7 @@ void vp8_dequant_idct_add_y_block_lossless_c
for (i = 0; i < 4; i++) {
for (j = 0; j < 4; j++) {
if (*eobs++ > 1)
- vp8_dequant_idct_add_lossless_c(q, dq, pre, dst, 16, stride);
+ vp9_dequant_idct_add_lossless_c(q, dq, pre, dst, 16, stride);
else {
vp8_dc_only_inv_walsh_add_c(q[0]*dq[0], pre, dst, 16, stride);
((int *)q)[0] = 0;
@@ -226,7 +226,7 @@ void vp8_dequant_idct_add_y_block_lossless_c
}
}
-void vp8_dequant_idct_add_uv_block_lossless_c
+void vp9_dequant_idct_add_uv_block_lossless_c
(short *q, short *dq, unsigned char *pre,
unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) {
int i, j;
@@ -234,7 +234,7 @@ void vp8_dequant_idct_add_uv_block_lossless_c
for (i = 0; i < 2; i++) {
for (j = 0; j < 2; j++) {
if (*eobs++ > 1)
- vp8_dequant_idct_add_lossless_c(q, dq, pre, dstu, 8, stride);
+ vp9_dequant_idct_add_lossless_c(q, dq, pre, dstu, 8, stride);
else {
vp8_dc_only_inv_walsh_add_c(q[0]*dq[0], pre, dstu, 8, stride);
((int *)q)[0] = 0;
@@ -252,7 +252,7 @@ void vp8_dequant_idct_add_uv_block_lossless_c
for (i = 0; i < 2; i++) {
for (j = 0; j < 2; j++) {
if (*eobs++ > 1)
- vp8_dequant_idct_add_lossless_c(q, dq, pre, dstv, 8, stride);
+ vp9_dequant_idct_add_lossless_c(q, dq, pre, dstv, 8, stride);
else {
vp8_dc_only_inv_walsh_add_c(q[0]*dq[0], pre, dstv, 8, stride);
((int *)q)[0] = 0;