So I need a little help in compiling CM 12.1 for the G Stylo. I'm hoping someone smart enough here may have a clue. We have a 90% complete ROM, but video recording is the only thing we can't seem to figure out how to get working. Here's the output from logcat:
I did some Googling and the missing codec formats may be:
W/ACodec ( 307): do not know color format 0x7fa30c04 = 2141391876
http://ift.tt/1UdVGqk
COLOR_QCOM_FormatYUV420SemiPlanar32m
W/ACodec ( 307): do not know color format 0x7f000789 = 2130708361
http://ift.tt/1sK49uA
OMX_COLOR_FormatAndroidOpaque
I'm thinking of adding to frameworks\av\media\libstagefreight\CameraSource.c pp a couple lines for the two above:
if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP_NV21)) {
static const int OMX_SEC_COLOR_FormatNV21Linear = 0x7F000011;
return OMX_SEC_COLOR_FormatNV21Linear;
}
I would also need to modify CameraParameters.h and CameraParameters.cpp like http://ift.tt/1Yya6qi had done.
Does that sound right?
Here's the custom repos I'm using for the device, kernel, and vendor binaries for reference.
I did some Googling and the missing codec formats may be:
W/ACodec ( 307): do not know color format 0x7fa30c04 = 2141391876
http://ift.tt/1UdVGqk
COLOR_QCOM_FormatYUV420SemiPlanar32m
W/ACodec ( 307): do not know color format 0x7f000789 = 2130708361
http://ift.tt/1sK49uA
OMX_COLOR_FormatAndroidOpaque
I'm thinking of adding to frameworks\av\media\libstagefreight\CameraSource.c pp a couple lines for the two above:
if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP_NV21)) {
static const int OMX_SEC_COLOR_FormatNV21Linear = 0x7F000011;
return OMX_SEC_COLOR_FormatNV21Linear;
}
I would also need to modify CameraParameters.h and CameraParameters.cpp like http://ift.tt/1Yya6qi had done.
Does that sound right?
Here's the custom repos I'm using for the device, kernel, and vendor binaries for reference.
from xda-developers http://ift.tt/28RKt3L
via IFTTT
No comments:
Post a Comment