aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/simple_idct.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-10-06 08:03:38 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-10-11 07:50:48 -0700
commit92fb52d9060a146f31da6f07ea9ce7867294e153 (patch)
treed3467aa987fd7dbb8c32041611805532bca73ce1 /libavcodec/simple_idct.h
parent8babfc033ecb6332155c1f8879e54dee41d16952 (diff)
downloadffmpeg-92fb52d9060a146f31da6f07ea9ce7867294e153.tar.gz
prores: extract idct into its own dspcontext and merge with put_pixels.
Diffstat (limited to 'libavcodec/simple_idct.h')
-rw-r--r--libavcodec/simple_idct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/simple_idct.h b/libavcodec/simple_idct.h
index a33eb964ce..6e22158b0b 100644
--- a/libavcodec/simple_idct.h
+++ b/libavcodec/simple_idct.h
@@ -38,6 +38,12 @@ void ff_simple_idct_8(DCTELEM *block);
void ff_simple_idct_put_10(uint8_t *dest, int line_size, DCTELEM *block);
void ff_simple_idct_add_10(uint8_t *dest, int line_size, DCTELEM *block);
void ff_simple_idct_10(DCTELEM *block);
+/**
+ * Special version of ff_simple_idct_10() which does dequantization
+ * and scales by a factor of 2 more between the two IDCTs to account
+ * for larger scale of input coefficients.
+ */
+void ff_prores_idct(DCTELEM *block, const int16_t *qmat);
void ff_simple_idct_mmx(int16_t *block);
void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block);