H.264 is the latest standard for video compression issued jointly by Video Coding Experts Group(VCEG) of the International Telecommunication Union Telecommunication Standardisation Sector (ITU-T) and Moving Picture Experts Group(MPEG) of the International Organisation for Standardization (ISO) and the International Electrotechnical Commission (IEC). H.264 aims to provide enhanced coding efficiency as well as a 'network-friendly' representation of the encoded video, which will ensure its suitability for transmission over existing and future networks. However, the better capabilities of H.264 are at the expense of computational complexity. As a result, general purpose MPU cannot satisfy the requirement of the H.264 real-time application. DSP chips are becoming ubiquitous with faster speed and lower resource consumption. Due to its excellent parallel processing ability and signal processing capacity, the C64xx series chips of TI corporation is a perfect platform to run H.264 CODEC.This paper mainly researches on H.264 key technology of video coding and its implement on TI-DSP DM642. More specifically, this dissertation includes following contents:First of all, retrospect of some background knowledge on video compression technoglogy is presented. The evolution of H.264 is briefly presented and compared with other international video compression standards. Then the key techniques in H.264 is discussed.Furthermore, the three famous H.264 test models are introduced and tested, then X264 reference software is adopted as H.264 coder and realized in personal computer. Further discussion is focused on its encoding parameters and their optimization to tradeoff between the coding efficiency and the image quality.After calculating the complexity of each module in H.264 encoder, prediction module is perfered to be optimized: based on the study of X264, three motion estimation algorithms are evaluated; an algorithm of fast INTRA mode decision is proposed, and its availability is demonstrated by means of table and chart; an improved algorithm for INTER mode decision is presented, experimental results show that it enhances the encoding speed effectively, which can significantly reduce the complexity with slight PSNR drops. |