CN103391440A - Binarization encoding processing method and device of syntactic information - Google Patents

Binarization encoding processing method and device of syntactic information Download PDF

Info

Publication number
CN103391440A
CN103391440A CN2013103069413A CN201310306941A CN103391440A CN 103391440 A CN103391440 A CN 103391440A CN 2013103069413 A CN2013103069413 A CN 2013103069413A CN 201310306941 A CN201310306941 A CN 201310306941A CN 103391440 A CN103391440 A CN 103391440A
Authority
CN
China
Prior art keywords
binaryzation
coding strategy
distribution statistics
strategy
coding
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
CN2013103069413A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2013103069413A priority Critical patent/CN103391440A/en
Publication of CN103391440A publication Critical patent/CN103391440A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Medicines Containing Antibodies Or Antigens For Use As Internal Diagnostic Agents (AREA)

Abstract

The embodiment of the invention provides a binarization encoding processing method and a device of syntactic information. The method comprises the steps that an initial binarization encoding strategy is adopted for performing first binarization on various syntactic elements in a syntactic information set; first binarization character strings corresponding to the syntactic elements are acquired; whether encoding mode distribution statistics is executed and the binarization encoding strategy is updated are determined according to the initial binarization encoding strategy; if so, the updated binarization encoding strategy is adopted for performing second binarization on the syntactic elements in the syntactic information set, and second binarization character strings corresponding to the syntactic elements are acquired; and if not, the initial binarization encoding strategy is adopted for performing second binarization on the syntactic elements in the syntactic information set, and second binarization character strings corresponding to the syntactic elements are acquired. According to the method and the device, the binarization encoding strategy can be selected flexibly according to actual conditions, and redundancy information can be eliminated better.

Description

Binaryzation code processing method and the device of syntactic information
Technical field
The present invention relates to the communication technology, relate in particular to a kind of binaryzation code processing method and device of syntactic information.
Background technology
Generally include prediction module, conversion module, quantization modules and entropy coding module in current block-based Video coding combination frame.Wherein, prediction module is used for coding side and obtains the prediction block message of the image block of video sequence coding image, and then obtain the residual error of image block, the predictive compensation module is used for decoding end and obtains the prediction block message of current decoded image blocks, then according to the image block residual error that decoding obtains, obtains current decoded image blocks.Prediction module comprises infra-frame prediction and two kinds of technology of inter prediction usually.Wherein, infra-prediction techniques utilizes the aerial image prime information of current image block to remove the redundant information of current image block to obtain residual error; The inter prediction technology utilize present image contiguous encoding or the decoded picture Pixel Information remove the redundant information of current image block to obtain residual error.And infra-prediction techniques or inter prediction technology exist respectively the Multi-encoding predictive mode for you to choose, and specifically selecting any coded prediction pattern to carry out coding and decoding is to determine by result of calculation.
In order to identify the similar syntactic information of specifically having selected any coded prediction pattern to process as each coding unit in encoding-decoding process, in cataloged procedure, need to carry out to the syntactic information of the coded prediction pattern of each coding unit the entropy coding and process.Be the statistical redundancy of the information of removing due to entropy coding processing intent, therefore in these syntactic informations were carried out the binarization process, reasonably the binary conversion treatment mode can effectively improve code efficiency and reduce encoder complexity.
In prior art, for syntactic information, carry out the binaryzation process, generally adopt dual mode: a kind of is that syntactic information is directly carried out fixed length formula binaryzation, and namely syntactic information all adopts the long binaryzation mode of identical bits; Another kind is to have determined syntactic information binaryzation encoding and decoding strategy before coding.
But, adopt prior art can not well eliminate information redundancy.
Summary of the invention
The embodiment of the present invention provides a kind of binaryzation code processing method and device of syntactic information, be used for to solve the problem that existing video coding and decoding technology can not fine elimination information redundancy.
Embodiment of the present invention first aspect provides a kind of binaryzation code processing method of syntactic information, comprising:
Adopt initial binaryzation coding strategy to carry out the first binaryzation to each syntactic element in the syntactic information set, obtain the first binaryzation character string corresponding to each described syntactic element;
Determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy according to described initial binaryzation coding strategy;
If, adopt the binaryzation coding strategy after upgrading to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element;
If not, adopt described initial binaryzation coding strategy to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element.
In conjunction with first aspect, in the possible execution mode of the first of first aspect, described execution coding mode distribution statistics and renewal binaryzation coding strategy comprise:
The total bit number required to the binaryzation coding strategy of each syntactic element in described syntactic information set carries out distribution statistics, obtains the distribution statistics result;
Formulate and upgrade the binaryzation coding strategy according to described distribution statistics result.
In conjunction with the possible execution mode of the first of first aspect, in the possible execution mode of the second of first aspect, described according to described distribution statistics result formulation renewal binaryzation coding strategy, comprising:
Adopt the required total bit number of binaryzation coding strategy of each syntactic element in described syntactic information set to minimize, formulate and upgrade the binaryzation coding strategy.
To any one in the possible execution mode of the second of first aspect, in the third possible execution mode of first aspect, described execution coding mode distribution statistics and upgrade the binaryzation coding strategy comprises in conjunction with first aspect:
Execution cycle or aperiodic coding mode distribution statistics and renewal binaryzation coding strategy.
In conjunction with the third possible execution mode of first aspect, in the 4th kind of possible execution mode of first aspect, describedly according to described initial binaryzation coding strategy, determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy, comprising:
Judge whether described initial binaryzation coding strategy is based on described coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, if, select the binaryzation coding strategy of carrying out or not carrying out described coding mode distribution statistics and upgrade the binaryzation coding strategy, if not, carry out the binaryzation coding strategy of described coding mode distribution statistics and renewal binaryzation coding strategy.
To any one in the 4th kind of possible execution mode of first aspect, in the 5th kind of possible execution mode of first aspect, described binaryzation coding strategy is fixed length binaryzation coding strategy in conjunction with first aspect, and/or, elongated binaryzation coding strategy.
Embodiment of the present invention second aspect provides a kind of binaryzation code processing apparatus of syntactic information, comprising:
Initial binaryzation policy unit, be used for adopting initial binaryzation coding strategy to carry out the first binaryzation to each syntactic element of syntactic information set, obtains the first binaryzation character string corresponding to each described syntactic element;
Determining unit, be used for determining whether to carry out the coding mode distribution statistics and upgrading the binaryzation coding strategy according to described initial binaryzation coding strategy;
Upgrade the binaryzation policy unit, be used for after determining unit is determined to carry out the coding mode distribution statistics and upgraded the binaryzation coding strategy, adopt the binaryzation coding strategy after upgrading to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element;
The binaryzation policy unit, be used for after determining unit is determined not carry out the coding mode distribution statistics and upgraded the binaryzation coding strategy, adopt described initial binaryzation coding strategy to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element.
In conjunction with second aspect, in the possible execution mode of the first of second aspect, described determining unit, also the required total bit number of binaryzation coding strategy for each syntactic element to described syntactic information set carries out distribution statistics, obtains the distribution statistics result;
Formulate and upgrade the binaryzation coding strategy according to described distribution statistics result.
In conjunction with the possible execution mode of the first of second aspect, in the possible execution mode of the second of second aspect, described determining unit, the required total bit number of binaryzation coding strategy of concrete each syntactic element for adopting described syntactic information set minimizes, and formulates and upgrades the binaryzation coding strategy.
In conjunction with second aspect to any one in the possible execution mode of the second of second aspect, in the third possible execution mode of second aspect, described determining unit, specifically be used for execution cycle or aperiodic coding mode distribution statistics and upgrade the binaryzation coding strategy.
The third possible execution mode in conjunction with second aspect, in the 4th kind of possible execution mode of second aspect, described determining unit, concrete for judging whether described initial binaryzation coding strategy is based on described coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, if, select the binaryzation coding strategy of carrying out or not carrying out described coding mode distribution statistics and upgrade the binaryzation coding strategy, if not, carry out the binaryzation coding strategy of described coding mode distribution statistics and renewal binaryzation coding strategy.
To any one in the 4th kind of possible execution mode of second aspect, in the 5th kind of possible execution mode of second aspect, described binaryzation coding strategy is fixed length binaryzation coding strategy in conjunction with second aspect, and/or, elongated binaryzation coding strategy.
In the embodiment of the present invention, determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy according to initial binaryzation coding strategy, and then adopt the binaryzation coding strategy after upgrading or show the binaryzation coding strategy and carry out binaryzation, realized and can select neatly the binaryzation coding strategy according to actual conditions, particularly can formulate the binaryzation coding strategy according to coding mode distribution statistics result, help to eliminate better information redundancy, avoided fixing employing a kind of binaryzation coding strategy and caused the problem of information redundancy.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the binaryzation code processing method embodiment one of syntactic information provided by the invention;
Fig. 2 is the schematic flow sheet of the binaryzation code processing method embodiment two of syntactic information provided by the invention;
Fig. 3 is the structural representation of the binaryzation code processing apparatus embodiment one of syntactic information provided by the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment that obtains, belong to the scope of protection of the invention.
" * " expression multiplication sign in the embodiment of the present invention.
Fig. 1 is the schematic flow sheet of the binaryzation code processing method embodiment one of syntactic information provided by the invention, and as shown in Figure 1, the method comprises:
S101, the initial binaryzation coding strategy of employing carry out the first binaryzation to each syntactic element in the syntactic information set, obtain the first binaryzation character string corresponding to each syntactic element (being called the bin string in the present invention).The bin string that each syntactic element is corresponding is entirely not identical.Wherein, binaryzation can adopt various dual codes, such as: Huffman (Huffman) code, monobasic code, monobasic truncated code, index Columbus code and configurable variable length code etc., or the combination of different dual codes.
Initial binaryzation coding strategy can adopt prior art setting, also can obtain according to experiment statistics test data experience.
In video coding process, understand constantly, repeatedly each syntactic element in above-mentioned syntactic information carried out binaryzation.
S102, according to above-mentioned initial binaryzation coding strategy, determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy.If, carry out S103, if not, carry out S104.
Binaryzation coding strategy after S103, employing are upgraded carries out the second binaryzation to each syntactic element in above-mentioned syntactic information set, obtains the second binaryzation character string corresponding to each syntactic element.Equally, binaryzation can adopt various dual codes, such as: Huffman code, monobasic code, monobasic truncated code, index Columbus code and configurable variable length code etc., or the combination of different dual codes.
S104, the above-mentioned initial binaryzation coding strategy of employing carry out the second binaryzation to each syntactic element in above-mentioned syntactic information set, obtain the second binaryzation character string corresponding to each syntactic element.
In the present embodiment, determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy according to initial binaryzation coding strategy, and then adopt the binaryzation coding strategy after upgrading or show the binaryzation coding strategy and carry out binaryzation, realized and can select neatly the binaryzation coding strategy according to actual conditions, particularly can formulate the binaryzation coding strategy according to coding mode distribution statistics result, help to eliminate better information redundancy, avoided fixing employing a kind of binaryzation coding strategy and caused the problem of information redundancy.
Fig. 2 is the schematic flow sheet of the binaryzation code processing method embodiment two of syntactic information provided by the invention, and the concrete steps of above-mentioned execution coding mode distribution statistics and renewal binaryzation coding strategy are:
S201, the required total bit (bit) of each syntactic element binaryzation coding strategy in above-mentioned grammer set number is carried out distribution statistics, obtain the distribution statistics result.Wherein, total bit number is the bit number size that is used for each syntactic element of sign grammer information aggregate in the binaryzation process.
S202, according to the distribution statistics result, formulate to upgrade the binaryzation coding strategy.
Be specially, adopt the required total bit number of binaryzation coding strategy of each syntactic element in this syntactic information set to minimize, formulate and upgrade the binaryzation coding strategy.Illustrate, for example: a grammer set T={a i, i=0,1 ... M, M are natural number, the number of expression syntactic information set T institute value, suppose M=6, and the number of times of each syntactic element of binaryzation is { 4,3,3,1,1,2}, adopt total bit number to minimize corresponding binaryzation coding strategy and carry out binaryzation, and in its syntactic information set, the bit number of each syntactic element size is { 00,01,10,1110,1111,110}, required total bit number is 4*2+2*3+2*3+1*4+1*4+2*3=34.And if employing fixed length binaryzation strategy (3bit) carries out binaryzation, in its syntactic information set, the bit number of each syntactic element size is { 000,001,010,011,100,101}, required total bit number is 3* (4+3+3+1+1+2)=42, can find out and adopt fixed length binaryzation mode can cause the waste of position.
Need to prove, above-mentioned execution coding mode distribution statistics and renewal binaryzation coding strategy can be execution cycle or aperiodic coding mode distribution statistics and upgrade the binaryzation coding strategy.
Further, the initial binaryzation coding strategy of above-mentioned basis determines whether to carry out the coding mode distribution statistics and upgrades the binaryzation coding strategy, be specially: judge that whether initial binaryzation coding strategy is based on the binaryzation coding strategy of above-mentioned coding mode distribution statistics and renewal binaryzation coding strategy, judges namely whether initial binaryzation coding strategy is based on binaryzation coding strategy embodiment illustrated in fig. 2; If, can select to carry out or do not carry out above-mentioned coding mode distribution statistics and upgrade the binaryzation coding strategy, do not carry out if select, adopt initial binaryzation coding strategy to carry out binaryzation to each syntactic element in the syntactic information set with regard to continuing, select to carry out, that just adopts the binaryzation coding strategy after upgrading to carry out binaryzation to each syntactic element in the syntactic information set after carrying out; If not, carry out the binaryzation coding strategy of above-mentioned coding mode distribution statistics and renewal binaryzation coding strategy.In specific implementation process, can determine whether to carry out the coding mode distribution statistics according to the complexity situation of coding and upgrade the binaryzation coding strategy, generally, if when the complexity of coding is low, can select not carry out.
In specific implementation process, above-mentioned binaryzation coding strategy is specifically as follows fixed length binaryzation coding strategy, and/or, elongated binaryzation coding strategy.
Need to prove, in cataloged procedure, can also be periodically or acyclic the binaryzation coding strategy is identified.
Employing is encoded to certain syntactic information in video coding process, illustrate above-described embodiment, suppose that this syntactic information set comprises 7 syntactic elements { A, B, C, D, E, F, G}, its initial binaryzation coding strategy adopts fixed length binaryzation coding strategy, the bin string that generates needs the 3bit position, as shown in table 1
Table 1
Syntactic element The bin string
A 000
B 001
C 010
D 011
E 100
F 101
G 110
Because this initial binaryzation coding strategy is not based on coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, therefore, first the required total bit number of the binaryzation coding strategy of each syntactic element in this syntactic information set is carried out distribution statistics, obtain the distribution statistics result, being determined to upgrade the binaryzation coding strategy by statistics, is wherein to be minimized to decide by the required total bit number of the binaryzation coding strategy of each syntactic element in the syntactic information set to upgrade the binaryzation coding strategy.The bin string of supposing to adopt the binaryzation coding strategy after upgrading to generate is as shown in table 2,
Table 2
Syntactic element The bin string
A 1
B 01
C 001
D 0001
E 00001
F 000001
G 0000001
Illustrate again above-described embodiment, suppose that this syntactic information set comprises 7 syntactic elements { A, B, C, D, E, F, G}, its initial binaryzation coding strategy is based on the coding mode distribution statistics and upgrades the binaryzation coding strategy of binaryzation coding strategy, namely this initial binaryzation coding strategy just was based on the distribution statistics result originally, was to be minimized and decided by the required total bit number of binaryzation coding strategy that identifies each syntactic element in the grammer information aggregate.It is as shown in table 3,
Table 3
Syntactic element The bin string
A 00
B 01
C 10
D 110
E 1110
F 11110
G 11111
In this case, can select to carry out or do not carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy,, if select not carry out, continuing to adopt initial binaryzation coding strategy to carry out binaryzation to each syntactic element in the syntactic information set.If select to carry out, carry out embodiment illustrated in fig. 2ly, obtain the binaryzation coding strategy after renewal, then adopt the binaryzation coding strategy after upgrading to carry out binaryzation to each syntactic element in the syntactic information set, obtains new bin and go here and there, as shown in table 4,
Table 4
Syntactic element The bin string
A 1
B 01
C 0000
D 0001
E 0010
F 00110
G 00111
In the present embodiment, determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy according to initial binaryzation coding strategy, and then adopt the binaryzation coding strategy after upgrading or show the binaryzation coding strategy and carry out binaryzation, can select neatly the binaryzation coding strategy according to actual conditions according to having realized, and minimize according to the required total bit number of binaryzation coding strategy of each syntactic element in sign grammer information aggregate the binaryzation strategy that decides renewal, can eliminate well information redundancy.
Binaryzation code processing method for above-mentioned syntactic information, the binaryzation decoding processing method of corresponding syntactic information is the inverse process of above-mentioned code processing method, the binaryzation decoding processing method of syntactic information is particularly: obtain the bin string that parses in code stream, according to the definite binaryzation decoding policy in position of sign coding method in the bin string.Adopt any binaryzation coding strategy while namely encoding,, with regard to adopting corresponding binaryzation decoding policy to carry out anti-binaryzation, obtain the syntactic information set so.The above-mentioned bin string that parses in code stream, for example be specially, and first according to initial binaryzation coding strategy, determines that initial binaryzation decoding policy carries out anti-binaryzation and obtains the syntactic information set.If in the binaryzation cataloged procedure, carry out cycle or aperiodic coding mode distribution statistics and upgraded the binaryzation coding strategy, so correspondingly, in the binaryzation decode procedure, also want cycle or aperiodic renewal binaryzation decoding policy, adopt corresponding binaryzation decoding policy to carry out anti-binaryzation, to obtain above-mentioned syntactic information set.
Fig. 3 is the structural representation of the binaryzation code processing apparatus embodiment one of syntactic information provided by the invention, as shown in Figure 3, this device comprises: initial binaryzation policy unit 301, determining unit 302, renewal binaryzation policy unit 303 and binaryzation policy unit 304, wherein:
Initial binaryzation policy unit 301, be used for adopting initial binaryzation coding strategy to carry out the first binaryzation to each syntactic element of syntactic information set, obtains the first binaryzation character string corresponding to each described syntactic element; Determining unit 302, be used for determining whether to carry out the coding mode distribution statistics and upgrading the binaryzation coding strategy according to described initial binaryzation coding strategy; Upgrade binaryzation policy unit 303, be used for after determining unit is determined to carry out the coding mode distribution statistics and upgraded the binaryzation coding strategy, adopt the binaryzation coding strategy after upgrading to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element; Binaryzation policy unit 304, be used for after determining unit is determined not carry out the coding mode distribution statistics and upgraded the binaryzation coding strategy, adopt described initial binaryzation coding strategy to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element.
Preceding method embodiment be used for to be carried out in above-mentioned each unit, its realize principle and technique effect similar, do not repeat them here.
Further, above-mentioned determining unit 302, also the required total bit number of binaryzation coding strategy for each syntactic element to described syntactic information set carries out distribution statistics, obtains the distribution statistics result; Formulate and upgrade the binaryzation coding strategy according to described distribution statistics result.Particularly, determining unit 302, adopt the required total bit number of binaryzation coding strategy of each syntactic element in described syntactic information set to minimize, and formulates and upgrade the binaryzation coding strategy.In the specific implementation process, determining unit 302 can be execution cycle or aperiodic coding mode distribution statistics and upgrade the binaryzation coding strategy.
Determining unit 302, concrete for judging whether described initial binaryzation coding strategy is based on described coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, if, select the binaryzation coding strategy of carrying out or not carrying out described coding mode distribution statistics and upgrade the binaryzation coding strategy, if not, carry out the binaryzation coding strategy of described coding mode distribution statistics and renewal binaryzation coding strategy.
In the embodiment of the present invention, described binaryzation coding strategy is fixed length binaryzation coding strategy, and/or, elongated binaryzation coding strategy.
In addition, the present invention also provides the binaryzation code processing apparatus of another kind of syntactic information, and this device comprises: memory and processor, wherein, memory, be used for the storage instruction.Processor, with described memory coupling, described processor is configured to carry out the instruction that is stored in described memory.Particularly, this processor, be used for adopting initial binaryzation coding strategy to carry out the first binaryzation to each syntactic element of syntactic information set, obtains the first binaryzation character string corresponding to each described syntactic element; Determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy according to described initial binaryzation coding strategy; After determining unit is determined to carry out the coding mode distribution statistics and is upgraded the binaryzation coding strategy, adopt the binaryzation coding strategy after upgrading to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element; After determining unit is determined not carry out the coding mode distribution statistics and is upgraded the binaryzation coding strategy, adopt described initial binaryzation coding strategy to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element.
Further, above-mentioned processor, also the required total bit number of binaryzation coding strategy for each syntactic element to described syntactic information set carries out distribution statistics, obtains the distribution statistics result; Formulate and upgrade the binaryzation coding strategy according to described distribution statistics result.
Processor, the required total bit number of binaryzation coding strategy of concrete each syntactic element for adopting described syntactic information set minimizes, and formulates and upgrades the binaryzation coding strategy.
Processor, specifically be used for execution cycle or aperiodic coding mode distribution statistics and upgrade the binaryzation coding strategy.
Further, processor, concrete for judging whether described initial binaryzation coding strategy is based on described coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, if, select the binaryzation coding strategy of carrying out or not carrying out described coding mode distribution statistics and upgrade the binaryzation coding strategy, if not, carry out the binaryzation coding strategy of described coding mode distribution statistics and renewal binaryzation coding strategy.
Need to prove, described binaryzation coding strategy is fixed length binaryzation coding strategy, and/or, elongated binaryzation coding strategy.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can be completed by the hardware that program command is correlated with.Aforesaid program can be stored in a computer read/write memory medium.This program when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that finally: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to aforementioned each embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. the binaryzation code processing method of a syntactic information, is characterized in that, comprising:
Adopt initial binaryzation coding strategy to carry out the first binaryzation to each syntactic element in the syntactic information set, obtain the first binaryzation character string corresponding to each described syntactic element;
Determine whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy according to described initial binaryzation coding strategy;
If, adopt the binaryzation coding strategy after upgrading to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element;
If not, adopt described initial binaryzation coding strategy to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element.
2. method according to claim 1, is characterized in that, described execution coding mode distribution statistics and renewal binaryzation coding strategy comprise:
The total bit number required to the binaryzation coding strategy of each syntactic element in described syntactic information set carries out distribution statistics, obtains the distribution statistics result;
Formulate and upgrade the binaryzation coding strategy according to described distribution statistics result.
3. method according to claim 2, is characterized in that, and is described according to described distribution statistics result formulation renewal binaryzation coding strategy, comprising:
Adopt the required total bit number of binaryzation coding strategy of each syntactic element in described syntactic information set to minimize, formulate and upgrade the binaryzation coding strategy.
4. according to claim 1-3 described methods of any one, is characterized in that, described execution coding mode distribution statistics and renewal binaryzation coding strategy comprise:
Execution cycle or aperiodic coding mode distribution statistics and renewal binaryzation coding strategy.
5. method according to claim 4, is characterized in that, describedly according to described initial binaryzation coding strategy, determines whether to carry out the coding mode distribution statistics and upgrade the binaryzation coding strategy, comprising:
Judge whether described initial binaryzation coding strategy is based on described coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, if, select the binaryzation coding strategy of carrying out or not carrying out described coding mode distribution statistics and upgrade the binaryzation coding strategy, if not, carry out the binaryzation coding strategy of described coding mode distribution statistics and renewal binaryzation coding strategy.
6. according to claim 1-5 described methods of any one, is characterized in that, described binaryzation coding strategy is fixed length binaryzation coding strategy, and/or, elongated binaryzation coding strategy.
7. the binaryzation code processing apparatus of a syntactic information, is characterized in that, comprising:
Initial binaryzation policy unit, be used for adopting initial binaryzation coding strategy to carry out the first binaryzation to each syntactic element of syntactic information set, obtains the first binaryzation character string corresponding to each described syntactic element;
Determining unit, be used for determining whether to carry out the coding mode distribution statistics and upgrading the binaryzation coding strategy according to described initial binaryzation coding strategy;
Upgrade the binaryzation policy unit, be used for after determining unit is determined to carry out the coding mode distribution statistics and upgraded the binaryzation coding strategy, adopt the binaryzation coding strategy after upgrading to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element;
The binaryzation policy unit, be used for after determining unit is determined not carry out the coding mode distribution statistics and upgraded the binaryzation coding strategy, adopt described initial binaryzation coding strategy to carry out the second binaryzation to each syntactic element in described syntactic information set, obtain the second binaryzation character string corresponding to each described syntactic element.
8. device according to claim 7, is characterized in that, described determining unit, and also the required total bit number of binaryzation coding strategy for each syntactic element to described syntactic information set carries out distribution statistics, obtains the distribution statistics result;
Formulate and upgrade the binaryzation coding strategy according to described distribution statistics result.
9. device according to claim 8, is characterized in that, described determining unit, and the required total bit number of binaryzation coding strategy of concrete each syntactic element for adopting described syntactic information set minimizes, and formulates and upgrades the binaryzation coding strategy.
10. according to claim 7-9 described devices of any one, is characterized in that, described determining unit specifically is used for execution cycle or aperiodic coding mode distribution statistics and upgrades the binaryzation coding strategy.
11. device according to claim 10, it is characterized in that, described determining unit, concrete for judging whether described initial binaryzation coding strategy is based on described coding mode distribution statistics and the binaryzation coding strategy that upgrades the binaryzation coding strategy, if, select the binaryzation coding strategy of carrying out or not carrying out described coding mode distribution statistics and upgrade the binaryzation coding strategy, if not, carry out the binaryzation coding strategy of described coding mode distribution statistics and renewal binaryzation coding strategy.
12. according to claim 7-11 described devices of any one, is characterized in that, described binaryzation coding strategy is fixed length binaryzation coding strategy, and/or, elongated binaryzation coding strategy.
CN2013103069413A 2013-07-19 2013-07-19 Binarization encoding processing method and device of syntactic information Pending CN103391440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103069413A CN103391440A (en) 2013-07-19 2013-07-19 Binarization encoding processing method and device of syntactic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103069413A CN103391440A (en) 2013-07-19 2013-07-19 Binarization encoding processing method and device of syntactic information

Publications (1)

Publication Number Publication Date
CN103391440A true CN103391440A (en) 2013-11-13

Family

ID=49535584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103069413A Pending CN103391440A (en) 2013-07-19 2013-07-19 Binarization encoding processing method and device of syntactic information

Country Status (1)

Country Link
CN (1) CN103391440A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303519A (en) * 2015-05-26 2017-01-04 北京君正集成电路股份有限公司 A kind of method for video coding and device
WO2019075638A1 (en) * 2017-10-17 2019-04-25 北京金山云网络技术有限公司 Coding and decoding method and apparatus, coder, decoder, and storage medium
WO2024007090A1 (en) * 2022-07-04 2024-01-11 嘉兴尚坤科技有限公司 Ultra-high-definition video data encoding/decoding processing method, and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031086A (en) * 2002-10-10 2007-09-05 索尼株式会社 Video-information encoding method and video-information decoding method
US7286710B2 (en) * 2003-10-01 2007-10-23 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Coding of a syntax element contained in a pre-coded video signal
CN101132534A (en) * 2002-10-03 2008-02-27 诺基亚有限公司 Context-based adaptive variable length coding for adaptive block transforms
CN101401437A (en) * 2006-03-13 2009-04-01 三星电子株式会社 Method, medium, and system encoding and/or decoding moving pictures by adaptively applying optimal prediction modes
CN101466040A (en) * 2009-01-09 2009-06-24 北京大学 Code rate estimation method for video encoding mode decision

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132534A (en) * 2002-10-03 2008-02-27 诺基亚有限公司 Context-based adaptive variable length coding for adaptive block transforms
CN101031086A (en) * 2002-10-10 2007-09-05 索尼株式会社 Video-information encoding method and video-information decoding method
US7286710B2 (en) * 2003-10-01 2007-10-23 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Coding of a syntax element contained in a pre-coded video signal
CN101401437A (en) * 2006-03-13 2009-04-01 三星电子株式会社 Method, medium, and system encoding and/or decoding moving pictures by adaptively applying optimal prediction modes
CN101466040A (en) * 2009-01-09 2009-06-24 北京大学 Code rate estimation method for video encoding mode decision

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303519A (en) * 2015-05-26 2017-01-04 北京君正集成电路股份有限公司 A kind of method for video coding and device
WO2019075638A1 (en) * 2017-10-17 2019-04-25 北京金山云网络技术有限公司 Coding and decoding method and apparatus, coder, decoder, and storage medium
WO2024007090A1 (en) * 2022-07-04 2024-01-11 嘉兴尚坤科技有限公司 Ultra-high-definition video data encoding/decoding processing method, and system

Similar Documents

Publication Publication Date Title
CN113382256B (en) Encoding and decoding method, device, equipment and storage medium
CN101719100B (en) Compression based wear leveling for non-volatile memory
CN103220506B (en) A kind of decoding method and equipment
CN102939719B (en) For the method and apparatus reducing source in binary system entropy code and decoding
CN104217762A (en) Data storage device and error correction method and data reading method thereof
CN103369315A (en) Coding and decoding methods, equipment and system of intra-frame chroma prediction modes
CN103391440A (en) Binarization encoding processing method and device of syntactic information
US8595448B2 (en) Asymmetric double buffering of bitstream data in a multi-core processor
AU2016200045B2 (en) Method for coding video quantization parameter and method for decoding video quantization parameter
CN102118615A (en) Video coding/decoding method adopting variable size block skipping mode and device
CN101453643B (en) Quantitative mode, image encoding, decoding method, encoder, decoder and system
CN102473315A (en) Method and apparatus for reusing tree structures to encode and decode binary sets
US20100023708A1 (en) Variable-length code (vlc) bitstream parsing in a multi-core processor with buffer overlap regions
CN107105249B (en) Image quantization parameter decoding method
CN110545437B (en) Coefficient encoding method, coefficient decoding method, electronic device, and medium
CN113839678A (en) Huffman decoding system, method, equipment and computer readable storage medium
CN101604525B (en) Pitch gain obtaining method, pitch gain obtaining device, coder and decoder
CN103533331A (en) Encoding and decoding method and device for image
CN108156457A (en) A kind of JPEG turns the method for encoding images and device of WebP
CN110933442B (en) 16x4 level reference frame compression method and device
CN100399828C (en) Video-frequency data encoding method
CN105141965A (en) Coding method and coding device
CN101345873A (en) Method and apparatus for decoding picture
CN112887734A (en) Method and device for converting in video image coding and decoding
CN106911933A (en) A kind of computational methods and device based on bit number shared by coding unit H.265

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131113