diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-02 22:59:24 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-04 01:34:35 +0400 |
commit | e680c731a213759a824420a94f0068f943d3788f (patch) | |
tree | 939587834ade2ec54d6bd917c8f617f7e6e20284 /libavcodec/avdct.c | |
parent | 9400603140db5f44f35942482a3435e4b67e7e79 (diff) |
avcodec/avdct: Add get_pixels()
Suggested-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avdct.c')
-rw-r--r-- | libavcodec/avdct.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/avdct.c b/libavcodec/avdct.c index 58f4974b49..252125601b 100644 --- a/libavcodec/avdct.c +++ b/libavcodec/avdct.c @@ -21,6 +21,7 @@ #include "avcodec.h" #include "idctdsp.h" #include "fdctdsp.h" +#include "pixblockdsp.h" #include "avdct.h" #define OFFSET(x) offsetof(AVDCT,x) @@ -117,6 +118,14 @@ int avcodec_dct_init(AVDCT *dsp) } #endif +#if CONFIG_PIXBLOCKDSP + { + PixblockDSPContext pdsp; + ff_pixblockdsp_init(&pdsp, avctx); + COPY(pdsp, get_pixels); + } +#endif + avcodec_close(avctx); av_free(avctx); |