CN104247418A - A conversion quantification method is HEVC video coding and a video coding device - Google Patents

A conversion quantification method is HEVC video coding and a video coding device Download PDF

Info

Publication number
CN104247418A
CN104247418A CN201380003163.9A CN201380003163A CN104247418A CN 104247418 A CN104247418 A CN 104247418A CN 201380003163 A CN201380003163 A CN 201380003163A CN 104247418 A CN104247418 A CN 104247418A
Authority
CN
China
Prior art keywords
residual
block
blocks
zero
values
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.)
Pending
Application number
CN201380003163.9A
Other languages
Chinese (zh)
Inventor
吕正光
王荣刚
王振宇
董胜富
高文
王文敏
李英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Shenzhen Graduate School
Original Assignee
Peking University Shenzhen Graduate School
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Peking University Shenzhen Graduate School filed Critical Peking University Shenzhen Graduate School
Publication of CN104247418A publication Critical patent/CN104247418A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention relates to a conversion quantification method is HEVC video coding and a video coding device. The method comprises the steps of detecting a residual value of an M*M residual block generated in computing of original image data and interframe forecast image data from a first address; computing an all-zero-block detection threshold value T[M*M] corresponding to the residual value; comparing the computed all-zero-block detection threshold value T[M*M] with an absolute error of the residual value and SAD[M*M]; if SAD[M*M] <T[M*M], the M*M residual block is an all-zero-block, and the residual value of the M*M residual block is subjected to conversion quantization value assignment and then stored at a second address; otherwise, the M*M residual block is not an all-zero-block; the residual value of the M*M residual block is detected from the first address and subjected to conversion quantization operation; and then a conversion quantization value is stored at a second address. During HEVC video coding, the residual value which is the all-zero-block is directly skipped, and no conversion quantization operation is carried out on the all-zero-block, so that the computing complexity degree is lowered; the coding efficiency is raised; and the coding time is reduced.

Description

Change quantization method and video coding apparatus in HEVC Video coding
Technical field
The present invention relates to technical field of video coding, be specifically related to change quantization method and video coding apparatus in a kind of HEVC Video coding.
Background technology
Along with popularizing of Video service, high-resolution video obtains applying more and more widely, especially at present high definition resolution video and ultra high-definition resolution video start to enter Web Video Service, therefore, high definition and ultra high-definition resolution video encoder become the key equipment improving Video service quality.
Although had a series of based on hardware encoding chip at present, or half hardware embedded system such as the high definition video encoders such as FPGA and DSP put goods on the market, but it is long to there is the construction cycle in hardware based coded system, be not easy to amendment after product approval, be not easy to build the shortcomings such as distributed coding cloud platform.Therefore, the Video coding based on software remains encoding scheme main based on of internet video service at present.
At present, H.264 the major video coding standards that market is applied based on the Video coding of software is mainly and AVS video encoding standard, then just becomes international standard for HEVC video encoding standard of future generation H.264.In prior art, H.264 and the AVS video encoding standard relatively conventional method that improves code efficiency be utilize fast algorithm in frame or in inter predication process, reduce the quantity of model selection, to improve the arithmetic speed in cataloged procedure.
For HEVC video encoding standard, relatively H.264 and AVS video encoding standard it, there is higher compression performance, but also Just because of this, HEVC relative to older generation's coding standard H.264 and its computational complexity of AVS video encoding standard also relatively greatly improve, the relatively more conventional method improving code efficiency in prior art can not meet the needs of HEVC video encoding standard, so in the urgent need to adopting a kind of effective method to reduce the computational complexity in HEVC cataloged procedure, improve code efficiency.
Carry out in the process of encoding utilizing HEVC video encoding standard, the principal element affecting its code efficiency is the existence of a large amount of stand growth model in change quantization operating process, so-called stand growth model, if the residual signals coefficient after change quantization referring to residual block is zero, such residual block is just called stand growth model, obviously, for stand growth model, change quantization operation is all unnecessary, due to the computational complexity of the cataloged procedure of HEVC own, add the unnecessary change quantization operation that stand growth model is carried out, its code efficiency can be affected undoubtedly.
Summary of the invention
The object of the invention is: in view of in HEVC cataloged procedure, there is the process of a large amount of stand growth model being carried out to unnecessary change quantization operation, reduce the code efficiency of HEVC, therefore, for effectively saving the time that in HEVC video encoding standard, Video coding change quantization process is used, improve code efficiency, the invention provides change quantization method and video coding apparatus in a kind of HEVC Video coding.
For achieving the above object, the technical solution used in the present invention is as follows:
First the present invention provides a kind of change quantization method in HEVC Video coding, comprises the steps:
From the residual values of the M × M residual block produced when the first address detected raw image data and the computing of inter prediction view data of memory;
Calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M;
By the all-zero blocks threshold value T calculated m × Mwith absolute error and the SAD of the residual values of M × M residual block m × Mrelatively;
If SAD m × M<T m × M, M × M residual block is stand growth model, then directly carry out change quantization assignment to the residual values of M × M residual block, and is stored in the second address of memory;
Otherwise M × M residual block is non-full zero block, then goes forward side by side line translation quantization operation from the residual values of the first address detected M × M residual block, and change quantization value is stored in the second address.
Secondly, the present invention also provides a kind of HEVC video coding apparatus, comprising::
Video signal input terminal, coding controller, memory, one or more processor and VT;
Coding controller carries out coding-control to the raw image data that video signal input terminal inputs;
Processor is for carrying out the computing of raw image data and inter prediction view data, and the residual values of the M × M residual block produced during computing is stored in the first address of memory;
One or more processor is also for performing the instruction comprised the following steps:
From the residual values of the first address detected M × M residual block;
Calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M;
By the all-zero blocks threshold value T calculated m × Mwith absolute error and the SAD of the residual values of M × M residual block m × Mrelatively;
If SAD m × M<T m × M, M × M residual block is stand growth model, then directly carry out change quantization assignment to the residual values of M × M residual block, and is stored in the second address of memory;
Otherwise M × M residual block is non-full zero block, then goes forward side by side line translation quantization operation from the residual values of the first address detected M × M residual block, and change quantization value is stored in the second address;
To being stored in the change quantization value of two address non-full zero block and the change quantization assignment of stand growth model carries out encoding operation, and the view data after encoding operation is exported from VT.
The invention has the beneficial effects as follows: when video coding apparatus carries out Video coding, by comparing the all-zero blocks threshold value T of M × M residual block m × Mwith absolute error and SAD m × M, anticipation was first carried out before carrying out change quantization operation certainly, to pick out the stand growth model in residual block to the M × M residual block in HEVC cataloged procedure; For the stand growth model ruled out, when realizing quick conversion and quantification of video coding, directly can skip the residual block that pre-judgement is stand growth model, avoid carrying out change quantization operation to it, thus reduce the computational complexity of HEVC cataloged procedure, improve code efficiency, save the scramble time.
Accompanying drawing explanation
Fig. 1 is one of flow chart of change quantization method in HEVC Video coding in the embodiment of the present invention one;
Fig. 2 is the flow chart two of change quantization method in HEVC Video coding in the embodiment of the present invention one;
Fig. 3 is the flow chart three of change quantization method in HEVC Video coding in the embodiment of the present invention one;
Fig. 4 is the flow chart four of change quantization method in HEVC Video coding in the embodiment of the present invention one;
Fig. 5 is the flow chart that in the embodiment of the present invention two, HEVC video coding apparatus carries out Video coding.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
By the agency of in the introduction, HEVC video encoding standard is utilized to carry out in the process of encoding, the principal element affecting its code efficiency is: carry out change quantization operation to a large amount of stand growth model, therefore, if detect the stand growth model in residual block in advance when HEVC interframe or intraframe coding process, just can skip and the change quantization of these stand growth model is operated, reduce the computational load of HEVC, reduce the computational complexity in HEVC cataloged procedure, improve code efficiency.Based on this kind of design, the invention provides the implementation method of the pre-decision method of a kind of stand growth model and quick conversion and quantification of video coding.
The term definition used in the present invention is as follows:
HEVC:High Efficiency Video Coding is a kind of brand-new video encoding standard;
SAD:Sum of Absolute Differences, absolute error and;
SAO:Session-At-Once, Multi sectional imprinting.
CABAC:Context-based Adaptive Binary Arithmetic Coding, adaptive binary arithmetic coding.
Embodiment one
Please refer to Fig. 1, the present embodiment provides a kind of change quantization method in HEVC Video coding, comprises the steps:
From the residual values of the M × M residual block produced when the first address detected raw image data and the computing of inter prediction view data of memory;
Calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M;
By the all-zero blocks threshold value T calculated m × Mwith absolute error and the SAD of the residual values of M × M residual block m × Mrelatively;
If SAD m × M<T m × M, M × M residual block is stand growth model, then directly carry out change quantization assignment to the residual values of M × M residual block, and is stored in the second address of memory;
Otherwise M × M residual block is non-full zero block, then goes forward side by side line translation quantization operation from the residual values of the first address detected M × M residual block, and change quantization value is stored in the second address.
Wherein, if residual block is stand growth model, then directly change quantization assignment is carried out to its residual values, be preferably that the residual values of the residual block of stand growth model is set to zero by judgement, and skip the change quantization operation of stand growth model.
The absolute error of M × M residual block and SAD m × Mmeet relation:
SAD M &times; M = &Sigma; x = 0 M &Sigma; y = 0 M | e ( x , y ) | ,
Wherein, e (x, y) is the residual error data of M × M residual block, the i.e. residual values of M × M residual block.
In this embodiment, please refer to Fig. 2, calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × Mstep specifically comprise following sub-step:
First calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4;
Again according to the relation between M × M and 4 × 4 transformation matrixs:
T M &times; M = M 4 &times; T 4 &times; 4
Obtain the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M.
Calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4sub-step in, according to transform coefficient values and the change quantization formula of 4 × 4 residual blocks, calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4, the all-zero blocks threshold value T of calculating 4 × 4meet following relation:
1 25 &times; 2 qbit - offset Q [ q rem ] = T 4 &times; 4 ,
Wherein, offset=85<< (qbit-9), qbit=19+QP/6, QP are quantization parameter, q rem=QP%6.
Above-mentioned all-zero blocks threshold value T 4 × 4the relational expression met, its derivation is as follows:
As everyone knows, in HEVC just like giving a definition:
Site depth in B=; M=transform block size;
Q [q rem]=Q (QP%6), wherein Q (x)=26214,23302,20560,18396,16384,14564}, x=0 ..., 5;
qbit=21+QP/6-M-(B-8);
Residual error data e (x, y):
e(x,y)=f 1(x,y)-f 2(x,y)。
In HEVC, integer transform is defined as:
E ( x , y ) = &Sigma; u = 0 3 &Sigma; v = 0 3 C ( x , u ) e ( u , v ) C ( y , v ) , 0 &le; x , y &le; 2 ;
Wherein,
C ( m , n ) = &lang; 5 L ( n ) cos ( 2 m + 1 ) n&pi; 8 &rang;
work as n=0; L (n)=1, other <x> are equivalent to the integer close to x.
Quantitative formula is:
E(x,y) Q=sign(E(x,y))×(|E(x,y)|×Q[q rem]+offset>>qbit,
Wherein, qbit=21+QP/6-M-(B-8)=21+QP/6-2-(8-8)=19+QP/6;
For intra block:
offset=171<<(qbit-9);
For interframe block:
offset=85<<(qbit-9);
The absolute value of conversion coefficient has following relation:
| E ( x , y ) | &le; &Sigma; u = 0 3 &Sigma; v = 0 3 | e ( u , v ) | | C ( x , u ) C ( y , v ) | ;
Can release from above formula:
| E ( x , y ) Q | &le; | ( | &Sigma; u = 0 3 &Sigma; v = 0 3 | e ( u , v ) | | C ( x , u ) C ( y , v ) | | &times; Q [ q rem ] + offset ) &rang; &rang; qbit | ,
Wherein Q [q rem]=Q (QP%6), q rem=QP%6;
If | E (x, y) q|≤1, we can obtain change quantization result is stand growth model,
According to
| E ( x , y ) | &le; &Sigma; u = 0 3 &Sigma; v = 0 3 | e ( u , v ) | | C ( x , u ) C ( y , v ) |
We have:
| E ( x , y ) | { u = 0 , v = 0 } &le; &lang; 5 2 &rang; &lang; 5 2 &rang; &Sigma; u = 0 3 &Sigma; v = 0 3 e ( u , v ) = 13 SAD ,
| E ( x , y ) | { ( u = 0 , v = 0 ) &cup; ( u &NotEqual; 0 , v = 0 ) } &le; &lang; 5 2 &rang; &lang; 5 cos ( &pi; 8 ) &rang; &Sigma; u = 0 3 &Sigma; v = 0 3 e ( u , v ) = 18 SAD ,
| E ( x , y ) | { u &NotEqual; 0 , v = 0 } &le; &lang; 5 cos ( &pi; 8 ) &rang; &lang; 5 cos ( &pi; 8 ) &rang; &Sigma; u = 0 3 &Sigma; v = 0 3 e ( u , v ) = 25 SAD ;
Have by calculating:
25 &Sigma; u = 0 3 &Sigma; v = 0 3 | e ( u , v ) | &times; Q [ q rem ] &lang; 2 qbit - offset
Thus following corresponding with the residual values of 4 × 4 residual blocks all-zero blocks threshold value T can be obtained 4 × 4:
1 25 &times; 2 qbit - offset Q [ q rem ] = T 4 &times; 4
For M × M residual block, according to the relation between the transform block transformation matrix of different size and dct transform formula, we can know, are directed to different M × M residual blocks, corresponding all-zero blocks threshold value T m × Mformula is as follows:
wherein, M=32,16,8,4.
That is: M × M residual block comprise 4 × 4 residual blocks, 8 × 8 residual blocks, 16 × 16 residual blocks and 32 × 32 residual blocks and, the residual values correspondence of M × M residual block comprises the residual values of the residual values of 4 × 4 residual blocks, the residual values of 8 × 8 residual blocks, the residual values of 16 × 16 residual blocks and 32 × 32 residual blocks, the all-zero blocks threshold value T corresponding to the residual values of 8 × 8 residual blocks 8 × 8=2T 4 × 4; All-zero blocks threshold value T corresponding to the residual values of 16 × 16 residual blocks 16 × 16=4T 4 × 4; All-zero blocks threshold value T corresponding to the residual values of 32 × 32 residual blocks 32 × 32=8T 4 × 4, wherein, the flow process of the change quantization method of 4 × 4 residual blocks, 8 × 8 residual blocks, 16 × 16 residual blocks and 32 × 32 residual blocks please refer to Fig. 3 and Fig. 4.
In Video coding in the present embodiment, change quantization method is applicable to interframe and the frame mode of HEVC coding, is preferably applicable to, in the inter-frame mode of HEVC coding, utilize transform coefficient values and change quantization formula, calculates all-zero blocks threshold value T 4 × 4, according to absolute error and SAD m × Mwith SAD 4 × 4relation, the all-zero blocks threshold value T of multiple M × M residual block can be drawn m× M, as 4 × 4 residual blocks, 8 × 8 residual blocks, 16 × 16 residual blocks and 32 × 32 residual blocks, according to SAD m × Mwith T m × Mrelationship Comparison, can adjudicate in advance the stand growth model in these residual blocks before HEVC code change amount changes operation, for the residual block for stand growth model, directly can skip the operation of its change quantization, and then save the change quantization operation that it is carried out, to reduce the computational complexity of HEVC cataloged procedure, improve code efficiency, save the scramble time.
Embodiment two
The present embodiment provides a kind of HEVC video coding apparatus, comprising:
Video signal input terminal, coding controller, memory, one or more processor and VT;
Coding controller carries out coding-control to the raw image data that video signal input terminal inputs;
Processor is for carrying out the computing of raw image data and inter prediction view data, and the residual values of the M × M residual block produced during computing is stored in the first address of memory;
One or more processor is also for performing the instruction comprised the following steps:
From the residual values of the first address detected M × M residual block;
Calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M;
By the all-zero blocks threshold value T calculated m × Mwith absolute error and the SAD of the residual values of M × M residual block m × Mrelatively;
If SAD m × M<T m × M, M × M residual block is stand growth model, then directly carry out change quantization assignment to the residual values of M × M residual block, and is stored in the second address of memory;
Otherwise M × M residual block is non-full zero block, then goes forward side by side line translation quantization operation from the residual values of the first address detected M × M residual block, and change quantization value is stored in the second address;
To being stored in the change quantization value of two address non-full zero block and the change quantization assignment of stand growth model carries out encoding operation, and the view data after encoding operation is exported from VT.
Wherein, the absolute error of the residual values of M × M residual block and SAD m × Mmeet relation:
SAD M &times; M = &Sigma; x = 0 M &Sigma; y = 0 M | e ( x , y ) | ,
Wherein, e (x, y) is the residual error data of M × M residual block, the i.e. residual values of M × M residual block.
In this embodiment, calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × Mstep specifically comprise following sub-step:
Processor first calculates the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4;
Again according to the relation between M × M and 4 × 4 transformation matrixs:
T M &times; M = M 4 &times; T 4 &times; 4
Obtain the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M.。
Calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4sub-step in, according to transform coefficient values and the change quantization formula of 4 × 4 residual blocks, calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4, the all-zero blocks threshold value T of calculating 4 × 4meet following relation:
1 25 &times; 2 qbit - offset Q [ q rem ] = T 4 &times; 4 ,
Wherein, offset=85<< (qbit-9), qbit=19+QP/6, QP are quantization parameter, q rem=QP%6.
All-zero blocks threshold value T 4 × 4the relation derivation process met is identical with embodiment one, repeats no more here.
In this embodiment, video coding apparatus adopts HEVC video encoding and decoding standard to carry out coding and decoding video, after raw image data is inputted by video signal input terminal, coding and decoding video starts, raw image data carries out encoding and decoding control through universal coding controller, processor can produce a large amount of residual blocks when carrying out the computing of raw image data and inter prediction view data, residual values corresponding to residual block is then stored in the first address of memory, afterwards, processor carries out change quantization operation according to the change quantization method of embodiment one, encoding operation flow process after change quantization operation is same as the prior art, please refer to Fig. 5, here repeat no more.
Video coding apparatus in this embodiment, owing to crossing the pre-judging process of the advanced row stand growth model in Cheng Qian at change quantization, and for the residual block for stand growth model obtained through pre-judging process, no longer carry out change quantization operation, this can reduce the computational complexity of HEVC cataloged procedure undoubtedly significantly for the HEVC cataloged procedure having a large amount of stand growth model to exist, thus improves code efficiency, save the scramble time, realize the quick conversion and quantification of HEVC Video coding.
It will be appreciated by those skilled in the art that, in above-mentioned execution mode, all or part of step of various method can be carried out instruction related hardware by program and completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory, random asccess memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, just understanding the present invention not in order to limit the present invention for helping.For one of ordinary skill in the art, according to thought of the present invention, can change above-mentioned embodiment.

Claims (6)

1. a change quantization method in HEVC Video coding, comprises the steps:
From the residual values of the M × M residual block produced when the first address detected raw image data and the computing of inter prediction view data of memory;
Calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M;
By the all-zero blocks threshold value T calculated m × Mwith absolute error and the SAD of the residual values of M × M residual block m × Mrelatively;
If SAD m × M<T m × M, M × M residual block is stand growth model, then directly carry out change quantization assignment to the residual values of M × M residual block, and is stored in the second address of memory;
Otherwise M × M residual block is non-full zero block, then goes forward side by side line translation quantization operation from the residual values of the first address detected M × M residual block, and change quantization value is stored in the second address.
2. change quantization method in HEVC Video coding as claimed in claim 1, is characterized in that, the all-zero blocks threshold value T that described calculating is corresponding with the residual values of M × M residual block m × mstep comprise following sub-step:
First calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4;
Again according to the relation between M × M and 4 × 4 transformation matrixs:
T M &times; M = M 4 &times; T 4 &times; 4
Obtain the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M.
3. as profit require as described in 2 HEVC Video coding in change quantization method, it is characterized in that, the all-zero blocks threshold value T that described calculating is corresponding with the residual values of 4 × 4 residual blocks 4 × 4sub-step in, according to transform coefficient values and the change quantization formula of 4 × 4 residual blocks, calculate the all-zero blocks threshold value T corresponding with the residual values of 4 × 4 residual blocks 4 × 4, the all-zero blocks threshold value T of calculating 4 × 4meet following relation:
1 25 &times; 2 qbit - offset Q [ q rem ] = T 4 &times; 4 ,
Wherein, offset=85<< (qbit-9), qbit=19+QP/6, QP are quantization parameter, q rem=QP%6.
4. change quantization method in the HEVC Video coding as described in as arbitrary in claim 1-3, it is characterized in that, the residual values of M × M residual block comprises the residual values of the residual values of 4 × 4 residual blocks, the residual values of 8 × 8 residual blocks, the residual values of 16 × 16 residual blocks and 32 × 32 residual blocks, the all-zero blocks threshold value T corresponding to the residual values of 8 × 8 residual blocks 8 × 8=2T 4 × 4; All-zero blocks threshold value T corresponding to the residual values of 16 × 16 residual blocks 16 × 16=4T 4 × 4; All-zero blocks threshold value T corresponding to the residual values of 32 × 32 residual blocks 32 × 32=8T 4 × 4.
5. change quantization method in the HEVC Video coding as described in as arbitrary in claim 1-3, is characterized in that, the absolute error of the residual values of M × M residual block and SAD m × Mmeet relation:
SAD M &times; M = &Sigma; x = 0 M &Sigma; y = 0 M | e ( x , y ) | ,
Wherein, e (x, y) is the residual values of M × M residual block.
6. a HEVC video coding apparatus, comprising:
Video signal input terminal, coding controller, memory, one or more processor and VT;
Coding controller carries out coding-control to the raw image data that video signal input terminal inputs;
Processor is for carrying out the computing of raw image data and inter prediction view data, and the residual values of the M × M residual block produced during computing is stored in the first address of memory;
One or more processor is also for performing the instruction comprised the following steps:
From the residual values of the first address detected M × M residual block;
Calculate the all-zero blocks threshold value T corresponding with the residual values of M × M residual block m × M;
By the all-zero blocks threshold value T calculated m × Mwith absolute error and the SAD of the residual values of M × M residual block m × Mrelatively;
If SAD m × M<T m × M, M × M residual block is stand growth model, then directly carry out change quantization assignment to the residual values of M × M residual block, and is stored in the second address of memory;
Otherwise M × M residual block is non-full zero block, then goes forward side by side line translation quantization operation from the residual values of the first address detected M × M residual block, and change quantization value is stored in the second address;
To being stored in the change quantization value of two address non-full zero block and the change quantization assignment of stand growth model carries out encoding operation, and the view data after encoding operation is exported from VT.
CN201380003163.9A 2013-07-29 2013-07-29 A conversion quantification method is HEVC video coding and a video coding device Pending CN104247418A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/080278 WO2015013850A1 (en) 2013-07-29 2013-07-29 Transformation and quantization method in hevc video coding and video coding device

Publications (1)

Publication Number Publication Date
CN104247418A true CN104247418A (en) 2014-12-24

Family

ID=52231762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380003163.9A Pending CN104247418A (en) 2013-07-29 2013-07-29 A conversion quantification method is HEVC video coding and a video coding device

Country Status (2)

Country Link
CN (1) CN104247418A (en)
WO (1) WO2015013850A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040785A (en) * 2016-02-04 2017-08-11 联发科技股份有限公司 The method and apparatus of image decoding and Image Coding
CN107566846A (en) * 2017-09-20 2018-01-09 北京维境视讯信息技术有限公司 Video coding skip mode decision-making technique, device, equipment and storage medium
CN107613292A (en) * 2016-07-11 2018-01-19 合肥君正科技有限公司 A kind of image complexity appraisal procedure and device
CN115174908A (en) * 2022-06-30 2022-10-11 北京百度网讯科技有限公司 Transform quantization method, apparatus, device and storage medium for video coding

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770863A (en) * 2004-11-02 2006-05-10 华为技术有限公司 Method for confirming zero block pre-determination condition and zero block pre-determination method
CN101795404A (en) * 2009-10-21 2010-08-04 深圳市融创天下科技发展有限公司 Quantized step size based zero block threshold value determination method and zero block prejudging method
CN102447907A (en) * 2012-01-31 2012-05-09 北京工业大学 Video sequence coding method aiming at HEVC (High Efficiency Video Coding)
US20120189052A1 (en) * 2011-01-24 2012-07-26 Qualcomm Incorporated Signaling quantization parameter changes for coded units in high efficiency video coding (hevc)
CN102685499A (en) * 2012-05-07 2012-09-19 西安交通大学 All-zero-block detection method based on energy conservation law

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770863A (en) * 2004-11-02 2006-05-10 华为技术有限公司 Method for confirming zero block pre-determination condition and zero block pre-determination method
CN101795404A (en) * 2009-10-21 2010-08-04 深圳市融创天下科技发展有限公司 Quantized step size based zero block threshold value determination method and zero block prejudging method
US20120189052A1 (en) * 2011-01-24 2012-07-26 Qualcomm Incorporated Signaling quantization parameter changes for coded units in high efficiency video coding (hevc)
CN102447907A (en) * 2012-01-31 2012-05-09 北京工业大学 Video sequence coding method aiming at HEVC (High Efficiency Video Coding)
CN102685499A (en) * 2012-05-07 2012-09-19 西安交通大学 All-zero-block detection method based on energy conservation law

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040785A (en) * 2016-02-04 2017-08-11 联发科技股份有限公司 The method and apparatus of image decoding and Image Coding
CN107040785B (en) * 2016-02-04 2020-01-14 联发科技股份有限公司 Method for decoding and encoding images
CN107613292A (en) * 2016-07-11 2018-01-19 合肥君正科技有限公司 A kind of image complexity appraisal procedure and device
CN107613292B (en) * 2016-07-11 2020-04-07 合肥君正科技有限公司 Image complexity evaluation method and device
CN107566846A (en) * 2017-09-20 2018-01-09 北京维境视讯信息技术有限公司 Video coding skip mode decision-making technique, device, equipment and storage medium
CN107566846B (en) * 2017-09-20 2020-04-14 北京字节跳动网络技术有限公司 Video coding skipping mode decision method, device, equipment and storage medium
CN115174908A (en) * 2022-06-30 2022-10-11 北京百度网讯科技有限公司 Transform quantization method, apparatus, device and storage medium for video coding
CN115174908B (en) * 2022-06-30 2023-09-15 北京百度网讯科技有限公司 Transformation quantization method, device, equipment and storage medium for video coding

Also Published As

Publication number Publication date
WO2015013850A1 (en) 2015-02-05

Similar Documents

Publication Publication Date Title
CN102640497B (en) Video encoding device and video decoding device
RU2013144932A (en) TRANSFER CODING CODING FOR VIDEO CODING
CN1933601A (en) Method of and apparatus for lossless video encoding and decoding
KR20130140190A (en) Methods and devices for coding and decoding the position of the last significant coefficient
CN102256133B (en) Distributed video coding and decoding method based on side information refining
CN103220511A (en) Logical intra mode naming in HEVC video coding
JP2010045832A5 (en)
CN104247418A (en) A conversion quantification method is HEVC video coding and a video coding device
JP6075468B2 (en) Harmonization of coefficient coding in HEVC
RU2011117669A (en) VIDEO CODING USING MORE CONVERSION THAN 4 × 4 AND 8 × 8
CN104349167A (en) Adjustment method of video code rate distortion optimization
CN106341689B (en) A kind of optimization method and system of AVS2 quantization modules and inverse quantization module
CN104539949A (en) HEVC screen coding quick slicing based on edge directions
JP2017538379A5 (en)
US20130101029A1 (en) Multimedia data encoding
CN105704498A (en) Method and device for inverse discrete cosine transform, video coding/decoding method and frame
CN103796033B (en) Efficient video coding zero-coefficient early detection method
CN103237223B (en) LCU based on entropy divides fast
CN108683915B (en) Method and device for writing dQP value and electronic equipment
CN104185025B (en) High efficiency video coding all-zero 4*4 coefficient block early detection method
CN105812824A (en) Video image encoding method and device
CN103957413A (en) Real-time error-code concealment method and device for mobile network video communication application
CN102685499A (en) All-zero-block detection method based on energy conservation law
JP2015076765A5 (en) Image processing apparatus, control method therefor, encoding apparatus, and computer program
JP6875800B2 (en) Super-resolution frame selection device, super-resolution device, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141224