From ae57e82469c99538dd14adbe73df663709d71758 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 6 Sep 2013 00:10:45 +0200 Subject: avcodec/dsputil: add 12bit simple idct Will be needed for jpeg Signed-off-by: Michael Niedermayer --- libavcodec/simple_idct.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/simple_idct.h') diff --git a/libavcodec/simple_idct.h b/libavcodec/simple_idct.h index 3fec5e0087..7c0734b836 100644 --- a/libavcodec/simple_idct.h +++ b/libavcodec/simple_idct.h @@ -37,6 +37,11 @@ void ff_simple_idct_8(int16_t *block); void ff_simple_idct_put_10(uint8_t *dest, int line_size, int16_t *block); void ff_simple_idct_add_10(uint8_t *dest, int line_size, int16_t *block); void ff_simple_idct_10(int16_t *block); + +void ff_simple_idct_put_12(uint8_t *dest, int line_size, int16_t *block); +void ff_simple_idct_add_12(uint8_t *dest, int line_size, int16_t *block); +void ff_simple_idct_12(int16_t *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 -- cgit v1.2.1