[Libva] H264 encode slice size
Torbjorn Tyridal
torbjorn at tyridal.no
Sat Jul 12 04:53:19 PDT 2014
Hi Alexey,
It's straight forward,
Setup multiple VAEncSliceParameterBufferH264, the fields are
/** \brief Starting MB address for this slice. */
unsigned int macroblock_address;
/** \brief Number of macroblocks in this slice. */
unsigned int num_macroblocks;
As you say, you can only divide on macroblocks.
On 9 July 2014 06:06, Alexey <warpdest at gmail.com> wrote:
> Hi all,
>
> I try encode frame with many slices but i cant find howto set maximum
> slice size. I realized that slices may be divided only on macroblocks not
> size. Its possible divide frame on slices based on slice size?
>
> Best Regards,
> Warp.
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>
>
--
mvh,
Torbjørn Tyridal
tlf: 95845415
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20140712/7bc60a22/attachment.html>
More information about the Libva
mailing list