<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">&lt;<a href="mailto:shengquan.yuan@gmail.com">shengquan.yuan@gmail.com</a>&gt;</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 &lt;<a href="mailto:isambhav@gmail.com">isambhav@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I was trying the libva encode sample app on the Moorestown platform.<br>
&gt; Encoding happens properly.<br>&gt; But when writing the encoded data to a file inside<br>&gt; the function &quot;save_coded_buf&quot; the coded_offset value returns junk.<br>&gt; The comment says &quot;second DWord is byte offset&quot;. 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&#39;t program the offset correctly.<br>For Moorestown platform, the offset is always 16.<br>
<div class="im"><br>&gt;<br>&gt; Was anyone able to successfully run the encode sampe app ?<br>&gt;<br>&gt; Regards,<br>&gt; Sambhav<br>&gt;<br></div>&gt; _______________________________________________<br>&gt; Libva mailing list<br>
&gt; <a href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a><br>&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/libva" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libva</a><br>
&gt;<br>&gt;<br></blockquote></div><br>