CN107371027A - Bit-rate control method and video coding apparatus - Google Patents

Bit-rate control method and video coding apparatus Download PDF

Info

Publication number
CN107371027A
CN107371027A CN201610308197.4A CN201610308197A CN107371027A CN 107371027 A CN107371027 A CN 107371027A CN 201610308197 A CN201610308197 A CN 201610308197A CN 107371027 A CN107371027 A CN 107371027A
Authority
CN
China
Prior art keywords
parameter
list
coding
frame
index
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
CN201610308197.4A
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.)
MStar Semiconductor Inc Taiwan
Original Assignee
MStar Semiconductor Inc Taiwan
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 MStar Semiconductor Inc Taiwan filed Critical MStar Semiconductor Inc Taiwan
Priority to CN201610308197.4A priority Critical patent/CN107371027A/en
Publication of CN107371027A publication Critical patent/CN107371027A/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/146Data rate or code amount at the encoder output
    • 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
    • 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/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • H04N19/197Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters including determination of the initial value of an encoding parameter

Abstract

The present invention proposes a kind of bit-rate control method, for a video coding apparatus, the bit-rate control method includes according to the one first frame level parameter for corresponding to one first frame (Frame), establish a parameter list, and the parameter list is stored in the one of the video coding apparatus and tabled look-up (Lookup Table, LUT) unit;The parameter list stored by the lookup unit is read, according to the parameter list and the target component corresponding to an encoded block in first frame, to obtain at least coding parameter corresponding to the encoded block;And according to an at least coding parameter, the encoded block of first frame is encoded.

Description

Bit-rate control method and video coding apparatus
Technical field
The present invention refers to a kind of bit-rate control method and video coding apparatus, and espespecially a kind of obtained with lookup table mode corresponds to In the bit-rate control method and video coding apparatus of the coding parameter of encoded block.
Background technology
Bit-Rate Control Algorithm (Rate Control) is a basic assignment in Video coding.In transmission of video and stored Cheng Dangzhong, network bandwidth, storage resources are all limited, and the effect of Bit-Rate Control Algorithm is exactly to ensure Video coding to greatest extent On the premise of quality, Video coding is carried out for different coding parameter so that video code flow (Video Stream) energy of output It is enough to meet transmission and storage limitation.Therefore, application of the Bit-Rate Control Algorithm for video encoding standard has extremely important effect.
On the other hand, it is known that technology is had been developed using software collocation hardware structure (i.e. software-hardware synergism framework) to carry out The computing of Video coding, in general, software can only handle computing of the frame level not more than (Frame Level), and frame level not with Under encoding operation then performed by hardware.Specifically, calculated by software according to different models corresponding to a frame (Frame) coding parameter, and hardware can be carried out according to the frame level parameter that software is calculated to multiple encoded blocks of the frame Coding.It is noted that even if aforesaid plurality of encoded block can have different target positions per pixel (Target Bits per Pixel, Target Bpp), hardware is still carried out with the frame level parameter that aforementioned software is calculated to multiple encoded blocks of the frame Coding, i.e. encoded block all in the frame when Video coding all apply mechanically identical coding parameter, and (i.e. software is calculated Frame level parameter), and cause the Video coding to the frame not fine enough so that the bad economic results of Bit-Rate Control Algorithm.Additionally, it is known that compile Code parameter is calculated to obtain all in accordance with different models by software, and has higher computation complexity.It is thus known that technology has in fact Improved necessity.
The content of the invention
Therefore, the main object of the present invention is to provide a kind of bit-rate control method and video coding apparatus, to change The shortcomings that kind known technology.
The present invention proposes a kind of bit-rate control method, and for a video coding apparatus, the bit-rate control method includes The with good grounds one first frame level parameter for corresponding to one first frame (Frame), establishes a parameter list, and the parameter list is stored in into this The one of video coding apparatus tables look-up (Lookup Table, LUT) unit;The parameter list stored by the lookup unit is read, with According to the parameter list and the target component corresponding to an encoded block in first frame, obtain and correspond to the encoded block extremely A few coding parameter;And according to an at least coding parameter, the encoded block of first frame is encoded.
The present invention separately proposes a kind of video coding apparatus, includes a lookup unit, for storing a parameter list;One processing Unit;One storage element, for storing a procedure code, the procedure code indicates that the processing unit performs following steps according to corresponding to One first frame level parameter of one first frame, establishes the parameter list, and the parameter list is stored in into this of the video coding apparatus and looked into Table unit;And the parameter list stored by the lookup unit is read, with according to the parameter list and corresponding in first frame one One target component of encoded block, obtain at least coding parameter corresponding to the encoded block;And a coding unit, it is used for According to the target component and an at least coding parameter, the encoded block of first frame is encoded.
Brief description of the drawings
For the above objects, features and advantages of the present invention can be become apparent, the tool below in conjunction with accompanying drawing to the present invention Body embodiment elaborates, wherein:
Fig. 1 is the schematic diagram of the video coding apparatus of the embodiment of the present invention one.
Fig. 2 is the schematic diagram of a frame.
Fig. 3 is the schematic diagram of the Bit-Rate Control Algorithm flow of the embodiment of the present invention one.
Fig. 4 is the schematic diagram of the parameter list Establishing process of the embodiment of the present invention one.
Component label instructions are as follows in figure:
10 video coding apparatus
100 lookup units
102 processing units
104 storage elements
106 coding units
108 procedure codes
110 control units
112 memory cell
30 Bit-Rate Control Algorithm flows
302~304 steps
FkFrame
CB1~CBMEncoded block
Embodiment
The schematic diagram of Fig. 1 and Fig. 2, Fig. 1 for the video coding apparatus 10 of the embodiment of the present invention one is refer to, Fig. 2 is a frame Fk And encoded block CB therein1~CBMSchematic diagram.Video coding apparatus 10 receives a video data stream UVS and to video data Flow UVS and carry out Video coding, to produce a compressed video data stream CVS, wherein video data stream UVS includes frame F1~FK.More Further, video coding apparatus 10 is used for frame F1~FKEach frame FkIncluded in encoded block CB1~CBMDepending on Frequency encode, encoded block can represent huge block (Macro Block), code tree unit (Coding Tree Unit, CTU) or Coding elementary cell in other frames.In addition, video coding apparatus 10 is desirable must to correspond respectively to encoded block CB1~CBMVolume Code parameter, and to encoded block CB1~CBMVideo coding is carried out, wherein, coding parameter can be Laplace multiplier (Lagrange Multiplier, λ), quantization parameter (Quantization Parameter, Qp), position per pixel (Bits per pixel, Bpp) etc..
Specifically, it is single to include the processing of a lookup unit (Lookup Table, LUT) 100, one for video coding apparatus 10 First 102, one storage element 104 and a coding unit 106.Lookup unit 100 can include a control unit 110 and a storage is single Member 112, storage element 104 are used for storing a procedure code 108, and procedure code 108 is used to refer to processing unit 102 according to corresponding to frame FkOne first frame level parameter pre-establish a parameter list, and the parameter list is stored in the memory cell 112 of lookup unit 100 In, when coding unit 106 is to encoded block CB1~CBMWhen carrying out Video coding, control unit 110 can be read from memory cell 112 Take and export corresponding to encoded block CB1~CBMCoding parameter, and encoded block CB will be corresponded to1~CBMCoding parameter Coding unit 106 is transferred to, coding unit 106 can be according to corresponding to encoded block CB1~CBMCoding parameter respectively to compile Code block CB1~CBMCarry out Video coding.Specifically, the control unit 110 of processing unit 102 or lookup unit 100 can root According to corresponding to each encoded block a target component (such as:The every pixel in target position (Target Bits per pixel, Target Bpp)) read lookup unit 100, with obtain the coding parameter of the encoded block (such as:Laplace multiplier, quantify ginseng Number, the every pixel in position etc.), consequently, it is possible to which coding unit 106 can enter according to the coding parameter of the encoded block to the encoded block Row Video coding.Wherein, processing unit 102 is the processor of general service (General Purpose), and it can be a centre Device (CPU) or a microprocessor (Microprocessor) are managed, and it is not subject to the limits, and storage element 104 can be a read-only storage Device (read-only memory, ROM) or a nonvolatile memory (non-volatile memory a, for example, electronics The formula of erasing can make carbon copies read-only storage (electrically erasable programmable read only memory, EEPROM) or a flash memory (flash memory)), it is and not subject to the limits.In addition, lookup unit 100 and coding unit 106 Can be ASIC (application-specific integrated circuit, ASIC), without herein Limit, the wherein memory cell 112 of lookup unit 100 are used for storing the parameter list that processing unit 102 is established, memory cell 112 Can be static RAM (Static random-access memory, SRAM) or register (Register), and The control unit 110 of lookup unit 100 is used for reading and exporting corresponding to encoded block CB1~CBMCoding parameter, and will be right Should be in encoded block CB1~CBMCoding parameter be transferred to coding unit 106, control unit 110 can be special applications The logic control circuit of (Application Specific) or the processor of special applications.
On the running of video coding apparatus 10, a Bit-Rate Control Algorithm flow 30 can be summarized as, refer to Fig. 3, Fig. 3 is this The schematic diagram of inventive embodiments Bit-Rate Control Algorithm flow 30.Bit-Rate Control Algorithm flow 30 is performed by video coding apparatus 10, its Comprise the steps of:
Step 302:According to corresponding to frame FkThe first frame level parameter, establish a parameter list TB, and parameter list TB is stored In the lookup unit 100 of video coding apparatus 10.
Step 304:According to corresponding to frame FkIn an encoded block CBiA target component, read in autoregressive parameter table TB corresponding In encoded block CBiCoding parameter.
Bit-Rate Control Algorithm flow 30 is performed in video coding apparatus 10 and obtains encoded block CBiCoding parameter after, i.e., Can be by encoded block CBiCoding parameter be transferred to coding unit 106, and by coding unit 106 to encoded block CBiCompiled Code.According to Bit-Rate Control Algorithm flow 30, video coding apparatus 10 can be according to frame FkThe first frame level parameter, obtain correspond to compile Code block CBiCoding parameter, details are as follows for the details of operation of Bit-Rate Control Algorithm flow 30.
In step 302, video coding apparatus 10 is according to corresponding to frame FkThe first frame level parameter, establish parameter list TB, And parameter list TB is stored in the memory cell 112 of lookup unit 100, wherein step 302 can be compiled into procedure code 108 by Unit 102 is managed to perform.Specifically, processing unit 102 first basis can correspond to frame FkThe first frame level parameter, calculate it is multiple First coding parameter, further according to multiple first coding parameters, calculate multiple second coding parameters, and by the first coding parameter and the Two coding parameters are arranged in parameter list TB in the mode of dull (Monotonic, i.e. increasing or decreasing).
Specifically, in an embodiment, processing unit 102 can be obtained by video coding apparatus 10 corresponding to according to frame Fk A Laplace multiplier λ0(the first frame level parameter), and according to Laplace multiplier λ0Calculate multiple Laplace multiplier λ- N- 1、λ1N (multiple first coding parameters).Wherein, Laplace multiplier λ-NNBetween there is monotonicity;In other words, Laplace multiplier λ-NN Incrementally arrange (i.e. λnN-1), or Laplace multiplier λ-NN(λ is arranged with decreasing fashionnN-1).Processing unit 102 According to Laplace multiplier λ0Calculate Laplace multiplier λ- N- 1、λ1NMode do not have specific limitation, for example, processing unit 102 can be by Laplace multiplier λ0It is multiplied by multiple multiplying power r- N~r- 1、r1~rN, to calculate multiple Laplace multiplier λ- N- 1、λ1N (i.e. λn=rnλ0), plurality of multiplying power r- N~r- 1、r1~rNRepresent multiple Laplace multiplier λ- N- 1、λ1NWith Laplace multiplier λ0Between multiplying power.
Hold, in the multiple Laplace multiplier λ of acquirement-NNAfterwards, processing unit 102 can be according to Laplace multiplier λ- NN, pass through One functional operation, calculate respectively corresponding to Laplace multiplier λ- NNQuantization parameter Qp- N~QpN(quantization parameter Qp0It can represent Second frame level parameter, and quantization parameter Qp- N~Qp- 1、Qp1~QpNMultiple second coding parameters can be represented).For example, locate Reason unit 102 can pass through a function f1(), calculate quantization parameter Qp- N~QpN, that is, it is Qp to calculate quantization parametern=f1n); Wherein, f1() is a monotonic function and represents the respective function between Laplace multiplier and quantization parameter, in an embodiment, letter Number f1() can be relevant to a logarithmic function, and it is Qp that processing unit 102, which can calculate quantization parameter,n=f1n)=c1ln(λn)+c2, Wherein ln () represents a logarithmic function, c1、c2The constant adjusted for visual actual conditions.Because of Laplace multiplier λ-NNTool is single Tonality, and logarithmic function is monotonic function, therefore quantization parameter Qp- N~QpNBetween there is monotonicity.
In addition, processing unit 102 also can be according to Laplace multiplier λ- NN, by another functional operation, calculate respectively pair Should be in Laplace multiplier λ-NNPosition per pixel B pp- N~BppN(now, position is per pixel B pp0Represent the second frame level parameter, and position Per pixel B pp- N~Bpp- 1、Bpp1~BppNMultiple second coding parameters can be represented), its middle position is per pixel B pp0Corresponding to Laplace Multiplier λ0(i.e. the first frame level parameter).For example, processing unit 102 can pass through a function f2(), position is calculated per pixel Bppn, every pixel of ascending the throne is Bppn=f2n), wherein, f2() be a monotonic function and represent Laplace multiplier and position per pixel it Between respective function, in an embodiment, processing unit 102 can calculate position per pixel be Bppn=f2n)=α (λn)β, wherein The constant that α, β adjust for visual actual conditions.Similarly, because of Laplace multiplier λ-NNHave monotonicity, and function f2() is Monotonic function, therefore position is per pixel B pp- N~BppNBetween there is monotonicity.
On the other hand, Laplace multiplier λ-NN, quantization parameter Qp- N~QpNAnd position is per pixel B pp- N~BppNAll with incremental The mode of (or successively decreasing) is arranged in parameter list TB, on a parameter list TB embodiment, refer to table 1, as shown in table 1, Parameter list TB includes index row, a Laplace multiplier arranges, a quantization parameter arranges and one per pixel column, and Laplace multiplier λ-N~ λN, quantization parameter Qp- N~QpNAnd position is per pixel B pp- N~BppNRespectively Laplace multiplier is arranged in a manner of being incremented by (or successively decreasing) Arrange, the every pixel column of quantization parameter row and position, wherein, the Center List in Laplace multiplier row, the every pixel column of quantization parameter row and position Project (Row Entry) represents the list-item corresponding to index 0, during Laplace multiplier row, quantization parameter row and position are per pixel column Center List project be Laplace multiplier λ0, quantization parameter Qp0And position is per pixel B pp0
Table 1
Index - N - 1 0 1 N
Laplace multiplier λ-N λ- 1 λ0 λ1 λN
Quantization parameter Qp- N Qp- 1 Qp0 Qp1 QpN
Position is per pixel Bpp- N Bpp- 1 Bpp0 Bpp1 BppN
On processing unit 102 according to corresponding to frame FkLaplace multiplier λ0, parameter list TB detailed operating process is established, Can further it conclude as a parameter list Establishing process 40, as shown in Figure 4.Parameter list Establishing process 40 comprises the steps of:
Step 400:By Laplace multiplier λ0It is multiplied by multiplying power r- N~r- 1、r1~rN, to calculate Laplace multiplier λ- N- 1、λ1N
Step 402:According to Laplace multiplier λ- N- 1、λ1N, pass through function f1(), calculate quantization parameter Qp- N~ QpN
Step 404:According to Laplace multiplier λ- N- 1、λ1N, pass through function f2(), position is calculated per pixel B pp- N~ BppN
Step 406:By Laplace multiplier λ-NN, quantization parameter Qp- N~QpNAnd position is per pixel B pp- N~BppNRespectively with The mode for being incremented by (or successively decreasing) is arranged in parameter list TB Laplace multiplier row, quantization parameter row and position per pixel column.
On remaining details of operation of parameter list Establishing process 40, foregoing relevant paragraph is referred to, is repeated no more in this.Separately Outside, in step 304, video coding apparatus 10 reads the parameter list TB stored by lookup unit 100, corresponds to frame F with basisk In an encoded block CBiA target component, be stored in certainly memory cell 112 parameter list TB obtain correspond to encoded block CBi Coding parameter.Wherein, procedure code 108 can be compiled into by processing unit 102 to perform, or directly by lookup unit in step 304 100 control unit 110 performs.Specifically, video coding apparatus 10 can be according to encoded block CBiA target position often as Element (Target Bits per pixel, Target Bpp) TBppi, the parameter list TB readings pair of memory cell 112 are stored in certainly Should be in encoded block CBiLaplace multiplier, quantization parameter and position be per pixel.Wherein, video coding apparatus 10 is according to encoded block CBiTarget position per pixel TBppi, autoregressive parameter table TB, which is read, corresponds to encoded block CBiThe mode of coding parameter do not have spy Definite limitation;For example, video coding apparatus 10 can compare target position per pixel TBppiWith position per pixel B pp- N~BppN, with Position is obtained per pixel B ppj, wherein BppjIt is the every pixel B pp in position- N~BppNIn closest to target position per pixel TBppiPosition often as Element, that is, video coding apparatus 10 obtains index j, in other words, target position is per pixel TBppiWith position per pixel B ppjBetween Gap is to be minimum (compared to the every pixel in remaining target position with target position per pixel TBppiBetween gap), video coding apparatus After 10 obtain index j, you can read the row table entry (Column Entry) that parameter list TB corresponds to index j, and then obtain drawing Family name's multiplier λj, quantization parameter QpjAnd position is per pixel B ppjFor corresponding to encoded block CBiCoding parameter.
It is noted that video coding apparatus 10 is not limited to according to target position per pixel, autoregressive parameter table TB reads coding ginseng Number, video coding apparatus 10 also using absolute error and (Sum of Absolute Transformed Difference, SATD) or mean absolute difference (Mean Absolute Deviation, MAD) is stored in the parameter list TB of memory cell 112 certainly Read coding parameter.Wherein, using absolute error and or mean absolute difference autoregressive parameter table TB read coding parameter operation it is thin Save known to those skilled in the art, to be repeated no more in this.
The control unit 110 of processing unit 102 or lookup unit 100 obtains Laplace multiplier λj, quantization parameter QpjAnd position is every Pixel B ppjAfterwards, you can by Laplace multiplier λj, quantization parameter QpjAnd position is per pixel B ppjCoding unit 106 is transferred to, and by compiling Code unit 106 is to encoded block CBiEncoded.It is noted that aforementioned operation flow is all with frame FkMiddle encoded block CBiFor Example illustrates, and video coding apparatus 10 can utilize identical operating process to encoded block CB1~CBMRemaining code area Block is encoded.Consequently, it is possible to video coding apparatus 10 can be directed to encoded block CB1~CBMTarget position per pixel TBpp1 ~TBppM, obtain basis and correspond to encoded block CB1~CBMCoding parameter, and accordingly respectively to encoded block CB1~CBMEnter Row coding, and Bit-Rate Control Algorithm is reached optimal benefit.
In addition, processing unit 102 or control unit 110 can calculate Laplace multiplier λ-NNAn average λaveAnd meter Calculate quantization parameter Qp- N~QpNAn average Qpave, when video coding apparatus 10 is intended to frame FkNext frame Fk+1Carry out video During coding, average λaveAnd average QpaveIt can be considered corresponding to frame Fk+1Frame level parameter, i.e., video coding apparatus 10 is also Can be according to frame Fk+1Frame level parameter (average λaveAnd average Qpave), using aforementioned operation flow, to frame Fk+1Compiled Code.In other words, average λaveThe average for all list-items that Laplace multiplier arranges, average in as parameter list TB QpaveThe average of all list-items arranged for quantization parameter in parameter list TB.It is preferred that average λaveArranged for Laplace multiplier All list-items more than one and average (Geometric Mean), and average QpaveFor all row of quantization parameter row An arithmetic average (Arithmetic Mean) for table entry.
From the foregoing, the video coding apparatus of the present invention establishes parameter list according to the first frame level parameter, and to table look-up Mode obtains coding parameter, is calculated compared to known video code device software model in a manner of obtaining coding parameter, The video coding apparatus of the present invention has relatively low computation complexity.
It is noted that previous embodiment, to illustrate idea of the invention, those skilled in the art works as can be according to this Do different modifications, and not limited to this.For example, in step 302, processing unit 102 is first to calculate Laplace multiplier λ-NNAfterwards, further according to Laplace multiplier λ-NNCalculate quantization parameter Qp- N~QpNAnd position is per pixel B pp- N~BppN, and it is unlimited In this.Processing unit 102 also can be first according to Laplace multiplier λ-NNCalculate quantization parameter Qp- N~QpN, further according to quantization parameter Qp- N~QpNPosition is calculated per pixel B pp- N~BppN, and it is not subject to the limits.In addition, processing unit 102 also can first calculate quantization Parameter Qp- N~QpN, further according to quantization parameter Qp- N~QpNCalculate Laplace multiplier λ-NNAnd position is per pixel B pp- N~BppN, Or position is first calculated per pixel B pp- N~BppN, further according to position per pixel B pp- N~BppNCalculate Laplace multiplier λ-NN And quantization parameter Qp- N~QpN, also belong to scope of the invention.
In addition, in step 304, video coding apparatus 10 compares encoded block CBiTarget position per pixel TBppiWith ginseng Position in number table TB is per pixel B pp- N~BppN, position is obtained per pixel B ppjFor closest to target position per pixel TBppiPosition it is every Pixel, and the invention is not restricted to this.Video coding apparatus 10 also can be in autoregressive parameter table TB position per pixel B pp- N~BppNObtain With target position per pixel TBppiImmediate position is per pixel B ppj、Bppj+1And index j, j+1, video coding apparatus 10 can roots Laplace multiplier λ is read in parameter list TB according to index j, j+1j、λj+1And quantization parameter Qpj、Qpj+1, the root again of video coding apparatus 10 According to Laplace multiplier λj、λj+1, quantization parameter Qpj、Qpj+1And position is per pixel B ppj、Bppj+1With any interpolation (Interpolation) Mode calculate Laplace multiplier λi', quantization parameter Qpi' and the every pixel B pp in positioni', Laplace multiplier λi', quantization parameter Qpi' and Position is per pixel B ppi' extremely correspond to encoded block CBiCoding parameter, coding unit 106 can be according to according to Laplace multiplier λi’、 Quantization parameter Qpi' and the every pixel B pp in positioni' to encoded block CBiEncoded.Wherein, Laplace multiplier λi' it is Laplace multiplier λjWith Laplace multiplier λj+1Interpolation results, quantization parameter Qpi' it is quantization parameter QpjWith quantization parameter Qpj+1Interpolation results, position often as Plain Bppi' it is the every pixel B pp in positionjWith position per pixel B ppj+1Interpolation results.
From the foregoing, the present invention can establish parameter list in advance and parameter list is stored in lookup unit, when being regarded When frequency encodes, parameter list can be read in video coding apparatus, to obtain the coding parameter of multiple encoded blocks in same frame.Compared to Known technology, the present invention can reach preferable Bit-Rate Control Algorithm benefit and relatively low computation complexity.
Although the present invention is disclosed as above with preferred embodiment, so it is not limited to the present invention, any this area skill Art personnel, without departing from the spirit and scope of the present invention, when a little modification and perfect, therefore the protection model of the present invention can be made Enclose to work as and be defined by what claims were defined.

Claims (20)

1. a kind of bit-rate control method, for a video coding apparatus, the bit-rate control method includes:
According to the one first frame level parameter corresponding to one first frame (Frame), a parameter list is established, and the parameter list is stored in The one of the video coding apparatus tables look-up (Lookup Table, LUT) unit;
According to the target component corresponding to an encoded block in first frame, read from the parameter list and correspond to the code area An at least coding parameter for block;And
According to an at least coding parameter, the encoded block of first frame is encoded.
2. bit-rate control method as claimed in claim 1, it is characterised in that the parameter is established according to the first frame level parameter The step of table, includes:
According to the first frame level parameter, multiple first coding parameters are calculated;And
According to the plurality of first coding parameter, multiple second coding parameters are calculated;
Wherein, the parameter list includes the plurality of first coding parameter and the plurality of second coding parameter.
3. bit-rate control method as claimed in claim 2, it is characterised in that according to the first frame level parameter, it is more to calculate this The step of individual first coding parameter, includes:
The first frame level parameter is multiplied by multiple multiplying powers, to calculate the plurality of first coding parameter.
4. bit-rate control method as claimed in claim 2, it is characterised in that according to the plurality of first coding parameter, calculate The step of the plurality of second coding parameter, includes:
A functional operation is performed, the wherein input value of the function is the plurality of first coding parameter;And
Obtain multiple function-outputs that the plurality of second coding parameter is the function;
Wherein, the function is a monotonically increasing function or a monotonic decreasing function.
5. bit-rate control method as claimed in claim 2, it is characterised in that the parameter is established according to the first frame level parameter The step of table, is contained:
The plurality of first coding parameter is arranged in a first row of the parameter list in a manner of increasing or decreasing;And
The plurality of second coding parameter is arranged in a secondary series of the parameter list in a manner of increasing or decreasing;
Wherein, the one first Center List project (Row Entry) of the first row is the first frame level parameter, the one of the secondary series Second Center List project is the one second frame level parameter corresponding to first frame.
6. bit-rate control method as claimed in claim 2, it is characterised in that the parameter is established according to the first frame level parameter The step of table, includes:
According to the plurality of second coding parameter, multiple 3rd coding parameters are calculated;
Wherein, the parameter list includes the plurality of first coding parameter, the plurality of second coding parameter and the plurality of 3rd coding ginseng Number.
7. bit-rate control method as claimed in claim 1, it is characterised in that according to the target component, from the parameter list The step of reading at least coding parameter corresponding to the encoded block includes:
According to the parameter list and the target component, the index (Index) corresponding to the target component is obtained;And
According to the parameter list and the index, at least coding parameter obtained corresponding to the encoded block is right in the parameter list Should be at least a line table entry (Column Entry) of the index.
8. bit-rate control method as claimed in claim 7, it is characterised in that according to the target component, read to correspond to and be somebody's turn to do The step of index of target component, includes:
Compare the target component and multiple list-items of the row in the parameter list;
By choosing a first list project in the plurality of list-item, wherein between the target component and the first list project With a lowest difference away from;And
The index obtained corresponding to the target component is one first index corresponding to the first list project.
9. bit-rate control method as claimed in claim 1, is additionally comprised:
According to multiple first list projects of the first row positioned at the parameter list, the one of the plurality of first list project is calculated One average;
Acquirement is first average corresponding to one the 3rd frame level parameter of one second frame;
According to multiple second list projects of the secondary series positioned at the parameter list, the one of the plurality of second list project is calculated Two averages;And
Acquirement is second average corresponding to one the 4th frame level parameter of second frame;
Wherein, first average is more than one and average (Geometric Mean) of the plurality of first list project, and this Two averages are an arithmetic average (Arithmetic Mean) for the plurality of second list project.
10. bit-rate control method as claimed in claim 1, it is characterised in that according to the parameter list and the target component, take The step of at least coding parameter that the encoded block must be corresponded to, includes:
Compare the target component and multiple list-items of the row in the parameter list;
By choosing a first list project and a second list project in the plurality of list-item, wherein the target component with this Between one list-item and the second list project have a lowest difference away from and once small gap;
Obtain one first index corresponding to the first list project and one second index corresponding to the second list project;
According to first index and second index, obtain in the parameter list and correspond to first index and second index extremely Few a first row table entry and at least one second row table entry;And
Interpolative operation is carried out to an at least the first row table entry and at least one second row table entry, to calculate at least one It is at least coding parameter corresponding to the encoded block to insert result.
11. a kind of video coding apparatus, includes:One processing unit;
One storage element, for storing a procedure code, the procedure code indicates the processing unit, corresponds to one first frame with basis (Frame) one first frame level parameter, establishes a parameter list;
One tables look-up (Lookup Table, LUT) unit, for storing the parameter list, the wherein processing unit or the lookup unit According to the target component corresponding to an encoded block in first frame, read from the parameter list corresponding to the encoded block An at least coding parameter;And
One coding unit, for according to the target component and an at least coding parameter, entering to the encoded block of first frame Row coding.
12. video coding apparatus as claimed in claim 11, it is characterised in that the procedure code separately indicates that the processing unit performs Following steps, to establish the parameter list according to the first frame level parameter:
According to the first frame level parameter, multiple first coding parameters are calculated;And
According to the plurality of first coding parameter, multiple second coding parameters are calculated;
Wherein, the parameter list includes the plurality of first coding parameter and the plurality of second coding parameter.
13. video coding apparatus as claimed in claim 12, it is characterised in that the procedure code separately indicates that the processing unit performs Following steps, according to the first frame level parameter, to calculate the plurality of first coding parameter:
The first frame level parameter is multiplied by multiple multiplying powers, to calculate the plurality of first coding parameter.
14. video coding apparatus as claimed in claim 12, it is characterised in that the procedure code separately indicates that the processing unit performs Following steps, according to the plurality of first coding parameter, to calculate the plurality of second coding parameter:
A functional operation is performed, the wherein input value of the function is the plurality of first coding parameter;And
Obtain multiple function-outputs that the plurality of second coding parameter is the function;
Wherein, the function is a monotonically increasing function or a monotonic decreasing function.
15. video coding apparatus as claimed in claim 12, it is characterised in that the procedure code separately indicates that the processing unit performs Following steps, to establish the parameter list according to the first frame level parameter:
The plurality of first coding parameter is arranged in a first row of the parameter list in a manner of increasing or decreasing;And
The plurality of second coding parameter is arranged in a secondary series of the parameter list in a manner of increasing or decreasing;
Wherein, the one first Center List project (Row Entry) of the first row is the first frame level parameter, the one of the secondary series Second Center List project is the one second frame level parameter corresponding to first frame.
16. video coding apparatus as claimed in claim 12, it is characterised in that the procedure code separately indicates that the processing unit performs Following steps, to establish the parameter list according to the first frame level parameter:
According to the plurality of second coding parameter, multiple 3rd coding parameters are calculated;
Wherein, the parameter list includes the plurality of first coding parameter, the plurality of second coding parameter and the plurality of 3rd coding ginseng Number.
17. video coding apparatus as claimed in claim 11, it is characterised in that the lookup unit or the processing unit separately perform Following steps, so that according to the target component, at least coding parameter corresponding to the encoded block is read from the parameter list:
According to the parameter list and the target component, the index (Index) corresponding to the target component is obtained;And
According to the parameter list and the index, at least coding parameter obtained corresponding to the encoded block is right in the parameter list Should be at least a line table entry (Column Entry) of the index.
18. video coding apparatus as claimed in claim 17, it is characterised in that the lookup unit or the processing unit separately perform Following steps, according to the target component, to read the index corresponding to the target component:
Compare the target component and multiple list-items of the row in the parameter list;
By choosing a first list project in the plurality of list-item, wherein between the target component and the first list project With a lowest difference away from;And
The index obtained corresponding to the target component is one first index corresponding to the first list project.
19. video coding apparatus as claimed in claim 11, it is characterised in that the lookup unit or the processing unit separately perform Following steps:
According to multiple first list projects of the first row positioned at the parameter list, the one of the plurality of first list project is calculated One average;
Acquirement is first average corresponding to one the 3rd frame level parameter of one second frame;
According to multiple second list projects of the secondary series positioned at the parameter list, the one of the plurality of second list project is calculated Two averages;And
Acquirement is second average corresponding to one the 4th frame level parameter of second frame;
Wherein, first average is more than one and average (Geometric Mean) of the plurality of first list project, and this Two averages are an arithmetic average (Arithmetic Mean) for the plurality of second list project.
20. video coding apparatus as claimed in claim 11, it is characterised in that the lookup unit or the processing unit separately perform Following steps, according to the parameter list and the target component, to obtain at least coding parameter corresponding to the encoded block:
Compare the target component and multiple list-items of the row in the parameter list;
By choosing a first list project and a second list project in the plurality of list-item, wherein the target component with this Between one list-item and the second list project have a lowest difference away from and once small gap;
Obtain one first index corresponding to the first list project and one second index corresponding to the second list project;
According to first index and second index, obtain in the parameter list and correspond to first index and second index extremely Few a first row table entry and at least one second row table entry;And
Interpolative operation is carried out to an at least the first row table entry and at least one second row table entry, to calculate at least one It is at least coding parameter corresponding to the encoded block to insert result.
CN201610308197.4A 2016-05-11 2016-05-11 Bit-rate control method and video coding apparatus Pending CN107371027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610308197.4A CN107371027A (en) 2016-05-11 2016-05-11 Bit-rate control method and video coding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610308197.4A CN107371027A (en) 2016-05-11 2016-05-11 Bit-rate control method and video coding apparatus

Publications (1)

Publication Number Publication Date
CN107371027A true CN107371027A (en) 2017-11-21

Family

ID=60303879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610308197.4A Pending CN107371027A (en) 2016-05-11 2016-05-11 Bit-rate control method and video coding apparatus

Country Status (1)

Country Link
CN (1) CN107371027A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523915A (en) * 2005-09-22 2009-09-02 高通股份有限公司 Two pass rate control techniques for video coding using a MIN-MAX approach
CN101594525A (en) * 2008-05-31 2009-12-02 华为技术有限公司 The acquisition methods of quantization parameter, device and transcoder
CN102165772A (en) * 2008-09-16 2011-08-24 杜比实验室特许公司 Adaptive video encoder control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523915A (en) * 2005-09-22 2009-09-02 高通股份有限公司 Two pass rate control techniques for video coding using a MIN-MAX approach
CN101594525A (en) * 2008-05-31 2009-12-02 华为技术有限公司 The acquisition methods of quantization parameter, device and transcoder
CN102165772A (en) * 2008-09-16 2011-08-24 杜比实验室特许公司 Adaptive video encoder control

Similar Documents

Publication Publication Date Title
Wagner et al. Cointegrating polynomial regressions: fully modified OLS estimation and inference
TWI593273B (en) Bit-rate controlling method and video encoding device
DE102017130591B4 (en) Method and device for error correction coding based on data compression
CN109474281B (en) Data encoding and decoding method and device
CN101466040A (en) Code rate estimation method for video encoding mode decision
CN110162290B (en) Compression method for DeMURA data of OLED screen
CN113610227B (en) Deep convolutional neural network pruning method for image classification
CN107644252A (en) A kind of recurrent neural networks model compression method of more mechanism mixing
Dolinsky Numerical schemes for G-expectations
CN105992004B (en) Image encoder bit rate control method based on video encoding standard
CN105430395B (en) A kind of HEVC CTU level bit-rate control methods based on optimum bit distribution
CN106454360B (en) The code rate estimation method of intraframe coding in Video coding
CN111626476A (en) Wind power plant wind power generation capacity prediction method
CN107371027A (en) Bit-rate control method and video coding apparatus
CN103401650A (en) Blind identification method for (n, 1 and m) convolutional code with error codes
Marjanovic et al. On exact l q denoising
CN103746701A (en) Rapid encoding option selecting method applied to Rice lossless data compression
CN105138304B (en) The adaptive quantizing method and device of digital signal
CN106331706A (en) Rate distortion optimization method based on curve fitting and device using the method
Zheng et al. Modulus-based successive overrelaxation method for pricing American options
Kostina et al. The rate-distortion function for successive refinement of abstract sources
CN108449163B (en) Polarization code performance analysis method
CN110096266B (en) Feature processing method and device
CN110739974B (en) Data compression method and device and computer readable storage medium
Sutter et al. Efficient approximation of discrete memoryless channel capacities

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171121

WD01 Invention patent application deemed withdrawn after publication