summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_idctllm.c
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2013-02-01 16:45:54 -0800
committerYaowu Xu <yaowu@google.com>2013-02-04 07:19:32 -0800
commitccaaeb4b5aee32d71f45e2fbeda906b7bf84c396 (patch)
treed3da37eaa692596143ecf6df437b7108c01cb526 /vp9/common/vp9_idctllm.c
parentaf4c9d2f88234801d5e72416278230671d9f8293 (diff)
downloadlibvpx-ccaaeb4b5aee32d71f45e2fbeda906b7bf84c396.tar
libvpx-ccaaeb4b5aee32d71f45e2fbeda906b7bf84c396.tar.gz
libvpx-ccaaeb4b5aee32d71f45e2fbeda906b7bf84c396.tar.bz2
libvpx-ccaaeb4b5aee32d71f45e2fbeda906b7bf84c396.zip
a couple of minor fixes
fixed a function prototypes to prevent compiler warnings; removed a function not in use; un-capitialize "Refstride" to ref_stride Change-Id: Ib4472b6084f357d96328c6a06e795b6813a9edba
Diffstat (limited to 'vp9/common/vp9_idctllm.c')
-rw-r--r--vp9/common/vp9_idctllm.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/vp9/common/vp9_idctllm.c b/vp9/common/vp9_idctllm.c
index 770f3077a..e9928ee81 100644
--- a/vp9/common/vp9_idctllm.c
+++ b/vp9/common/vp9_idctllm.c
@@ -590,28 +590,6 @@ void vp9_dc_only_inv_walsh_add_c(short input_dc, uint8_t *pred_ptr,
}
#endif
-void vp9_dc_only_idct_add_8x8_c(short input_dc,
- uint8_t *pred_ptr,
- uint8_t *dst_ptr,
- int pitch, int stride) {
- int a1 = ((input_dc + 16) >> 5);
- int r, c, b;
- uint8_t *orig_pred = pred_ptr;
- uint8_t *orig_dst = dst_ptr;
- for (b = 0; b < 4; b++) {
- for (r = 0; r < 4; r++) {
- for (c = 0; c < 4; c++) {
- dst_ptr[c] = clip_pixel(a1 + pred_ptr[c]);
- }
-
- dst_ptr += stride;
- pred_ptr += pitch;
- }
- dst_ptr = orig_dst + (b + 1) % 2 * 4 + (b + 1) / 2 * 4 * stride;
- pred_ptr = orig_pred + (b + 1) % 2 * 4 + (b + 1) / 2 * 4 * pitch;
- }
-}
-
#define W1 2841 /* 2048*sqrt(2)*cos(1*pi/16) */
#define W2 2676 /* 2048*sqrt(2)*cos(2*pi/16) */
#define W3 2408 /* 2048*sqrt(2)*cos(3*pi/16) */