From 1bd890ad173d79e7906c5e1d06bf0a06cca4519d Mon Sep 17 00:00:00 2001 From: Alexandra Hájková Date: Sun, 3 Jul 2016 17:38:56 +0200 Subject: hevc: Separate adding residual to prediction from IDCT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on patch 250430bf28118cf843df887e8c8b345f1c60c82d by Mickaël Raulet , integrated to Libav by Josh de Kock . Signed-off-by: Alexandra Hájková --- libavcodec/hevcdsp.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libavcodec/hevcdsp.h') 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, -- cgit v1.2.3