摘要 |
An apparatus for determining an encoding mode in an H.264 encoder is provided with a 16x16 macroblock number calculating unit and a threshold updating unit. The 16x16 macroblock number calculating unit calculates means of the number of 16x16 macroblocks. The threshold updating unit compares the number of 16x16 macroblocks of a frame, which is chosen to be currently encoded, with the mean of the number of 16x16 macroblocks among or within the frames, and updates a currently set threshold according to a result of comparing. Then, calculating unit checks the number of times by which the encoding mode is determined by the 16x16 macroblock in a frame whose encoding is currently completed, and the threshold updating unit compares the number of times with the currently set threshold to increase or decrease the threshold according to a result of the comparison.
|