Optimization in image decoding.