摘要 |
Provided are an apparatus and method for compression-encoding a moving picture at high speed while minimizing image quality deterioration. In H.264 moving picture encoding, the apparatus and method perform rate-distortion optimization (RDO) indispensable for high-definition encoding by feedback prediction, and minimize the amount of discrete cosine transform (DCT)-inverse DCT (IDCT) calculation performed for RDO many times, thereby performing H.264 encoding at high speed. The apparatus includes: a B-slice checker for performing a B-slice check for current frame data; a maximum inter mode prediction bit calculator for performing motion estimation and motion compensation for an inter mode using the maximum division block and calculating a prediction bit value; a minimum intra mode prediction bit calculator for performing motion estimation and motion compensation for an intra mode using the minimum division block and calculating a prediction bit value; a linear prediction bit estimator for calculating prediction bit values for modes other than the inter mode using the maximum division block and the intra mode using the minimum division block, using linear parameters and stochastic values; a mode determiner for comparing the prediction bit values calculated by the maximum inter mode prediction bit calculator, the minimum intra mode prediction bit calculator and the linear prediction bit estimator and determining an appropriate encoding mode; and an encoder for encoding the current frame data in the mode determined by the mode determiner.
|