CN110662078B - 4K/8K ultra-high-definition coding inter-frame coding fast algorithm suitable for AVS2 and HEVC - Google Patents
4K/8K ultra-high-definition coding inter-frame coding fast algorithm suitable for AVS2 and HEVC Download PDFInfo
- Publication number
- CN110662078B CN110662078B CN201910928491.9A CN201910928491A CN110662078B CN 110662078 B CN110662078 B CN 110662078B CN 201910928491 A CN201910928491 A CN 201910928491A CN 110662078 B CN110662078 B CN 110662078B
- Authority
- CN
- China
- Prior art keywords
- coding
- intra
- inter
- frame
- prediction mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004364 calculation method Methods 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 28
- 230000000694 effects Effects 0.000 claims description 11
- 230000009191 jumping Effects 0.000 claims description 3
- 238000007906 compression Methods 0.000 abstract description 11
- 230000006835 compression Effects 0.000 abstract description 11
- 238000005457 optimization Methods 0.000 abstract description 8
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000004220 aggregation Methods 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a 4K/8K ultra-high definition coding interframe coding frame fast algorithm suitable for AVS2 and HEVC. The method specifically comprises the following steps: (1) adaptively adjusting the calculation order of prediction units of AVS2/HEVC according to the coding information of adjacent blocks of the coding units, and preferentially calculating the prediction unit with high selected probability; (2) skipping the calculation process of an inter-frame prediction unit by using the intra-frame prediction result, and reducing the encoding complexity; (3) and the reconstruction process and the coding cost calculation process of the Inter _2Nx2N Inter-frame prediction unit are skipped by using the intra-frame prediction result, so that the coding complexity is reduced. The invention has the beneficial effects that: the calculation order of various prediction units of the coding unit is adaptively determined, and the calculation amount is reduced; unnecessary prediction modes can be accurately skipped, the encoding time of AVS2 and HEVC on violent-motion sequences is saved, the compression rate is ensured, and the optimization on an encoder has practical reference value.
Description
Technical Field
The invention relates to the technical field related to video coding, in particular to a 4K/8K ultra-high definition coding interframe coding frame fast algorithm suitable for AVS2 and HEVC.
Background
HEVC is a latest generation video coding standard promoted by the International telecommunication Union (ITU-T), and on the basis of the previous generation video coding standard H264, a plurality of new coding tools are added, so that the compression rate is doubled, and a good foundation is laid for the development of the ultra-high definition video industry.
AVS2 is the latest generation standard for ultra high definition video applications released in china in 2016 at 12 months. The whole framework of the method is similar to that of HEVC, meanwhile, a plurality of special new tools are added, and the coding efficiency is slightly superior to that of HEVC. At present, the ministry of industry and informatization, the national broadcast television bureau and the central broadcast television headquarters have jointly issued' ultra high definition video industry development action plan (2019 and 2022), China is greatly promoting the development of the ultra high definition video industry and the application of related fields, and the AVS2 video standard becomes the only video coding standard adopted by the China general television bureau < <4K ultra high definition television technology application implementation guide (2018 edition) >), so that the AVS2 video standard has a wide application prospect.
Aiming at the characteristics of ultra-high definition video, both AVS2 and HEVC adopt a quadtree division structure, and the texture complexity of an image is flexibly matched. Specifically, the largest coding units of both AVS2 and HEVC are 64x64, and the smallest coding unit can reach 8x8 by quadtree partitioning. Inside each coding Unit, it can be divided into different Prediction units (Prediction units): prediction units of HEVC include Merge _2Nx2N, Skip _2Nx2N, Inter _2Nx2N, Inter _ Nx2N, Inter _2NxN, Inter _2NxnU, Inter _2NxnD, Inter _ nLx2N, Inter _ nRx2N, Intra _2Nx2N, and Intra _ NxN, etc., where Intra _2Nx2N and Intra _ NxN are Intra prediction units and others are Inter prediction units. The prediction units of the AVS2 include Direct _2Nx2N, Skip _2Nx2N, Inter _2Nx2N, Inter _ Nx2N, Inter _2NxN, Inter _2NxnU, Inter _2NxnD, Inter _ nLx2N, Inter _ nRx2N, Intra _2Nx2N, Intra _ NxN, Intra _2nx0.5n, and Intra _0.5Nx2N, wherein Intra _2Nx2N, Intra _ NxN, Intra _2nx0.5n, and Intra _0.5Nx2N are Intra prediction units, and others are Inter prediction units. AVS2 and HEVC adopt the flexible coding unit and prediction unit division mode, thereby greatly improving compression efficiency.
The encoder generally selects an optimal encoding mode through a Rate Distortion Optimization (RDO) method. The rate distortion optimization is to calculate a total coding cost RDCost according to the number of bits of a coded code stream and image distortion caused by coding, and the RDCost is expressed as D + lambda R in a formula. D is image distortion, R is the number of bits after encoding, lambda is a lagrangian constant determined by the quantization parameter, and calculation of RDCost requires reconstruction of the encoding unit and estimation of the number of bits, so the amount of calculation is large. In HEVC coding, coding costs of Merge _2Nx2N/Skip _2Nx2N, Inter _2Nx2N, Inter _ Nx2N, Inter _2NxN, Inter _2NxnU, Inter _2NxnD, Inter _ nLx2N, Inter _ nRx2N, and Intra _2Nx2N are calculated in sequence, and a prediction unit with the smallest cost is selected as a final prediction mode of the coding unit. The AVS2 encoding process is also substantially the same.
The encoder generally uses a simplified coding cost SatdCost as an initial selection of an intra prediction direction and a filtering of a Motion Vector (MV) in an inter prediction Motion search. The formulation is expressed as SatdCost ═ Satd + header _ bits ═ lambda. Satd is obtained by performing Hadamard transform on the difference value between the predicted pixel value and the original pixel value and then performing absolute value summation; for intra-frame prediction, the header _ bits is mainly the bit number in the intra-frame prediction direction, and the inter-frame prediction is the bit number of the coded MV; lambda is the Lagrangian constant determined by QP. When the intra-frame prediction unit is used for coding, firstly calculating SatdCost of all prediction directions, selecting N candidates with the minimum SatdCost as candidate directions, then calculating RDCost of the N candidates, and selecting the minimum RDCost as a final prediction direction; when the inter-frame prediction unit is used for coding, motion search is firstly carried out on each prediction block, the MV with the minimum SatdCost is selected as the optimal motion vector, then the coding unit is reconstructed by using the prediction result of the MV, and the coding cost RDCost of the coding unit is calculated. For the AVS2/HEVC encoder, the most computationally intensive part is the motion search of inter coding units and the RDCost calculation process of all prediction units.
The conventional encoding flow calculates the encoding cost of the prediction mode in a way of working, and the final prediction unit is only one, so that a lot of redundant calculation exists. At present, a plurality of decision-making algorithms are proposed in the industry, the methods are mainly used for making decisions on Merge _2Nx2N (Direct _2Nx2N)/Skip _2Nx2N or Inter _2Nx2N and other Inter-frame prediction modes in advance, and aiming at scenes with good Inter-frame prediction effect, the frequency of intra-frame prediction calculation is reduced, so that the encoding process is accelerated. In practical applications, however, the scenes of the video are diverse: in the smooth motion area, the inter-frame prediction unit can obtain a good prediction result, so that the inter-frame prediction coding is suitable for being adopted; in the regions with severe motion, the old scenes are blocked, the new scenes are presented, the blocks with high matching degree can not be obtained when the regions are subjected to motion search, and the coding effect of intra-frame prediction is better.
Analyzing the encoding result of AVS2/HEVC on the sequence with severe motion can find that, in the inter-frame encoding frame, the distribution of intra-frame prediction presents a certain aggregation effect, that is, all regions in a certain block may adopt intra-frame prediction modes, and these regions are mainly concentrated in the new scene of the current frame. For such regions, the calculation priority of the intra prediction mode can be increased, and the remaining prediction modes can be skipped, saving the amount of calculation.
The BDRate index is currently adopted in the industry to measure the difference of compression efficiency of different encoders. The BDRate refers to the magnitude of the increase or saving of the coding rate for the same objective quality of the image. The objective quality of an image is generally measured by the Peak Signal to Noise Ratio (PSNR) between the decoded reconstructed image and the original image.
Disclosure of Invention
The invention provides a 4K/8K ultra-high-definition coding inter-frame rapid algorithm which is suitable for AVS2 and HEVC and reduces the calculation amount in order to overcome the defects in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
the 4K/8K ultra-high-definition coding inter-frame coding fast algorithm applicable to AVS2 and HEVC specifically comprises the following steps:
(1) adaptively adjusting the calculation order of prediction units of AVS2/HEVC according to the coding information of adjacent blocks of the coding units, and preferentially calculating the prediction unit with high selected probability;
(2) skipping the calculation process of an inter-frame prediction unit by using the intra-frame prediction result, and reducing the encoding complexity;
(3) and the reconstruction process and the coding cost calculation process of the Inter _2Nx2N Inter-frame prediction unit are skipped by using the intra-frame prediction result, so that the coding complexity is reduced.
The AVS2/HEVC is the latest generation video coding standard, and the compression efficiency and the coding complexity both far exceed the standard of the previous generation. To better promote the application of AVS2 and HEVC, the encoder encoding speed needs to be optimized sufficiently so as to reduce the encoding complexity as much as possible while maintaining a high compression ratio of AVS 2/HEVC. The traditional optimization method mainly aims at the area with better inter-frame prediction effect, and the complexity is reduced by skipping the intra-frame prediction mode. The invention provides a new fast algorithm mainly aiming at the regions with severe motion, and adaptively determines the calculation order of various prediction units of a coding unit, thereby possibly calculating an intra-frame prediction mode first and skipping other inter-frame prediction modes to reduce the calculation amount. The method can accurately skip unnecessary prediction modes, saves the coding time of AVS2 and HEVC on violent-motion sequences, ensures the compression rate, and has practical reference value for the optimization of the encoder.
Preferably, for an HEVC encoder, the method specifically includes the following steps:
(11) when coding a coding unit of an inter-frame coding frame of HEVC, firstly calculating coding costs of Skip _2Nx2N and Merge _2Nx2N to obtain SatdCost _ Skip & Merge and RDCost _ Skip & Merge, then checking whether the intra-frame prediction mode is selected in adjacent coding units at the left side, the upper side and the upper left corner of the current coding unit, and if so, skipping (12); otherwise, sequentially calculating the coding costs of the other prediction modes in sequence, and selecting the prediction mode with the minimum coding cost;
(12) calculating the coding cost of the Intra-frame prediction mode to obtain SatdCost _ Intra and RDCost _ Intra, calculating the ratio D of the SatdCost _ Intra to the SatdCost _ Skip & Merge, if D is smaller than a set value, indicating that the Intra-frame prediction obtains a good prediction effect, and directly selecting the Intra-frame prediction mode by a coding unit to Skip the subsequent inter-frame prediction mode; if D is larger than or equal to the set value, turning to the step (13);
(13) performing motion estimation on Inter _2Nx2N to obtain an optimal motion vector and a corresponding satdcast _ mv, if satdcast _ Intra in the step (12) is smaller than satdcast _ mv, finishing pixel reconstruction and coding cost calculation of Inter _2Nx2N, and directly selecting an Intra-frame prediction mode by a coding unit; otherwise, calculating the coding cost of Inter _2Nx2N and the coding cost of the residual prediction mode according to normal steps, and selecting the optimal prediction mode.
Preferably, the AVS2 encoder specifically includes the following steps:
(21) when coding a coding unit of an inter-frame coding frame of AVS2, firstly calculating coding costs of Skip _2Nx2N and Direct _2Nx2N to obtain SatdCost _ Skip & Direct and RDCost _ Skip & Direct, then checking whether the intra-frame prediction mode is selected in the adjacent coding units at the left side, the upper side and the upper left corner of the current coding unit, and if so, jumping to a step (22); otherwise, sequentially calculating the coding costs of the other prediction modes in sequence, and selecting the prediction mode with the minimum coding cost;
(22) calculating the coding cost of the Intra-frame prediction mode to obtain SatdCost _ Intra and RDCost _ Intra, calculating the ratio D of the SatdCost _ Intra to the SatdCost _ Skip & Direct, if D is smaller than a set value, indicating that the Intra-frame prediction obtains good prediction effect, and directly selecting the Intra-frame prediction mode by a coding unit to Skip the subsequent inter-frame prediction mode; if D is larger than or equal to the set value, turning to the step (23);
(23) motion estimation is carried out on Inter _2Nx2N to obtain an optimal motion vector and a corresponding SatdCost _ mv, if the SatdCost _ Intra in the step (22) is smaller than the SatdCost _ mv, pixel reconstruction and coding cost calculation of Inter _2Nx2N are finished, and an Intra-frame prediction mode is directly selected by a coding unit; otherwise, calculating the coding cost of Inter _2Nx2N and the coding cost of the residual prediction mode according to normal steps, and selecting the optimal prediction mode.
Preferably, the value of D is 0.75.
The invention has the beneficial effects that: the calculation order of various prediction units of the coding unit is adaptively determined, and the calculation amount is reduced; unnecessary prediction modes can be accurately skipped, the encoding time of AVS2 and HEVC on violent-motion sequences is saved, the compression rate is ensured, and the optimization on an encoder has practical reference value.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
In the embodiment shown in fig. 1, the 4K/8K ultra high definition coding inter-frame fast algorithm applicable to AVS2 and HEVC specifically includes the following steps:
(1) adaptively adjusting the calculation order of prediction units of AVS2/HEVC according to the coding information of adjacent blocks of the coding units, and preferentially calculating the prediction unit with high selected probability;
(2) the intra-frame prediction result is used for skipping the calculation processes of Inter-frame prediction units such as Inter _2Nx2N, Inter _ Nx2N, Inter _2NxN, Inter _2NxnU, Inter _2NxnD, Inter _ nLx2N, Inter _ nRx2N and the like, so that the coding complexity is reduced;
(3) and the intra-frame prediction result is used for skipping the reconstruction process and the coding cost calculation process of Inter-frame prediction units such as Inter _2Nx2N and the like, so that the coding complexity is reduced.
The HEVC encoder specifically comprises the following steps:
(11) when coding a coding unit of an inter-frame coding frame of HEVC, firstly calculating coding costs of Skip _2Nx2N and Merge _2Nx2N to obtain SatdCost _ Skip & Merge and RDCost _ Skip & Merge, then checking whether the intra-frame prediction mode is selected in adjacent coding units at the left side, the upper side and the upper left corner of the current coding unit, and if so, skipping (12); otherwise, sequentially calculating the coding costs of the other prediction modes in sequence, and selecting the prediction mode with the minimum coding cost;
(12) calculating the coding cost of the Intra-frame prediction mode to obtain SatdCost _ Intra and RDCost _ Intra, calculating the ratio D of the SatdCost _ Intra to the SatdCost _ Skip & Merge, if D is less than 0.75, indicating that the Intra-frame prediction obtains good prediction effect, and directly selecting the Intra-frame prediction mode by a coding unit to Skip the subsequent inter-frame prediction mode; if D is larger than or equal to 0.75, turning to the step (13);
(13) performing motion estimation on Inter _2Nx2N to obtain an optimal motion vector and a corresponding satdcast _ mv, if satdcast _ Intra in the step (12) is smaller than satdcast _ mv, finishing pixel reconstruction and coding cost calculation of Inter _2Nx2N, and directly selecting an Intra-frame prediction mode by a coding unit; otherwise, calculating the coding cost of Inter _2Nx2N and the coding cost of the residual prediction mode according to normal steps, and selecting the optimal prediction mode.
The AVS2 encoder specifically comprises the following steps:
(21) when coding a coding unit of an inter-frame coding frame of AVS2, firstly calculating coding costs of Skip _2Nx2N and Direct _2Nx2N to obtain SatdCost _ Skip & Direct and RDCost _ Skip & Direct, then checking whether the intra-frame prediction mode is selected in the adjacent coding units at the left side, the upper side and the upper left corner of the current coding unit, and if so, jumping to a step (22); otherwise, sequentially calculating the coding costs of the other prediction modes in sequence, and selecting the prediction mode with the minimum coding cost;
(22) calculating the coding cost of the Intra-frame prediction mode to obtain SatdCost _ Intra and RDCost _ Intra, calculating the ratio D of the SatdCost _ Intra to the SatdCost _ Skip & Direct, if D is less than 0.75, indicating that the Intra-frame prediction obtains good prediction effect, and directly selecting the Intra-frame prediction mode by a coding unit to Skip the subsequent inter-frame prediction mode; if D is larger than or equal to 0.75, turning to the step (23);
(23) motion estimation is carried out on Inter _2Nx2N to obtain an optimal motion vector and a corresponding SatdCost _ mv, if the SatdCost _ Intra in the step (22) is smaller than the SatdCost _ mv, pixel reconstruction and coding cost calculation of Inter _2Nx2N are finished, and an Intra-frame prediction mode is directly selected by a coding unit; otherwise, calculating the coding cost of Inter _2Nx2N and the coding cost of the residual prediction mode according to normal steps, and selecting the optimal prediction mode.
The AVS2/HEVC is the latest generation video coding standard, and the compression efficiency and the coding complexity both far exceed the standard of the previous generation. To better promote the application of AVS2 and HEVC, the encoder encoding speed needs to be optimized sufficiently so as to reduce the encoding complexity as much as possible while maintaining a high compression ratio of AVS 2/HEVC. The traditional optimization method mainly aims at the area with better inter-frame prediction effect, and the complexity is reduced by skipping the intra-frame prediction mode. The invention provides a new fast algorithm mainly aiming at the regions with severe motion, and adaptively determines the calculation order of various prediction units of a coding unit, thereby possibly calculating an intra-frame prediction mode first and skipping other inter-frame prediction modes to reduce the calculation amount. The method can accurately skip unnecessary prediction modes, saves the coding time of AVS2 and HEVC on violent-motion sequences, ensures the compression rate, and has practical reference value for the optimization of the encoder.
The invention is applied to AVS2 and HEVC coders, the coding time of sequences with complex motion can be saved by 6-15% on average, and the BDRate is increased by less than 0.5%. Therefore, the method of the invention can effectively improve the coding speed on the premise of basically not losing the coding quality and has very high practical value.
Claims (3)
1. The 4K/8K ultra-high definition coding inter-frame coding frame fast algorithm suitable for AVS2 and HEVC is characterized by comprising the following steps:
(1) adaptively adjusting the calculation order of prediction units of AVS2/HEVC according to the coding information of adjacent blocks of the coding units, and preferentially calculating the prediction unit with high selected probability;
(2) skipping the calculation process of an inter-frame prediction unit by using the intra-frame prediction result, and reducing the encoding complexity;
(3) skipping the reconstruction process and the coding cost calculation process of the Inter _2Nx2N interframe prediction unit by using the intraframe prediction result, and reducing the coding complexity;
the method specifically comprises the following steps for an HEVC encoder:
(11) when coding a coding unit of an inter-frame coding frame of HEVC, firstly calculating coding costs of Skip _2Nx2N and Merge _2Nx2N to obtain SatdCost _ Skip & Merge and RDCost _ Skip & Merge, then checking whether the intra-frame prediction mode is selected in adjacent coding units at the left side, the upper side and the upper left corner of the current coding unit, and if so, skipping (12); otherwise, sequentially calculating the coding costs of the other prediction modes in sequence, and selecting the prediction mode with the minimum coding cost;
(12) calculating the coding cost of the Intra-frame prediction mode to obtain SatdCost _ Intra and RDCost _ Intra, calculating the ratio D of the SatdCost _ Intra to the SatdCost _ Skip & Merge, if D is smaller than a set value, indicating that the Intra-frame prediction obtains a good prediction effect, and directly selecting the Intra-frame prediction mode by a coding unit to Skip the subsequent inter-frame prediction mode; if D is larger than or equal to the set value, turning to the step (13);
(13) performing motion estimation on Inter _2Nx2N to obtain an optimal motion vector and a corresponding satdcast _ mv, if satdcast _ Intra in the step (12) is smaller than satdcast _ mv, finishing pixel reconstruction and coding cost calculation of Inter _2Nx2N, and directly selecting an Intra-frame prediction mode by a coding unit; otherwise, calculating the coding cost of Inter _2Nx2N and the coding cost of the residual prediction mode according to normal steps, and selecting the optimal prediction mode.
2. The 4K/8K ultra high definition coding (UHV) inter-frame coding (UHV) fast algorithm applicable to AVS2 and HEVC as claimed in claim 1, wherein the method specifically comprises the following steps for AVS2 encoder:
(21) when coding a coding unit of an inter-frame coding frame of AVS2, firstly calculating coding costs of Skip _2Nx2N and Direct _2Nx2N to obtain SatdCost _ Skip & Direct and RDCost _ Skip & Direct, then checking whether the intra-frame prediction mode is selected in the adjacent coding units at the left side, the upper side and the upper left corner of the current coding unit, and if so, jumping to a step (22); otherwise, sequentially calculating the coding costs of the other prediction modes in sequence, and selecting the prediction mode with the minimum coding cost;
(22) calculating the coding cost of the Intra-frame prediction mode to obtain SatdCost _ Intra and RDCost _ Intra, calculating the ratio D of the SatdCost _ Intra to the SatdCost _ Skip & Direct, if D is smaller than a set value, indicating that the Intra-frame prediction obtains good prediction effect, and directly selecting the Intra-frame prediction mode by a coding unit to Skip the subsequent inter-frame prediction mode; if D is larger than or equal to the set value, turning to the step (23);
(23) motion estimation is carried out on Inter _2Nx2N to obtain an optimal motion vector and a corresponding SatdCost _ mv, if the SatdCost _ Intra in the step (22) is smaller than the SatdCost _ mv, pixel reconstruction and coding cost calculation of Inter _2Nx2N are finished, and an Intra-frame prediction mode is directly selected by a coding unit; otherwise, calculating the coding cost of Inter _2Nx2N and the coding cost of the residual prediction mode according to normal steps, and selecting the optimal prediction mode.
3. The 4K/8K ultra high definition coding (UHV) interframe coding (AMC) fast algorithm suitable for AVS2 and HEVC according to claim 1 or 2, wherein D is 0.75.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910928491.9A CN110662078B (en) | 2019-09-28 | 2019-09-28 | 4K/8K ultra-high-definition coding inter-frame coding fast algorithm suitable for AVS2 and HEVC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910928491.9A CN110662078B (en) | 2019-09-28 | 2019-09-28 | 4K/8K ultra-high-definition coding inter-frame coding fast algorithm suitable for AVS2 and HEVC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110662078A CN110662078A (en) | 2020-01-07 |
CN110662078B true CN110662078B (en) | 2021-10-15 |
Family
ID=69039906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910928491.9A Active CN110662078B (en) | 2019-09-28 | 2019-09-28 | 4K/8K ultra-high-definition coding inter-frame coding fast algorithm suitable for AVS2 and HEVC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110662078B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111953987B (en) * | 2020-07-15 | 2022-08-09 | 广州柯维新数码科技有限公司 | Video transcoding method, computer device and storage medium |
CN113573066B (en) * | 2021-07-07 | 2024-07-02 | 网宿科技股份有限公司 | Video coding method and device |
CN113596442B (en) * | 2021-07-07 | 2022-10-04 | 北京百度网讯科技有限公司 | Video processing method and device, electronic equipment and storage medium |
CN113747154B (en) * | 2021-08-27 | 2024-06-21 | 杭州当虹科技股份有限公司 | Code rate control method and encoder |
CN114501007B (en) * | 2021-12-20 | 2024-01-09 | 杭州当虹科技股份有限公司 | 422 video-based rapid coding method and coder |
CN114339231B (en) * | 2021-12-27 | 2023-10-27 | 杭州当虹科技股份有限公司 | Method for rapidly jumping Cu-level mode selection by utilizing motion vector |
CN117156133B (en) * | 2023-10-27 | 2024-02-09 | 淘宝(中国)软件有限公司 | Inter-frame prediction mode selection method and device for video coding |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815215A (en) * | 2009-06-29 | 2010-08-25 | 香港应用科技研究院有限公司 | Method and apparatus for coding mode selection |
CN107613305A (en) * | 2017-10-12 | 2018-01-19 | 杭州当虹科技有限公司 | P, B frame rapid movement estimation method in a kind of HEVC |
CN108353165A (en) * | 2015-11-20 | 2018-07-31 | 韩国电子通信研究院 | The method and apparatus that image is encoded/decoded using geometric modification picture |
CN109479129A (en) * | 2016-07-18 | 2019-03-15 | 韩国电子通信研究院 | Image encoding/decoding method and apparatus, and recording medium storing bitstream |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101365567B1 (en) * | 2007-01-04 | 2014-02-20 | 삼성전자주식회사 | Method and apparatus for prediction video encoding, and method and apparatus for prediction video decoding |
US20090274213A1 (en) * | 2008-04-30 | 2009-11-05 | Omnivision Technologies, Inc. | Apparatus and method for computationally efficient intra prediction in a video coder |
-
2019
- 2019-09-28 CN CN201910928491.9A patent/CN110662078B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815215A (en) * | 2009-06-29 | 2010-08-25 | 香港应用科技研究院有限公司 | Method and apparatus for coding mode selection |
CN108353165A (en) * | 2015-11-20 | 2018-07-31 | 韩国电子通信研究院 | The method and apparatus that image is encoded/decoded using geometric modification picture |
CN109479129A (en) * | 2016-07-18 | 2019-03-15 | 韩国电子通信研究院 | Image encoding/decoding method and apparatus, and recording medium storing bitstream |
CN107613305A (en) * | 2017-10-12 | 2018-01-19 | 杭州当虹科技有限公司 | P, B frame rapid movement estimation method in a kind of HEVC |
Also Published As
Publication number | Publication date |
---|---|
CN110662078A (en) | 2020-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110662078B (en) | 4K/8K ultra-high-definition coding inter-frame coding fast algorithm suitable for AVS2 and HEVC | |
CN111919447B (en) | Method and apparatus for encoding/decoding image and recording medium storing bit stream | |
CN111971966A (en) | Image encoding/decoding method and apparatus, and recording medium storing bit stream | |
KR101433170B1 (en) | An encoding and decoding method for estimating an intra prediction mode using a spatial prediction directionality of an adjacent block, | |
KR20180014655A (en) | A method for encoding/decoding a video | |
CN105245887A (en) | Apparatus and method for encoding image | |
KR20180008445A (en) | Method and apparatus for encoding or decoding an image using syntax signaling for adaptive weight prediction | |
CN110351552B (en) | A Fast Coding Method in Video Coding | |
KR20200039591A (en) | Method and apparatus for encoding/decoding image and recording medium for storing bitstream | |
KR20150021822A (en) | Method and apparatus for determining intra prediction mode | |
CN107613294B (en) | Method for rapidly skipping P, B frame intra-frame prediction mode in HEVC | |
CN110896481B (en) | Fast intra mode coding method suitable for HEVC | |
KR102057195B1 (en) | Method and apparatus for scalable video encoding based on coding units of tree structure, method and apparatus for scalable video decoding based on coding units of tree structure | |
CN109348223B (en) | Rapid method suitable for AVS2 and HEVC intra-frame coding | |
CN107613305B (en) | P, B frame rapid motion estimation method in HEVC | |
CN110677646B (en) | Intra-frame coding prediction method based on CPU + GPU hybrid coding | |
Ahmmed et al. | A coarse representation of frames oriented video coding by leveraging cuboidal partitioning of image data | |
CN110446042B (en) | Coding method for improving P frame quality in H.264 | |
CN109547798B (en) | Rapid HEVC inter-frame mode selection method | |
Zhang et al. | Motion Compensation Using Polyline Based Block Partition | |
KR101768173B1 (en) | Intra prediction skip method and apparatus for video coding | |
KR20180111378A (en) | A method of video processing providing independent properties between coding tree units and coding units, a method and appratus for decoding and encoding video using the processing. | |
KR20150095253A (en) | Intra prediction method and apparatus for video coding | |
KR20120061035A (en) | Method and apparatus for image intra prediction | |
CN108012152B (en) | Fast HEVC coding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |