CN101609679B - Embedded coding and decoding method and device - Google Patents

Embedded coding and decoding method and device Download PDF

Info

Publication number
CN101609679B
CN101609679B CN200810126767A CN200810126767A CN101609679B CN 101609679 B CN101609679 B CN 101609679B CN 200810126767 A CN200810126767 A CN 200810126767A CN 200810126767 A CN200810126767 A CN 200810126767A CN 101609679 B CN101609679 B CN 101609679B
Authority
CN
China
Prior art keywords
envelope information
frequency domain
time domain
reconstruct
original signal
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.)
Expired - Fee Related
Application number
CN200810126767A
Other languages
Chinese (zh)
Other versions
CN101609679A (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.)
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 CN200810126767A priority Critical patent/CN101609679B/en
Priority to PCT/CN2009/072036 priority patent/WO2009152723A1/en
Publication of CN101609679A publication Critical patent/CN101609679A/en
Application granted granted Critical
Publication of CN101609679B publication Critical patent/CN101609679B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses an embedded coding and decoding method and a device and relates to a coding technology, aiming to solve the problems of lower precision of coding quantization and poorer quality of a decoded signal when coding resources are limited during carrying out embedded coding on the whole time domain or frequency domain envelopment information of an original signal in the prior art. The invention adopts the technical scheme that the time domain or frequency domain envelopment information of the original signal is divided into a first part and a second part; a substitute relation between the first part and the second part is established; the substitute relation is used for substituting the first part into the second part during decoding; and embedded coding is carried out on the first part so as to generate a first code rate layer. The embedded coding and decoding method and the device can be applied to the fields of network communication, mobile communication, network congestion control and the mobile communication of the third generation and the forth generation.

Description

Embedded coding and decoding method and device
Technical field
The present invention relates to coding techniques, relate in particular to a kind of embedded coding and decoding method and device.
Background technology
The embedded encoded scrambler that is meant sorts bit stream to be encoded according to difference of importance, with layer mode said bit stream to be encoded is encoded then, generates the code stream with embedded relation of inclusion.This code stream with embedded relation of inclusion generally comprises a core layer and more than one enhancement layer.Wherein, core layer is positioned at the low layer of code stream, is used to the information that provides signal the most basic; Enhancement layer is positioned at the high level of code stream, is used to remedy the detailed information of signal.At receiving end, demoder can be decoded through the core layer to code stream, obtains complete, continuous signal, and when comprising enhancement layer in the code stream, demoder can also be decoded through the enhancement layer to this code stream, improves the signal quality that core layer decodes.
Because the time domain of voice/audio signal or the profile information that the frequency domain envelope information provides whole signal are so existing embedded speech/audio coder is generally encoded the time domain or the frequency domain envelope information of original signal as essential information.When guaranteeing the coded-bit resource-constrained, also can the time domain or the frequency domain envelope information of original signal be coded in the encoding layer, prior art provides two kinds of embedded encoded methods:
A kind of is that according to the difference of code rate, promptly according to the difference of coded-bit resource, coding side adopts different entropy coders or code table etc., and the time domain or the frequency domain envelope information integral body of original signal are encoded, and forms an encoding layer.
In realizing process of the present invention, the inventor finds that there is following problem at least in this coding method: under the situation of coded-bit resource-constrained, this coding method is lower to the quantified precision of time domain or frequency domain envelope information, and the signal quality that decoding end decodes is relatively poor; And for entropy coder or the code table that makes decoding end can know that coding side adopts, coding side need also be encoded information such as the entropy coder of its selection or code table when original signal is encoded, and is transferred to decoding end, waste coded-bit resource.
Another kind is that coding side is encoded the time domain or the frequency domain envelope information of original signal as lower layer signal, obtain coded signal, the encoding layer that the generated code flow rate is lower; Then, obtain the time domain of said original signal or the residual signals of frequency domain envelope information and coded signal; This residual signals and a preset threshold value are compared; According to comparative result, said residual signals or preset low entropy signal are carried out entropy coding as highest level signal, the encoding layer that the generated code flow rate is higher.
This coding method is compared with first kind of coding method, and when comprising the higher encoding layer of said stream rate in the code stream, the signal quality that decoding end decodes is better.But; In realizing process of the present invention; The inventor finds that there is following problem at least in this coding method: identical with first kind of coding method, under the situation of coded-bit resource-constrained, this method is also lower to the quantified precision of signal; Thereby make when in code stream, not comprising the higher encoding layer of stream rate the dtr signal that decodes; And said threshold value and low entropy signal are bigger to the coding quality influence of signal, and the calculating that said threshold value and low entropy signal are set is very complicated; Said threshold value and low entropy signal are changeless, can not adjust the less stable that makes this coding method according to the difference of original signal.
Summary of the invention
Embodiments of the invention provide a kind of embedded coding and decoding method and device, can under the situation of coded-bit resource-constrained, behind coding-decoding operation, obtain quality signal preferably.
The coded-bit resource of using is less, can decode quality signal preferably.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of embedded encoded method comprises: the time domain or the frequency domain envelope information of original signal are divided into first and second portion; Set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion; Said first is carried out embedded encoded, generate first code rate layer.
A kind of embedded coding/decoding method comprises: first code rate layer is decoded first's time domain of reconstruct original signal or frequency domain envelope information; First's time domain or frequency domain envelope information according to said reconstruct; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up; According to first and the second portion time domain or the frequency domain envelope information of said reconstruct, reconstruct original signal.
A kind of embedded encoded device comprises:
The envelope information division unit is used for the time domain or the frequency domain envelope information of original signal are divided into first and second portion;
The replacement relation is set up the unit, is used to set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion;
Embedded encoded unit is used for said first is carried out embedded encoded, generates first code rate layer.
A kind of embedded decoding device comprises:
First signal reconstruct unit is used for first code rate layer is decoded, first's time domain of reconstruct original signal or frequency domain envelope information;
Second portion signal reconstruct unit; Be used for first's time domain or frequency domain envelope information according to the signal reconstruct unit reconstruct of said first; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up;
The original signal reconfiguration unit is used for first and second portion time domain or frequency domain envelope information according to said first signal reconstruct unit and the unit reconstruct of second portion signal reconstruct, the reconstruct original signal.
Embedded coding and decoding method that the embodiment of the invention provides and device; Owing to set up the replacement relation between first and the second portion in advance; So coding side can a first to original signal time domain or frequency domain envelope information carry out embedded encoded; Having solved prior art encodes to the whole time domain or the frequency domain envelope information of original signal; When causing the coded-bit resource-constrained, the quantified precision of said time domain or frequency domain envelope information is lower, the problem that the signal quality that decodes is relatively poor.Embedded coding and decoding method that the embodiment of the invention provides and device when the coded-bit resource-constrained, also can quantize more accurately said first information, thereby the signal quality that decoding end is decoded are better.And, embedded coding and decoding method that the embodiment of the invention provides and device, except that first is carried out embedded encoded the outer coded-bit resource of occupying volume not, the replacement between said first and the second portion concern that algorithm is simple, the stability height.
Description of drawings
The embedded encoded method flow diagram that Fig. 1 provides for the embodiment of the invention;
The embedded coding/decoding method process flow diagram that Fig. 2 provides for the embodiment of the invention;
The embedded encoded apparatus structure synoptic diagram 1 that Fig. 3 provides for the embodiment of the invention;
The embedded encoded apparatus structure synoptic diagram 2 that Fig. 4 provides for the embodiment of the invention;
Embedded decoding device structural representation Fig. 1 that Fig. 5 provides for the embodiment of the invention;
Embedded decoding device structural representation Fig. 2 that Fig. 6 provides for the embodiment of the invention.
Embodiment
Carry out embedded encoded in order to solve prior art to the whole time domain or the frequency domain envelope information of original signal; Causing at coding resource has in limited time; The coded quantization precision is lower, and the problem that the signal quality that decodes is relatively poor, the embodiment of the invention provide a kind of embedded coding and decoding method and device.
One embodiment of the present of invention coding staff comprises:
The time domain or the frequency domain envelope information of original signal are divided into first and second portion.
Set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion.
Said first is carried out embedded encoded, generate first code rate layer.
An alternative embodiment of the invention decoding side comprises:
First code rate layer is decoded first's time domain of reconstruct original signal or frequency domain envelope information.
First's time domain or frequency domain envelope information according to said reconstruct; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up.
According to first and the second portion time domain or the frequency domain envelope information of said reconstruct, reconstruct original signal.
Embedded encoded method as shown in Figure 1, that the embodiment of the invention provides comprises:
Step 101 is divided into first and second portion with the time domain or the frequency domain envelope information of original signal.
In the present embodiment, said first can be the time domain of original signal or the odd number envelope part of frequency domain envelope information, and said second portion can be the time domain of original signal or the even number envelope part of frequency domain envelope information; Perhaps, said first can be the time domain of original signal or the even number envelope part of frequency domain envelope information, and said second portion can be the time domain of original signal or the odd number envelope part of frequency domain envelope information.In the use of reality, can also divide the time domain or the frequency domain envelope information of said original signal through additive method, do not do here and give unnecessary details.
Step 102 is set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion.
Replacement between said first and second portion relation can for: the time domain of second portion or frequency domain envelope information are equivalent to the mean value of the time domain or the frequency domain envelope information of adjacent with it first; Certainly, the replacement relation between said second portion and the first can also be other situation, every kind of situation is not introduced one by one here.
Step 103 is carried out embedded encodedly to said first, generate first code rate layer.
The coding method that said step 103 can adopt prior art to provide like scalar quantization Huffman encoding etc., is carried out embedded encoded to each time domain in the first or frequency domain envelope information; In order to reach the purpose of saving the coded-bit resource, it is embedded encoded that said step 103 can also adopt following scheme that first is carried out, and comprising:
Begin from second time domain or the frequency domain envelope information of said first, obtain current time domain or frequency domain envelope information first differential signal with respect to previous time domain or frequency domain envelope information;
First time domain or frequency domain envelope information to said first are carried out embedded encoded;
More than one first differential signal to obtaining carries out embedded encoded;
Generate first code rate layer according to above-mentioned coding result.
In the present embodiment, step 103 pair more than one first differential signal carry out embedded encoded specifically can be for more than one first differential signal is carried out embedded entropy coding.
Because entropy coding can be set up code table according to the probability distribution rule that various signals in the sequence to be encoded occur; The signal allocation coded-bit few code word high to probability of occurrence; The signal allocation coded-bit many code word low to probability of occurrence; Can make average coded-bit less so said step 103 utilizes embedded entropy coding that said more than one first differential signal is encoded, save the coded-bit resource.
As shown in Figure 1, in order further to improve the coded quantization precision, after the said step 102, can also comprise:
Step 104 is obtained said second portion and with second differential signal between the second portion after the first replacement.
After the then said step 103, can also comprise:
Step 105 is carried out embedded encodedly to said second differential signal, generate second code rate layer.In order to save the bit resource, said step 105 specifically can be for carrying out embedded entropy coding to said second differential signal.
In the present embodiment; Said step 105 not only can be coded in second code rate layer with said second differential signal; Behind said step 103 coding; When first code rate layer also had remaining coded-bit resource, said step 105 can also be coded in first code rate layer with a part of second differential signal, then remaining second differential signal is coded in second code rate layer;
For achieving the above object, after the said step 104, can also comprise: said second differential signal is divided into first subdivision and second subdivision; Then said step 105 specifically can for:
Said first subdivision is carried out embedded encoded, generate first code rate layer;
Said second subdivision is carried out embedded encoded, generate second code rate layer.
The embedded encoded method that the embodiment of the invention provides; Owing to set up the replacement relation between first and the second portion in advance; So coding side can a first to original signal time domain or frequency domain envelope information carry out embedded encoded; Solved prior art the whole time domain or the frequency domain envelope information of original signal have been encoded, when causing the coded-bit resource-constrained, the lower problem of quantified precision of said time domain or frequency domain envelope information.The embedded encoded method that the embodiment of the invention provides when the coded-bit resource-constrained, also can quantize said first information more accurately; And, the embedded encoded method that the embodiment of the invention provides, except that first is carried out embedded encoded the outer coded-bit resource of occupying volume not, the replacement between said first and the second portion concern that algorithm is simple, the stability height.Because the embedded encoded method that provides of the embodiment of the invention, can also carry out embedded encodedly to said second difference information, institute is so that this method coding better effects if, and coding quality is higher.
Embedded coding/decoding method as shown in Figure 2, that the embodiment of the invention provides comprises:
Step 201 is decoded to first code rate layer, first's time domain of reconstruct original signal or frequency domain envelope information.
The embedded encoded method that provides with the embodiment of the invention shown in Figure 1 accordingly, present embodiment described first time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain; The perhaps even number envelope information of original signal time domain or frequency domain.
In the present embodiment, said step 201 specifically can comprise:
First code rate layer is decoded, obtain first time domain or the frequency domain envelope information and more than one first difference information of original signal first's time domain or frequency domain envelope information;
According to said first time domain or the frequency domain envelope information and first difference information, the follow-up time domain of reconstruct said first time domain or frequency domain envelope information or frequency domain envelope information.
Step 202; First's time domain or frequency domain envelope information according to said reconstruct; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up.Wherein, the replacement relation can be consulted with decoding side by coding staff in advance, also can be predefined replacement relation.Described second portion time domain of present embodiment or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain; The perhaps odd number envelope information of original signal time domain or frequency domain;
Second portion time domain or frequency domain envelope information that said step 202 specifically can concern the reconstruct original signal according to the first and the replacement between the second portion of foundation in the step 102 as shown in Figure 1.
Step 203 is according to first and the second portion time domain or the frequency domain envelope information of said reconstruct, reconstruct original signal.
In the present embodiment, in said first code rate layer, comprise second difference information, perhaps when comprising second code rate layer in the code stream that decoding end receives, as shown in Figure 2, after the said step 202, can also comprise:
Step 204 is obtained second difference information.Be specially: obtain second difference information from second code rate layer, perhaps, also can from first code rate layer, obtain second difference information from when comprising second difference information said first code rate layer.
Step 205 according to the second portion time domain or the frequency domain envelope information of said second differential signal and said reconstruct, generates the second portion time domain or the frequency domain envelope information that strengthen.
Then said step 203 specifically can for:
When comprising second code rate layer in the said code stream,, generate reconstructed original signals according to the first's time domain of said reconstruct or the second portion time domain or the frequency domain envelope information of frequency domain envelope information and enhancing;
When only comprising first code rate layer in the said code stream, according to the first of said reconstruct and the second portion time domain or the frequency domain envelope information of second portion time domain or frequency domain envelope information and enhancing, reconstruct original signal.
The embedded coding/decoding method that the embodiment of the invention provides; After first's time domain that decodes original signal or frequency domain envelope information; Can reconstruct the second portion time domain or the frequency domain envelope information of original signal according to the replacement relation that is provided with in advance; Can adapt to the embedded encoded method that the embodiment of the invention provides, and, can reconstruct quality original signal preferably.
For those skilled in the art can more clearly be decoded technical scheme that the embodiment of the invention provides, the embedded coding and decoding method that the above-described embodiment of the invention provides is elaborated below in conjunction with concrete embodiment.
Embodiment 1: the input signal of ultra broadband embedded encoder is the 32kHz sampling rate; Bandwidth is 16kHz; The processing frame length is 20ms, and the embedded coding and decoding method that adopts the embodiment of the invention to provide is handled ultra broadband code rate layer coded-bit resource-constrained to the frequency domain envelope of ultra broadband part.
Coding side:
The first, obtain said input signal ultra broadband frequency domain envelope information partly.
The sampled point number of said input signal in 8 to 16kHz frequency bands is 320 ( 16 - 8 16 ( 32 KHz × 20 Ms ) = 320 ) , Time-domain signal in 8 to the 16kHz frequency bands be y_hi (0), y_hi (1) ..., y_hi (319) }; Through the discrete cosine transform of revising (MDCT) obtain in this frequency band frequency-region signal y_swb (0), y_swb (1) ... Y_swb (319) } because the ultra broadband of ultra broadband embedded encoder partly advances to handle the signal in 8 to the 14kHz frequency bands, from obtain frequency-region signal, extract the frequency-region signal { y_swb (0) in this 8 to 14kHz frequency band; Y_swb (1) ..., y_swb (239) }; Frequency-region signal in said 8 to the 14kHz frequency bands is divided into N subband, and said in the present embodiment N=15 obtains one group of frequency domain envelope information { enve (0); Enve (1) ..., enve (14) }.
The second, with the frequency domain envelope information that obtains in the first step be divided into odd number envelope part enve (1), enve (3) ..., enve (13) } and even number envelope part enve (0), enve (2) ..., enve (14) }.
The 3rd, said even number envelope is partly quantized the frequency domain envelope information { enve after obtaining quantizing q(0), enve q(2) ..., enve q(14) }, set up odd number envelope part enve (1), enve (3) ..., enve (13) } and quantize after each frequency domain envelope information { enve after quantizing of even number envelope part q(0), enve q(2) ..., enve q(14) } the corresponding relation enve ' between (i)=(enve q(i-1)+enve q(i+1))/2, (i=1,3,5 ... 13).
The 4th, the dual numbers envelope partly carries out embedded encoded, generates ultra broadband first code rate layer, comprising:
At first, first frequency domain envelope enve after said even number envelope is partly quantized q(0) encodes, obtain code index index (0);
Then, ask for even number envelope part other after quantizing first differential signal of the frequency domain envelope of frequency domain envelope after with respect to previous quantification, i.e. d i=enve q(i)-enve q(i-2), (i=2,4,6 ... 14);
At last, said first differential signal is quantized the first differential signal d after obtaining to quantize i q, and first differential signal after the said quantification carried out embedded entropy coding, obtain its code index index (i/2), will index (0) ..., index (7), index (8) ..., index (14) } join in ultra broadband first code rate layer.
The 5th, obtain odd number envelope part enve (i) (i=1,3 ... 15) with the replacement after odd number envelope part enve ' (i) (i=1,3 ... 15) the second differential signal d ' between i=enve (i)-enve ' (i) (i=1,3 ... 13), to the said second differential signal d ' iCarry out embedded entropy coding, obtain its code index index ((i+1)/2+7) (and i=1,3 ... 13), will index (8) ..., index (14) } join in ultra broadband second code rate layer.
Decoding end:
The first, ultra broadband first code rate layer to be decoded, the frequency domain envelope information of reconstruct even number envelope part comprises:
At first, from ultra broadband first code rate layer, obtain even number envelope part index information index (0) ..., index (7) }, obtain { enve according to this index information decoding q(0), d 2 q, d 4 q..., d 14 q;
Then, according to formula d i=enve q(i)-enve q(i-2), (i=2,4,6 ... 14), other temporal envelope information after obtaining the even number envelope and partly quantizing, the frequency domain envelope information { enve after obtaining the even number envelope and partly quantizing q(0), enve q(2) ... Enve q(14) }.
The second, according to the replacement between the odd number envelope identical part and the even number envelope part with coding side concern enve ' (i)=(enve q(i-1)+enve q(i+1))/2, (i=1,3,5 ... 13), the frequency domain envelope information of reconstruct odd number envelope part enve ' (1), enve ' (3) ..., enve ' (13) }.
The 3rd, from ultra broadband second code rate layer, obtain even number envelope part index information index (8) ..., index (14) }, decode { d according to this index information 1 q, d 3 q..., d 13 q.
The 4th, according to enve ' (1), enve ' (3) ..., enve ' (13) } and { d 1 q, d 3 q..., d 13 q, obtain the odd number envelope frequency domain envelope information { enve partly that strengthens q(1), enve q(3) ..., enve q(13) }.
The 5th, according to { enve q(0), enve q(2) ... Enve qAnd { enve (14) } q(1), enve q(3) ..., enve q(13) }, the original input signal of reconstruct.
Embodiment 2: the input signal of ultra broadband embedded encoder is the 32kHz sampling rate; Bandwidth is 16kHz; The processing frame length is 20ms; The embedded coding and decoding method that adopts the embodiment of the invention to provide is handled the frequency domain envelope of ultra broadband part, and ultra broadband code rate layer coded-bit resource is sufficient relatively.
Present embodiment is similar with the Code And Decode step of embodiment 1, and its difference is:
Coding side:
On embodiment 1 said the 5th step of coding side basis, with the second differential signal d ' that obtains i=enve (i)-enve ' (i) is divided into two subbands, be about to index (8) ..., index (14) } and be divided into two subbands { index (8);, index (k) } and index (k+1) ..., index (14) }; Will index (8) ..., index (k) } and adding ultra broadband first code rate layer; Will index (k+1) ..., index (14) } and adding ultra broadband second code rate layer.
Decoding end:
Described { the d of third step of embodiment 1 decoding end 1 q, d 3 q..., d 13 q, decoding obtains from ultra broadband first code rate layer and second code rate layer in the present embodiment, promptly from ultra broadband first code rate layer, obtains { d 1 q, d 3 q..., d k q, from ultra broadband first code rate layer, obtain { d K+1 q, d 3 q..., d 13 q.
In the present embodiment, when not comprising the ultra broadband second code rate layer information in the code stream that decoding end receives, can be according to { enve q(0), enve q(2) ... Enve q(14) }, { enve q(1), enve q(3) ..., enve q(k) } and enve ' (k+1), enve ' (3) ..., enve ' (13) }, the input signal that reconstruct is original.
Embedded encoded device as shown in Figure 3, that the embodiment of the invention provides comprises:
Envelope information division unit 301 is used for the time domain or the frequency domain envelope information of original signal are divided into first and second portion;
The replacement relation is set up unit 302, is used to set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion;
Embedded encoded unit 303 is used for said first is carried out embedded encoded, generates first code rate layer.
Further, as shown in Figure 4, said embedded encoded unit 303 can comprise:
The first differential signal acquiring unit 3031 is used for beginning from second time domain or the frequency domain envelope information of said first, obtains current time domain or frequency domain envelope information first differential signal with respect to previous time domain or frequency domain envelope information;
Coding unit 3032 is used at least one first differential signal that first time domain of said first or frequency domain envelope information and the first differential signal acquiring unit obtain is carried out embedded encoded, generates first code rate layer.
Further, as shown in Figure 4, said embedded encoded device can also comprise:
The second differential signal acquiring unit 304 is used to obtain said second portion and with second differential signal between the second portion after first's replacement;
Said embedded encoded unit 303 also is used for said second differential signal is carried out embedded encoded, generates second code rate layer.
Further, as shown in Figure 4, said embedded encoded device can also comprise: the second differential signal division unit 305 is used for said second differential signal is divided into first subdivision and second subdivision;
Said embedded encoded unit 303; Also be used for first to said envelope information division unit 301 acquisitions; And first subdivision that the said second differential signal division unit 305 obtains is carried out embedded encoded; Generate first code rate layer, second subdivision that the second differential signal division unit 305 is obtained is carried out embedded encoded, generates second code rate layer.
The embedded encoded device that the embodiment of the invention provides; Owing to set up the replacement relation between first and the second portion in advance; So coding side can a first to original signal time domain or frequency domain envelope information carry out embedded encoded; Solved prior art the whole time domain or the frequency domain envelope information of original signal have been encoded, when causing the coded-bit resource-constrained, the lower problem of quantified precision of said time domain or frequency domain envelope information.The embedded encoded device that the embodiment of the invention provides when the coded-bit resource-constrained, also can quantize said first information more accurately; And, the embedded encoded device that the embodiment of the invention provides, except that first is carried out embedded encoded the outer coded-bit resource of occupying volume not, the replacement between said first and the second portion concern that algorithm is simple, the stability height.Because the embedded encoded device that provides of the embodiment of the invention, can also carry out embedded encodedly to said second difference information, institute is so that this method coding better effects if, and coding quality is higher.
Embedded decoding device as shown in Figure 5, that the embodiment of the invention provides comprises:
First signal reconstruct unit 501 is used for first code rate layer is decoded, first's time domain of reconstruct original signal or frequency domain envelope information;
Second portion signal reconstruct unit 502; Be used for first's time domain or frequency domain envelope information according to signal reconstruct unit 501 reconstruct of said first; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up;
Original signal reconfiguration unit 503 is used for first and second portion time domain or frequency domain envelope information according to said first signal reconstruct unit 501 and 502 reconstruct of second portion signal reconstruct unit, the reconstruct original signal.
Further, as shown in Figure 6, said first signal reconstruct unit 501 can comprise:
Decoding unit 5011 is used for first code rate layer is decoded, and obtains first time domain or the frequency domain envelope information of original signal first's time domain or frequency domain envelope information, and more than one first difference information;
Signal reconstruct unit 5012 is used for first time domain or the frequency domain envelope information and first difference information according to said decoding unit 5011 acquisitions, the follow-up time domain of reconstruct said first time domain or frequency domain envelope information or frequency domain envelope information.
Further, as shown in Figure 6, said embedded decoding device can also comprise:
The second differential signal acquiring unit 503 is used to obtain second differential signal;
The second portion information generating unit 504 that strengthens is used for second portion time domain or frequency domain envelope information according to said second differential signal and said reconstruct, generates the second portion time domain or the frequency domain envelope information that strengthen;
Said original signal reconfiguration unit 503 also is used for according to the first's time domain of said reconstruct or the second portion time domain or the frequency domain envelope information of frequency domain envelope information and enhancing, generates reconstructed original signals; Or
According to the first of said reconstruct and the second portion time domain or the frequency domain envelope information of second portion time domain or frequency domain envelope information and enhancing, reconstruct original signal.
The embedded decoding device that the embodiment of the invention provides; After first's time domain that decodes original signal or frequency domain envelope information; Can reconstruct the second portion time domain or the frequency domain envelope information of original signal according to the replacement relation that is provided with in advance; Can adapt to the embedded encoded method that the embodiment of the invention provides, and, can reconstruct quality original signal preferably.
The embedded coding and decoding method that the embodiment of the invention provides and device are applicable to embedded encoded to signals such as voice and audio frequency, to satisfy high-quality audio/video meeting, teleconference, network service, mobile communication, network congestion control and the third generation and the 4th third-generation mobile communication widespread demand to embedded speech and audio coding.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer-readable recording medium, like ROM/RAM, magnetic disc or CD etc.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.

Claims (16)

1. an embedded encoded method is characterized in that, comprising:
The time domain or the frequency domain envelope information of original signal are divided into first and second portion;
Set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion;
Said first is carried out embedded encoded, generate first code rate layer;
Said first is the time domain of said original signal or the odd number envelope part of frequency domain envelope information, and said second portion is the time domain of said original signal or the even number envelope part of frequency domain envelope information; Perhaps
Said first is the time domain of said original signal or the even number envelope part of frequency domain envelope information, and said second portion is the time domain of said original signal or the odd number envelope part of frequency domain envelope information.
2. embedded encoded method according to claim 1 is characterized in that, said said first is carried out embedded encoded comprising:
Begin from second time domain or the frequency domain envelope information of said first, obtain current time domain or frequency domain envelope information first differential signal with respect to previous time domain or frequency domain envelope information;
First time domain of said first or frequency domain envelope information are carried out embedded encoded,
More than one first differential signal that obtains is carried out embedded encoded,
Generate first code rate layer according to above-mentioned coding result.
3. embedded encoded method according to claim 2 is characterized in that, said more than one first differential signal that obtains is carried out embedded encoded comprising: more than one first differential signal to obtaining carries out embedded entropy coding.
4. embedded encoded method according to claim 1 is characterized in that, after the said replacement relation of setting up between said first and the second portion, also comprises:
Obtain said second portion and with second differential signal between the second portion after the first replacement;
Then saidly said first is carried out embedded encoded, generates after the first code rate layer step, also comprise:
Said second differential signal is carried out embedded encoded, generate second code rate layer.
5. embedded encoded method according to claim 4 is characterized in that, said said second differential signal is carried out embedded encoded comprising: said second differential signal is carried out embedded entropy coding.
6. embedded encoded method according to claim 4 is characterized in that, saidly obtains said second portion and with also comprising after second differential signal between the second portion after the first replacement:
Said second differential signal is divided into first subdivision and second subdivision;
Then saidly said first is carried out embedded encoded, generates the first code rate layer step and be specially:
Said first is carried out embedded encoded, and said first subdivision is carried out embedded encoded, generate first code rate layer;
Said second differential signal is carried out embedded encoded, generate the second code rate layer step and be specially;
Said second subdivision is carried out embedded encoded, generate second code rate layer.
7. an embedded coding/decoding method is characterized in that, comprising:
First code rate layer is decoded first's time domain of reconstruct original signal or frequency domain envelope information;
First's time domain or frequency domain envelope information according to said reconstruct; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up;
According to first and the second portion time domain or the frequency domain envelope information of said reconstruct, reconstruct original signal;
Said first time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain, and said second portion time domain or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain; Perhaps
Said first time domain or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain, and said second portion time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain.
8. embedded coding/decoding method according to claim 7 is characterized in that, said first code rate layer is decoded, and the first's time domain or the frequency domain envelope information of reconstruct original signal comprise:
First code rate layer is decoded, obtain first time domain or the frequency domain envelope information and more than one first difference information of original signal first's time domain or frequency domain envelope information;
According to said first time domain or the frequency domain envelope information and first difference information, the follow-up time domain of reconstruct said first time domain or frequency domain envelope information or frequency domain envelope information.
9. embedded coding/decoding method according to claim 7; It is characterized in that; Said first's time domain or frequency domain envelope information according to said reconstruct; And, after the second portion time domain or frequency domain envelope information of reconstruct original signal, also comprise according to first's time domain or the relation of the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up:
Obtain second differential signal;
According to the second portion time domain or the frequency domain envelope information of said second differential signal and said reconstruct original signal, generate the second portion time domain or the frequency domain envelope information that strengthen;
Said first and second portion time domain or frequency domain envelope information according to said reconstruct, the reconstruct original signal comprises:
According to the first's time domain of said reconstruct or the second portion time domain or the frequency domain envelope information of frequency domain envelope information and enhancing, reconstruct original signal; Or
According to the first of said reconstruct and the second portion time domain or the frequency domain envelope information of second portion time domain or frequency domain envelope information and enhancing, reconstruct original signal.
10. an embedded encoded device is characterized in that, comprising:
The envelope information division unit is used for the time domain or the frequency domain envelope information of original signal are divided into first and second portion;
The replacement relation is set up the unit, is used to set up the replacement relation between said first and the second portion, when said replacement relation is used to decode first's replacement is obtained second portion;
Embedded encoded unit is used for said first is carried out embedded encoded, generates first code rate layer;
Said first time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain, and said second portion time domain or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain; Perhaps
Said first time domain or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain, and said second portion time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain.
11. embedded encoded device according to claim 10 is characterized in that, said embedded encoded unit comprises:
The first differential signal acquiring unit is used for beginning from second time domain or the frequency domain envelope information of said first, obtains current time domain or frequency domain envelope information first differential signal with respect to previous time domain or frequency domain envelope information;
Coding unit is used at least one first differential signal that first time domain of said first or frequency domain envelope information and the first differential signal acquiring unit obtain is carried out embedded encoded, generates first code rate layer.
12. embedded encoded device according to claim 10 is characterized in that, also comprises:
The second differential signal acquiring unit is used to obtain said second portion and with second differential signal between the second portion after first's replacement;
Said embedded encoded unit also is used for said second differential signal is carried out embedded encoded, generates second code rate layer.
13. embedded encoded device according to claim 12 is characterized in that, also comprises:
The second differential signal division unit is used for said second differential signal is divided into first subdivision and second subdivision;
Said embedded encoded unit; Also be used for first to said envelope information division unit acquisition; And first subdivision that the said second differential signal division unit obtains is carried out embedded encoded; Generate first code rate layer, second subdivision that the said second differential signal division unit is obtained is carried out embedded encoded, generates second code rate layer.
14. an embedded decoding device is characterized in that, comprising:
First signal reconstruct unit is used for first code rate layer is decoded, first's time domain of reconstruct original signal or frequency domain envelope information;
Second portion signal reconstruct unit; Be used for first's time domain or frequency domain envelope information according to the signal reconstruct unit reconstruct of said first; And concern the second portion time domain of reconstruct original signal or frequency domain envelope information according to first's time domain or the replacement between frequency domain envelope information and second portion time domain or the frequency domain envelope information that coding staff is set up;
The original signal reconfiguration unit is used for first and second portion time domain or frequency domain envelope information according to said first signal reconstruct unit and the unit reconstruct of second portion signal reconstruct, the reconstruct original signal;
Said first time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain, and said second portion time domain or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain; Perhaps
Said first time domain or frequency domain envelope information are the even number envelope information of original signal time domain or frequency domain, and said second portion time domain or frequency domain envelope information are the odd number envelope information of original signal time domain or frequency domain.
15. embedded decoding device according to claim 14 is characterized in that,
Said first signal reconstruct unit comprises:
Decoding unit is used for first code rate layer is decoded, and obtains first time domain or the frequency domain envelope information of original signal first's time domain or frequency domain envelope information, and more than one first difference information;
The signal reconstruct unit is used for first time domain or the frequency domain envelope information and first difference information according to said decoding unit acquisition, the follow-up time domain of reconstruct said first time domain or frequency domain envelope information or frequency domain envelope information.
16. embedded decoding device according to claim 14 is characterized in that, also comprises:
The second differential signal acquiring unit is used to obtain second differential signal;
The second portion information generating unit that strengthens is used for second portion time domain or frequency domain envelope information according to said second differential signal and said reconstruct original signal, generates the second portion time domain or the frequency domain envelope information that strengthen;
Said original signal reconfiguration unit also is used for according to the first's time domain of said reconstruct or the second portion time domain or the frequency domain envelope information of frequency domain envelope information and enhancing, reconstruct original signal; Or
According to the first of said reconstruct and the second portion time domain or the frequency domain envelope information of second portion time domain or frequency domain envelope information and enhancing, reconstruct original signal.
CN200810126767A 2008-06-20 2008-06-20 Embedded coding and decoding method and device Expired - Fee Related CN101609679B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810126767A CN101609679B (en) 2008-06-20 2008-06-20 Embedded coding and decoding method and device
PCT/CN2009/072036 WO2009152723A1 (en) 2008-06-20 2009-05-27 An embedded encoding and decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810126767A CN101609679B (en) 2008-06-20 2008-06-20 Embedded coding and decoding method and device

Publications (2)

Publication Number Publication Date
CN101609679A CN101609679A (en) 2009-12-23
CN101609679B true CN101609679B (en) 2012-10-17

Family

ID=41433686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810126767A Expired - Fee Related CN101609679B (en) 2008-06-20 2008-06-20 Embedded coding and decoding method and device

Country Status (2)

Country Link
CN (1) CN101609679B (en)
WO (1) WO2009152723A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316290B (en) * 2010-06-29 2014-03-12 北京创毅视讯科技有限公司 Method and device for determining mobile state of analogue mobile television terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196611A (en) * 1997-04-02 1998-10-21 三星电子株式会社 Scalable audio coding/decoding method and apparatus
CN1379899A (en) * 1999-10-19 2002-11-13 爱特梅尔股份有限公司 Speech variable bit-rate celp coding method and equipment
CN1503572A (en) * 2002-11-21 2004-06-09 Progressive to lossless embedded audio coder (PLEAC) with multiple factorization reversible transform

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335609B1 (en) * 1997-11-20 2002-10-04 삼성전자 주식회사 Scalable audio encoding/decoding method and apparatus
FI119533B (en) * 2004-04-15 2008-12-15 Nokia Corp Coding of audio signals
KR101171098B1 (en) * 2005-07-22 2012-08-20 삼성전자주식회사 Scalable speech coding/decoding methods and apparatus using mixed structure
KR100738077B1 (en) * 2005-09-28 2007-07-12 삼성전자주식회사 Apparatus and method for scalable audio encoding and decoding
US20080004883A1 (en) * 2006-06-30 2008-01-03 Nokia Corporation Scalable audio coding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196611A (en) * 1997-04-02 1998-10-21 三星电子株式会社 Scalable audio coding/decoding method and apparatus
CN1379899A (en) * 1999-10-19 2002-11-13 爱特梅尔股份有限公司 Speech variable bit-rate celp coding method and equipment
CN1503572A (en) * 2002-11-21 2004-06-09 Progressive to lossless embedded audio coder (PLEAC) with multiple factorization reversible transform

Also Published As

Publication number Publication date
CN101609679A (en) 2009-12-23
WO2009152723A1 (en) 2009-12-23

Similar Documents

Publication Publication Date Title
US11990147B2 (en) Adaptive transition frequency between noise fill and bandwidth extension
CN103415884B (en) Device and method for execution of huffman coding
US10909992B2 (en) Energy lossless coding method and apparatus, signal coding method and apparatus, energy lossless decoding method and apparatus, and signal decoding method and apparatus
CN100454389C (en) Sound encoding apparatus and sound encoding method
RU97122037A (en) METHOD AND DEVICE FOR SCALABLE ENCODING / DECODING OF THE AUDIO SIGNAL
CN102396024A (en) Encoding/decoding method for audio signals using adaptive sine wave pulse coding and apparatus thereof
CN101572088A (en) Stereo encoding and decoding method, a coder-decoder and encoding and decoding system
CN101308655A (en) Audio coding and decoding method and apparatus
Honda et al. Bit allocation in time and frequency domains for predictive coding of speech
CN101572087A (en) Method and device for encoding and decoding embedded voice or voice-frequency signal
CN1787383B (en) Methods and apparatuses for transforming, adaptively encoding, inversely transforming and adaptively decoding an audio signal
CN1918630B (en) Method and device for quantizing an information signal
CN101609679B (en) Embedded coding and decoding method and device
CN103295577B (en) Analysis window switching method and device for audio signal coding
CN1154084C (en) Audio coding/decoding technology based on pseudo wavelet filtering
CN101170590B (en) A method, system and device for transmitting encoding stream under background noise
KR101786863B1 (en) Frequency band table design for high frequency reconstruction algorithms
US10839819B2 (en) Block-based audio encoding/decoding device and method therefor
CN101211561A (en) Music signal quality enhancement method and device
Mazor et al. Adaptive subbands excited transform (ASET) coding
Singh et al. An Enhanced Low Bit Rate Audio Codec Using Discrete Wavelet Transform
Viswanathan et al. Noisy-channel performance of 16 kb/s APC coders
Serizawa et al. A silence compression algorithm for multi-rate/dual-bandwidth MPEG-4 CELP standard
Das Advances in Digital Communication (Part 1)

Legal Events

Date Code Title Description
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: 20121017

Termination date: 20190620