In Manual DMA Channel Call back, you will get the buffer to do some modifications (we actually add UVC headers in the callback - refer AN75779 example code OR Ov5640 example firmware provided in the SDK).

But implementing the data compression in DMA Call back will affect the device performance. You may end up seeing the Buffer Overflows and data loss. Therefore, it is not recommended to do the same.