Low Complexity Integer Transform and Adaptive Quantization Optimization