| CPC H04N 19/107 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11)] | 14 Claims |

|
1. A video encoder comprising:
a prediction circuit configured to:
perform a first optimization operation on a first sub-coding block to select original pixels or reconstructed pixels of an adjacent block of the first sub-coding block according to a base prediction mode to generate an intermediate prediction mode of the first sub-coding block;
perform a second optimization operation on the first sub-coding block to determine a prediction mode according to the intermediate prediction mode, original pixels of the first sub-coding block, and the reconstructed pixels of the adjacent block of the first sub-coding block; and
generate prediction information of the first sub-coding block according to the original pixels of the first sub-coding block, the reconstructed pixels of the adjacent block of the first sub-coding block, and the prediction mode, wherein the prediction information comprises a plurality of predicted pixels and a residual value between the original pixels and the plurality of predicted pixels;
a computing circuit coupled to the prediction circuit and configured to generate a plurality of encoding coefficients and reconstructed pixels of the first sub-coding block according to the prediction information of the first sub-coding block; and
a coding circuit coupled to the prediction circuit and the computing circuit and configured to generate a bit stream according to the plurality of encoding coefficients and the prediction information.
|