android h264 hardware encoding
Sebastian Dröge
sebastian at centricular.com
Sun Oct 27 22:11:46 CET 2013
On Mi, 2013-10-23 at 09:17 +0800, cee1 wrote:
> Hi slomo,
> What are differences among
They are not the same unfortunately, you will need to configure exactly
the value that is supported by the hardware. The values supported by the
hardware should be included in the MediaCodecList.
> COLOR_FormatYUV420SemiPlanar,
> COLOR_TI_FormatYUV420PackedSemiPlanar,
> COLOR_TI_FormatYUV420PackedSemiPlanarInterlaced,
> COLOR_QCOM_FormatYUV420SemiPlanar and
These are more or less the same and only differ in the way how cropping
is handled (well, and one is for interlaced video apparently).
> COLOR_QCOM_FormatYUV420PackedSemiPlanar64x32Tile2m8ka?
This one here is like NV12 but stored differently, in 64x32 tiles. Take
a look at the conversion code for this in gstamcviddec.c to understand
how it basically works, or check Google for tiled color formats.
> Will it be fine if I use a NV12 source for an encoder claimed support
> of COLOR_TI_FormatYUV420PackedSemiPlanar?
Yes, but you need to configure the encoder with the value it supports
and handle the data accordingly.
--
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131027/97f543f0/attachment.pgp>
More information about the gstreamer-devel
mailing list