I've noticed an issue with the JPEG Encoder Codec's output format. The C64x+ JPEG Baseline Profile Encoder user's guide states on page 37 regarding the forceChromaFormat field: If set to XDM_DEFAULT, the output color format matches the input color format.
What I have seen is that if I set this forceChromaField equal to XDM_DEFAULT, and then I use an input format of XDM_GRAY - my output is in XDM_GRAY format as expected. However, if I then try to encode a frame with a format of XDM_YUV_422P, the output will remain XDM_GRAY. If I try this sequence reversed, my first frame will come out as expected in XDM_YUV_422P format but then my second frame will error out when attempting to set the input format to XDM_GRAY.
Am I misinterpreting the statement in bold above? The way I understand it, whatever input format I set for the frame should be the output format as well when setting forceChromaField = XDM_DEFAULT. However, the codec seems to match the input format on its first call, and then stays with that format for each subsequent call.