diff options
author | James Darnley <jdarnley@obe.tv> | 2017-06-02 15:20:19 +0200 |
---|---|---|
committer | James Darnley <jdarnley@obe.tv> | 2017-06-28 17:27:35 +0200 |
commit | d7246ea9f229db64ed909d7446196128d6f53de0 (patch) | |
tree | 62bf59089de984c19802bac0daf9b3dfb52230ff /libavcodec/x86/simple_idct.h | |
parent | 8b19467d07d5782b4140f61363f24361efb87ff6 (diff) | |
download | ffmpeg-d7246ea9f229db64ed909d7446196128d6f53de0.tar.gz |
avcodec/x86: add an 8-bit simple IDCT function based on the x86-64 high depth functions
Includes add/put functions
Rounding contributed by Ronald S. Bultje
Diffstat (limited to 'libavcodec/x86/simple_idct.h')
-rw-r--r-- | libavcodec/x86/simple_idct.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/x86/simple_idct.h b/libavcodec/x86/simple_idct.h index d17ef6a462..9b64cfe9bc 100644 --- a/libavcodec/x86/simple_idct.h +++ b/libavcodec/x86/simple_idct.h @@ -29,6 +29,15 @@ void ff_simple_idct_put_mmx(uint8_t *dest, ptrdiff_t line_size, int16_t *block); void ff_simple_idct_add_sse2(uint8_t *dest, ptrdiff_t line_size, int16_t *block); void ff_simple_idct_put_sse2(uint8_t *dest, ptrdiff_t line_size, int16_t *block); +void ff_simple_idct8_sse2(int16_t *block); +void ff_simple_idct8_avx(int16_t *block); + +void ff_simple_idct8_put_sse2(uint8_t *dest, ptrdiff_t line_size, int16_t *block); +void ff_simple_idct8_put_avx(uint8_t *dest, ptrdiff_t line_size, int16_t *block); + +void ff_simple_idct8_add_sse2(uint8_t *dest, ptrdiff_t line_size, int16_t *block); +void ff_simple_idct8_add_avx(uint8_t *dest, ptrdiff_t line_size, int16_t *block); + void ff_simple_idct10_sse2(int16_t *block); void ff_simple_idct10_avx(int16_t *block); |