Patent ID: 7522665

Claim:
A video encoding/decoding apparatus for a communication terminal comprising: an encoding unit that processes video data to be transmitted in unit of slice; a multiplexer/demultiplexer that multiplexes the data from the encoding unit and that demultiplexes video data received through a communication channel; and a decoding unit that processes video data from the multiplexer/demultiplexer in unit of slice, wherein the encoding unit comprises: a first plurality of slice memories that temporarily store the video data inputted from an image input device in unit of slice; a video encoder that encodes the video data from respective first slice memories in unit of slice; a quantizer that quantizes the video data from the video encoder; a first macro block buffer that temporarily stores the video data from the quantizer in unit of macro block; and a quantization controller that controls the quantizer to adjust an amount of the video data from the quantizer that is to be stored in the first macro block buffer based on a monitored number of output bits of the first macro block buffer to the multiplexer/demultiplexer per macro block and based on a transmission channel rate of the multiplexer/demultiplexer, wherein the quantization controller monitors the number of output bits of the first macro block buffer per macro block and determines whether the number of the output bits per macro block are greater than a predetermined value or less than the predetermined value, wherein the predetermined value is based on the transmission channel rate of the multiplexer/demultiplexer, and wherein the quantization controller controls the quantizer to adjust the amount of video data by comparing the monitored number of output bits and an average number of transmission bits per macro block.