| CPC H04N 19/132 (2014.11) [H04N 19/103 (2014.11); H04N 19/146 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |

|
1. An encoding method, comprising:
performing bit truncation on a to-be-encoded block when a bit rate control condition is satisfied;
calculating a first cost value corresponding to the bit truncation;
predicting the to-be-encoded block to determine a prediction residual of the to-be-encoded block when the bit rate control condition is satisfied;
calculating, based on the prediction residual, a second cost value corresponding to the prediction; and
comparing the first cost value with the second cost value to determine an encoded bit.
|