Not fixed JPEG_SWAP_RG macro
Reporting that this bug is sitll present in CubeMX v6.16.1
Solved: We found a bug while using Hardware JPEG. - STMicroelectronics Community

Still JPEG_SWAP_RG, not JPEG_SWAP_RB.
I wish there would be user defined section in jpeg_utils.conf.h to workaround it.
And there's another bug:
Every time I regenerate code, CubeMX erases Utilities/JPEG folder. So the package code has to be manually restored.
