<div dir="ltr"><div><div><div>I use standart libva example <a href="http://cgit.freedesktop.org/libva/tree/test/decode/mpeg2vldemo.c">http://cgit.freedesktop.org/libva/tree/test/decode/mpeg2vldemo.c</a><br><br></div>I try retrive image by calling vaDeriveImage after decoding and recieve stange VAImage.<br>
</div>image.width = 512 image.height = 32 image.data_size=16384 image.numplanes=2<br></div>image.format.fourcc = NV11 image.offsets[0] = 0, image.offsets[1] = 16384, image.pitches[0] = image.pitches[1] = 512.<br clear="all">
<div><div><div><div><br></div><div>If I convert this VAImage data to normaly FOURCC format I see correct picture.<br><br></div><div>???<br></div><div>1. How can i get correct image size, data_size after calling vaDeriveImage ?<br>
</div><div><br></div><div>Debian Squeeze<br>libva info: VA-API version 0.33.0.<br>Intel(R) Embedded Media and Graphics Driver 1.10 Build 2209<br><br></div><div><br></div><div>-- <br>-----------------------------------------<br>
σ υΧΑΦΕΞΙΕΝ, λΜΟήΛΟΧ χ.χ.<br>mailto: <a href="mailto:kwispost@gmail.com" target="_blank">kwispost@gmail.com</a>
</div></div></div></div></div>