CL Encoder with merged DCT, Quant and ZZ