Forums - OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m color format

4 posts / 0 new
Last post
OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m color format
Bol Kuep
Join Date: 28 Feb 14
Posts: 2
Posted: Mon, 2014-06-16 13:48

Hi, I'm working on H.264 hardware accelerated decoder for my Android app for Snapdragon 800. I have LG Nexus 5 device (Android 4.4.3, Qualcomm MSM 8974, Ardeno 330). Decoder send me video in format 0x7FA30C04 (OMX_QCOM_COLOR_FormatYVU420SemiPlanarInterlace or OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m).

The question is what is the format of 0x7FA30C04? How can I convert it to any other YUV formats or to RGB565? Is libmm-color-convertor.so library bundled with Qualcomm Android devices can do that? Where can I find API for libmm-color-convertor.so? I also tried to find appropriate color convertion function at FastCV but failed https://developer.qualcomm.com/docs/fastcv/api/group__color__conversion....

  • Up0
  • Down0
soniclq13
Join Date: 7 Jun 12
Posts: 5
Posted: Wed, 2014-06-18 00:08

Hi, I have the same problem. do you resolve it ?

  • Up0
  • Down0
Bol Kuep
Join Date: 28 Feb 14
Posts: 2
Posted: Wed, 2014-06-18 03:09

No resolve. But I can convert some resolutions (640x480, 960p) to RGB565 properly using ffmpeg PIX_FMT_NV12. But other resolutions (720p, 640x360, 320x240, 320x180) give me damaged frames.

https://plus.google.com/116818390313397542132/posts/S68L8VAmKHj

  • Up0
  • Down0
soniclq13
Join Date: 7 Jun 12
Posts: 5
Posted: Wed, 2014-06-18 19:46

thanks a lot.

later , I test on two device.  one is  samsung note2, Exynos 4412. The decoder output OMX_COLOR_FormatYUV420SemiPlanar color format(PIX_FMT_NV12) .  the other is MI3, (Qualcomm  8x74AB). the decoder output OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m  color format .

I test on same file. and I dump the  decoded  yuv frame on two devices.  and I find  the I frame is almost the same . but the other frame is entirely different.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.