[Libva] [PATCH][G45][07/10] Add NV12 image format
Xiang, Haihao
haihao.xiang at intel.com
Mon Jul 12 00:41:04 PDT 2010
On Mon, 2010-07-12 at 14:21 +0800, Gwenole Beauchesne wrote:
> Le 12 juil. 10 à 07:54, Xiang, Haihao a écrit :
>
> >> This patch adds NV12 image format. This is the native surface format
> >> for H.264 decoding. Tested with VLC.
> >>
> >> Note: it should be possible to write an NV12->I420 shader program for
> >> non H.264 surfaces, but I don't know how. :) So, I am currently
> >> returning an error if the source surface is not used for H.264
> >> decoding.
> >
> > Failed to apply this patch.
>
> New patch attached. Thanks.
Currently the driver packs commands into a batch buffer for decoding,
rendering as much as possible, this means decoding may be postponed.
hence it is needed to execute the batch buffer (intel_batchbuffer_flush)
before reading surface data, or it maybe read stale data.
Thanks
Haihao
More information about the Libva
mailing list