[Libva] Error in Coded Offset value in encode sample app.

Yuan, Shengquan shengquan.yuan at gmail.com
Mon Mar 1 20:57:24 PST 2010


On Mon, Mar 1, 2010 at 4:55 PM, Sambhav <isambhav at gmail.com> wrote:
> Hi,
>
> I was trying the libva encode sample app on the Moorestown platform.
> Encoding happens properly.
> But when writing the encoded data to a file inside
> the function "save_coded_buf" the coded_offset value returns junk.
> The comment says "second DWord is byte offset". Is this correct ?
Yes. It is correct.

I am not sure which driver version you are using. The old version
doesn't program the offset correctly.
For Moorestown platform, the offset is always 16.

>
> Was anyone able to successfully run the encode sampe app ?
>
> Regards,
> Sambhav
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>
>


More information about the Libva mailing list