Encoding method and device and server
A technology of encoding device and encoding method, which is applied in the field of encoding method, encoding device and server, and can solve the problems of low encoding efficiency and the like
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0145] Reference figure 1 , Shows a flowchart of an encoding method according to an embodiment of the present invention. This embodiment may specifically include the following steps:
[0146] Step 101: Divide a video frame / image into coding blocks.
[0147] In this embodiment, a video frame or image is first divided into coding blocks, that is, LCU blocks, and the LCU block with a size of N×N contains N×N reference pixels. In this embodiment, the video frame / image can be divided into 64×64 coding blocks.
[0148] Step 102: Extract the feature vector of the coding block as the current feature vector.
[0149] HEVC (High Efficiency Video Coding) is a new video compression standard that provides quite a wealth of optional modes, which not only improves coding performance but also brings a substantial increase in complexity. The four sub-coding units divided down by the coding unit are independent of each other. For example, the size of the current coding unit is 64x64. If it is divided ...
Embodiment 2
[0166] Reference figure 2 , Shows a flow chart of extracting feature vectors of coding blocks in an embodiment of the present invention. This embodiment may specifically include the following steps:
[0167] Step 201: Divide the coding block into multiple coding units, and use the multiple coding units as current coding units in sequence.
[0168] There are many methods for dividing a coding block into multiple coding units. For example, the coding block can be divided into the coding unit CU according to the breadth-first quadtree iteration, and the smallest CU can be 4×4. Taking the divided coding units as the current coding units in sequence, the following steps 202 to 205 are executed.
[0169] Step 202: Determine whether the current coding unit is flat.
[0170] It should be noted that there are many ways to determine whether the current coding unit is flat. For example, you can determine whether the current coding unit is flat by calculating the flatness of the current coding u...
Embodiment 3
[0201] Reference image 3 , Shows a flowchart of extracting the feature vector of a coding block in an embodiment of the present invention. This embodiment may specifically include the following steps:
[0202] Step 301: Extract the coding environment of the coding block, the coding environment including: reference pixels on the upper and left sides of the coding block, prediction modes on the upper and left sides, and quantization parameters.
[0203] In this embodiment Figure 4 As an example, Figure 4 The coding block LCU and its coding environment are shown, where mT stands for prediction mode, QP stands for quantization parameter, and DCT stands for one-dimensional discrete cosine transform.
[0204] Step 302: Perform one-dimensional discrete transformation on the reference pixels on the upper and left sides of the coding block, and extract the first c non-zero coefficients after quantizing the transformed reference pixels according to the quantization parameter, where c≥1.
[02...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 