[Libva] vaDeriveImage returns wrong image size, data size and strange fourcc NV11.
ykzhao
yakui.zhao at intel.com
Tue Apr 16 21:44:19 PDT 2013
On Tue, 2013-04-16 at 12:26 -0600, kwisp wrote:
> I use standart libva example
> http://cgit.freedesktop.org/libva/tree/test/decode/mpeg2vldemo.c
>
>
> I try retrive image by calling vaDeriveImage after decoding and
> recieve stange VAImage.
>
> image.width = 512 image.height = 32 image.data_size=16384
> image.numplanes=2
>
> image.format.fourcc = NV11 image.offsets[0] = 0, image.offsets[1] =
> 16384, image.pitches[0] = image.pitches[1] = 512.
>
>
> If I convert this VAImage data to normaly FOURCC format I see correct
> picture.
>
Will you please describe how you call the vaDeriveImage in your test?
BTW: Which platform is used?
>
> ???
>
> 1. How can i get correct image size, data_size after calling
> vaDeriveImage ?
>
>
>
> Debian Squeeze
> libva info: VA-API version 0.33.0.
> Intel(R) Embedded Media and Graphics Driver 1.10 Build 2209
>
>
>
>
> --
> -----------------------------------------
> С Уважением, Клочков В.В.
> mailto: kwispost at gmail.com
More information about the Libva
mailing list