I want to encode JPEG YUV422 format on DM8148 (IPNC RDK DM8127).
But MJPEG encoder returns a error.
It seems MCFW supports only YUV420.
Is there any way to encode JPEG YUV422?
FYI:
Source\ipnc_rdk\ipnc_mcfw\mcfw\src_bios6\links_m3video\codec_utils\utils_encdec.h
static inline UInt32 Utils_encdecMapFVID2XDMChromaFormat(UInt32 chromaFormat)
{
UTILS_assert((chromaFormat == FVID2_DF_YUV420SP_UV) ||
(chromaFormat == FVID2_DF_YUV420SP_VU));
return (XDM_YUV_420SP);
}
When I removed YUV check code above, MJPEG encoder returned "internal error".
[m3video] 12779:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_jpeg.c:[252]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED
[m3video] JPEG Extended error 8000
[m3video] 12779:WARN
[m3video] ENCLINK:ERROR in Enclink_JPEGEncodeFrame.Status[-1]
[m3video] 12779:WARN
[m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
Regards,