summaryrefslogtreecommitdiff
path: root/libavcodec/proresdsp.h
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2018-11-17 23:35:35 +0100
committerMartin Vignali <martin.vignali@gmail.com>2018-12-02 12:55:31 +0100
commitc097a32e93b4b4d9cb576bf21014b19121806161 (patch)
treee83860e6b21db0e55fbfc9677c0a68c62f595c19 /libavcodec/proresdsp.h
parenta970920026010bd9e03f99017c305212b889d4a5 (diff)
avcodec/proresdec : rename dsp part for 10b and check dspinit for supported bits per raw sample
based on patch by Kieran Kunhya
Diffstat (limited to 'libavcodec/proresdsp.h')
-rw-r--r--libavcodec/proresdsp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/proresdsp.h b/libavcodec/proresdsp.h
index 558fae53bf..37ba76b8e4 100644
--- a/libavcodec/proresdsp.h
+++ b/libavcodec/proresdsp.h
@@ -27,15 +27,13 @@
#include <stdint.h>
#include "avcodec.h"
-#define PRORES_BITS_PER_SAMPLE 10 ///< output precision of prores decoder
-
typedef struct ProresDSPContext {
int idct_permutation_type;
uint8_t idct_permutation[64];
void (*idct_put)(uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat);
} ProresDSPContext;
-void ff_proresdsp_init(ProresDSPContext *dsp, AVCodecContext *avctx);
+int ff_proresdsp_init(ProresDSPContext *dsp, AVCodecContext *avctx);
void ff_proresdsp_init_x86(ProresDSPContext *dsp, AVCodecContext *avctx);