Text this: Temporal dependent rate-distortion optimization based on distortion backward propagation