I was wondering if there was an example for encoding a YCbCr or RGB565 image from the camera. I saw there was a jpeg decode example, just not an encoding example.
There is not an encoding example available on the i.MRT1160 SDK. The example available for decoding does contain libraries that can perform several operation with the jpeg format but you would need to review the input required and perform any necessary conversions from the camera to the jpeg libraries.
My apologies for the inconvenience.