Hello,
My input is 24bit RGB, my OMX application has the following configuration:
RGB24 -> VIP / CSC -> DEI / SC -> H264ENC ->File
It works fine, colors look ok, but I have overflows (off-color borders on edges). I assume this due to the VIP/CSC using a limited color space (ITU R709 maybe?) so I have overflows on full range color signals.
How can I configure the CSC (part of the VFCC?) via OMX?
I assume the CSC is enabled by default? What does it expect, what are the default settings?
My current VFCC config:
sHwPortParam.eCaptMode = OMX_VIDEO_CaptureModeSC_DISCRETESYNC_ACTVID_VSYNC;
sHwPortParam.eVifMode = OMX_VIDEO_CaptureVifMode_24BIT;
sHwPortParam.eInColorFormat = OMX_COLOR_Format24bitRGB888;
sHwPortParam.eScanType = OMX_VIDEO_CaptureScanTypeProgressive;
Is the paramPort.format.video.eColorFormat output be OMX_COLOR_FormatYUV420SemiPlanar setting correct?
Regards,
Lo