From 794a7bedbd43fe062c0e11308938f9793f2facb1 Mon Sep 17 00:00:00 2001 From: Scott LaVarnway Date: Thu, 16 May 2013 13:52:15 -0400 Subject: WIP: 8x8 idct/recon merge This patch eliminates the intermediate diff buffer usage by combining the short idct and the add residual into one function. The encoder can use the same code as well. Change-Id: Iacfd57324fbe2b7beca5d7f3dcae25c976e67f45 --- vp9/common/vp9_rtcd_defs.sh | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'vp9/common/vp9_rtcd_defs.sh') diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh index ea60fbb10..5ecb0af44 100644 --- a/vp9/common/vp9_rtcd_defs.sh +++ b/vp9/common/vp9_rtcd_defs.sh @@ -88,9 +88,6 @@ if [ "$CONFIG_VP9_DECODER" = "yes" ]; then prototype void vp9_add_residual_4x4 "const int16_t *diff, uint8_t *dest, int stride" specialize vp9_add_residual_4x4 sse2 -prototype void vp9_add_residual_8x8 "const int16_t *diff, uint8_t *dest, int stride" -specialize vp9_add_residual_8x8 sse2 - prototype void vp9_add_constant_residual_8x8 "const int16_t diff, uint8_t *dest, int stride" specialize vp9_add_constant_residual_8x8 sse2 @@ -188,11 +185,11 @@ specialize vp9_short_idct4x4_1 prototype void vp9_short_idct4x4 "int16_t *input, int16_t *output, int pitch" specialize vp9_short_idct4x4 sse2 -prototype void vp9_short_idct8x8 "int16_t *input, int16_t *output, int pitch" -specialize vp9_short_idct8x8 sse2 +prototype void vp9_short_idct8x8_add "int16_t *input, uint8_t *dest, int dest_stride" +specialize vp9_short_idct8x8_add sse2 -prototype void vp9_short_idct10_8x8 "int16_t *input, int16_t *output, int pitch" -specialize vp9_short_idct10_8x8 sse2 +prototype void vp9_short_idct10_8x8_add "int16_t *input, uint8_t *dest, int dest_stride" +specialize vp9_short_idct10_8x8_add sse2 prototype void vp9_short_idct1_8x8 "int16_t *input, int16_t *output" specialize vp9_short_idct1_8x8 @@ -215,8 +212,8 @@ specialize vp9_short_idct1_32x32 prototype void vp9_short_idct10_32x32_add "int16_t *input, uint8_t *dest, int dest_stride" specialize vp9_short_idct10_32x32_add -prototype void vp9_short_iht8x8 "int16_t *input, int16_t *output, int pitch, int tx_type" -specialize vp9_short_iht8x8 +prototype void vp9_short_iht8x8_add "int16_t *input, uint8_t *dest, int dest_stride, int tx_type" +specialize vp9_short_iht8x8_add prototype void vp9_short_iht4x4 "int16_t *input, int16_t *output, int pitch, int tx_type" specialize vp9_short_iht4x4 -- cgit v1.2.3