CN107493475B - Quantization level capture device and method - Google Patents

Quantization level capture device and method Download PDF

Info

Publication number
CN107493475B
CN107493475B CN201710823352.0A CN201710823352A CN107493475B CN 107493475 B CN107493475 B CN 107493475B CN 201710823352 A CN201710823352 A CN 201710823352A CN 107493475 B CN107493475 B CN 107493475B
Authority
CN
China
Prior art keywords
quantization
interception
range
quantization level
level
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
Application number
CN201710823352.0A
Other languages
Chinese (zh)
Other versions
CN107493475A (en
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.)
HFI Innovation Inc
Original Assignee
HFI Innovation Inc
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
Priority claimed from PCT/CN2011/084083 external-priority patent/WO2013086724A1/en
Application filed by HFI Innovation Inc filed Critical HFI Innovation Inc
Publication of CN107493475A publication Critical patent/CN107493475A/en
Application granted granted Critical
Publication of CN107493475B publication Critical patent/CN107493475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • 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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • 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/18Methods 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 a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Landscapes

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

Abstract

The present invention provides a kind of quantization level capture device and method.Multiple embodiments according to the present invention avoid the spilling of the transformation coefficient after quantization by adaptively intercepting quantization level after quantization.In one embodiment, the method includes: being quantified according to quantization matrix and quantization parameter to the transformation coefficient of converter unit, to generate the quantization level of transformation coefficient.It determines interception condition, and quantization level is intercepted according to interception condition, to generate the quantization level after intercepting process.Interception condition includes empty interception condition.Quantization level interception under the conditions of sky interception is the fixed range indicated with n, and wherein n corresponds to 8,16 or 32.Quantization level can also be intercepted in the range of by-m to m-1 under the conditions of sky interception, and wherein m can correspond to 128,32768 or 2147483648.

Description

Quantization level capture device and method
The relevant information of divisional application
This case be the applying date be on December 14th, 2012, application No. is 20128005463.6 and it is entitled " quantization electricity It is truncate to take device and method " invention patent application case divisional application.
Technical field
The invention relates to Video codings, more specifically, the invention relates to efficient video coding (High Efficiency Video Coding, HEVC) quantization level (quantization level) interception (clipping).
Background technique
HEVC is by Video coding joint group (Joint Collaborative Team on Video Coding, JCT- VC) the new International video coding standard of one kind of exploitation.HEVC is used based on mixing block (hybrid block-based) Transition coding (the DCT- of the similar discrete cosine transform (Discrete Cosine Transformation, DCT) of motion compensation Like transform coding) framework.Basic unit for compression is known as coding unit (Coding Unit, CU), is 2N × 2N square, and each CU can (recursively) cutting be recursively four smaller CU, until reaching scheduled minimum Size.Each CU includes the variable predicting unit (Prediction Unit, PU) and converter unit of one or more resource block sizes (Transform Unit,TU).For each PU, intra-frame image prediction or inter frame image prediction are selected.Each TU carries out space Block transform processing, then quantifies the transformation coefficient of each TU.The smallest TU that HEVC allows is having a size of 4 × 4.
The quantization of transformation coefficient plays an important role in bit rate and the quality control of Video coding.Quantization step collection shares In by quantization of transform coefficients be quantization level.Larger quantization step size will lead to lower bit rate and lower quality. On the other hand, lesser quantization step size can generate higher bit rate and higher quality.The direct implementation of quantification treatment Mode includes cutting operation, and cutting operation is more complicated in hardware based embodiment, and in software-based embodiment party More computing resources can be consumed in formula.Correspondingly, this field develops the various technologies for freely dividing quantification treatment.? In HEVC test model version 5 (HEEV Test Model Revision 5, HM-5.0), quantification treatment is described as follows.Parameter Set is defined as:
The bit wide (bit width) or bit depth (bit depth) in B=input video source
DB=B-8
The transform size of N=TU
M=log2 (N)
Q [x]=f (x), wherein f (x)={ 26214,23302,20560,18396,16384,14564 }, x=0 ..., 5, And IQ [x]=g (x), wherein g (x)={ 40,45,51,57,64,72 }, x=0 ..., 5.
Q [x] and IQ [x] are known as being referred to as quantization step and inverse quantization step-length.Quantization operation executes according to the following formula:
Qlevel=(coeff*Q [QP%6]+offset) > > (21+QP/6-M-DB), wherein
Offset=1 < < (20+QP/6-M-DB), (1)
Wherein " % " is modulus operator (modulo operator).Inverse quantization operation executes according to the following formula:
CoeffQ=((qlevel*IQ [QP%6]<<(QP/6))+offset)>>(M-1+DB), wherein
Offset=1 < < (M-2+DB). (2)
Variable qlevel in formula (1) and formula (2) indicates the quantization level of transformation coefficient.Variable coeffQ in formula (2) Indicate inverse quantization parameter.IQ [x] indicates that inverse quantization step-length (also referred to as inverse quantization step size) and QP indicate quantization parameter. " QP/6 " in formula (1) and formula (2) indicates QP divided by 6 later integer parts.As shown in formula (1) and formula (2), quantization and inverse Change operation by carrying out arithmetic shift (arithmetic after multiplication of integers (integer multiplication) again Shift) implement.It added deviant (offset value) in formula (1) and formula (2), be rounded (rounding) to use To implement integer conversion (integer conversion).
For HEVC, the bit depth of quantization level is 16 (including 1 bit flag position).In other words, quantization level is expressed as 2 Byte (byte) or 16 words (word).Since the dynamic range of IQ (x)≤72 and QP≤51, IQ [x] are 7, and " < < (QP/6) " operator executes left side arithmetic shift to 8.Correspondingly, inverse quantization transformation coefficient coeffQ (i.e. " (qlevel*IQ [QP%6]) < < (QP/6) ") dynamic range be 31 (16+7+8).Therefore, inverse quantization operation described in formula (2) will not be led It causes to overflow (overflow), because inverse quantization operation uses 32 data representations.
However, inverse quantization operation may be modified such that formula (3) to shown in formula (5) when introducing quantization matrix:
IShift=M-1+DB+4. (3)
If (iShift > QP/6),
CoeffQ [i] [j]=(qlevel [i] [j] * W [i] [j] * IQ [QP%6]+offset) > > (iShift-QP/6), Wherein offset=1 < < (iShift-QP/6-1), wherein i=0 ... nW-1, j=0..nH-1 (4)
Otherwise
CoeffQ [i] [j]=(qlevel [i] [j] * W [i] [j] * IQ [QP%6]) < < (QP/6-iShift) (5)
Wherein, " [i] [j] " indicates the position (also referred to as pointer) of transformation coefficient in converter unit, and W indicates quantization matrix, NW and nH is the width and height of transformation.If the dynamic range of the quantization level of n representation transformation coefficient, dynamic range n are necessary Meet the following conditions to avoid spilling:
n+w+iq+QP/6-M+DB-3≤32, (6)
Wherein w is the dynamic range of quantization matrix W, and iq is for the dynamic range of IQ [x] and the bit depth of inverse quantization or again The transformation coefficient built is 32.
If the dynamic range of quantization matrix W is 8, when working as QP=51, M=2 and DB=0, formula (3) to formula (5) is retouched The dynamic range of the transformation coefficient for the reconstruction stated becomes 34 (16+8+7+3).When inverse quantization operation uses 32 data representations When, the transformation coefficient of the reconstruction obtained according to equation formula (3) to formula (5) may overflow and lead to thrashing.Therefore, it is necessary to A kind of transformation coefficient re-establishment mechanism is developed, to avoid possible spilling.
Summary of the invention
In view of this, the present invention provides a kind of quantization level capture device and method.
Multiple embodiments according to the present invention are become by adaptively intercepting quantization level after quantization to avoid quantization Change the spilling of coefficient.In an embodiment of the present invention, this method includes according to quantization matrix and quantization parameter to converter unit Transformation coefficient is quantified, to generate the quantization level of the transformation coefficient of converter unit;Based on quantization matrix, quantization parameter, view Frequency source bit depth, transform size of converter unit or any combination thereof, determine interception condition, wherein interception condition includes empty interception Condition;And quantization level is intercepted according to interception condition, to generate the quantization level after intercepting process.The quantization level is cut Quantization level after taking the interception that can correspond to unconditional fixed range, and interception indicates that wherein n can be right using n It should be in 8,16 or 32.The interception of the quantization level can also correspond to the interception and quantization level of unconditional fixed range It is intercepted in the range of by-m to m-1, wherein m can correspond to 128,32768 or 2147483648.
Quantization level intercept method according to an embodiment of the invention, is suitable for video encoder, and the quantization level is cut It takes the method to include: the transformation coefficient of converter unit being quantified according to quantization matrix and quantization parameter, to generate the transformation The quantization level of coefficient;Determine that being suitable for fixed range interception condition and dynamic range intercepts condition in the video encoder In one or combined interception range;The quantization level is intercepted according to the interception range, after generating intercepting process Quantization level;And wherein, under the conditions of the fixed range intercepts, the quantization level is truncated to the fixation of-m to m-1 Range is intercepted, and m corresponds to 128,32768 or 2147483648.When determining that the interception range is to be applicable in the dynamic range When interception condition, the determination of the interception range is based on the quantization matrix, the quantization parameter, inverse quantization step-length, video Source bit depth, the transform size of the converter unit or above-mentioned any combination.Based on the video source bit depth, by the quantization Level interception is the first range or the second range.The interception range is determined by the way that the first weighted value is made comparisons with threshold value , wherein first weighted value corresponds to the quantization matrix, the quantization parameter, the video source bit depth, the change Change the transform size of unit or first linear function of above-mentioned any combination.The threshold value corresponds to fixed value or the second power Weight values, wherein second weighted value corresponds to the quantization matrix, quantization parameter, the video source bit depth, described The transform size of converter unit or second linear function of above-mentioned any combination.The fixed range intercepts the described of condition Intercept the video source bit depth that range is suitable for being more than or equal to 10.The quantization level after intercepting process uses n To indicate.N can correspond to 8,16 or 32.
Quantization level capture device according to an embodiment of the invention, is suitable for video encoder, and the quantization level is cut It takes the device to include: the transformation coefficient of converter unit being quantified according to quantization matrix and quantization parameter, to generate the transformation The device of the quantization level of coefficient;Determine that being suitable for fixed range interception condition and dynamic range cuts in the video encoder Take the device of the interception range of one in condition or combination;The quantization level is intercepted according to the interception range, to generate The device of quantization level after intercepting process;And wherein, under the conditions of the fixed range intercepts, the quantization level is cut It is taken as the fixed interception range of-m to m-1, and m corresponds to 128,32768 or 2147483648.
Computer readable storage medium according to an embodiment of the invention stores computer program, and described program is in quilt In being realized when processor executes the step of above-mentioned quantization level intercept method.
Quantization level capture device according to an embodiment of the invention, is suitable for video encoder, and the quantization level is cut Take the device to include: processor is coupled to memory, and when processor program stored in executing the memory executes The step of above-mentioned quantization level intercept method.
Using quantization level capture device provided by the present invention and method, one of advantage is to can avoid transformation coefficient It is overflowed in inverse quantization or reconstruction operation.
Detailed description of the invention
Fig. 1, which is shown, intercepts transformation coefficient in conjunction with one embodiment of the invention to avoid the preferable flow chart of spilling.
Specific embodiment
As previously mentioned, above-mentioned parameter inverse quantization (or reconstruction) operation may overflow when introducing quantization matrix.For It avoids rebuilding the phase in transformation coefficient and potentially overflow, multiple embodiments according to the present invention limit before executing inverse quantization operation Determine the quantization level of transformation coefficient.The dynamic range of the quantization level of transformation coefficient is indicated by Integer n.In formula (3) to formula (5) institute In the embodiment of description, if inverse quantization (or reconstruction) transformation coefficient uses 32 data representations, the dynamic range of n is no more than 32 Position.Correspondingly, n needs to meet following limitation:
n+8+7+(QP/6-(M-1+DB+4))≤32, (7)
It is derived there
n≤20+M+DB-QP/6. (8)
In this case, the quantization level qlevel of transformation coefficient can be intercepted according to formula (9):
Qlevel=max (- 2n-1,min(2n-1-1,qlevel)) (9)
In order to avoid overflowing, the dynamic range needs of the quantization level of transformation coefficient are limited according to formula (8).According to formula (8), n is necessarily less than or is equal to (20+M+DB-QP/6) to avoid spilling.However, since quantization level in the present embodiment is by 16 Position indicates (that is, bit depth=16 of quantization level), and therefore, n is no more than 16.Correspondingly, if (20+M+DB-QP/6) is greater than 16, then the quantization level of transformation coefficient needs to intercept the range for being no more than 16 data representations for one.Following pseudo-code (pseudo Codes) (pseudo-code A) display quantization level according to an embodiment of the invention that transformation coefficient is intercepted during transformation coefficient is rebuild The example that qlevel overflows to avoid data:
Pseudo-code A:
As shown in pseudo-code A, two interception ranges are used for two different interception conditions.First interception condition corresponds to " 20+ The interception condition of M+B-8-QP/6>=16 " and second corresponds to " 20+M+B-8-QP/6<16 ".First interception range corresponds to solid Fixed interception range, i.e., (- 215,215- 1) and the second interception range corresponds to (- 220+M+DB-QP/6-1,220+M+DB-QP/6-1).When When test condition " if (20+M+DB-QP/6 >=16) " is used for above-mentioned preferable pseudo-code A, other test conditions be can also be used.For example, The bit depth B of video source can be used to replace parameter DB for test condition.Test condition become " if (20+M+B-8-QP/6 >= 16) ", i.e., " if (12+M+B-QP/6 >=16) ".Corresponding pseudo-code (pseudo-code B) becomes:
Pseudo-code B:
If the bit depth of video source is 8 (DB=0) and transform size is 4 × 4, formula (8) can simplify are as follows:
n≤22-QP/6 (10)
Therefore, test condition " if (12+M+B-QP/6 >=16) " in this case becomes " if (22-QP/6 >=16) ". Test condition can be further simplified as " if (QP≤36) ".Therefore, for there is the video source of fixed dynamic range, root QP is only dependent upon according to the intercept operation of the quantization level of the transformation coefficient of another embodiment of the present invention.It is as follows preferably pseudo- for one Code (pseudo-code C):
Pseudo-code C:
When the bit depth of video source is 10 or higher, i.e. DB >=2, the condition in formula (7) always meets.In this respect Under, 16 interceptions, that is, qlevel=max (- 215,min(215- 1, qlevel)) or qlevel=max (- 32,768, min (32,767, qlevel)), it is always unconditional to use.When being equal to 10 or higher unconditional execution interception for bit depth, become The quantization level for changing coefficient can also unconditionally be intercepted to required bit depth rather than the bit depth of video source.Required locating depth It can be [- 128,127] that degree, which can be 8,16 or 32 and corresponding interception range, [- 32768,32767] and [- 2147483648,2147483647]。
Three preferable pseudo-code descriptions in conjunction with the embodiment of the present invention are as above.These pseudo-codes are intended to indicate that in transformation coefficient The preferable operation for avoiding data to overflow during reconstruction.Other test conditions can be used to realize the present invention for those skilled in the art. For example, compared to test " if (QP≤36) ", it is possible to use test condition " if (QP/6≤6) ".In another embodiment, it cuts Other functions can be used to implement for extract operation, and such as cutted function clip (x, y, z), wherein variable z is intercepted between x and y (x<y).The intercept operation of pseudo-code C can be expressed as:
Qlevel=clip (- 215,215- 1, qlevel), and
Qlevel=clip (- 221-QP/6,221-QP/6-1,qlevel)
In above-mentioned multiple embodiments, design parameter combines various embodiments of the present invention to avoid data spilling for illustrating Inverse quantization operation.Used design parameter is not construed as limiting the invention.Those skilled in the art can be based on offer The test of parameter modification interception condition.For example, if inverse quantization step-length has 6 dynamic ranges rather than 7 dynamic ranges, formula (8) limitation becomes n≤19+M+DB-QP/6.Corresponding interception condition test in pseudo-code A become " if (19+M+DB-QP/6 > =16) ".
Above-mentioned quantization level intercept operation is executed in decoder end, and quantization level intercept operation can also compiled after quantization Code device end executes.In order to avoid potentially overflowing, multiple embodiments according to the present invention limit change after executing quantization operation Change the quantization level of coefficient.Interception condition can be based on quantization matrix, quantization parameter, inverse quantization step-length, video source bit depth, transformation Transform size of unit or any combination thereof.Interception condition may also comprise be not provided with interception condition sky cut (null) take condition. In other words, empty condition corresponds to and always intercepts quantization level to the unconditional interception of a range.In one embodiment, it measures Change level can under the conditions of the first interception interception to the first range and quantization level can under the conditions of the second interception interception to the Two ranges.First range can correspond to fixed range related with quantization level bit depth and the second range can be with quantization electricity Flat dynamic range is related.Interception condition can be determined by the way that the first weighted value is made comparisons with threshold value, wherein the first weighted value Corresponding to quantization matrix, quantization parameter, video source bit depth, converter unit transform size or any combination thereof it is first linear Function.In addition, threshold value can correspond to fixed value or the second weighted value, wherein the second weighted value corresponds to quantization matrix, quantization ginseng Number, video source bit depth, converter unit transform size or any combination thereof the second linear function.
The quantization level of transformation coefficient can also unconditionally be intercepted to required bit depth rather than the bit depth of video source.It is required Bit depth can be 8,16 or 32 and corresponding interception range can be [- 128,127], [- 32768,32767] and [- 2147483648,2147483647]。
Fig. 1 show the interception quantization level for Video Decoder in conjunction with one embodiment of the invention to avoid spilling Preferable flow chart.In step 110, the transformation coefficient of converter unit is quantified according to quantization matrix and quantization parameter, with Generate the quantization level of transformation coefficient.In the step 120, quantization matrix, quantization parameter, inverse quantization step-length, video source position are based on Depth, transform size of converter unit or any combination thereof, determine interception condition, wherein interception condition includes empty interception condition. Then, in step 130, quantization level is intercepted according to interception condition, to generate the quantization level after intercepting process.
Flow chart in Fig. 1 is intended to indicate that the quantization level interception for video encoder is overflow to avoid quantization level Example out.Those skilled in the art can by rearrange these steps, split one or more steps or group unification or Multiple steps realize the present invention.
Foregoing description can make those skilled in the art with specific application provided by above and require to implement the present invention. The various deformation of above-described embodiment can be illustrated in those skilled in the art, and basic principle defined here can be applied to other realities Apply example.Therefore, the present invention is not limited in above-mentioned illustrated and described specific embodiment, but describes to meet and take off with this place The consistent most wide range of the principle and notable feature of dew.In foregoing detailed description, various details be can provide to this The comprehensive understanding of invention.However, those skilled in the art work as and are appreciated that how the present invention is implemented.
Implementable the above embodiment of the present invention is hardware, software code or combinations thereof.For example, the embodiment of the present invention can be The program code integrated in the circuit or video compression software integrated in video compress chip, for executing this place The processing stated.One embodiment of the invention can also be the digital signal processor (Digital for executing processing described herein Signal Process, DSP) on performed program code.The present invention also may include by computer processor, Digital Signal Processing It is multiple performed by device, microprocessor or field effect programmable gate array (Field Programmable Gate Array, FPGA) Function.These processors can be configured to according to the present invention can by the machine that execution defines presently embodied ad hoc approach Software code or firmware code are read to execute particular task.Different programming languages can be used to mention not for software code or firmware code With format or type develop.Software code also may conform to different target platforms.However, the different codes of software code Format, type and language and configuration code to execute the other modes of task according to the present invention, all without departing from spirit of the invention And range.
The present invention can be presented as other concrete forms in the case where not departing from spirit or important feature.Above-mentioned implementation Example is for illustration purposes only, not to limit.Therefore protection scope of the present invention is when view appended claims institute defender Subject to.Any made equalization met in the spirit and scope of the present invention sexually revises, and falls within the scope of the present invention.

Claims (17)

1. a kind of quantization level intercept method is suitable for video encoder, the method includes:
The transformation coefficient of converter unit is quantified according to quantization matrix and quantization parameter, to generate the amount of the transformation coefficient Change level;
Determined in the video encoder one be suitable for fixed range interception condition and dynamic range interception condition or Combined interception range;And
The quantization level is intercepted according to the interception range, to generate the quantization level after intercepting process;
Wherein, under the conditions of the fixed range intercepts, the quantization level is truncated to the fixed interception range of-m to m-1, And m corresponds to 128,32768 or 2147483648.
2. the method according to claim 1, wherein when determining that the interception range is to be applicable in the dynamic range When interception condition, the determination of the interception range is based on the quantization matrix, the quantization parameter, inverse quantization step-length, video Source bit depth, the converter unit transform size in one or above-mentioned any combination.
3. according to the method described in claim 2, it is characterized in that, the video source bit depth is based on, by the quantization level Interception is the first range or the second range.
4. according to the method described in claim 2, it is characterized in that, the interception range is by by the first weighted value and threshold value It makes comparisons to determine, wherein first weighted value corresponds to the quantization matrix, the quantization parameter, the video source First linear function of bit depth, the transform size of the converter unit or above-mentioned any combination.
5. according to the method described in claim 4, it is characterized in that, the threshold value correspond to fixed value or the second weighted value, Described in the second weighted value correspond to the quantization matrix, the quantization parameter, the video source bit depth, the converter unit The transform size or above-mentioned any combination the second linear function.
6. the method according to claim 1, wherein the interception range of fixed range interception condition is suitable For being more than or equal to 10 video source bit depth.
7. the method according to claim 1, wherein the quantization level after intercepting process carrys out table using n Show.
8. the method according to the description of claim 7 is characterized in that n corresponds to 8,16 or 32.
9. a kind of video coding apparatus for quantization level interception, described device includes at least one circuit, the circuit quilt It is configured to:
The transformation coefficient of converter unit is quantified according to quantization matrix and quantization parameter, to generate the amount of the transformation coefficient Change level;
Determined in the video encoder one be suitable for fixed range interception condition and dynamic range interception condition or Combined interception range;And
The quantization level is intercepted according to the interception range, to generate the quantization level after intercepting process;
Wherein, under the conditions of the fixed range intercepts, the quantization level is truncated to the fixed interception range of-m to m-1, And m corresponds to 128,32768 or 2147483648.
10. device according to claim 9, which is characterized in that when determining that the interception range is to be applicable in the dynamic model When enclosing interception condition, the determination of the interception range is based on the quantization matrix, the quantization parameter, inverse quantization step-length, view Frequency source bit depth, the converter unit transform size in one or above-mentioned any combination.
11. device according to claim 10, which is characterized in that the video source bit depth is based on, by the quantization electricity It is truncate to be taken as the first range or the second range.
12. device according to claim 10, which is characterized in that the interception range is by by the first weighted value and threshold Value is compared to determining, wherein first weighted value corresponds to the quantization matrix, the quantization parameter, the view First linear function of frequency source bit depth, the transform size of the converter unit or above-mentioned any combination.
13. device according to claim 12, which is characterized in that the threshold value corresponds to fixed value or the second weighted value, Wherein second weighted value corresponds to the quantization matrix, the quantization parameter, the video source bit depth, transformation list The transform size of member or second linear function of above-mentioned any combination.
14. device according to claim 9, which is characterized in that the interception range of the fixed range interception condition Suitable for being more than or equal to 10 video source bit depth.
15. device according to claim 9, which is characterized in that the quantization level after intercepting process carrys out table using n Show.
16. device according to claim 15, which is characterized in that n corresponds to 8,16 or 32.
17. a kind of video coding apparatus for quantization level interception, includes:
Processor, in executing memory when stored program, perform claim requires quantization level described in any one of 1-8 The step of intercept method.
CN201710823352.0A 2011-12-15 2012-12-14 Quantization level capture device and method Active CN107493475B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
PCT/CN2011/084083 WO2013086724A1 (en) 2011-12-15 2011-12-15 Method of clippling transformed coefficients before de-quantization
CNPCT/CN2011/084083 2011-12-15
CN201280054630.6A CN103959780B (en) 2011-12-15 2012-12-14 Quantization level capture device and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201280054630.6A Division CN103959780B (en) 2011-12-15 2012-12-14 Quantization level capture device and method

Publications (2)

Publication Number Publication Date
CN107493475A CN107493475A (en) 2017-12-19
CN107493475B true CN107493475B (en) 2019-05-17

Family

ID=51334889

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710823352.0A Active CN107493475B (en) 2011-12-15 2012-12-14 Quantization level capture device and method
CN201280054630.6A Active CN103959780B (en) 2011-12-15 2012-12-14 Quantization level capture device and method

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201280054630.6A Active CN103959780B (en) 2011-12-15 2012-12-14 Quantization level capture device and method

Country Status (1)

Country Link
CN (2) CN107493475B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602014B (en) * 2015-01-22 2018-04-03 复旦大学 A kind of quantization suitable for HEVC standard and inverse quantization hardware multiplexing algorithm and hardware configuration
CN106028032B (en) * 2016-05-24 2019-03-26 西安电子科技大学 A kind of coefficient level adaptation quantization method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2154895A1 (en) * 2008-08-15 2010-02-17 Thomson Licensing Method and apparatus for entropy encoding blocks of transform coefficients of a video signal using a zigzag scan sequence, and method and apparatus for a corresponding decoding
US7778813B2 (en) * 2003-08-15 2010-08-17 Texas Instruments Incorporated Video coding quantization
CN102037729A (en) * 2006-06-26 2011-04-27 高通股份有限公司 Efficient fixed-point approximations of forward and inverse discrete cosine transforms
CN102271258A (en) * 2011-08-03 2011-12-07 中山大学深圳研究院 Method and device for video coding aiming at low coding rate
CN102577379A (en) * 2009-10-05 2012-07-11 汤姆逊许可证公司 Methods and apparatus for embedded quantization parameter adjustment in video encoding and decoding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8385424B2 (en) * 2006-06-26 2013-02-26 Qualcomm Incorporated Reduction of errors during computation of inverse discrete cosine transform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778813B2 (en) * 2003-08-15 2010-08-17 Texas Instruments Incorporated Video coding quantization
CN102037729A (en) * 2006-06-26 2011-04-27 高通股份有限公司 Efficient fixed-point approximations of forward and inverse discrete cosine transforms
EP2154895A1 (en) * 2008-08-15 2010-02-17 Thomson Licensing Method and apparatus for entropy encoding blocks of transform coefficients of a video signal using a zigzag scan sequence, and method and apparatus for a corresponding decoding
CN102577379A (en) * 2009-10-05 2012-07-11 汤姆逊许可证公司 Methods and apparatus for embedded quantization parameter adjustment in video encoding and decoding
CN102271258A (en) * 2011-08-03 2011-12-07 中山大学深圳研究院 Method and device for video coding aiming at low coding rate

Also Published As

Publication number Publication date
CN103959780B (en) 2017-10-13
CN107493475A (en) 2017-12-19
CN103959780A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
US9749635B2 (en) Method and apparatus for quantization level clipping
Meyer et al. Glicbawls-Grey Level Image Compression by Adaptive Weighted Least Squares.
Lee et al. Energy-efficient image compression for resource-constrained platforms
US20190098321A1 (en) Digital image recompression
JP2014509108A (en) 32-point conversion for media data coding
JP2005198328A (en) Method for reduced bit-depth quantization
CN107493475B (en) Quantization level capture device and method
CN103975592B (en) The method and device of inverse quantization conversion coefficient
KR102250088B1 (en) Method and Apparatus for decoding video stream
JP4315980B2 (en) Image compression apparatus, image compression method, and image compression program product
US10750206B2 (en) Method for encoding and decoding images, device for encoding and decoding images, and corresponding computer programs
CN101742298B (en) Virtual decimal inverse discrete cosine transforming method for embedded real-time decoder
JP2008236090A (en) Color space conversion apparatus and method, information processor, computer program, and information recording medium
CN116132759B (en) Audio and video stream synchronous transmission method and device, electronic equipment and storage medium
US11412219B2 (en) Image decoding device, image decoding method, and program
Aritspoundy et al. Machine Instruction Analysis For Dct Algorithm Using Dlx Architecture
JPWO2021139572A5 (en)
Deshmukh et al. Time Efficient FPGA Overlay for Compute Intensive JPEG Compression Blocks for Real Time Applications
RU2500032C1 (en) Method of compressing graphics files
Nesamani et al. Implemenation of simplified architecture of JPEG 2000 MQ coder
JPH10116267A (en) Arithmetic unit and information processor
US20020191845A1 (en) Method and apparatus for improving decompression and color space conversion speed
Tang et al. Network Aware Compression Based Rate Control for Printing System
KR20030023816A (en) Device for shape adaptive DCT/IDCT algorithm
JP2007060000A (en) Device and program for compressing data, and data transfer system

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