摘要 |
An embodiment of the present invention discloses an encoding method, including: collecting characteristic information of a macroblock, where the characteristic information is generated during encoding and includes a motion vector, inter-frame complexity, and intra-frame complexity of the macroblock that has undergone integer pixel motion estimation; determining a motion type of the macroblock according to the motion vector of the macroblock that has undergone the integer pixel motion estimation and a motion vector of an adjacent block adjacent to the macroblock; and enabling or disabling, according to the motion type of the macroblock, a part of work processes that are performed during the encoding. |