summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-10 14:23:52 -0700
committerMartin Storsjö <martin@martin.st>2013-04-19 23:18:38 +0300
commit28bc406c84b04a5f1458b90ff52ddbec73e46202 (patch)
tree1fad9fb31fa192351889a3bfa943b6cc02024925 /libavcodec/mjpegdec.h
parent1277dc07fbe6ec6d7a10312a053e482e6070c52b (diff)
mjpeg: Use hpeldsp instead of dsputil for half-pel functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index d48877e650..36598dd5e0 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -34,6 +34,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
+#include "hpeldsp.h"
#define MAX_COMPONENTS 4
@@ -94,6 +95,7 @@ typedef struct MJpegDecodeContext {
uint64_t coefs_finished[MAX_COMPONENTS]; ///< bitmask of which coefs have been completely decoded (progressive mode)
ScanTable scantable;
DSPContext dsp;
+ HpelDSPContext hdsp;
int restart_interval;
int restart_count;