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....
Hi, I have the same problem. do you resolve it ?
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
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.