aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/cavsdsp.h
diff options
context:
space:
mode:
authorMans Rullgard2012-09-04 13:52:01 +0100
committerMans Rullgard2012-09-07 11:42:35 +0100
commit6efb698883507b13e90eb9ca03813f928066e5dd (patch)
tree66a981ead10f27bb3f7f8a1a361bd00f920221a5 /libavcodec/cavsdsp.h
parent5fe64d88f67637af6037fa864b1c66e41148597c (diff)
cavsdsp: set idct permutation independently of dsputil
CAVS uses its own idct so using dsputil to set the permutation is fragile. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/cavsdsp.h')
-rw-r--r--libavcodec/cavsdsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cavsdsp.h b/libavcodec/cavsdsp.h
index b1133b7264..99b0ea3774 100644
--- a/libavcodec/cavsdsp.h
+++ b/libavcodec/cavsdsp.h
@@ -33,6 +33,7 @@ typedef struct CAVSDSPContext {
void (*cavs_filter_cv)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
void (*cavs_filter_ch)(uint8_t *pix, int stride, int alpha, int beta, int tc, int bs1, int bs2);
void (*cavs_idct8_add)(uint8_t *dst, DCTELEM *block, int stride);
+ int idct_perm;
} CAVSDSPContext;
void ff_cavsdsp_init(CAVSDSPContext* c, AVCodecContext *avctx);