[FFmpeg-devel] [PATCH][7/8] Add VA API accelerated H.264 decoding (take 4)

Michael Niedermayer michaelni
Fri Feb 6 20:04:20 CET 2009


On Fri, Feb 06, 2009 at 07:43:52PM +0100, Michael Niedermayer wrote:
> On Fri, Feb 06, 2009 at 04:35:02PM +0100, Gwenole Beauchesne wrote:
> > Hi,
> 
> Hi
> 
> Please factorize the code somehow.
> I dont want to have all codecs salted with 2 dozen video acceleration APIs
> 
> I can see 2 obvious ways
> A. each decoder could output through a common API that then outside and
> after the codec is converted to VAAPI/VDPAU structs
> B. a AVHWAccel struct is added similar to AVCodec and that codecs are
> only allowed to call its members like start_frame() start_slice() end_frame()
> and such
> 
> Iam too tired ATM to say which of the 2 is better or if there is a 3rd that is
> better than both but both look better than what all this is heading toward ...

C. as stephen suggested, outputting decoded surfaces
   + my suggestion of a AVHWAccel struct for each HW decoder ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20090206/3dd68e50/attachment.pgp>



More information about the ffmpeg-devel mailing list