The embodiment of the invention relates to a video encoding method and device. The method includes: the discrete cosine transformation of the prediction residual of the current prediction mode is carried out, the transform coefficients are obtained; the transform coefficients are quantized, the quantized coefficients are obtained; the quantization coefficients are quantized and the inverse quantization coefficients are obtained; and the distortion values of the current prediction mode are obtained according to the difference between the transformation coefficients and the inverse quantizing coefficients. According to the rate and distortion of the current prediction model, it is worth the value of the current prediction model; the prediction model of the minimum generation value in multiple forecasting models is selected as the optimal prediction model; the inverse discrete cosine transformation of the inverse quantization coefficient of the optimal prediction model is carried out, and the reconstruction residual is obtained. The embodiment of the invention obtains the distortion value according to the difference between the transformation coefficient and the inverse quantization coefficient, and only needs the inverse transformation of the optimal prediction mode to get the reconstruction residual. The embodiment of the invention has the advantages of low complexity and low power consumption, and has high reliability.
【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。
【技术保护点】
PCT国内申请,权利要求书已公开。
【技术特征摘要】
【国外来华专利技术】PCT国内申请,...
【专利技术属性】
技术研发人员:张金雷,邹天玱,王妙锋,石中博,王世通,薛东,罗巍,
申请(专利权)人:华为技术有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。