[Ffmpeg-devel] Hardware dct/idct dsputil

mike lee mikelee
Thu Sep 15 04:35:41 CEST 2005


Dear Michael
    Thx for reply, i am not familar with the coding at the moment. May
be i do some hacking first and discuss with guys.

    But before any hacking, How can i check the software dct performance
within ffmpeg? Does ffmpeg embedded such a feature? This is important
that I can stop here if the hardware dct doesn't give too much improvement.

Thx for helping
Mike,Lee

Michael Niedermayer wrote:

>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
>  
>
>[...]
>  
>





More information about the ffmpeg-devel mailing list