This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM385 MJPEG crop issue - Is startY work?

Dear Team,

When my customer tried to crop height of input image in the MJPEG encoder, they see the mismatched color image as attached and it looks the crop was not applied to UV field. Could you please check this on your side and let me know the solution?

my customer is using IPNC RDK SW v3.8.0 and using JPEG encoder integrating in IPNC RDK SW v3.8.0, and their settings for crop are as below.

~~~~~~~~~

pChObj->algObj.algDynamicParams.startX = 0

pChObj->algObj.algDynamicParams.startY = 60

pChObj->algObj.algDynamicParams.inputWidth= 640

pChObj->algObj.algDynamicParams.inputHeight = 360

 

inputBufDesc->imageRegion.topLeft.x = 0

inputBufDesc->imageRegion.topLeft.y = 60

inputBufDesc->imageRegion.bottomRight.x = 640

inputBufDesc->imageRegion.bottomRight.y = 420

 

inputBufDesc->activeFrameRegion.topLeft.x = 0

inputBufDesc->activeFrameRegion.topLeft.y = 60

inputBufDesc->activeFrameRegion.bottomRight.x = 640

inputBufDesc->activeFrameRegion.bottomRight.y = 420

Thanks and Best Regards,

SI.