]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/proresdsp.h
adx: Convert to the new bitstream reader
[ffmpeg] / libavcodec / proresdsp.h
index 71a07062f2d4a189a2aaba92c0310296c3ef874d..7f06494daf58c1381d0157ef41223be2688c55e9 100644 (file)
@@ -23,6 +23,7 @@
 #ifndef AVCODEC_PRORESDSP_H
 #define AVCODEC_PRORESDSP_H
 
+#include <stddef.h>
 #include <stdint.h>
 
 #define PRORES_BITS_PER_SAMPLE 10 ///< output precision of prores decoder
@@ -30,8 +31,7 @@
 typedef struct ProresDSPContext {
     int idct_permutation_type;
     uint8_t idct_permutation[64];
-    void (* idct_put) (uint16_t *out, int linesize, int16_t *block, const int16_t *qmat);
-    void (* fdct) (const uint16_t *src, int linesize, int16_t *block);
+    void (*idct_put)(uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat);
 } ProresDSPContext;
 
 void ff_proresdsp_init(ProresDSPContext *dsp);