[FFmpeg-devel] [PATCH] HWAccel infrastructure (take 7.1)

matthieu castet castet.matthieu
Mon Feb 23 21:30:17 CET 2009


Michael Niedermayer wrote:
> On Mon, Feb 23, 2009 at 07:44:59PM +0100, Gwenole Beauchesne wrote:
>> Le 23 f?vr. 09 ? 18:59, Michael Niedermayer a ?crit :
>>
>>> what do you and others think about doing instead:
>>>
>>> +    if (CONFIG_HWACCEL && avctx->hwaccel) {
>>> +        if (avctx->hwaccel->end_frame(avctx) < 0)
>>> +            return -1;
>>> +    }
>>>
>>> ?
>>> its not speed relevant but it would safe a few bytes on embeded  
>>> systems ...
>> What kind of embeddd systems? Because there are some "embedded"  
>> systems that have decoders. ;-)
> 
> the kind that fits in your pocket (no car battery to supply the huge
> grafix card thus no hw accel)
> 
Most of them get hw accel even without huge grafic card. On embed system 
you don't want huge cpu core that eat lot's of power, so you put hw 
accel to help the cpu.

Omap3 chip on beagle board got one.
The graphic copro on openmoko phone is capable of video hw accel
I wonder if the iphone doesn't get one.



Matthieu




More information about the ffmpeg-devel mailing list