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

Michael Niedermayer michaelni
Mon Feb 23 22:35:45 CET 2009


On Mon, Feb 23, 2009 at 09:30:17PM +0100, matthieu castet wrote:
> 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.

the kind that does full decoding or just idct/mc ?
because if its the later then my comment above stands that the code is not
usefull for them, at least not currently  ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090223/d5560117/attachment.pgp>



More information about the ffmpeg-devel mailing list