summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdsp.h
diff options
context:
space:
mode:
authorAlexandra Hájková <alexandra.khirnova@gmail.com>2016-07-03 17:38:56 +0200
committerLuca Barbato <lu_zero@gentoo.org>2016-07-18 15:27:13 +0200
commit1bd890ad173d79e7906c5e1d06bf0a06cca4519d (patch)
tree37ed522edd73efe40e705e6eb2ffa68e3e632ef9 /libavcodec/hevcdsp.h
parentfd5e6a095f69495c558069315d6b36ea410c31fa (diff)
downloadffmpeg-1bd890ad173d79e7906c5e1d06bf0a06cca4519d.tar.gz
hevc: Separate adding residual to prediction from IDCT
Based on patch 250430bf28118cf843df887e8c8b345f1c60c82d by Mickaël Raulet <mraulet@insa-rennes.fr>, integrated to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
Diffstat (limited to 'libavcodec/hevcdsp.h')
-rw-r--r--libavcodec/hevcdsp.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h
index 4097233827..decd1c9376 100644
--- a/libavcodec/hevcdsp.h
+++ b/libavcodec/hevcdsp.h
@@ -42,13 +42,11 @@ typedef struct HEVCDSPContext {
void (*put_pcm)(uint8_t *dst, ptrdiff_t stride, int size,
GetBitContext *gb, int pcm_bit_depth);
- void (*transquant_bypass[4])(uint8_t *dst, int16_t *coeffs,
- ptrdiff_t stride);
+ void (*add_residual[4])(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride);
- void (*transform_skip)(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride);
- void (*transform_4x4_luma_add)(uint8_t *dst, int16_t *coeffs,
- ptrdiff_t stride);
- void (*transform_add[4])(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride);
+ void (*dequant)(int16_t *coeffs);
+ void (*transform_4x4_luma)(int16_t *coeffs);
+ void (*idct[4])(int16_t *coeffs);
void (*sao_band_filter[4])(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
struct SAOParams *sao, int *borders,