Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Fast coding method and encoder based on 422 video

A fast encoding and video technology, applied in the field of video encoding, can solve the problem of high computational complexity of 4:2:2 format video, save encoding time, improve encoding speed, and reduce encoding quality loss.

Pending Publication Date: 2022-05-13
HANGZHOU ARCVIDEO TECHNOLOGY CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention aims at the problem of high computational complexity of 4:2:2 format video in the prior art, and provides a fast encoding method and encoder based on 422 video

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Fast coding method and encoder based on 422 video
  • Fast coding method and encoder based on 422 video
  • Fast coding method and encoder based on 422 video

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042]For 4:2:2 format video, since the height of the chroma coding block is twice the width, for encoders using square intra prediction such as H.264 and HEVC, the chroma block needs to be encoded twice to Compute the optimal prediction mode. As shown in the figure, the mode selection process of a complete 4:2:2 coding block is shown. First, for the Y component, calculate the encoding cost of all prediction modes, and select the one with the smallest cost as the optimal prediction mode; for the Cb and Cr components, each intra prediction mode needs to calculate the encoding cost of block 2 first, and then calculate the block 3 The coding cost of the upper and lower blocks is summed to obtain the total coding cost of the Cb and Cr components in this prediction mode.

[0043] Since block 3 needs to use the lower row pixels of block 2 (shown by the dotted line in the figure) as reference pixels, for block 2, even if only SatdCost is calculated, it is necessary to perform invers...

Embodiment 2

[0046] What is different from Embodiment 1 is that the present embodiment is based on the fast encoding method of 422 video, and its method comprises:

[0047] Obtain the coding block, wherein the size of the coding block is 2N*2N, and the chrominance size of the coding block is N*2N;

[0048] Calculation of the inter-frame coding cost, calculate the coding cost of the inter-frame prediction mode of the coded block, the inter-frame coding cost is RDCost_Inter;

[0049] Calculation of the intra-frame prediction coding cost, calculate the coding cost of the intra-frame prediction mode of the coding block, the intra-frame coding cost is RDCost_Intra;

[0050] To determine the prediction mode of the coding block, when the current frame of the coding block is an I frame or an IDR frame, the prediction mode of the coding block is an intra prediction mode; otherwise, the inter coding cost RDCost_Inter and the intra coding cost RDCost_Intra are determined to determine the prediction m...

Embodiment 3

[0057] On the basis of the above-mentioned embodiments, the coding cost calculation method of the Y component of the coding block in this embodiment includes:

[0058] First calculate the simplified encoding cost SatdCost of all prediction modes, select M prediction modes with the smallest SatdCost, further calculate the encoding cost RDCost of M modes, and select the prediction mode with the smallest cost as the final prediction mode of Y. For real-time encoding configurations, this method is usually used for encoding acceleration.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a video coding technology, and discloses a fast coding method and a coder based on a 422 video, if the current frame of a coding block of the fast coding method based on the 422 video is an I frame or an IDR frame, only the calculation of the optimal intra-frame coding cost is carried out, otherwise, the calculation of the inter-frame and intra-frame prediction coding cost is carried out; the inter-frame coding cost is RDCostInter, and the intra-frame coding cost is RDCostIntra; and when the current frame of the coding block is an I frame or an IDR frame, the final prediction mode of the coding block is an intra-frame prediction mode, otherwise, the final prediction mode is determined by judging the RDCostInter and the RDCostIntra. According to the method, the calculation amount of 4: 2: 2 video chrominance components is effectively reduced, so that the coding speed can be greatly improved, the coding quality loss can be ensured to be as small as possible, and the subjective experience of the video is not influenced.

Description

technical field [0001] The present invention relates to video encoding technology, in particular to a fast encoding method and encoder based on 422 video. Background technique [0002] In the field of video coding, a coded image generally consists of three components: Y, CB, and CR, where Y represents brightness, and CB and CR represent chroma. Since human eyes are less sensitive to chrominance information than luminance information, and in order to reduce the computational complexity of the video processing system, the spatial sampling rate of the CB and CR components is usually lower than that of the Y component. The most commonly used video encoding image formats are 4:2:0 and 4:2:2. The 4:2:0 format indicates that the sampling rate of CB and CR in the horizontal and vertical directions is half of the Y component; the sampling rate of the CB and CR components in the 4:2:2 format is only half of the Y component in the horizontal direction, and in the vertical direction T...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/122H04N19/146H04N19/159H04N19/186
CPCH04N19/122H04N19/159H04N19/186H04N19/146
Inventor 李日廖义朱建国谢亚光周瑜锋
Owner HANGZHOU ARCVIDEO TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products