CN1459935A - Code length automatic regulating coding and decoding device and method - Google Patents

Code length automatic regulating coding and decoding device and method Download PDF

Info

Publication number
CN1459935A
CN1459935A CN 02119866 CN02119866A CN1459935A CN 1459935 A CN1459935 A CN 1459935A CN 02119866 CN02119866 CN 02119866 CN 02119866 A CN02119866 A CN 02119866A CN 1459935 A CN1459935 A CN 1459935A
Authority
CN
China
Prior art keywords
signal
code length
code
dividing value
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.)
Granted
Application number
CN 02119866
Other languages
Chinese (zh)
Other versions
CN1298118C (en
Inventor
卢维藩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Elan Microelectronics Corp
Original Assignee
Elan Microelectronics Corp
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 Elan Microelectronics Corp filed Critical Elan Microelectronics Corp
Priority to CNB021198667A priority Critical patent/CN1298118C/en
Publication of CN1459935A publication Critical patent/CN1459935A/en
Application granted granted Critical
Publication of CN1298118C publication Critical patent/CN1298118C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A coder-decoder with automatic code length regulation and its method are disclosed. The said coder-decoder is composed of automatic code length regulator and code capacity calculator.

Description

Code length is regulated coding and decoding device and method automatically
Invention field
The present invention relates to a kind of pulse code modulation (Pulse Code Modulation; PCM) device and method more particularly, relates to a kind of code length that is applied to pulse code modulation and regulates coding and decoding device and method automatically.
Background technology
Pulse code modulation is the technology of having known, and it helps the processing of digital signal and the running of digital system.Differential pulse coding modulation (Differential PCM; DPCM) also know, it is used to reduce the distortion (distortion) of quantification and reduces digitally coded capacity.Further, adaptive difference pulse code modulation (Adaptive DPCM; ADPCM) also know, its variation according to signal changes the yardstick of quantification, thereby promotes signal processing efficiency and quality.Fig. 1 shows the system block diagrams of a typical A DPCM code device, it comprises that 10 couples one difference signal Ue of a quantizer quantize and the signal Que of 12 pairs of quantifications of an encoder encodes, being input as primary signal u and estimating the difference Ue of signal u of quantizer 10, it produces quantification difference Que through quantizing the back, this signal with estimate signal u addition after become quantized signal Qu, the input prediction device 14 estimate signal u with generation.Quantize difference Que and produce coded signal c, be sent to channel (channel)/memory 20 through encoder 12.Quantizer 10, prediction device 14 and encoder 12 promptly constitute a DPCM code device.The ADPCM code device then is to add step size automatic regulator 16 and prediction device parameter automatic regulator 18, to change the yardstick that quantizes.Step size automatic regulator 16 reference code signal c and produce a step size and adjust signal s and give quantizer 10 and encoder 12, prediction device parameter automatic regulator 18 reference quantization signals Qu and produce a prediction device parameter adjustment signal alpha and give prediction device 14 is with in response to the different situation of frequency characteristic signal.Fig. 2 is the system block diagrams of an ADPCM decoding device, coded signal c ' input one decoder of receiving in the trusted termination 22, coded signal c ' supplies with a step size automatic regulator 24 simultaneously and produces step size adjustment signal s to decoder 22, decoder 22 solves and quantizes difference Que, its with estimate signal u addition after become quantized signal Qu, quantized signal Qu produces through prediction device 26 and estimates signal u, and a prediction device parameter automatic regulator 28 produces a prediction device parameter adjustment signal alpha to prediction device 26 with reference to estimating signal u.In addition, the TaiWan, China patent announcement is numbered No. 453408 and then add a resolution adjuster in DPCM or ADPCM system, adapts to the output s of device and quantize difference Que according to step size to change the code parsing degree.
Yet, these are known technology and only consider that processed signal itself or signal are through the quality after the encoding and decoding, just merely with the foundation that is changed to of signal itself, and ignore the resource of other cooperations, for example, the sign indicating number after the establishment cushions through buffer storage before decoding usually, therefore, the system unstable for the input signal flow or variation is bigger, buffer storage will influence the general performance of system for the buffer capacity of input signal changes in flow rate.Generally speaking, use long coding can obtain preferable signal quality, but can cause the adaptability to changes deterioration of system for the input signal quantitative changeization.For example, when using CD-ROM device,, in case taking place, vibrations make the input signal flow of buffer storage descend even interruption, just then the phenomenon that music is interrupted or image suspends may appear in CD-ROM device if keep always than long coding or higher signal quality.The sign indicating number capacity that is stored in buffer storage is bigger, more can absorb bigger input flow rate and change.Therefore, make the performance of entire system preferable, should consider the variation of yard capacity.
Summary of the invention
Just, purpose of the present invention promptly is to provide a kind of code length to regulate coding and decoding device and method automatically, can automatically adjust the length of sign indicating number according to the situation of reality, so that system optimization.
According to the present invention, in a code device, comprise quantizer, prediction device and encoder, utilize a code length automatic regulator the quantification difference signal of estimating signal or quantizer output and one yard sign indicating number capacity index signal that the calculation of capacity device provides with reference to this prediction device output, produce a code length conditioning signal and supply with this quantizer and this encoder, dynamically to adjust the length of sign indicating number; And in a decoding device, comprise decoder and prediction device, utilize a code length automatic regulator quantification difference signal and one yard capacity index signal of estimating signal or decoder output, produce a code length conditioning signal and supply with this decoder with reference to this prediction device output.
Description of drawings
For the personage who has the knack of present technique, cooperate follow graphic from following being described in detail, the present invention can more clearly be understood, and its above-mentioned and other purpose and advantage will become more obvious, wherein:
Fig. 1 is the system block diagrams of a typical A DPCM code device;
Fig. 2 is the system block diagrams of a typical A DPCM decoding device;
Fig. 3 is according to a code device embodiment of the present invention;
Fig. 4 is according to a decoding device embodiment of the present invention;
Fig. 5 is the systematic function performance and the comparison of knowing technology of Fig. 3 and device shown in Figure 4;
Fig. 6 is that the inside of a sign indicating number calculation of capacity device embodiment is formed;
Fig. 7 is that the inside of another yard calculation of capacity device embodiment is formed;
Fig. 8 is that the inside of a code length automatic regulator embodiment is formed;
Fig. 9 is that the inside of another code length automatic regulator embodiment is formed;
Figure 10 is that the inside of another code length automatic regulator embodiment is formed;
Figure 11 is according to a control flow embodiment of the present invention; And
Figure 12 is according to another control flow embodiment of the present invention.
Embodiment
Fig. 3 is according to a code device embodiment of the present invention, and as the ADPCM device of knowing, this code device contains quantizer 10, encoder 12, prediction device 14, step size automatic regulator 16 and prediction device parameter automatic regulator 18.For suitably regulating the length of sign indicating number, a code length automatic regulator 30 provides a code length conditioning signal ι to supply with quantizer 10 and encoder 12; And, the adjustment of this code length is dynamic and automatic, the input of code length automatic regulator 30 couples the output of prediction device 14, produce relevant code length conditioning signal ι according to estimating signal u, the numerical value of this signal representation code length or variable, 12 length of adjusting sign indicating number according to this of quantizer 10 and encoder.This code device comprises one yard calculation of capacity device 32 in addition, the coded signal c and a trusted end signal c ' of its reference encoder device 12 outputs, the latter is the received coded signal of those ends that is illustrated in channel/memory 20, when transmitting end and trusted end in same system, for example, coded signal c is the memory storage that is written into near-end, then the coded signal of coded signal c ' for reading from memory; When the trusted end at far-end, then coded signal c ' is the signal of receiving terminal passback.Sign indicating number calculation of capacity device 32 comparison code signal c and c ' and produce one yard capacity index signal r and supply with code length automation 30 uses the length of adjusting yard according to sign indicating number capacity condition at that time.Sign indicating number capacity index signal r is sent to channel/memory 20 simultaneously, delivers to the trusted end in the lump with coded signal c.
At the decoding device of trusted end as shown in Figure 4, this installs the similar ADPCM decoding device of knowing, it contains decoder 22, step size automatic regulator 24, prediction device 26 and prediction device parameter automatic regulator 28, in addition, one code length automatic regulator, 34 receiving code capacity index signal r ' and estimate signal u with reference to prediction device 26 output, supply with decoder 22 to produce a code length conditioning signal ι, use reduction quantized signal u.
The embodiment of above-mentioned Fig. 3 and Fig. 4 mainly is for being applied to input signal flow instability, even the occasion that may interrupt, for example CD-ROM device.In this embodiment, the stored sign indicating number capacity of buffer storage in sign indicating number calculation of capacity device 32 computing systems and produce a yard capacity index signal r, 30 situations of estimating signal u and sign indicating number capacity according to input of code length automatic regulator decide optimal code length then.For example, when the sign indicating number capacity hour, pay the utmost attention to the function that the buffering input flow rate changes, use short code length, so that strengthen the ability that the buffering input flow rate changes; Otherwise, when the sign indicating number capacity is big, then change the function of paying the utmost attention to best signal quality and sign indicating number bit utilance into, use long code length, so that promote the quality of signal.The performance performance of this system is illustrated among Fig. 5.In Fig. 5, abscissa is the sign indicating number capacity, and ordinate is the changes in flow rate buffer capacity, knows the performance such as the curve C RV1 of technology, be a straight line, and the performance of present embodiment such as curve C RV2 is better than knowing technology.In general application, if the input signal flow is more stable, then said apparatus can be simplified, and gives up the factor of considering the sign indicating number capacity, only controls the quality of output signal and the bit utilance of increase sign indicating number.
Fig. 6 is that the inside of yard calculation of capacity device 32 is formed, it contains an accumulator (accumulator) 36, the difference input accumulator 36 of coded signal c and c ' produces accumulated signal, that is accumulative total is stored in the sign indicating number bit number in the buffer storage, generation sign indicating number capacity index signal r according to this.If consider the hardware cost of realization, can adjust through sign indicating number capacity quantizer 38 earlier and export suitable accuracy to.
Another embodiment of sign indicating number calculation of capacity device 32 as shown in Figure 7, coded signal c and c ' import single-shot flip-flop 35a and 35b respectively, reach number down with number on the control counter 37, the number of times that so promptly calculates coding is poor, not only the hardware cost of Shi Xianing is lower, and the more direct primary signal input stroke count of physical holding of the stock in buffer storage that reflect.Similarly, the output of counter 37 can produce a yard capacity index signal r through yard processing of capacity quantizer 38 again.
The inside of code length automatic regulator 30 is formed as shown in Figure 8, estimate signal u and deliver to comparator 42 through the difference DELTA u after delayer 40 delays, compare with the first dividing value signal B1 from dividing value selector 46, produce a signal and supply with upward number/following counter 44, the signal of its output is delivered to comparator 48 again, compare with the second dividing value signal B2 from dividing value selector 46, regulate index signal A supply code length adjuster 50 to produce, the latter is reference code capacity index signal r simultaneously, to produce code length conditioning signal ι, this signal ι supplies with 46 references of dividing value selector simultaneously, with decision dividing value signal B1 and B2.Code length adjuster 50 provides one to reset signal RESET to last number/following counter 44, so that it is made zero in addition.
In different embodiment, the input signal of aforementioned code length automatic regulator 30 is except sign indicating number capacity index signal r, and signal u is not estimated in reference, and direct reference quantization difference Que.Fig. 9 shows that so the inside of a code length automatic regulator 30 is formed, wherein, quantize difference Que through a low pass filter or go up number/following counter 52 and produce an output/Que, this is regulates index signal A, input code length regulator 50, similarly, another of code length adjuster 50 is input as a yard capacity index signal r, and it also provides one to reset signal RESET to low pass filter or last number/following counter 52.In this device, code length automatic regulator 30 is to determine optimal code length according to a quantification difference Que and a sign indicating number capacity.
The further improvement of code length automatic regulator 30 as shown in figure 10, except composition shown in Figure 9, comprise that also a delayer 40 makes quantification difference Que and its delay produce a difference DELTA Que water, through a low pass filter or go up number/following counter 52b and produce an output/Δ Que, produce a compensating signal D through a quantization error compensation device 54 again, become with/Δ Que addition and regulate index signal A and supply with code length adjuster 50.This circuit that increases is to observe the tendency direction that quantizes difference Que, if difference DELTA Que is a positive number, then represents error in continuing to increase, that is the indication code curtailment, should increase; Otherwise, if difference DELTA Que is a negative, then represent error in continuous decrease, that is indication code length abundance, should reduce or remain unchanged.
A control flow embodiment is presented among Figure 11.Figure (A) expression is divided into N scope with the value 56 of code length ι, be Range1, Range2 ..., RangeN, the size of each scope can be identical or different, the code length minimum of scope Range1, increase gradually then, to the code length maximum of scope RangeN.This controlling party ratio juris is as follows, and at first system is given an initial code length ι ini, shown in step 58; Then as step 60, whether check code length ι is in scope Range1, if then enter step 62, check whether regulate index signal A surpasses dividing value HBOUND1, if then code length ι is added 1, shown in step 64, arrive step 70 then, reset, return step 60; If the result of above-mentioned steps 62 then enters step 66 for not, check whether regulate index signal A is lower than dividing value LBOUND1, if, then code length ι is subtracted 1, shown in step 68, arrive step 70 then, reset, return step 60; If the result of above-mentioned steps 66 then directly arrives step 60 for not.Above-mentioned from step 62 to 68 being code length ι adjustment modes among scope Range1, if the result of above-mentioned steps 60 is for denying, the indication code length ι Range1 that overruns, then enter step 72, whether check code length ι is in scope Range2, the control flow of control flow then and above-mentioned scope Range1 is roughly the same, just relatively regulates the used dividing value scope difference of index signal A.In detail, in step 74, surpass dividing value HBOUND2, then to step 64, code length ι is added 1 if regulate index signal A; Otherwise, be lower than dividing value LBOUND2 if in step 76, regulate index signal A, then to step 68, code length ι is subtracted 1; After finishing the adjustment of this scope, similarly, get back to step 70, reset, return step 60.The rest may be inferred, in the end in the comparison of one-level, if step 78 check code length ι learns that it is in the middle of scope RangeN, then to step 80, surpasses dividing value HBOUNDN if regulate index signal A, then to step 64 code length ι added 1; Otherwise, be lower than dividing value LBOUNDN if in step 82, regulate index signal A, then to step 68, code length ι is subtracted 1; After finishing the adjustment of code length ι, get back to step 70, reset, return step 60; If adjusted index signal A is lower than dividing value LBOUNDN in step 82, perhaps, find that in above-mentioned steps 78 code length ι not in the middle of scope RangeN, all directly gets back to step 60, restart the residing scope of check code length ι.
Figure 12 is another control flow embodiment, in this embodiment, the scope 84 of sign indicating number capacity r from sky to full be divided into RangeA, RangeB ..., RangeM, the size of each scope can be identical or different, as shown in figure (A); And in the scope RangeX of each yard capacity r, the value 56 of the code length ι that it is corresponding is divided into N scope again, be RangeX1, RangeX2 ... RangeXN, the big I of each scope is identical or different, the code length minimum of scope RangeX1, increase gradually then, to the code length maximum of scope RangeXN, as shown in figure (B).As previous control flow embodiment, in this control flow, at first also in step 58, give an initial code length ι ini; Then, carry out the adjustment of code length ι according to the residing scope of code length ι in the residing scope of sign indicating number capacity r and this scope.Shown in step 86, when sign indicating number capacity r was in scope RangeA, the adjustment operation ι A that system carries out the central code length ι of scope RangeA shown in step 88, then to step 70, reset, and is added to step 86 again.The rest may be inferred, one by one the scope of check code capacity r, to the last one-level, i.e. step 90.In this afterbody, draw the detailed process of adjusting code length ι among the figure, this process is process shown in Figure 11.The adjustment process that the scope of other each yard capacity r is carried out similarly.On the other hand, in step 90,, begin the residing scope of check code capacity r again again if sign indicating number capacity r then directly gets back to step 86 not in scope RangeM.
Be the variation of descriptor code capacity r adjustment for code length ι, buffer storage that stores sign indicating number at the trusted end of imagination, and it is considered as the bucket that leaks, sign indicating number adds from the top of bucket, and be removed from the below of bucket, that is buffer storage is to operate in the mode of a first in first out (FIFO).Sign indicating number enters the flow of buffer storage may roughly be stablized, also may be very unstable, and this is relevant with actual device and use situation at that time thereof.Generally speaking, sign indicating number is roughly stable from the flow that is removed of buffering memory, but also potentially unstable, and this is also with the device of reality and use situation at that time relevant.For example in a CD-ROM device, put into buffer storage from music CD sheet taking-up data on the one hand, the taking-up data reducing is a music in the memory from cushioning on the other hand, and when CD-ROM device is given a shock, the sign indicating number capacity of its input buffer storage will stop or acute variation moment.And for example in a communication system, the frequency range of transmission channel is limited, if meet accident the interference of incident suddenly, then the code flow received of trusted termination may reduce suddenly.Perhaps in a communication system, the transmission quality potentially unstable of channel, thereby the signaling traffic that causes the trusted termination to be received is suddenly big or suddenly small.In the suchlike application, if keep fixing code length or speed, vague and general phenomenon appears in the buffer storage that decoding end may take place, the system that makes can't successfully operate, particularly in instant or relevant system with medium, for example music, image or have the system of interactive character, its performance performance will become and make the user stand.And the present invention can keep the running of system stability according to using actual state at that time dynamically to adjust code length or speed, thereby promotes quality.
More than the narration done for preferred embodiment of the present invention be purpose for illustrating, accurately be disclosed form and be not intended to limit the present invention, based on above instruction or to make an amendment or change from embodiments of the invention study be possible, embodiment has the knack of this operator and utilizes the present invention to select in practical application with various embodiment and narrate for explaining orally principle of the present invention and allowing, and technological thought attempt of the present invention is decided by following claim and equalization thereof.

Claims (54)

1. a code length is regulated code device automatically, is applied in the pulse code modulated system, and this pulse code modulated system has a quantizer, produces one and quantizes difference signal; One prediction device produces one and estimates signal; And an encoder, produce a code signal, it is characterized in that: this code device comprises a code length automatic regulator, estimates signal and produces a code length conditioning signal and supply with this quantizer and encoder with reference to this, adjusts the length of sign indicating number during for coding automatically.
2. code device as claimed in claim 1 also comprises one yard calculation of capacity device, with reference to this code signal and a trusted end coded signal and produce one yard capacity index signal and supply with this code length automatic regulator, determines this code length conditioning signal according to this.
3. code device as claimed in claim 2, wherein this yard calculation of capacity device comprises an accumulator, produces a buffer code bit according to the difference of this code signal and trusted end coded signal and counts signal, determines this yard capacity index signal according to this.
4. code device as claimed in claim 3, wherein this yard calculation of capacity device also comprises one yard capacity quantizer, counts signal to quantize this buffer code bit.
5. code device as claimed in claim 2, wherein this yard calculation of capacity device comprises two single-shot flip-flops, accepts this code signal and trusted end coded signal respectively, produces a coding number of times signal and a decoding number of times signal according to this; And a counter, accept this coding number of times signal and decoding number of times signal, produce the number of times difference signal of encoding and decoding according to this, and then determine this yard capacity index signal.
6. code device as claimed in claim 5, wherein this yard calculation of capacity device also comprises one yard capacity quantizer, to quantize the number of times difference signal of these encoding and decoding.
7. code device as claimed in claim 2, wherein this code length automatic regulator comprises number/following counter on, a dividing value selector and a code length adjuster, should go up number/following counter compares according to the dividing value that this code length conditioning signal produces according to this difference and this dividing value selector of estimating signal and inhibit signal thereof, bestow this code length adjuster to produce an adjusting index signal, this code length adjuster determines this code length conditioning signal according to this an adjusting index signal and a sign indicating number capacity index signal.
8. a code length is regulated decoding device automatically, is applied in the pulse code modulated system, and this pulse code modulated system has a decoder, produces one according to a code signal and quantizes difference signal; And a prediction device, produce one and estimate signal, it is characterized in that: this decoding device comprises that a code length automatic regulator estimates signal with reference to this and produce a code length conditioning signal and supply with this decoder, adjusts the length of sign indicating number during for decoding automatically.
9. decoding device as claimed in claim 8, wherein this code length automatic regulator also with reference to one yard capacity index signal, determines this code length conditioning signal according to this.
10. decoding device as claimed in claim 9, wherein this code length automatic regulator comprises number/following counter on, a dividing value selector and a code length adjuster, should go up number/following counter compares according to the dividing value that this code length conditioning signal produces according to this difference and this dividing value selector of estimating signal and inhibit signal thereof, bestow this code length adjuster to produce an adjusting index signal, this code length adjuster produces this code length conditioning signal according to this an adjusting index signal and a sign indicating number capacity index signal.
11. a code length is regulated code device automatically, be applied in the pulse code modulated system, this pulse code modulated system has quantizer generation one quantification difference signal, signal is estimated in prediction device generation one and an encoder produces a code signal, it is characterized in that: this code device comprises that a code length automatic regulator produces a code length conditioning signal with reference to this quantification difference signal and supplies with this quantizer and encoder, adjusts the length of sign indicating number during for coding automatically.
12., comprise that also one yard calculation of capacity device with reference to this code signal and a trusted end coded signal and produce one yard capacity index signal and supply with this code length automatic regulator, determines this code length conditioning signal according to this as the code device of claim 11.
13. as the code device of claim 12, wherein this yard calculation of capacity device comprises that an accumulator produces a buffer code bit according to the difference of this code signal and trusted end coded signal and counts signal, determines this yard capacity index signal according to this.
14. as the code device of claim 13, wherein this yard calculation of capacity device also comprises one yard capacity quantizer, counts signal to quantize this buffer code bit.
15. code device as claim 12, wherein this yard calculation of capacity device comprises that two single-shot flip-flops accept this code signal and trusted end coded signal respectively, produce a coding number of times signal and a decoding number of times signal according to this, and one counter accept this coding number of times signal and decoding number of times signal, produce the number of times difference signal of a coding according to this, and then determine this yard capacity index signal.
16. as the code device of claim 15, wherein this yard calculation of capacity device also comprises one yard capacity quantizer, to quantize the number of times difference signal of these encoding and decoding.
17. code device as claim 12, wherein this code length automatic regulator comprises a low pass filter or goes up a number/following counter and a code length adjuster, this low pass filter or last number/following counter are accepted this quantification difference signal and are produced a count signal, determine one to regulate index signal more according to this, this code length adjuster determines this code length conditioning signal according to this adjusting index signal and sign indicating number capacity index signal.
18. code device as claim 17, wherein this code length automatic regulator also comprises one second low pass filter or goes up a number/following counter and a quantization error compensation device, this second low pass filter or go up number/following counter and produce a trend according to the difference of this quantification difference signal and inhibit signal thereof and move towards count signal, this quantization error compensation device moves towards count signal according to this trend and produces a compensating signal, to compensate this adjusting index signal.
19. a code length is regulated decoding device automatically, be applied in the pulse code modulated system, this pulse code modulated system has a decoder and estimates signal according to code signal generation one quantification difference signal and prediction device generation one, it is characterized in that: this decoding device comprises that a code length automatic regulator produces a code length conditioning signal with reference to this quantification difference signal and supplies with this decoder, adjusts the length of sign indicating number during for decoding automatically.
20. as the decoding device of claim 19, wherein this code length automatic regulator also with reference to one yard capacity index signal, determines this code length conditioning signal according to this.
21. decoding device as claim 20, wherein this code length automatic regulator comprises a low pass filter or goes up a number/following counter and a code length adjuster, this low pass filter or last number/following counter are accepted this quantification difference signal and are produced a count signal, determine one to regulate index signal more according to this, this code length adjuster determines this code length conditioning signal according to this adjusting index signal and sign indicating number capacity index signal.
22. decoding device as claim 21, wherein this code length automatic regulator also comprises one second low pass filter or goes up a number/following counter and a quantization error compensation device, this second low pass filter or go up number/following counter and produce a trend according to the difference of this quantification difference signal and inhibit signal thereof and move towards count signal, this quantization error compensation device moves towards count signal according to this trend and produces a compensating signal, to compensate this adjusting index signal.
23. a code length is regulated coding method automatically, is applied in the pulse code modulated system, this method comprises the following steps:
Estimate signal according to a primary signal and and produce a quantification difference signal;
According to this quantification difference signal and estimate signal and produce this and estimate signal;
Produce a code signal according to this quantification difference signal; And
Estimate signal according to this and produce a code length conditioning signal, adjust the length of sign indicating number during for coding automatically.
24., also comprise according to this code signal and a trusted end coded signal producing one yard capacity index signal, to determine this code length conditioning signal as the coding method of claim 23.
25. as the coding method of claim 24, comprise that also difference according to this code signal and trusted end coded signal produces a buffer code bit and counts signal, determine this yard capacity index signal according to this.
26., comprise that also quantizing this buffer code bit counts signal as the coding method of claim 25.
27. as the coding method of claim 24, produce the number of times difference signal of encoding and decoding, and then determine this yard capacity index signal.
28., also comprise the number of times difference signal that quantizes these encoding and decoding as the coding method of claim 28.
29., also comprise difference and this code length conditioning signal of at least one dividing value signal deciding of estimating signal and inhibit signal thereof according to this as the coding method of claim 24.
30., also comprise according to this this at least one dividing value signal of code length conditioning signal decision as the coding method of claim 29.
31. coding method as claim 23, wherein the step of this generation code length conditioning signal comprises the value of code length is divided into many scopes, a corresponding high dividing value of each scope and a low dividing value, compare this high dividing value and the low dividing value of its correspondence again according to the residing scope of this code length, increase and decrease this code length according to this.
32. coding method as claim 24, wherein the step of this generation code length conditioning signal comprises the value of sign indicating number capacity is divided into many scopes, the scope of the corresponding many code lengths of each scope, a corresponding high dividing value of the scope of each code length and a low dividing value, compare this high dividing value of its correspondence and hang down dividing value according to residing scope of this yard capacity and the residing scope of this code length again, increase and decrease this code length according to this.
33. a code length is regulated coding/decoding method automatically, is applied in the pulse code modulated system, this method comprises the following steps:
Produce one according to a code signal and quantize difference signal;
Produce one according to a quantized signal and estimate signal;
According to this quantification difference signal and estimate signal and produce this quantized signal; And
Estimate signal according to this and produce a code length conditioning signal, adjust the length of sign indicating number during for decoding automatically.
34., also comprise with reference to one yard capacity index signal to determine this code length conditioning signal as the coding/decoding method of claim 33.
35., also comprise difference and this code length conditioning signal of at least one dividing value signal deciding of estimating signal and inhibit signal thereof according to this as the coding/decoding method of claim 34.
36., also comprise according to this this at least one dividing value signal of code length conditioning signal decision as the coding/decoding method of claim 35.
37. coding/decoding method as claim 33, wherein the step of this generation code length conditioning signal comprises the value of code length is divided into many scopes, a corresponding high dividing value of each scope and a low dividing value, compare this high dividing value and the low dividing value of its correspondence again according to the residing scope of this code length, increase and decrease this code length according to this.
38. coding/decoding method as claim 34, wherein the step of this generation code length conditioning signal comprises the value of sign indicating number capacity is divided into many scopes, the scope of the corresponding many code lengths of each scope, a corresponding high dividing value of the scope of each code length and a low dividing value, compare this high dividing value of its correspondence and hang down dividing value according to residing scope of this yard capacity and the residing scope of this code length again, increase and decrease this code length according to this.
39. a code length is regulated coding method automatically, is applied in the pulse code modulated system, this method comprises the following steps:
Produce a quantification difference signal according to a primary signal and a prediction signal;
According to this quantification difference signal and estimate signal and produce this and estimate signal;
Produce a code signal according to this quantification difference signal; And
Produce a code length conditioning signal according to this quantification difference signal, adjust the length of sign indicating number during for coding automatically.
40., also comprise according to this code signal and a trusted end coded signal producing one yard capacity index signal, to determine this code length conditioning signal as the coding method of claim 39.
41. as the coding method of claim 40, comprise that also difference according to this code signal and trusted end coded signal produces a buffer code bit and counts signal, determine this yard capacity index signal according to this.
42., comprise that also quantizing this buffer code bit counts signal as the coding method of claim 41.
43., also comprise the number of times difference signal that produces a coding, and then determine this yard capacity index signal as the coding method of claim 40.
44., also comprise the number of times difference signal that quantizes this coding as the coding method of claim 43.
45., comprise that also producing one according to this quantification difference signal regulates index signal, determines this code length conditioning signal more according to this as the coding method of claim 40.
46. as the coding method of claim 45, comprise that also difference according to this quantification difference signal and inhibit signal thereof produces a trend and moves towards count signal, produce a compensating signal according to this, to compensate this adjusting index signal.
47. coding method as claim 39, wherein the step of this generation code length conditioning signal comprises the value of code length is divided into many scopes, a corresponding high dividing value of each scope and a low dividing value, compare this high dividing value and the low dividing value of its correspondence again according to the residing scope of this code length, increase and decrease this code length according to this.
48. coding method as claim 40, wherein the step of this generation code length conditioning signal comprises the value of sign indicating number capacity is divided into many scopes, the scope of the corresponding many code lengths of each scope, a corresponding high dividing value of the scope of each code length and a low dividing value, compare this high dividing value of its correspondence and hang down dividing value according to residing scope of this yard capacity and the residing scope of this code length again, increase and decrease this code length according to this.
49. a code length is regulated coding/decoding method automatically, is applied in the pulse code modulated system, this method comprises the following steps:
Produce one according to a code signal and quantize difference signal;
Produce one according to a quantized signal and estimate signal;
According to this quantification difference signal and estimate signal and produce this quantized signal; And
Produce a code length conditioning signal according to this quantification difference signal, adjust the length of sign indicating number during for decoding automatically.
50., also comprise with reference to one yard capacity index signal to determine this code length conditioning signal as the coding/decoding method of claim 49.
51., comprise that also producing one according to this quantification difference signal regulates index signal, determines this code length conditioning signal more according to this as the coding/decoding method of claim 50.
52. as the coding/decoding method of claim 51, comprise that also difference according to this quantification difference signal and inhibit signal thereof produces a trend and moves towards count signal, produce a compensating signal according to this, to compensate this adjusting index signal.
53. coding/decoding method as claim 49, wherein the step of this generation code length conditioning signal comprises the value of code length is divided into many scopes, a corresponding high dividing value of each scope and a low dividing value, compare this high dividing value and the low dividing value of its correspondence again according to the residing scope of this code length, increase and decrease this code length according to this.
54. coding/decoding method as claim 50, wherein the step of this generation code length conditioning signal comprises the value of sign indicating number capacity is divided into many scopes, the scope of the corresponding many code lengths of each scope, a corresponding high dividing value of the scope of each code length and a low dividing value, compare this high dividing value of its correspondence and hang down dividing value according to residing scope of this yard capacity and the residing scope of this code length again, increase and decrease this code length according to this.
CNB021198667A 2002-05-17 2002-05-17 Code length automatic regulating coding and decoding device and method Expired - Fee Related CN1298118C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021198667A CN1298118C (en) 2002-05-17 2002-05-17 Code length automatic regulating coding and decoding device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021198667A CN1298118C (en) 2002-05-17 2002-05-17 Code length automatic regulating coding and decoding device and method

Publications (2)

Publication Number Publication Date
CN1459935A true CN1459935A (en) 2003-12-03
CN1298118C CN1298118C (en) 2007-01-31

Family

ID=29426905

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021198667A Expired - Fee Related CN1298118C (en) 2002-05-17 2002-05-17 Code length automatic regulating coding and decoding device and method

Country Status (1)

Country Link
CN (1) CN1298118C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103229508A (en) * 2010-11-29 2013-07-31 夏普株式会社 Image encoding device, and image encoding method
CN103929209A (en) * 2014-04-09 2014-07-16 西安电子科技大学 High-performance combined RS processor based on FPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5511095A (en) * 1992-04-15 1996-04-23 Sanyo Electric Co., Ltd. Audio signal coding and decoding device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103229508A (en) * 2010-11-29 2013-07-31 夏普株式会社 Image encoding device, and image encoding method
CN103229508B (en) * 2010-11-29 2016-04-13 夏普株式会社 Picture coding device and method for encoding images
CN103929209A (en) * 2014-04-09 2014-07-16 西安电子科技大学 High-performance combined RS processor based on FPGA

Also Published As

Publication number Publication date
CN1298118C (en) 2007-01-31

Similar Documents

Publication Publication Date Title
EP0414193A2 (en) Adaptive quantization coder/decoder
EP0631402A2 (en) Variable rate coder
CN1146264A (en) Method, rate controller and system for preventing overflow and underflow of decoder buffer
US6201844B1 (en) Transcoding of a data stream
CN1183513C (en) Speech coding including soft adaptability feature
KR100668324B1 (en) Method and apparatus for controlling bit rate on coding of an image data
WO1996020575A3 (en) Buffer management in variable bit-rate compression systems
AU2010358370B2 (en) Improved bitrate distribution
EP1982332B1 (en) Controlling the time-scaling of an audio signal
CN1298118C (en) Code length automatic regulating coding and decoding device and method
CN115190073B (en) USB redirection realization method, system and related equipment
JPH08298465A (en) Transmitter for constant rate transmission of digital information and its method
CN101217615B (en) An image compression bit rate control method and device
CA2028947C (en) Picture coding apparatus
CN1048477A (en) Signal processing system
CN1310166C (en) Method and device for regulating DSP use of hand terminal
TW594685B (en) Automatic regulation encoding/decoding device of code length and method thereof
CN101223790A (en) Rate control method and apparatus
EP1221162B1 (en) G.723.1 audio encoder
JPH11275578A (en) Adaptive bit rate control method for video stream coding
JPH0316491A (en) Moving picture encoder
GB2331678A (en) Controlling data flow in a synchronous data compression system
CN114513664B (en) Video frame encoding method and device, intelligent terminal and computer readable storage medium
CN103096023A (en) Bit rate control device and method thereof
JPH03263927A (en) Encoded output data quantity control system and decoder therefor

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070131

Termination date: 20180517