That is, rate controller 21 selects a quantization step size for DCT circuit 17 based, in part, on an amount of available space in rate buffer 20.
Rate controller 21 is able to ensure that the bitstream output from rate buffer 20 is output at a substantially constant rate.