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

Gwenolé Beauchesne gbeauchesne
Thu Feb 5 22:29:01 CET 2009


Hi,

Le 5 f?vr. 09 ? 19:13, Stephen Warren a ?crit :

> Sorry I never got around to answering that question about the code  
> location
> where the DPB gets filled in. I did have it on my TODO list, but  
> never got
> around to it.
>
> I'm glad it turned out VDPAU was already doing the correct thing  
> though.

Well, the way short_ref[] and long_ref[] are filled in indeed looks  
like what is done for the DPB. However, (short_ref[] U long_ref[]) is  
a superset of (RefPicList0 U RefPicList1). That's why I am now filling  
ReferenceFrames[] wrt. ref_list[] only. This works for both VA API and  
VDPAU.

And, IIRC, it's probably what people do for DXVA too. Though, they  
mention the other way around, i.e. RefPicList0 and RefPicList1 are a  
subset of RefFrameList (ReferenceFrames in the Linux APIs).

Regards,
Gwenole.



More information about the ffmpeg-devel mailing list