After 2 days of testing I would say that the behaviour with the commented //lvtma_bit_depth_control &= ~AVIVO_LVTMA_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN; is buggy and that that line should be uncommented.
After 2 days of testing I would say that the behaviour with the commented bit_depth_ control &= ~AVIVO_ LVTMA_BIT_ DEPTH_CONTROL_ SPATIAL_ DITHER_ EN;
//lvtma_
is buggy and that that line should be uncommented.