rp=(offset>>2)&(~7);// convert to index to long, align to 32-bytes
rp=BYTE2DW(offset)&(~7);// convert to index to long, align to 32-bytes
fp=(structinterframe_params_t*)&ccam_dma_buf_ptr[X313_BUFFSUB(rp,8)];//! 32 bytes before the frame pointer, may roll-over to the end of ccam_dma_buf_ptr
//fp = (struct interframe_params_t *) &ccam_dma_buf_ptr[X313_BUFFSUB(rp, 8)]; //! 32 bytes before the frame pointer, may roll-over to the end of ccam_dma_buf_ptr
/// TODO: There still is a possibility, that there are compressor commands in the hardware que. Should we stop the hardware sequencer here (and restart it later)?
/// TODO: There still is a possibility, that there are compressor commands in the hardware que. Should we stop the hardware sequencer here (and restart it later)?