diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-03 23:36:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-03 23:36:01 +0200 |
commit | a7e87fef214c4a63872c03aef93241422fa95dff (patch) | |
tree | 1feec9582b52ea3e616c88b04667ee77e54a2e01 /libavfilter/vf_spp.c | |
parent | e680c731a213759a824420a94f0068f943d3788f (diff) | |
download | ffmpeg-a7e87fef214c4a63872c03aef93241422fa95dff.tar.gz |
avfilter/vf_spp: Use dct->get_pixels()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_spp.c')
-rw-r--r-- | libavfilter/vf_spp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c index bcaf2c920f..989e283ac6 100644 --- a/libavfilter/vf_spp.c +++ b/libavfilter/vf_spp.c @@ -250,7 +250,7 @@ static void filter(SPPContext *p, uint8_t *dst, uint8_t *src, const int x1 = x + offset[i + count - 1][0]; const int y1 = y + offset[i + count - 1][1]; const int index = x1 + y1*linesize; - p->pdsp.get_pixels(block, p->src + index, linesize); + p->dct->get_pixels(block, p->src + index, linesize); p->dct->fdct(block); p->requantize(block2, block, qp, p->dct->idct_permutation); p->dct->idct(block2); @@ -400,7 +400,6 @@ static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts) spp->dct = avcodec_dct_alloc(); if (!spp->avctx || !spp->dct) return AVERROR(ENOMEM); - ff_pixblockdsp_init(&spp->pdsp, spp->avctx); if (opts) { AVDictionaryEntry *e = NULL; |