摘要 |
A quantization factor is determined using information from a histogram of transform coefficients that are produced from a transformed video frame. The histogram is used in estimating an encoded frame size of the video frame that is currently in the process of being encoded. The quantization factor used in the quantization step of the video encoding is adjusted for the current video frame based on the information from the histogram. The histogram is balanced against the desired length of the encoded frame size. Cutoff thresholds in the histogram correlate with different choices of quantization factors, and the ratio of points on or below those thresholds are used to estimate the size of the encoded frame. |