[Ffmpeg-devel] Hardware dct/idct dsputil

Michael Niedermayer michaelni
Wed Sep 14 10:30:27 CEST 2005


Hi

On Wed, Sep 14, 2005 at 10:21:07AM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Wed, Sep 14, 2005 at 03:36:14PM +0800, mike lee wrote:
> > Dear all
> >    I am now using a CPU with hardware dct/idct module. After browse
> > though the coding, libavcodec has a dspcontext structure.  How can i
> > intergrate the dct/idct hardware codec into the libavcodec? Just replace
> > the dspcontext->fdct ? Also , my hardware only support 8x8 dct/idct ,
> 
> yes

you also must replace idct_add/idct_put if you replace idct and
MpegEncContext.dct_quantize if you replace the dct and ensure the 
idct_permutation* is correct

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list