<div>Hi, </div>
<div> </div>
<div>I was able to get the proper encoded content after setting the offset to 16. </div>
<div> </div>
<div> </div>
<div>When a Surface is created with VA_RT_FORMAT_YUV420 and vaDeriveImage API is called on the this surface, it returns fourcc format as VA_FOURCC_NV12. Is this the only format supported ?</div>
<div>What all YUV formats does encoding acclerators in Moorestown platform support ?</div>
<div> </div>
<div>
<div>Driver version : GMA500: psb_drv - 5.1.0.32L.0124</div>
<div>OS : Moblin 2.1</div></div>
<div> </div>
<div>Regards,</div>
<div>Sambhav<br><br></div>
<div class="gmail_quote">On Tue, Mar 2, 2010 at 10:27 AM, Yuan, Shengquan <span dir="ltr"><<a href="mailto:shengquan.yuan@gmail.com">shengquan.yuan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Mon, Mar 1, 2010 at 4:55 PM, Sambhav <<a href="mailto:isambhav@gmail.com">isambhav@gmail.com</a>> wrote:<br>> Hi,<br>><br>> I was trying the libva encode sample app on the Moorestown platform.<br>
> Encoding happens properly.<br>> But when writing the encoded data to a file inside<br>> the function "save_coded_buf" the coded_offset value returns junk.<br>> The comment says "second DWord is byte offset". Is this correct ?<br>
</div>Yes. It is correct.<br><br>I am not sure which driver version you are using. The old version<br>doesn't program the offset correctly.<br>For Moorestown platform, the offset is always 16.<br>
<div class="im"><br>><br>> Was anyone able to successfully run the encode sampe app ?<br>><br>> Regards,<br>> Sambhav<br>><br></div>> _______________________________________________<br>> Libva mailing list<br>
> <a href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/libva" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libva</a><br>
><br>><br></blockquote></div><br>