Mercurial > mplayer.hg
changeset 37142:7ef7684adaa0
update for PixblockDSPContext
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
author | michael |
---|---|
date | Wed, 09 Jul 2014 23:20:47 +0000 |
parents | 4f5d3812b268 |
children | 88b4aa330150 |
files | libmpcodecs/vf_spp.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_spp.c Wed Jul 09 23:20:46 2014 +0000 +++ b/libmpcodecs/vf_spp.c Wed Jul 09 23:20:47 2014 +0000 @@ -41,7 +41,7 @@ #include "libavutil/internal.h" #include "libavutil/intreadwrite.h" #include "libavcodec/avcodec.h" -#include "libavcodec/dsputil.h" +#include "libavcodec/pixblockdsp.h" #include "libavcodec/idctdsp.h" #include "libavcodec/fdctdsp.h" @@ -102,9 +102,9 @@ uint8_t *src; int16_t *temp; AVCodecContext *avctx; - DSPContext dsp; IDCTDSPContext idsp; FDCTDSPContext fdsp; + PixblockDSPContext pdsp; char *non_b_qp; }; @@ -418,7 +418,7 @@ const int x1= x + offset[i+count-1][0]; const int y1= y + offset[i+count-1][1]; const int index= x1 + y1*stride; - p->dsp.get_pixels(block, p->src + index, stride); + p->pdsp.get_pixels(block, p->src + index, stride); p->fdsp.fdct(block); requantize(block2, block, qp, p->idsp.idct_permutation); p->idsp.idct(block2); @@ -584,7 +584,7 @@ init_avcodec(); vf->priv->avctx= avcodec_alloc_context3(NULL); - ff_dsputil_init(&vf->priv->dsp, vf->priv->avctx); + ff_pixblockdsp_init(&vf->priv->pdsp, vf->priv->avctx); ff_idctdsp_init(&vf->priv->idsp, vf->priv->avctx); ff_fdctdsp_init(&vf->priv->fdsp, vf->priv->avctx);