AVS-M coding standard is the seventh part of advance audio and video coding standard. It is a video coding standard for wireless network, handset and other mobile devices. The specification of AVS-M has been completed and reported to Ministry of Information Industry of the P.R.China. One key for broad application of AVS-M is to implement efficient and rapid software AVS-M encoder.The goal of this paper is to optimize AVS-M software encoder from algorithms implementation, code optimization, the processor characteristics and other aspects.1.The classical diamond search algorithm of motion vector search is improved. The idea is to increase number of search points for larger block and reduce it for smaller block. The overall computation complexity decreases 10.7% with a little performance improvement.2.A rapid rate distortion optimization algorithm based on near-zero-block detection is carried out. The method adds computation for Square Sum of Distortion of non-zero blocks, but it saves about 70%~90% computation for transform, quantization, inverse transform, inverse quantization and reconstruction with a little performance degradation.At last, efficient and rapid AVS-M encoder function on X86 and TI TMS320DM642 DSP Platform is implemented. Experiment results show that coding algorithms is correct. |