Index: source/libvpx/vp9/common/vp9_invtrans.c |
=================================================================== |
--- source/libvpx/vp9/common/vp9_invtrans.c (revision 177019) |
+++ source/libvpx/vp9/common/vp9_invtrans.c (working copy) |
@@ -72,7 +72,7 @@ |
vp9_inverse_transform_mbuv_4x4(xd); |
} |
-void vp9_inverse_transform_b_8x8(short *input_dqcoeff, short *output_coeff, |
+void vp9_inverse_transform_b_8x8(int16_t *input_dqcoeff, int16_t *output_coeff, |
int pitch) { |
vp9_short_idct8x8(input_dqcoeff, output_coeff, pitch); |
} |
@@ -125,8 +125,8 @@ |
vp9_inverse_transform_mbuv_8x8(xd); |
} |
-void vp9_inverse_transform_b_16x16(short *input_dqcoeff, |
- short *output_coeff, int pitch) { |
+void vp9_inverse_transform_b_16x16(int16_t *input_dqcoeff, |
+ int16_t *output_coeff, int pitch) { |
vp9_short_idct16x16(input_dqcoeff, output_coeff, pitch); |
} |
@@ -145,3 +145,14 @@ |
vp9_inverse_transform_mby_16x16(xd); |
vp9_inverse_transform_mbuv_8x8(xd); |
} |
+ |
+void vp9_inverse_transform_sby_32x32(SUPERBLOCKD *xd_sb) { |
+ vp9_short_idct32x32(xd_sb->dqcoeff, xd_sb->diff, 64); |
+} |
+ |
+void vp9_inverse_transform_sbuv_16x16(SUPERBLOCKD *xd_sb) { |
+ vp9_inverse_transform_b_16x16(xd_sb->dqcoeff + 1024, |
+ xd_sb->diff + 1024, 32); |
+ vp9_inverse_transform_b_16x16(xd_sb->dqcoeff + 1280, |
+ xd_sb->diff + 1280, 32); |
+} |