[Libva] vaDeriveImage returns wrong image size, data size and strange fourcc NV11.

kwisp kwispost at gmail.com
Tue Apr 16 11:26:44 PDT 2013


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.

???
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20130416/81e13ceb/attachment.html>


More information about the Libva mailing list