CN107342090A - A kind of audio-frequency signal coding, coding/decoding method and audio signal encoder, decoder - Google Patents

A kind of audio-frequency signal coding, coding/decoding method and audio signal encoder, decoder Download PDF

Info

Publication number
CN107342090A
CN107342090A CN201610284150.9A CN201610284150A CN107342090A CN 107342090 A CN107342090 A CN 107342090A CN 201610284150 A CN201610284150 A CN 201610284150A CN 107342090 A CN107342090 A CN 107342090A
Authority
CN
China
Prior art keywords
bit
value
mode
code stream
embedded
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
CN201610284150.9A
Other languages
Chinese (zh)
Other versions
CN107342090B (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.)
Honor Device 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 CN201610284150.9A priority Critical patent/CN107342090B/en
Priority to PCT/CN2017/081114 priority patent/WO2017186040A1/en
Publication of CN107342090A publication Critical patent/CN107342090A/en
Application granted granted Critical
Publication of CN107342090B publication Critical patent/CN107342090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical 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)

Abstract

The invention discloses a kind of audio-frequency signal coding, coding/decoding method and audio signal encoder, decoder, the audio signal encoding method includes the coding mode for determining audio signal, when the coding mode of audio signal is Q sound channel coding modes, present encoding mode is determined in the N kind coded systems included by Q sound channel coding modes, signal is encoded according to present encoding mode, so as to obtain the code stream of audio signal.Value by way of in code stream on bit identifies used N kind coded systems, value by way of setting in code stream on bit on different bits can identify different coded systems, it can realize when increasing or decreasing mode bit, need not change for identify other scripts mode bit on value, a variety of coded systems are freely identified, the compatibility issue for solving encoding scheme.

Description

A kind of audio-frequency signal coding, coding/decoding method and audio signal encoder, decoder
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of audio-frequency signal coding, coding/decoding method and Audio signal encoder, decoder.
Background technology
Audio codec, it is by PCM (Pulse Code Modulation, pulse code modulation) domain Signal bit stream is obtained after the encoded compression of digital audio and video signals, then by signal bit stream according to certain Form is packaged and transmitted, and decoding end is decoded according to the signal bit stream received, so as to recover The digital audio and video signals of PCM domain.
Existing codec, conventional encoding/decoding mode have monophonic encoding/decoding mode and stereo compile to solve Pattern (stereo coding/decoding pattern is alternatively referred to as two sound channel encoding/decoding modes).Therefore, it is necessary to which identifying is Monophonic coding mode or stereo coding pattern.
In addition, existing stereophonic encoder, monophonic letter is obtained after stereophonic signal can be carried out to lower mix Number, then the monophonic signal obtained after lower mix is carried out using the mono encoder of a certain code rate Coding, and parameter information or residual signals between two sound channels of encoded stereoscopic acoustical signal, then will coding Monophonic signal afterwards forms whole stereo code stream, stereosonic volume together with the residual signals after coding Bit rate for it is lower it is mixed after the monophonic code rate that obtains and parameter information or residual signals code rate it With., can be with because this stereo coding pattern has used the mode that monophonic coded system encoded Referred to as embedded encoded mode.
For stereo coding/decoding pattern, N number of stereo code stream with identical stereo coding speed can Can be encoded using the different monophonic coded system of N kinds, the coding of different monophonic coded systems Speed is different.In order to identify the monophonic code encoding/decoding mode under stereo coding/decoding pattern, it is necessary in code stream It is middle that monophonic code encoding/decoding mode is identified using Log2 (N) individual mode bit, and conversion is vertical every time During monophonic code encoding/decoding mode under body sound encoding/decoding mode, it is necessary to change the value of mode bit, carry The coded system of confession is more, it is necessary to which the bit number of modification is also more, and this will largely effect on volume solution Code speed, also, when increasing or decreasing for code encoding/decoding mode results in the need for increasing or decreasing mode bit When, can cause for identify other scripts code encoding/decoding mode corresponding to value on mode bit be also required to Change, therefore the compatibility of coding and decoding scheme can be influenceed.
The content of the invention
The embodiment of the present invention provides a kind of audio-frequency signal coding, coding/decoding method and audio signal encoder, solution Code device, to solve present in prior art because increasing or decreasing for code encoding/decoding mode results in the need for increasing Or reduce mode bit when, can cause for identify other scripts code encoding/decoding mode corresponding to mode ratio Value on special position is also required to change, and the problem of so as to influence the compatibility of coding and decoding scheme, improves simultaneously Encoding and decoding speed.
First aspect, there is provided a kind of audio signal encoding method, including:
Determine the coding mode of audio signal;
When the coding mode of audio signal is Q sound channel coding modes, included by Q sound channel coding modes N kind coded systems in determine present encoding mode, wherein, Q is positive integer more than 1, N be more than 1 positive integer;
Audio signal is encoded according to present encoding mode, so as to obtain the code stream of audio signal, its In, code stream includes mode bit, and the mode bit in code stream is used to identify present encoding mode, code The length of mode bit in stream is i, is more than 1 in i and is less than N-1, and when N is more than 3, code I-1 value on the preceding i-1 bit of i bit of the mode bit in stream is identical, i bit Value on i-th of bit of position is different from the value in i-1 bit on any bit, i-th of bit Value on position is preset value.
Wherein, the length of mode bit be i refer to mode bit there is i bit.
Value by way of in code stream on bit identifies used N kind coded systems, by setting Different coded systems can be identified by putting the value on the mode bit in code stream on different bits, can In a manner of realizing and increase or decrease during bit, it is not necessary to change the mode ratio for identifying other scripts Value on special position, a variety of coded systems are freely identified, the compatibility issue for solving encoding scheme.
With reference in a first aspect, in the first possible implementation of first aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the possible implementation of the first of first aspect or first aspect, the of first aspect In two kinds of possible implementations, when i is equal to N, the mode bit in code stream includes N number of bit , N-1 value on the preceding N-1 bit of N number of bit is identical, the n-th ratio of N number of bit Value on special position is different from the value on any bit in N-1 bit, and the value on n-th bit is Preset value.The n-th bit can be located at after the N-1 bit, by N number of in code stream Value on bit identifies used N kind coded systems, it is possible to achieve is increasing or decreasing mode ratio During special position, it is not necessary to change for identify other scripts mode bit on value, free mark is more Kind coded system, solves the compatibility issue of encoding scheme.
With reference to the possible implementation of the first of first aspect or first aspect, the of first aspect In three kinds of possible implementations, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream Position includes N-1 bit, N-2 identical, the N-1 of value on the preceding N-2 bit of N-1 bit Value on the N-1 bit of individual bit is different from the value in N-2 bit on any bit, Value on the N-1 bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
With reference to the possible implementation of the first of first aspect or first aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of first aspect In, present encoding mode is embedded encoded mode, and the embedded encoded mode uses P sound channel coded systems Encoded, P is the positive integer less than Q.
With reference to the possible implementation of the first of first aspect or first aspect to the third possible reality Any one possible implementation in existing mode, in the 5th kind of possible implementation of first aspect In, N kinds coded system includes at least two embedded encoded modes, at least two embedded encoded modes pair The length for the mode bit answered is different, P sound channel coding staffs used at least two embedded encoded modes The code check of formula is different.
With reference to first aspect or the 5th kind of possible implementation of first aspect, the of first aspect In six kinds of possible implementations, for two kinds of coded systems at least two embedded encoded modes, When the code check of P sound channel coded systems is bigger used in a coded system wherein, one of coding staff The length of mode bit is longer corresponding to formula, or, mode bit corresponding to one of coded system The length of position is shorter.
With reference to the possible implementation of the first of first aspect or first aspect to the 6th kind of possible reality Any one possible implementation in existing mode, in the 7th kind of possible implementation of first aspect In, N kinds coded system includes non-embedded coded system.The non-embedded coded system is without using single Sound channel coded system is encoded, the mode only encoded using multi-channel encoder mode.
With reference to first aspect or the 7th kind of possible implementation of first aspect, the of first aspect In eight kinds of possible implementations, the length of mode bit corresponding to non-embedded coded system is 1;Or Person,
The length of mode bit corresponding to non-embedded coded system is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded coded system is N-1, corresponding to non-embedded coded system Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
With reference to the possible implementation of the first of first aspect or first aspect to the 8th kind of possible reality Any one possible implementation in existing mode, in the 9th kind of possible implementation of first aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
Second aspect, there is provided a kind of audio signal decoding method, including:
Receive the code stream of audio signal;
When it is determined that the decoding schema of code stream is Q channel decoding patterns, the mode bit in code stream On value determine current decoding process, Q channel decodings pattern includes N kind decoding processes, current decoding process It is one kind in N kind decoding processes, the length of the mode bit in code stream is i, and Q is more than 1 just Integer, N are the positive integer more than 1, wherein, it is more than 1 in i and is less than N-1, and N is more than 3 When, i-1 identical, the i of value on the preceding i-1 bit of i bit of the mode bit in code stream Value on i-th of bit of individual bit is different from the value on any bit in i-1 bit, and i-th Value on individual bit is preset value;
Code stream is decoded according to current decoding process.
Used N kind decoding processes are identified by the value in code stream on mode bit, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change the mode bit for identifying other scripts Value, freely identify a variety of decoding processes, the compatibility issue for solving decoding scheme.
With reference to second aspect, in the first possible implementation of second aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to second aspect or second aspect first in possible implementation, the of second aspect In two kinds of possible implementations, when i is equal to N, the mode bit in code stream includes N number of bit , N-1 value on the preceding N-1 bit of N number of bit is identical, the n-th ratio of N number of bit Value on special position is different from the value on any bit in N-1 bit, and the value on n-th bit is Preset value.The n-th bit can be located at after the N-1 bit, by N number of in code stream Value on bit identifies used N kind decoding processes, it is possible to achieve is increasing or decreasing mode ratio During special position, it is not necessary to change for identify other scripts mode bit on value, free mark is more Kind decoding process, solves the compatibility issue of decoding scheme.
With reference to the possible implementation of the first of second aspect or second aspect, the of second aspect In three kinds of possible implementations, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream Position includes N-1 bit, N-2 identical, the N-1 of value on the preceding N-2 bit of N-1 bit Value on the N-1 bit of individual bit is different from the value in N-2 bit on any bit, Value on the N-1 bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
With reference to the possible implementation of the first of second aspect or second aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of second aspect In, current decoding process is embedded decoding process, and the embedded decoding process uses P channel decoding modes Decoded, P is the positive integer less than Q.
With reference to the possible implementation of the first of second aspect or second aspect to the third possible reality Any one possible implementation in existing mode, in the 5th kind of possible implementation of second aspect In, N kinds decoding process includes at least two embedded decoding processes, at least two embedded decoding processes pair The length for the mode bit answered is different, P channel decoding sides used at least two embedded decoding processes The code check of formula is different.
With reference to second aspect or the 5th kind of possible implementation of second aspect, the of second aspect In six kinds of possible implementations, for two kinds of decoding processes at least two embedded decoding processes, When the code check of P channel decoding modes is bigger used in a decoding process wherein, one of decoding side The length of mode bit is longer corresponding to formula, or, mode bit corresponding to one of decoding process The length of position is shorter.
With reference to the possible implementation of the first of second aspect or second aspect to the 6th kind of possible reality Any one possible implementation in existing mode, in the 7th kind of possible implementation of second aspect In, N kinds decoding process includes non-embedded decoding process.
With reference to second aspect or the 7th kind of possible implementation of second aspect, the of second aspect In eight kinds of possible implementations, the length of mode bit corresponding to non-embedded decoding process is 1;Or Person,
The length of mode bit corresponding to non-embedded decoding process is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded decoding process is N-1, corresponding to non-embedded decoding process Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
With reference to the possible implementation of the first of second aspect or second aspect to the 8th kind of possible reality Any one possible implementation in existing mode, in the 9th kind of possible implementation of second aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
The third aspect, there is provided a kind of audio signal encoder, including:
Determining unit, for determining the coding mode of audio signal;It is Q in the coding mode of audio signal During sound channel coding mode, present encoding is determined in the N kind coded systems included by Q sound channel coding modes Mode, wherein, Q is the positive integer more than 1, and N is the positive integer more than 1;
Coding unit, the present encoding mode for being determined according to determining unit are compiled to audio signal Code, so as to obtain the code stream of audio signal, wherein, code stream includes mode bit, the mode in code stream Bit is used to identify present encoding mode, and the length of the mode bit in code stream be i, in i more than 1 And it is less than N-1, and when N is more than 3, the preceding i-1 of i bit of the mode bit in code stream I-1 value on individual bit is identical, and the value on i-th of bit of i bit is different from i-1 ratio Value in special position on any bit, the value on i-th of bit is preset value.
Value by way of in code stream on bit identifies used N kind coded systems, by setting Different coded systems can be identified by putting the value on the mode bit in code stream on different bits, can In a manner of realizing and increase or decrease during bit, it is not necessary to change the mode ratio for identifying other scripts Value on special position, a variety of coded systems are freely identified, the compatibility issue for solving encoding scheme.
With reference to the third aspect, in the first possible implementation of the third aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the possible implementation of the first of the third aspect or the third aspect, the of the third aspect In two kinds of possible implementations, when i is equal to N, the mode bit in code stream includes N number of bit , N-1 value on the preceding N-1 bit of N number of bit is identical, the n-th ratio of N number of bit Value on special position is different from the value on any bit in N-1 bit, and the value on n-th bit is Preset value.The n-th bit can be located at after the N-1 bit, by N number of in code stream Value on bit identifies used N kind coded systems, it is possible to achieve is increasing or decreasing mode ratio During special position, it is not necessary to change for identify other scripts mode bit on value, free mark is more Kind coded system, solves the compatibility issue of encoding scheme.
With reference to the possible implementation of the first of the third aspect or the third aspect, the of the third aspect In three kinds of possible implementations, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream Position includes N-1 bit, N-2 identical, the N-1 of value on the preceding N-2 bit of N-1 bit Value on the N-1 bit of individual bit is different from the value in N-2 bit on any bit, Value on the N-1 bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
With reference to the possible implementation of the first of the third aspect or the third aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of the third aspect In, present encoding mode is embedded encoded mode, and the embedded encoded mode uses P sound channel coded systems Encoded, P is the positive integer less than Q.
With reference to the possible implementation of the first of the third aspect or the third aspect to the third possible reality Any one possible implementation in existing mode, in the 5th kind of possible implementation of the third aspect, N kinds coded system includes at least two embedded encoded modes, corresponding at least two embedded encoded modes The length of mode bit is different, P sound channel coded systems used at least two embedded encoded modes Code check is different.
With reference to the third aspect or the 5th kind of possible implementation of the third aspect, the of the third aspect In six kinds of possible implementations, for two kinds of coded systems at least two embedded encoded modes, When the code check of P sound channel coded systems is bigger used in a coded system wherein, one of coding staff The length of mode bit is longer corresponding to formula, or, mode bit corresponding to one of coded system The length of position is shorter.
With reference to the possible implementation of the first of the third aspect or the third aspect to the 6th kind of possible reality Any one possible implementation in existing mode, in the 7th kind of possible implementation of the third aspect In, N kinds coded system includes non-embedded coded system.
With reference to the third aspect or the 7th kind of possible implementation of the third aspect, the of the third aspect In eight kinds of possible implementations, the length of mode bit corresponding to non-embedded coded system is 1;Or Person,
The length of mode bit corresponding to non-embedded coded system is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded coded system is N-1, corresponding to non-embedded coded system Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
With reference to the possible implementation of the first of the third aspect or the third aspect to the 8th kind of possible reality Any one possible implementation in existing mode, in the 9th kind of possible implementation of the third aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
Fourth aspect, there is provided a kind of audio signal decoder, including:
Receiving unit, for receiving the code stream of audio signal;
Determining unit, for when it is determined that the decoding schema of code stream is Q channel decoding patterns, according to code stream In mode bit on value determine current decoding process, Q channel decodings pattern includes N kinds decoding side Formula, current decoding process are one kind in N kind decoding processes, and the length of the mode bit in code stream is I, Q are the positive integer more than 1, and N is the positive integer more than 1, wherein, it is more than 1 in i and is less than N-1, and when N is more than 3, on the preceding i-1 bit of i bit of the mode bit in code stream I-1 value it is identical, value on i-th of bit of i bit is different from any in i-1 bit Value on bit, the value on i-th of bit is preset value;
Decoding unit, the current decoding process for being determined according to determining unit decode to code stream.
Used N kind decoding processes are identified by the value in code stream on mode bit, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change the mode bit for identifying other scripts Value, freely identify a variety of decoding processes, the compatibility issue for solving decoding scheme.
With reference to fourth aspect, in the first possible implementation of fourth aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the possible implementation of the first of fourth aspect or fourth aspect, the of fourth aspect In two kinds of possible implementations, when i is equal to N, the mode bit in code stream includes N number of bit , N-1 value on the preceding N-1 bit of N number of bit is identical, the n-th ratio of N number of bit Value on special position is different from the value on any bit in N-1 bit, and the value on n-th bit is Preset value.The n-th bit can be located at after the N-1 bit, by N number of in code stream Value on bit identifies used N kind decoding processes, it is possible to achieve is increasing or decreasing mode ratio During special position, it is not necessary to change for identify other scripts mode bit on value, free mark is more Kind decoding process, solves the compatibility issue of decoding scheme.
With reference to the possible implementation of the first of fourth aspect or fourth aspect, the of fourth aspect In three kinds of possible implementations, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream Position includes N-1 bit, N-2 identical, the N-1 of value on the preceding N-2 bit of N-1 bit Value on the N-1 bit of individual bit is different from the value in N-2 bit on any bit, Value on the N-1 bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
With reference to the possible implementation of the first of fourth aspect or fourth aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of fourth aspect In, present encoding mode is embedded decoding process, and the embedded decoding process uses P channel decoding modes Decoded, P is the positive integer less than Q.
With reference to the possible implementation of the first of fourth aspect or fourth aspect to the third possible reality Any one possible implementation in existing mode, in the 5th kind of possible implementation of fourth aspect In, N kinds decoding process includes at least two embedded decoding processes, at least two embedded decoding processes pair The length for the mode bit answered is different, P channel decoding sides used at least two embedded decoding processes The code check of formula is different.
With reference to fourth aspect or the 5th kind of possible implementation of fourth aspect, the of fourth aspect In six kinds of possible implementations, for two kinds of decoding processes at least two embedded decoding processes, When the code check of P channel decoding modes is bigger used in a decoding process wherein, one of decoding side The length of mode bit is longer corresponding to formula, or, mode bit corresponding to one of decoding process The length of position is shorter.
With reference to the possible implementation of the first of fourth aspect or fourth aspect to the 6th kind of possible reality Any one possible implementation in existing mode, in the 7th kind of possible implementation of fourth aspect In, N kinds decoding process includes non-embedded decoding process.
With reference to fourth aspect or the 7th kind of possible implementation of fourth aspect, the of fourth aspect In eight kinds of possible implementations, the length of mode bit corresponding to non-embedded decoding process is 1;Or Person,
The length of mode bit corresponding to non-embedded decoding process is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded decoding process is N-1, corresponding to non-embedded decoding process Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
With reference to the possible implementation of the first of fourth aspect or fourth aspect to the 8th kind of possible reality Any one possible implementation in existing mode, in the 9th kind of possible implementation of fourth aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
5th aspect, there is provided a kind of audio signal encoding method, including:
Determine the coding mode of audio signal;
When the coding mode of audio signal is Q sound channel coding modes, included by Q sound channel coding modes N kind coded systems in determine present encoding mode, present encoding mode be N kind coded systems in i-th Kind of coded system, wherein, Q is the positive integer more than 1, and N is the positive integer more than 1, i to be less than or Person is equal to N positive integer;The index of i-th kind of coded system can be i, or i-1, index value from 1 starts, since 0.Index i can be located in default concordance list, the index i in the concordance list It is corresponding with the N kind coded systems included by Q sound channel coding modes, such as, index 1 correspond to the N The 1st kind of coded system in kind coded system, index 2 correspond to the 2nd kinds of volumes in the N kind coded systems Code mode, the like, pass through the corresponding coded system of index search.
Audio signal is encoded according to present encoding mode, so as to obtain the code stream of audio signal, its In, code stream includes mode bit, and the mode bit in code stream is used to identify present encoding mode, its In, it is more than 1 in i and is less than N, and when N is more than 2, it is individual that the mode bit in code stream includes i Bit, i-1 value on the preceding i-1 bit of i bit is identical, i-th of ratio of i bit Value on special position is different from the value on any bit in i-1 bit, and the value on i-th of bit is pre- If value.
Value by way of in code stream on bit identifies i-th kind of volume in used N kind coded systems Code mode, the value by way of setting in code stream on bit on different bits can identify difference Coded system, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of coded systems, solves encoding scheme Compatibility issue.
In terms of the 5th, in the first possible implementation of the 5th aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the 5th aspect or the first possible implementation of the 5th aspect, the of the 5th aspect In two kinds of possible implementations, it is equal to N in i, and when N is more than 2, the mode bit in code stream Including N-1 bit, N-1 value on N-1 bit is identical, each ratio in N-1 bit Value on special position is different from preset value.The N-1 bit can be located at before the n-th bit, Used N kind coded systems are identified by the value on N number of bit in code stream, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change on the mode bit for identifying other scripts Value, freely identifies a variety of coded systems, the compatibility issue for solving encoding scheme.
With reference to the 5th aspect or second of possible implementation of the 5th aspect, the of the 5th aspect In three kinds of possible implementations, when i is equal to N, the mode bit in code stream also includes n-th ratio Special position, the value on n-th bit is preset value.
With reference to the first possible implementation of the 5th aspect or the 5th aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of the 5th aspect In, N kinds coded system includes embedded encoded mode, and the embedded encoded mode uses P sound channel coding staffs Formula is encoded, and P is the positive integer less than Q.
With reference to the 5th aspect or the 4th kind of possible implementation of the 5th aspect, the of the 5th aspect In five kinds of possible implementations, embedded encoded mode is at least two, at least two embedded volumes In code mode, when the code check of P sound channel coded systems is bigger used in a coded system wherein, wherein The bit number of mode bit is more corresponding to one coded system, or, one of coding staff The bit number of mode bit corresponding to formula is fewer.
With reference to the first possible implementation of the 5th aspect or the 5th aspect to the 5th kind of possible reality Any one possible implementation in existing mode, in the 6th kind of possible implementation of the 5th aspect In, N kinds coded system includes non-embedded coded system.The non-embedded coded system is without using single Sound channel coded system is encoded, the mode only encoded using multi-channel encoder mode.
With reference to the 5th aspect or the 6th kind of possible implementation of the 5th aspect, the of the 5th aspect In seven kinds of possible implementations, non-embedded coded system is N kind coding staffs in N kind coded systems Formula;Or
Non-embedded coded system is the 1st kind of coded system in N kind coded systems.
With reference to the first possible implementation of the 5th aspect or the 5th aspect to the 7th kind of possible reality Any one possible implementation in existing mode, in the 8th kind of possible implementation of the 5th aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
6th aspect, there is provided a kind of audio signal decoding method, including:
Receive the code stream of audio signal;
When it is determined that the decoding schema of code stream is Q channel decoding patterns, the mode bit in code stream On value determine current decoding process, Q channel decodings pattern includes N kind decoding processes, current decoding process For i-th kind of decoding process in N kind decoding processes, wherein, Q is the positive integer more than 1, N be more than 1 positive integer, i are the positive integer less than or equal to N, wherein, it is more than 1 in i and is less than N, and And N, when being more than 2, the mode bit in code stream includes i bit, and first i-1 of i bit compares I-1 value on special position is identical, and the value on i-th of bit of i bit is different from i-1 bit In value on any bit, the value on i-th of bit is preset value;The rope of i-th kind of decoding process It can be i to draw, or i-1. index values are since 1, or since 0.Index i can be located at In default concordance list, the index i in the concordance list and the N kinds decoding side included by Q channel decoding patterns Formula is corresponding, such as, index 1 correspond to the 1st kind of decoding process in the N kind decoding processes, index 2 The 2nd kind of decoding process in the N kind decoding processes is correspond to, the like, it is corresponding by index search Decoding process.
Code stream is decoded according to current decoding process.
Identified by the value on i mode bit in code stream i-th in used N kind decoding processes Kind decoding process, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of decoding processes, solves decoding scheme Compatibility issue.
In terms of the 6th, in the first possible implementation of the 6th aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the 6th aspect or the 6th aspect first in possible implementation, the of the 6th aspect In two kinds of possible implementations, it is equal to N in i, and when N is more than 2, the mode bit in code stream Including N-1 bit, N-1 value on N-1 bit is identical, each ratio in N-1 bit Value on special position is different from preset value.The N-1 bit can be located at before the n-th bit, Used N kind coded systems are identified by the value on N number of bit in code stream, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change on the mode bit for identifying other scripts Value, freely identifies a variety of decoding processes, the compatibility issue for solving decoding scheme.
With reference to the 6th aspect or second of possible implementation of the 6th aspect, the of the 6th aspect In three kinds of possible implementations, when i is equal to N, mode bit also includes n-th bit, the Value on N number of bit is preset value.
With reference to the first possible implementation of the 6th aspect or the 6th aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of the 6th aspect In, N kinds decoding process includes embedded decoding process, and the embedded decoding process uses P channel decoding sides Formula is decoded, and P is the positive integer less than Q.
With reference to the 6th aspect or the 4th kind of possible implementation of the 6th aspect, the of the 6th aspect In five kinds of possible implementations, embedded decoding process is at least two, at least two embedded solutions In code mode, when the code check of P channel decoding modes is bigger used in a decoding process wherein, wherein The bit number of mode bit is more corresponding to one decoding process, or, one of decoding side The bit number of mode bit corresponding to formula is fewer.
With reference to the first possible implementation of the 6th aspect or the 6th aspect to the 5th kind of possible reality Any one possible implementation in existing mode, in the 6th kind of possible implementation of the 6th aspect In, N kinds decoding process includes non-embedded decoding process.
With reference to the 6th aspect or the 6th kind of possible implementation of the 6th aspect, the of the 6th aspect In seven kinds of possible implementations, non-embedded decoding process is N kinds decoding side in N kind decoding processes Formula;Or
Non-embedded decoding process is the 1st kind of decoding process in N kind decoding processes.
With reference to the first possible implementation of the 6th aspect or the 6th aspect to the 7th kind of possible reality Any one possible implementation in existing mode, in the 8th kind of possible implementation of the 6th aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
7th aspect, there is provided a kind of audio signal encoder, including:
Determining unit, for determining the coding mode of audio signal;It is Q in the coding mode of audio signal During sound channel coding mode, present encoding is determined in the N kind coded systems included by Q sound channel coding modes Mode, present encoding mode are i-th kind of coded system in N kind coded systems, wherein, Q is more than 1 Positive integer, N are the positive integer more than 1, and i is the positive integer less than or equal to N;This i-th kind coding The index of mode can be i, or i-1. index values are since 1, or since 0, and index i It can be located in default concordance list, the index i in the concordance list and N included by Q sound channel coding modes Kind coded system is corresponding, such as, index 1 correspond to the 1st kind of coding staff in the N kind coded systems Formula, index 2 correspond to the 2nd kind of coded system in the N kind coded systems, the like, pass through index Search corresponding coded system.
Coding unit, for being encoded according to present encoding mode to audio signal, so as to obtain audio The code stream of signal, wherein, code stream includes mode bit, and the mode bit in code stream is used to identify and worked as Preceding coded system, wherein, it is more than 1 in i and is less than N, and when N is more than 2, the mode in code stream Bit includes i bit, and i-1 value on the preceding i-1 bit of i bit is identical, i ratio Value on i-th of bit of special position is different from the value in i-1 bit on any bit, i-th of ratio Value on special position is preset value.
Value by way of in code stream on bit identifies i-th kind of volume in used N kind coded systems Code mode, the value by way of setting in code stream on bit on different bits can identify difference Coded system, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of coded systems, solves encoding scheme Compatibility issue.
In terms of the 7th, in the first possible implementation of the 7th aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the 7th aspect or the first possible implementation of the 7th aspect, the of the 7th aspect In two kinds of possible implementations, it is equal to N in i, and when N is more than 2, the mode bit in code stream Including N-1 bit, N-1 value on N-1 bit is identical, each ratio in N-1 bit Value on special position is different from preset value.The N-1 bit can be located at before the n-th bit, Used N kind coded systems are identified by the value on N number of bit in code stream, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change on the mode bit for identifying other scripts Value, freely identifies a variety of coded systems, the compatibility issue for solving encoding scheme.
With reference to the 7th aspect or second of possible implementation of the 7th aspect, the of the 7th aspect In three kinds of possible implementations, when i is equal to N, the mode bit in code stream also includes n-th ratio Special position, the value on n-th bit is preset value.
With reference to the first possible implementation of the 7th aspect or the 7th aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of the 7th aspect In, N kinds coded system includes embedded encoded mode, and the embedded encoded mode uses P sound channel coding staffs Formula is encoded, and P is the positive integer less than Q.
With reference to the 7th aspect or the 4th kind of possible implementation of the 7th aspect, the of the 7th aspect In five kinds of possible implementations, embedded encoded mode is at least two, at least two embedded volumes In code mode, when the code check of P sound channel coded systems is bigger used in a coded system wherein, wherein The bit number of mode bit is more corresponding to one coded system, or, one of coding staff The bit number of mode bit corresponding to formula is fewer.
With reference to the first possible implementation of the 7th aspect or the 7th aspect to the 5th kind of possible reality Any one possible implementation in existing mode, in the 6th kind of possible implementation of the 7th aspect In, N kinds coded system includes non-embedded coded system.
With reference to the 7th aspect or the 6th kind of possible implementation of the 7th aspect, the of the 7th aspect In seven kinds of possible implementations, non-embedded coded system is N kind coding staffs in N kind coded systems Formula;Or
Non-embedded coded system is the 1st kind of coded system in N kind coded systems.
With reference to the first possible implementation of the 7th aspect or the 7th aspect to the 7th kind of possible reality Any one possible implementation in existing mode, in the 8th kind of possible implementation of the 7th aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
Eighth aspect, there is provided a kind of audio signal decoder, including:
Receiving unit, for receiving the code stream of audio signal;
Determining unit, for when it is determined that the decoding schema of code stream is Q channel decoding patterns, according to code stream In mode bit on value determine current decoding process, Q channel decodings pattern includes N kinds decoding side Formula, current decoding process are i-th kind of decoding process in N kind decoding processes, wherein, Q is more than 1 Positive integer, N are the positive integer more than 1, and i is the positive integer less than or equal to N, wherein, it is big in i In 1 and being less than N, and when N is more than 2, the mode bit in code stream includes i bit, i I-1 value on the preceding i-1 bit of individual bit is identical, on i-th of bit of i bit Value is different from the value on any bit in i-1 bit, and the value on i-th of bit is preset value;Should Indexing i can be located in default concordance list, and the index i and Q channel decoding patterns in the concordance list are wrapped The N kind decoding processes included are corresponding, such as, index 1 correspond to the 1st kind in the N kind decoding processes Decoding process, index 2 correspond to the 2nd kind of decoding process in the N kind decoding processes, the like, lead to Cross the corresponding decoding process of index search.
Decoding unit, the current decoding process for being determined according to determining unit decode to code stream.
Identified by the value on i mode bit in code stream i-th in used N kind decoding processes Kind decoding process, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of decoding processes, solves decoding scheme Compatibility issue.
With reference to eighth aspect, in the first possible implementation of eighth aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the possible implementation of the first of eighth aspect or eighth aspect, the of eighth aspect In two kinds of possible implementations, it is equal to N in i, and when N is more than 2, the mode bit in code stream Including N-1 bit, N-1 value on N-1 bit is identical, each ratio in N-1 bit Value on special position is different from preset value.The N-1 bit can be located at before the n-th bit, Used N kind coded systems are identified by the value on N number of bit in code stream, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change on the mode bit for identifying other scripts Value, freely identifies a variety of decoding processes, the compatibility issue for solving decoding scheme.
With reference to eighth aspect or second of possible implementation of eighth aspect, the of eighth aspect In three kinds of possible implementations, when i is equal to N, mode bit also includes n-th bit, the Value on N number of bit is preset value.
With reference to the possible implementation of the first of eighth aspect or eighth aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of eighth aspect In, N kinds decoding process includes embedded decoding process, and the embedded decoding process uses P channel decoding sides Formula is decoded, and P is the positive integer less than Q.
With reference to eighth aspect or the 4th kind of possible implementation of eighth aspect, the of eighth aspect In five kinds of possible implementations, embedded decoding process is at least two, at least two embedded solutions In code mode, when the code check of P channel decoding modes is bigger used in a decoding process wherein, wherein The bit number of mode bit is more corresponding to one decoding process, or, one of decoding side The bit number of mode bit corresponding to formula is fewer.
With reference to the possible implementation of the first of eighth aspect or eighth aspect to the 5th kind of possible reality Any one possible implementation in existing mode, in the 6th kind of possible implementation of eighth aspect In, N kinds decoding process includes non-embedded decoding process.
With reference to eighth aspect or the 6th kind of possible implementation of eighth aspect, the of eighth aspect In seven kinds of possible implementations, non-embedded decoding process is N kinds decoding side in N kind decoding processes Formula;Or
Non-embedded decoding process is the 1st kind of decoding process in N kind decoding processes.
With reference to the possible implementation of the first of eighth aspect or eighth aspect to the 7th kind of possible reality Any one possible implementation in existing mode, in the 8th kind of possible implementation of eighth aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
9th aspect, there is provided a kind of audio signal encoder, including:
Processor is used to read code in memory, for performing:Determine the coding mould of audio signal Formula;When the coding mode of audio signal is Q sound channel coding modes, included by Q sound channel coding modes N kind coded systems in determine present encoding mode, wherein, Q is positive integer more than 1, N be more than 1 positive integer;Processor encodes according to present encoding mode to audio signal, so as to obtain audio letter Number code stream, wherein, code stream includes mode bit, and the mode bit in code stream is used to identifying current Coded system, the length of the mode bit in code stream is i, is more than 1 in i and is less than N-1, and N During more than 3, i-1 value phase on the preceding i-1 bit of i bit of the mode bit in code stream Together, the value on i-th of bit of i bit is different from i-1 bit on any bit It is worth, the value on i-th of bit is preset value.
Value by way of in code stream on bit identifies used N kind coded systems, by setting Different coded systems can be identified by putting the value on the mode bit in code stream on different bits, can In a manner of realizing and increase or decrease during bit, it is not necessary to change the mode ratio for identifying other scripts Value on special position, a variety of coded systems are freely identified, the compatibility issue for solving encoding scheme.
In terms of the 9th, in the first possible implementation of the 9th aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the 9th aspect or the first possible implementation of the 9th aspect, the of the 9th aspect In two kinds of possible implementations, when i is equal to N, the mode bit in code stream includes N number of bit , N-1 value on the preceding N-1 bit of N number of bit is identical, the n-th ratio of N number of bit Value on special position is different from the value on any bit in N-1 bit, and the value on n-th bit is Preset value.The n-th bit can be located at after the N-1 bit, by N number of in code stream Value on bit identifies used N kind coded systems, it is possible to achieve is increasing or decreasing mode ratio During special position, it is not necessary to change for identify other scripts mode bit on value, free mark is more Kind coded system, solves the compatibility issue of encoding scheme.
With reference to the 9th aspect or the first possible implementation of the 9th aspect, the of the 9th aspect In three kinds of possible implementations, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream Position includes N-1 bit, N-2 identical, the N-1 of value on the preceding N-2 bit of N-1 bit Value on the N-1 bit of individual bit is different from the value in N-2 bit on any bit, Value on the N-1 bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
With reference to the first possible implementation of the 9th aspect or the 9th aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of the 9th aspect In, present encoding mode is embedded encoded mode, and the embedded encoded mode uses P sound channel coded systems Encoded, P is the positive integer less than Q.
With reference to the first possible implementation of the 9th aspect or the 9th aspect to the third possible reality Any one possible implementation in existing mode, in the 5th kind of possible implementation of the 9th aspect In, N kinds coded system includes at least two embedded encoded modes, at least two embedded encoded modes pair The length for the mode bit answered is different, P sound channel coding staffs used at least two embedded encoded modes The code check of formula is different.
With reference to the 9th aspect or the 5th kind of possible implementation of the 9th aspect, the of the 9th aspect In six kinds of possible implementations, for two kinds of coded systems at least two embedded encoded modes, When the code check of P sound channel coded systems is bigger used in a coded system wherein, one of coding staff The length of mode bit is longer corresponding to formula, or, mode bit corresponding to one of coded system The length of position is shorter.
With reference to the first possible implementation of the 9th aspect or the 9th aspect to the 6th kind of possible reality Any one possible implementation in existing mode, in the 7th kind of possible implementation of the 9th aspect In, N kinds coded system includes non-embedded coded system.
With reference to the 9th aspect or the 7th kind of possible implementation of the 9th aspect, the of the 9th aspect In eight kinds of possible implementations, the length of mode bit corresponding to non-embedded coded system is 1;Or Person,
The length of mode bit corresponding to non-embedded coded system is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded coded system is N-1, corresponding to non-embedded coded system Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
With reference to the first possible implementation of the 9th aspect or the 9th aspect to the 8th kind of possible reality Any one possible implementation in existing mode, in the 9th kind of possible implementation of the 9th aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
Tenth aspect, there is provided a kind of audio signal decoder, including:
Transceiver, processor and memory.
Transceiver receives the code stream of audio signal;Processor is used to read code in memory, for holding OK:When it is determined that the decoding schema of code stream is Q channel decoding patterns, the mode bit in code stream On value determine current decoding process, Q channel decodings pattern includes N kind decoding processes, current decoding process It is one kind in N kind decoding processes, the length of the mode bit in code stream is i, and Q is more than 1 just Integer, N are the positive integer more than 1, wherein, it is more than 1 in i and is less than N-1, and N is more than 3 When, i-1 identical, the i of value on the preceding i-1 bit of i bit of the mode bit in code stream Value on i-th of bit of individual bit is different from the value on any bit in i-1 bit, and i-th Value on individual bit is preset value;Processor solves according to the current decoding process of determination to code stream Code.Used N kind decoding processes are identified by the value in code stream on mode bit, it is possible to achieve When increasing or decreasing mode bit, it is not necessary to change the mode bit for identifying other scripts Value, freely identify a variety of decoding processes, the compatibility issue for solving decoding scheme.
In terms of the tenth, in the first possible implementation of the tenth aspect, when i is equal to 1, Mode bit in code stream includes 1 bit, and the value on 1 bit is preset value.
With reference to the tenth aspect or the first possible implementation of the tenth aspect, the of the tenth aspect In two kinds of possible implementations, when i is equal to N, the mode bit in code stream includes N number of bit , N-1 value on the preceding N-1 bit of N number of bit is identical, the n-th ratio of N number of bit Value on special position is different from the value on any bit in N-1 bit, and the value on n-th bit is Preset value.The n-th bit can be located at after the N-1 bit, by N number of in code stream Value on bit identifies used N kind decoding processes, it is possible to achieve is increasing or decreasing mode ratio During special position, it is not necessary to change for identify other scripts mode bit on value, free mark is more Kind decoding process, solves the compatibility issue of decoding scheme.
With reference to the tenth aspect or the first possible implementation of the tenth aspect, the of the tenth aspect In three kinds of possible implementations, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream Position includes N-1 bit, N-2 identical, the N-1 of value on the preceding N-2 bit of N-1 bit Value on the N-1 bit of individual bit is different from the value in N-2 bit on any bit, Value on the N-1 bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
With reference to the first possible implementation of the tenth aspect or the tenth aspect to the third possible reality Any one possible implementation in existing mode, in the 4th kind of possible implementation of the tenth aspect In, current decoding process is embedded decoding process, and the embedded decoding process uses P channel decoding modes Decoded, P is the positive integer less than Q.
With reference to the first possible implementation of the tenth aspect or the tenth aspect to the third possible reality Any one possible implementation in existing mode, in the 5th kind of possible implementation of the tenth aspect In, N kinds decoding process includes at least two embedded decoding processes, at least two embedded decoding processes pair The length for the mode bit answered is different, P channel decoding sides used at least two embedded decoding processes The code check of formula is different.
With reference to the tenth aspect or the 5th kind of possible implementation of the tenth aspect, the of the tenth aspect In six kinds of possible implementations, for two kinds of decoding processes at least two embedded decoding processes, When the code check of P channel decoding modes is bigger used in a decoding process wherein, one of decoding side The length of mode bit is longer corresponding to formula, or, mode bit corresponding to one of decoding process The length of position is shorter.
With reference to the first possible implementation of the tenth aspect or the tenth aspect to the 6th kind of possible reality Any one possible implementation in existing mode, in the 7th kind of possible implementation of the tenth aspect In, N kinds decoding process includes non-embedded decoding process.
With reference to the tenth aspect or the 7th kind of possible implementation of the tenth aspect, the of the tenth aspect In eight kinds of possible implementations, the length of mode bit corresponding to non-embedded decoding process is 1;Or Person,
The length of mode bit corresponding to non-embedded decoding process is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded decoding process is N-1, corresponding to non-embedded decoding process Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
With reference to the first possible implementation of the tenth aspect or the tenth aspect to the 8th kind of possible reality Any one possible implementation in existing mode, in the 9th kind of possible implementation of the tenth aspect In, mode bit is reserved bit, the bit specified or the bit obtained after expansion.
Tenth on the one hand, there is provided a kind of computer-readable storage medium, the processor of the 9th aspect to be used for for storing The computer software instructions of execution, for performing the method that first aspect provides.
12nd aspect, there is provided a kind of computer-readable storage medium, the processor of the tenth aspect to be used for for storing The computer software instructions of execution, for performing the method that second aspect provides.
13rd aspect, there is provided a kind of audio signal encoder, including:
Processor is used to read code in memory, may for performing the 5th aspect and the 5th aspect Implementation provide method.
Fourteenth aspect, there is provided a kind of audio signal decoder, including:
Transceiver, processor and memory.
Transceiver receives the code stream of audio signal;Processor is used to read code in memory, for holding The method that the aspect of row the 6th and the 6th possible implementation of aspect provide.
15th aspect, there is provided a kind of computer-readable storage medium, be used for the 13rd aspect and for storing The computer software instructions for the computing device that the 13 possible implementations of aspect provide, for performing the The method that five aspects and the 5th possible implementation of aspect provide.
16th aspect, there is provided a kind of computer-readable storage medium, for storing for fourteenth aspect and the The computer software instructions for the computing device that the 14 possible implementations of aspect provide, for performing the The method that six aspects and the 6th possible implementation of aspect provide.
The embodiment of the present invention shows, by determining the coding mode of audio signal, in the coding mould of audio signal When formula is Q sound channel coding modes, determine to work as in the N kind coded systems included by Q sound channel coding modes Preceding coded system, signal is encoded according to present encoding mode, so as to obtain the code of audio signal Stream.Value by way of in code stream on bit identifies used N kind coded systems, by setting Different coded systems can be identified by putting the value on the mode bit in code stream on different bits, can In a manner of realizing and increase or decrease during bit, it is not necessary to change the mode ratio for identifying other scripts Value on special position, a variety of coded systems are freely identified, the compatibility issue for solving encoding scheme.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment The accompanying drawing needed to use is briefly introduced.
Fig. 1 is a kind of system architecture diagram for being adapted to encode/decode audio signal provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of audio signal encoding method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of code stream form provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of code stream form provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of code stream form provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of code stream form provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic flow sheet of audio signal decoding method provided in an embodiment of the present invention;
Fig. 8 a to Fig. 8 f are a kind of structural representation of code stream extension provided in an embodiment of the present invention;
Fig. 9 a to Fig. 9 c are a kind of structural representation of code stream decoding provided in an embodiment of the present invention;
Figure 10 a to Figure 10 d are a kind of structural representation of code stream extension provided in an embodiment of the present invention;
Figure 11 a to Figure 11 c are a kind of structural representation of code stream decoding provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation of audio signal encoder provided in an embodiment of the present invention;
Figure 13 is a kind of structural representation of audio signal decoder provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation of audio signal encoder provided in an embodiment of the present invention;
Figure 15 is a kind of structural representation of audio signal decoder provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing to this hair It is bright to be described in further detail.
The embodiment of the present invention is applied to audio codec, system architecture diagram as shown in Figure 1, the sound Frequency signal codec device includes audio signal encoder 101 and audio signal decoder 102.Audio signal is compiled Code device 101 is used for that signal bit stream will be obtained after the encoded compression of digitized audio message, then believes code stream Number it is packaged and transmits according to certain form.And audio signal decoder 102 is according to the code received Stream signal carries out rule in a certain order and decoded, and recovers digital audio and video signals.
Based on foregoing description, Fig. 2 shows a kind of audio signal encoding method provided in an embodiment of the present invention Flow, the flow can be performed by audio signal encoder.
As shown in Fig. 2 the specific steps of the flow include:
Step 201, the coding mode of audio signal is determined.
Step 202, when the coding mode of audio signal is Q sound channel coding modes, mould is encoded in Q sound channels Present encoding mode is determined in N kind coded systems included by formula.
Step 203, signal is encoded according to present encoding mode, so as to obtain the code of audio signal Stream.
In embodiments of the present invention, the coding mode of audio signal includes Q sound channel coding modes, Q be more than 1 positive integer, the Q sound channel coding modes include N kind coded systems, and N is positive integer.Determining , can be from the N included by Q sound channel coding modes when the coding mode of audio signal is Q sound channel coding modes Present encoding mode is determined in kind coded system, the audio signal is carried out using the current coded system Coding, the code stream of audio signal can be obtained.
It should be understood that the coding mode of audio signal can also include P sound channel coding modes, P is less than Q's Positive integer, in specific implementation, Q sound channels coding mode can be stereo coding pattern, P sound channels Coding mode can be monophonic coding mode, and the coded system in monophonic coding mode includes monophonic and compiled Code mode encodes, and the coded system in stereo coding pattern includes embedded encoded mode, embedded encoded Mode uses monophonic coded system, and stereo coding pattern can also include non-embedded coded system, non- Without using monophonic coded system in embedded encoded mode.
The coding mode of audio signal can also include L sound channel coding modes, and L is the positive integer less than Q, And L is not P.
Code stream after above-mentioned coding includes mode bit.In order to distinguish N kind coded systems, lead to The present encoding mode that value mark on the mode bit crossed in code stream determines from N kind coded systems, code The length of mode bit in stream is i.It is more than 1 in i and is less than N-1, and when N is more than 3, code I-1 value on the preceding i-1 bit of i bit of the mode bit in stream is identical, i bit Value on i-th of bit of position is different from the value in i-1 bit on any bit, i-th of bit Value on position is preset value.The preset value is binary number, can be 1 or 0.Such as:I is equal to 3, should Mode bit has 3 bits, and the value on 3 bits can be 001 or 110.
In order to preferably determine present encoding mode from N kind coded systems, present encoding mode can also For i-th kind of coded system in N kind coded systems, the index of i-th kind of coded system can be i, or I-1, index value is since 1, since 0.Index i can be located in default concordance list, index It is associated with the N kind coded systems included by Q sound channel coding modes that i is indexed in table, such as, index 1 pair The 1st kind of coded system in the N kind coded systems is answered, index 2 correspond in the N kind coded systems The 2nd kind of coded system, the like, pass through the corresponding coded system of index search.
Preferably, when mode bit only has 1 bit in code stream, i.e., when i is equal to 1, code stream In mode bit include 1 bit, the value on 1 bit is preset value.1 bit On value be binary number, can be 1 or 0, can be identified by the preset value and use that volume Code mode.
Further, the value in code stream on mode bit has multiple combinations mode, is classified into a variety of sides below Formula is described in detail:
Mode one
When i is equal to N, the mode bit in code stream includes N number of bit, before N number of bit N-1 value on N-1 bit is identical, and the value on the n-th bit of N number of bit is different from Value in N-1 bit on any bit, the value on n-th bit is preset value.Such as:N Equal to 4, N-1 value on preceding N-1 bit can all be 0 or 1, the value on n-th bit For different from any value in this N-1 value.Can be 0001 or 1110.The n-th bit can position After the N-1 bit, used N is identified by the value on N number of bit in code stream Kind coded system, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of coded systems, solves encoding scheme Compatibility issue.
Mode two
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream includes N-1 bit, N-2 value on the preceding N-2 bit of N-1 bit is identical, N-1 of N-1 bit Value on bit is different from the value on any bit in N-2 bit, on the N-1 bit It is worth for preset value.
Mode three
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
Above-mentioned preset value can be the first preset value in embodiments of the present invention, different in aforesaid way bit In the value of first preset value be the second preset value.
Preferably, mode bit position can also be included in above-mentioned code stream, the value on the mode bit position is used to mark Know the coding mode of audio signal, the value on the mode bit position can be the 3rd preset value, and the 3rd presets It is worth for identifying Q sound channel coding modes.Value on the mode bit position is binary number, the mode bit position Bit number can be 1 or multiple, do not limit herein.As the value on mode bit position is The coding mode that the audio signal is represented when 1 is Q sound channel coding modes, when the value on mode bit position is 0, The coding mode for representing the audio signal is P sound channel coding modes, and the P is the positive integer less than Q.
The signal of different coding code check is encoded by a kind of encoder in order to realize, present encoding mode For embedded encoded mode, the embedded encoded mode is encoded using P sound channel coded systems.Namely Say, the code checks of P sound channel coded systems has a variety of, and correspondingly, code check corresponding to embedded encoded mode has more Kind, the embedded encoded mode is the side encoded using P sound channels coded system corresponding to different code checks Formula.Wherein, above-mentioned N kinds coded system includes at least two embedded encoded modes, at least two insertion The length of mode bit corresponding to formula coded system is different, and at least two embedded encoded mode is used P sound channel coded systems code check it is different.For example N kinds coded system includes two kinds of embedded encoded modes, The length of mode bit corresponding to the first coded system is 1, mode ratio corresponding to second of coded system The length of special position can be 2;The code check and second of P sound channels coded system used in the first coded system P sound channels coded system used in kind coded system is different.
Specifically, for two kinds of coded systems at least two embedded encoded modes, compile for one wherein When the code check of P sound channel coded systems is bigger used in code mode, mode corresponding to one of coded system The length of bit is longer, or, the length of mode bit is got over corresponding to one of coded system It is short.
Further, above-mentioned N kinds coded system can be non-embedded coded system, non-embedded using this When formula coded system is encoded, the length of mode bit corresponding to the non-embedded coded system is 1; Or the length of mode bit corresponding to non-embedded coded system is N;Or it is more than 2 in N When, the length of mode bit corresponding to non-embedded coded system is N-1, non-embedded coded system pair The mode bit answered includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 Value in bit on each bit is different from preset value.
For example, code stream form as shown in Figure 3, the coding mode of audio signal encode including P sound channels Pattern and Q sound channel coding modes, the code check of the P sound channel coded systems under P sound channel coding modes are KMKb/s, also it is K in code check corresponding to the N kind coded systems that Q sound channel coding modes are includedMKb/s, The code check of the P sound channel coded systems used in different embedded encoded modes is KM-ikb/s.Mode bit Value on position uses 0 mark P sound channel coding modes using 1 mark Q sound channel coding modes.Mode ratio The length of special position is i, and i-1 bit uses 0 before the value on mode bit, and i-th bit bit uses 1.Wherein, non-embedded coded system is the N kind coded systems in N kind coded systems, and i is equal to N When, the value on preceding i-1 bit in occupation mode bit is all the 0 non-embedded coding staff of mark Formula.
In code stream form as shown in Figure 4, the length of mode bit is i, the value on mode bit Preceding i-1 bit uses 0, and i-th of bit uses 1.Wherein, non-embedded coded system is N kinds N kind coded systems in coded system, the value on preceding i-1 bit in occupation mode bit are 0, the value on i-th of bit identifies the non-embedded coded system for 1.
In code stream form as shown in Figure 5 or Figure 6, the length of mode bit is i, mode bit I-1 bit uses 0 before upper value, and i-th of bit uses 1.Wherein, non-embedded coded system is The 1st kind of coded system in N kind coded systems, the value on the 1st bit in occupation mode bit The non-embedded coded system is identified for 1.
Code stream form in above-described embodiment is only example effect, in practical application, can be according to specific Situation occupation mode bit before value in value and i-th of bit on i-1 bit be combined to Identify N kind coded systems.Multichannel code stream information in above-mentioned Fig. 3 to Fig. 6 can be the ginseng between multichannel Number information and/or residual signal information.
In embodiments of the present invention, the bit that aforesaid way bit can be reserved bit, specify The bit obtained behind position or expansion.If also including mode bit position in code stream, which bit can With the bit that after the mode bit position, the mode bit position can be reserved bit, specify The bit obtained behind position or expansion, that is to say, that expanded the bit in code stream in the later stage Afterwards, and use and be used as mode bit position and/or mode bit.
Above-described embodiment shows, by determining the coding mode of audio signal, in the coding mode of audio signal For Q sound channel coding modes when, determined in the N kind coded systems included by Q sound channel coding modes current Coded system, signal is encoded according to present encoding mode, so as to obtain the code stream of audio signal. It is i volume that value by way of in code stream on bit, which identifies index in used N kind coded systems, Code mode, the value by way of setting in code stream on bit on different bits can identify difference Coded system, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of coded systems, solves encoding scheme Compatibility issue.
Correspondingly, Fig. 7 shows a kind of flow of audio signal decoding method provided in an embodiment of the present invention, The flow can be performed by audio signal decoder.
As shown in fig. 7, the flow specifically includes:
Step 701, the code stream of audio signal is received.
Step 702, when it is determined that the decoding schema of code stream is Q channel decoding patterns, the side in code stream Value on formula bit determines current decoding process.
Step 703, code stream is decoded according to current decoding process.
In embodiments of the present invention, the decoding schema of code stream can be Q channel decodings pattern or P channel decodings Pattern, Q are the positive integer more than 1, and P is the positive integer less than Q.For example P sound channels can be monophone Road, Q sound channels can be multichannel.Wherein, Q channel decodings pattern includes decoding process in N.Reading The decoding schema that the code stream is determined after the code stream of the audio signal received is Q channel decoding patterns, if In code stream during existing way bit, current decoding side can be determined according to the value on mode bit Formula, the current decoding process finally determined according to this decode to the code stream.Wherein, current decoding side Formula is one kind in N kind decoding processes, and the length of the mode bit in code stream is i, and N is more than 1 Positive integer, it is more than 1 in i and is less than N-1, and when N is more than 3, the mode bit in code stream I-1 value on the preceding i-1 bit of i bit is identical, on i-th of bit of i bit Value is different from the value on any bit in i-1 bit, and the value on i-th of bit is preset value.Should Preset value is binary number, can be 1 or 0.Such as:I is equal to 3, and which bit has 3 bits , the value on 3 bits can be 001 or 110.
It should be understood that in specific implementation, Q channel decodings pattern can be stereo decoding pattern, P Channel decoding pattern can be monophonic decoding schema, and the decoding process in monophonic decoding schema includes monophone Road decoding process decodes, and the decoding process in stereo decoding pattern includes embedded decoding process, embedded Decoding process uses monophonic decoding process, and stereo decoding pattern can also include non-embedded decoding side Formula, without using monophonic decoding process in non-embedded decoding process.
The decoding schema of audio signal can also include L channel decoding patterns, and L is the positive integer less than Q, And L is not P.
Preferably, when mode bit only has 1 bit in code stream, i.e., when i is equal to 1, code stream In mode bit include 1 bit, the value on 1 bit is preset value.1 bit On value be binary number, can be 1 or 0, can be identified by the preset value and need to use that solution Code mode is decoded.
Further, the value in code stream on mode bit has multiple combinations mode, is classified into a variety of sides below Formula is described in detail:
Mode one
When i is equal to N, the mode bit in code stream includes N number of bit, before N number of bit N-1 value on N-1 bit is identical, and the value on the n-th bit of N number of bit is different from Value in N-1 bit on any bit, the value on n-th bit is preset value.Such as:N Equal to 4, N-1 value on preceding N-1 bit can all be 0 or 1, the value on n-th bit For different from any value in this N-1 value.Can be 0001 or 1110.The n-th bit can position After the N-1 bit, the N needed to use is identified by the value on N number of bit in code stream Kind decoding process, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change for identifying it Value on the mode bit of its script, freely identifies a variety of decoding processes, solves decoding scheme Compatibility issue.
Mode two
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream includes N-1 bit, N-2 value on the preceding N-2 bit of N-1 bit is identical, N-1 of N-1 bit Value on bit is different from the value on any bit in N-2 bit, on the N-1 bit It is worth for preset value.
Mode three
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
Above-mentioned preset value can be the first preset value in embodiments of the present invention, different in aforesaid way bit In the value of first preset value be the second preset value.
Preferably, there can also be mode bit position in above-mentioned code stream, the value on the mode bit position is used to mark Know the decoding schema of audio signal, the value on the mode bit position can be the 3rd preset value, and the 3rd presets It is worth for identifying Q channel decoding patterns.Value on the mode bit position is binary number, the mode bit position Bit number can be 1 or multiple, do not limit herein.As the value on mode bit position is The decoding schema that the audio signal is represented when 1 is Q channel decoding patterns, when the value on mode bit position is 0, The decoding schema for representing the audio signal is P channel decoding patterns, and the P is the positive integer less than Q.
Above-mentioned current decoding process is embedded decoding process, and the embedded decoding process uses P channel decodings Mode is decoded.That is, the code check of P channel decoding modes have it is a variety of, correspondingly, embedded solution Code check corresponding to code mode has a variety of, and the P is positive integer less than Q, and the embedded decoding process is uses The mode that P channel decodings mode corresponding to different code checks is decoded.Wherein, above-mentioned N kinds decoding process Including at least two embedded decoding processes, mode bit corresponding at least two embedded decoding process The length of position is different, and the code check of P channel decoding modes used at least two embedded decoding process is not Together.For example N kinds decoding process includes two kinds of embedded decoding processes, side corresponding to the first decoding process The length of formula bit is 1, and the length of mode bit corresponding to second of decoding process can be 2;The P sound used in the code check and second of decoding process of P channel decodings mode used in a kind of decoding process Road decoding process is different.
Specifically, for two kinds of decoding processes at least two embedded decoding processes, one solves wherein When the code check of P channel decoding modes is bigger used in code mode, mode corresponding to one of decoding process The length of bit is longer, or, the length of mode bit is got over corresponding to one of decoding process It is short.
Further, above-mentioned N kinds decoding process can be non-embedded decoding process, non-embedded using this When formula decoding process is decoded, the length of mode bit corresponding to the non-embedded decoding process is 1; Or the length of mode bit corresponding to non-embedded decoding process is N;Or it is more than 2 in N When, the length of mode bit corresponding to non-embedded decoding process is N-1, non-embedded decoding process pair The mode bit answered includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 Value in bit on each bit is different from preset value.
For example, when the code stream form of the code stream received is as shown in Figure 3, reading code check is KMMode bit position in kb/s code stream, if the value of mode bit position is 0, in KMKb/s code checks The lower P channel decodings mode using P channel decoding patterns decodes to the code stream.
If the value of mode bit position is 1, the value on reading manner bit:
The use of code check is K if the value on i-th of mode bit in mode bit is 1M-ikb/s P channel decodings mode and combine the multi-channel information in code stream and carry out embedded decoding process.
If the value on preceding i-1 bit in mode bit is less than N for 0 and i, continue to read next Position bit.
If the value of i-th of flag bit position in mode bit, which is 0 and i, is equal to N, carry out non-embedded Formula decoding process.
When the code stream form of the code stream received is as shown in Figure 4, reading code check is KMIn kb/s code stream Mode bit position, if the value of mode bit position be 0, in KMP channel decodings are used under kb/s code checks The P channel decodings mode of pattern decodes to the code stream.
If the value of mode bit position is 1, the value on reading manner bit:
If the value of i-th of flag bit position in mode bit, which is 1 and i, is less than or equal to N, code is used Rate is KM-iKb/s P channel decodings mode is simultaneously combined at the embedded decoding of multi-channel information progress in code stream Reason.
If the value of i-th of flag bit position in mode bit, which is 1 and i, is equal to N, carry out non-embedded The processing of formula multi-channel decoding.
When the code stream form of the code stream received is as shown in Figure 5, reading code check is KMIn kb/s code stream Mode bit position, if the value of mode bit position be 0, in KMP channel decodings are used under kb/s code checks The P channel decodings mode of pattern decodes to the code stream.
If the value of mode bit position is 1, the value on reading manner bit:
If the value of i-th of flag bit position in mode bit, which is 1 and i, is equal to 1, carry out non-embedded Multi-channel decoding processing.
If the value of i-th of flag bit position in mode bit is C and i is less than or equal to N more than or equal to 2, The use of code check is then KM-i-1Multi-channel information in kb/s P channel decodings mode and combination code stream carries out embedding Enter formula decoding process.
When the code stream form of the code stream received is as shown in Figure 6, reading code check is KMIn kb/s code stream Mode bit position, if the value of mode bit position be 0, in KMP channel decodings are used under kb/s code checks The P channel decodings mode of pattern decodes to the code stream.
If the value of mode bit position is 1, the value on reading manner bit:
If the value of i-th of flag bit position in mode bit, which is 1 and i, is equal to 1, carry out non-embedded Multi-channel decoding processing.
If the value of i-th of flag bit position in mode bit is C and i is less than or equal to N more than or equal to 2, The use of code check is then KM-i-1Multi-channel information in kb/s P channel decodings mode and combination code stream carries out embedding Enter formula decoding process.
Above-described embodiment shows, by receiving the code stream of audio signal, it is determined that the decoding schema of code stream is Q During channel decoding pattern, the value on mode bit in code stream determines current decoding process, according to Current decoding process decodes to code stream.Value by way of in code stream on bit, which identifies, to be made N kind decoding processes, the value by way of in code stream on bit on different bits can identify Go out different decoding processes, it is possible to achieve when increasing or decreasing mode bit, it is not necessary to change and be used for The value on the mode bit of other scripts is identified, freely identifies a variety of decoding processes, solves decoding The compatibility issue of scheme.
In order to preferably explain the embodiment of the present invention, audio signal will be described under specific implement scene below Codec carries out the flow of audio-frequency signal coding and audio signal decoding.
In embodiments of the present invention, the code stream of audio signal includes mode bit position and mode bit.Mould Value on formula bit is the 3rd preset value, and the value that mode bit is gone forward on i-1 bit is first pre- If value, the value on i-th of bit is the second preset value, and audio signal is represented when the 3rd preset value is 1 Encoding/decoding mode is Q sound channel encoding/decoding modes, and the encoding and decoding mould of audio signal is represented when the 3rd preset value is 0 Formula is P sound channel encoding/decoding modes.First preset value is 0, and the second preset value is 1.Implemented by the present invention The code stream that example obtains is the code stream being extended by the code stream of existing P sound channels.
Scene one
When using Q sound channel coding modes:If N kind coded systems, N are included under Q sound channel coding modes For the integer more than or equal to zero, then:
As shown in Figure 8 a, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, when code stream forms of the i equal to 1 and before mode bit position is identical, the value on mode bit position For 1, the 1st bit in mode bit is 1, also including code check is K in code streamM-iKb/s P The partial code streams information and multichannel code stream information of sound channel coded system coding.
As shown in Figure 8 b, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, when i is equal to the code stream form difference before 1 and mode bit position, the value on mode bit position For 1, the 1st bit in mode bit is 1, also including code check is K in code streamM-iKb/s P The partial code streams information and multichannel code stream information of sound channel coded system coding.
As shown in Figure 8 c, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i is the code stream lattice before the integer more than or equal to 2 less than or equal to N and mode bit position When formula is identical, the value on mode bit position is 1, and the preceding i-1 bit in mode bit is 0, i-th Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As shown in figure 8d, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i is the code stream lattice before the integer more than or equal to 2 less than or equal to N and mode bit position During formula difference, the value on mode bit position is 1, and the preceding i-1 bit in mode bit is 0, i-th Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As figure 8 e shows, if using non-embedded coded system, mode bit under Q sound channel coding modes Value on position is 1, and the value all 0 on mode bit, the code stream also includes non-embedded code stream information.
For example, a kind of audio codec, 16.4kb/s encoder bit rate only has monophonic coding before not extending Pattern, after code stream extension, new code flow structure can be supported to include monophonic coding mode and stereo volume Pattern, and a kind of embedded encoded mode and a kind of non-embedded volume can be included in stereo coding pattern Code mode.The method of encoder bit rate 16.4kb/s monophonic code stream extension, can be specifically:
When using monophonic coding mode, by 2bits bandwidth zone bit information, mode bit position and code check The code stream for being 16.4kb/s for code check after 16.4kb/s monophonic code stream information composition extension, wherein, pattern Value on bit is 0.
When using stereo coding pattern, encoded according to embedded encoded mode, then by 2bits bandwidth Zone bit information, mode bit position, mode bit, code check be 13.2kb/s monophonic code stream information and The code stream that code check is 16.4kb/s after the stereophonic widening information structure extension that code check is 3kb/s, wherein, mould Value on formula bit is 1, the value on mode bit is 1.
According to non-embedded coded system, then by 2bits bandwidth zone bit information, mode bit position mode The non-embedded code stream information in addition to bandwidth information that bit and code check are 16.2kb/s forms code after extension Rate is 16.4kb/s code stream, and wherein the value on mode bit position is 1, and the value on mode bit is 01.
For example, a kind of audio codec, 24.4kb/s encoder bit rate only has monophonic coding before not extending Pattern, after code stream extension, new code flow structure can be supported to include monophonic coding mode and stereo volume Pattern, and two kinds of embedded encoded modes and a kind of non-embedded volume can be included in stereo coding pattern Code mode.The method of encoder bit rate 24.4kb/s monophonic code stream extension, can be specifically:
When using monophonic coding mode, it is by 2bits bandwidth zone bit information mode bit position and code check The code stream that code check is 24.4kb/s after 24.4kb/s monophonic code stream information composition extension, wherein, pattern ratio Value on special position is 0.
When using stereo coding pattern, according to embedded stereoscopic sound encoder, use code rate for During 16.4kbps monophonic coded system, then by 2bits bandwidth zone bit information, mode bit position, mode The stereophonic widening letter that the monophonic code stream information and code check that bit, code check are 16.4kb/s are 7.95kb/s The code stream that code check is 24.4kb/s after breath composition extension, wherein, the value on mode bit position is 1, mode ratio Value on special position is 1.
When using code rate as 13.2kbps monophonic coded system, then believed by 2bits bandwidth flag bit The monophonic code stream information and code check that breath, mode bit position, mode bit, code check are 13.2kb/s be The code stream that code check is 24.4kb/s after 10.95kb/s stereophonic widening information structure extension, wherein, pattern ratio Value on special position is 1, the value on mode bit is 01.
According to non-embedded coded system, then by 2bits bandwidth zone bit information, mode bit position mode After the non-embedded code stream information in addition to bandwidth information that bit and code check are 24.15kb/s forms extension Code check is 24.4kb/s code stream, and wherein the value on mode bit position is 1, and the value on mode bit is 001.
Correspondingly, the processing procedure of decoding end is:
As illustrated in fig. 9, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if i-th of bit in mode bit in code stream is 1, by mode bit The value of position resets to 0, and then the code stream is decoded for i embedded decoding process using index Obtain Q channel decoding signals.
As shown in figure 9b, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if the value all 0 on mode bit, using non-embedded decoding process to this Code stream is decoded to obtain Q channel decoding signals.
For example, a kind of audio codec, decoding end receives the code stream that code check is 16.4kb/s, and code stream is read Taking can be specifically:
Read mode bit.If the value of mode bit position is 0, the code stream received is 16.4kbps's Monophonic code stream.The monophonic decoding process under monophonic decoding schema can be used to the code stream decoding.
If the value of mode bit position is 1, the value on reading manner bit is needed, if in mode bit Only 1 bit, and be worth be 0, then using code check be 13.2kbps monophonic decoding process combine The stereophonic widening code stream that code check is 3kbps carries out embedded decoding.
If only 1 bit in mode bit, and it is 1 to be worth, then it is 16.4kb/s's to carry out code check Non-embedded decoding.
Scene two
When using Q sound channel coding modes:If N kind coded systems, N are included under Q sound channel coding modes For the integer more than or equal to zero, then:
As shown in Figure 8 a, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, when code stream forms of the i equal to 1 and before mode bit position is identical, the value on mode bit position For 1, the 1st bit in mode bit is 1, also including code check is K in code streamM-iKb/s P The partial code streams information and multichannel code stream information of sound channel coded system coding.
As shown in Figure 8 b, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, when i is equal to the code stream form difference before 1 and mode bit position, the value on mode bit position For 1, the 1st bit in mode bit is 1, also including code check is K in code streamM-iKb/s P The partial code streams information and multichannel code stream information of sound channel coded system coding.
As shown in Figure 8 c, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i is the code stream lattice before the integer more than or equal to 2 less than or equal to N and mode bit position When formula is identical, the value on mode bit position is 1, and the preceding i-1 bit in mode bit is 0, i-th Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As shown in figure 8d, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i be more than or equal to 2 less than N integer and mode bit position before code stream form not Meanwhile the value on mode bit position is 1, the preceding i-1 bit in mode bit is 0, i-th of ratio Special position is 1, also including code check is K in code streamM-iThe partial code streams letter of kb/s P sound channels coded system coding Breath and multichannel code stream information.
As illustrated in fig. 8f, if using non-embedded coded system, mode bit under Q sound channel coding modes When value on position is equal to N for 1, i, preceding i-1 value all 0, i-th of bit in mode bit Value be 1, the code stream also includes non-embedded code stream information.
For example, a kind of audio codec, 16.4kb/s encoder bit rate only has monophonic coding before not extending Pattern, after code stream extension, new code flow structure can be supported to include monophonic coding mode and stereo volume Pattern, and a kind of embedded encoded mode and a kind of non-embedded volume can be included in stereo coding pattern Code mode.The method of encoder bit rate 16.4kb/s monophonic code stream extension, can be specifically:
When using monophonic coding mode, by 2bits bandwidth zone bit information, mode bit position and code check The code stream for being 16.4kb/s for code check after 16.4kb/s monophonic code stream information composition extension, wherein, pattern Value on bit is 0.
When using stereo coding pattern, encoded according to embedded encoded mode, then by 2bits bandwidth Zone bit information, mode bit position, mode bit, code check be 13.2kb/s monophonic code stream information and The code stream that code check is 16.4kb/s after the stereophonic widening information structure extension that code check is 3kb/s, wherein, mould Value on formula bit is 1, the value on mode bit is 1.
According to non-embedded coded system, then by 2bits bandwidth zone bit information, mode bit position mode The non-embedded code stream information in addition to bandwidth information that bit and code check are 16.2kb/s forms code after extension Rate is 16.4kb/s code stream, and wherein the value on mode bit position is 1, and the value on mode bit is 01.
For example, a kind of audio codec, 24.4kb/s encoder bit rate only has monophonic coding before not extending Pattern, after code stream extension, new code flow structure can be supported to include monophonic coding mode and stereo volume Pattern, and two kinds of embedded encoded modes and a kind of non-embedded volume can be included in stereo coding pattern Code mode.The method of encoder bit rate 24.4kb/s monophonic code stream extension, can be specifically:
When using monophonic coding mode, it is by 2bits bandwidth zone bit information mode bit position and code check The code stream that code check is 24.4kb/s after 24.4kb/s monophonic code stream information composition extension, wherein, pattern ratio Value on special position is 0.
When using stereo coding pattern, according to embedded stereoscopic sound encoder, use code rate for During 16.4kbps monophonic coded system, then by 2bits bandwidth zone bit information, mode bit position, mode The stereophonic widening letter that the monophonic code stream information and code check that bit, code check are 16.4kb/s are 7.95kb/s The code stream that code check is 24.4kb/s after breath composition extension, wherein, the value on mode bit position is 1, mode ratio Value on special position is 1.
When using code rate as 13.2kbps monophonic coded system, then believed by 2bits bandwidth flag bit The monophonic code stream information and code check that breath, mode bit position, mode bit, code check are 13.2kb/s be The code stream that code check is 24.4kb/s after 10.95kb/s stereophonic widening information structure extension, wherein, pattern ratio Value on special position is 1, the value on mode bit is 10.
According to non-embedded coded system, then by 2bits bandwidth zone bit information, mode bit position mode After the non-embedded code stream information in addition to bandwidth information that bit and code check are 24.15kb/s forms extension Code check is 24.4kb/s code stream, and wherein the value on mode bit position is 1, and the value on mode bit is 110.
Correspondingly, the processing procedure of decoding end is:
As illustrated in fig. 9, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if i-th of bit in mode bit in code stream is 1, by mode bit The value of position resets to 0, and then the code stream is decoded for i embedded decoding process using index Obtain Q channel decoding signals.
As is shown in fig. 9 c, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if the value on mode bit is 01, using non-embedded decoding process to the code stream Decoded to obtain Q channel decoding signals.
For example, a kind of audio codec, decoding end receives the code stream that code check is 16.4kb/s, and code stream is read Taking can be specifically:
Read mode bit.If the value of mode bit position is 0, the code stream received is 16.4kbps's Monophonic code stream.The monophonic decoding process under monophonic decoding schema can be used to the code stream decoding.
If the value of mode bit position is 1, the value on reading manner bit is needed, if in mode bit Only 1 bit, and be worth be 1, then using code check be 13.2kbps monophonic decoding process combine The stereophonic widening code stream that code check is 3kbps carries out embedded decoding.
If only 1 bit in mode bit, and it is 0 to be worth, then it is 16.4kb/s's to carry out code check Non-embedded decoding.
Scene three
Below so that reserved bit position is in code stream positioned at first place as an example, monophonic code stream is extended after description coding For the code stream form of stereo code stream, it is specially:
When using Q sound channel coding modes:If N kind coded systems, N are included under Q sound channel coding modes For the integer more than or equal to zero, then:
As shown in Figure 10 a, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i be equal to 1 and when, the value on mode bit position is 1, the in mode bit the 1st Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As shown in fig. lob, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i is the code stream lattice before the integer more than or equal to 2 less than or equal to N and mode bit position When formula is identical, the value on mode bit position is 1, and the preceding i-1 bit in mode bit is 0, i-th Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As shown in figure l0c, if using non-embedded coded system, mode bit under Q sound channel coding modes Value on position is 1, and the value all 0 on mode bit, the code stream also includes non-embedded code stream information.
Correspondingly, the processing procedure of decoding end is:
As shown in fig. 11a, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if i-th of bit in mode bit in code stream is 1, by mode bit The value of position resets to 0, and then the code stream is decoded for i embedded decoding process using index Obtain Q channel decoding signals.
As shown in figure 11b, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if the value all 0 on mode bit, using non-embedded decoding process to this Code stream is decoded to obtain Q channel decoding signals.
Scene four
Below so that reserved bit position is in code stream positioned at first place as an example, monophonic code stream is extended after description coding For the code stream form of stereo code stream, it is specially:
When using Q sound channel coding modes:If N kind coded systems, N are included under Q sound channel coding modes For the integer more than or equal to zero, then:
As shown in Figure 10 a, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i be equal to 1 and when, the value on mode bit position is 1, the in mode bit the 1st Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As shown in fig. lob, when the code check of used P sound channels coded system under Q sound channel coding modes is KM-iDuring kb/s, if i is the code stream lattice before the integer more than or equal to 2 less than or equal to N and mode bit position When formula is identical, the value on mode bit position is 1, and the preceding i-1 bit in mode bit is 0, i-th Individual bit is 1, also including code check is K in code streamM-iThe part code of kb/s P sound channels coded system coding Stream information and multichannel code stream information.
As shown in fig. 10d, if using non-embedded coded system, mode bit under Q sound channel coding modes Value on position is 1, and the preceding i-1 bit in mode bit is 0, and i-th of bit is 1, the code Stream also includes non-embedded code stream information.
Correspondingly, the processing procedure of decoding end is:
As shown in fig. 11a, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if i-th of bit in mode bit in code stream is 1, by mode bit The value of position resets to 0, and then the code stream is decoded for i embedded decoding process using index Obtain Q channel decoding signals.
As shown in fig. 11c, the value for reading mode bit position is 1, and the decoding schema for determining the code stream is Q Channel decoding pattern, if the preceding i-1 bit in mode bit is 0, i-th of bit is 1, then The code stream is decoded using non-embedded decoding process to obtain Q channel decoding signals.
Based on identical technical concept, Figure 12 shows that a kind of audio signal provided in an embodiment of the present invention is compiled Code device, the audio signal encoder can be used for the flow for performing audio-frequency signal coding.
As shown in figure 12, the audio signal encoder specifically includes:
Determining unit 1201, for determining the coding mode of audio signal;In the coding mode of audio signal For Q sound channel coding modes when, determined in the N kind coded systems included by Q sound channel coding modes current Coded system, wherein, Q is the positive integer more than 1, and N is the positive integer more than 1;
Coding unit 1202, for the present encoding mode that is determined according to determining unit 1202 to audio signal Encoded, so as to obtain the code stream of audio signal, wherein, code stream includes mode bit, in code stream Mode bit be used to identify present encoding mode, the length of the mode bit in code stream is i, in i More than 1 and it is less than N-1, and when N is more than 3, the mode bit in code stream includes i bit, I-1 value on the preceding i-1 bit of i bit is identical, on i-th of bit of i bit Value is different from the value on any bit in i-1 bit, and the value on i-th of bit is preset value.
Preferably, when i is equal to 1, the mode bit in code stream includes 1 bit, 1 bit Value on position is preset value.
Preferably, when i is equal to N, the mode bit in code stream includes N number of bit, N number of bit N-1 value on the preceding N-1 bit of position is identical, and the value on the n-th bit of N number of bit is not It is same as the value on any bit in N-1 bit, the value on n-th bit is preset value.
Preferably, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream includes N-1 Individual bit, N-2 value on the preceding N-2 bit of N-1 bit is identical, N-1 bit The N-1 bit on value be different from value in N-2 bit on any bit, N-1 is individual Value on bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
Preferably, N kinds coded system includes embedded encoded mode, and present encoding mode is embedded encoded Mode, the embedded encoded mode are encoded using P sound channel coded systems, and P is just whole less than Q Number.
Preferably, N kinds coded system includes at least two embedded encoded modes, at least two embedded volumes The length of mode bit is different corresponding to code mode, P sound used at least two embedded encoded modes The code check of road coded system is different.
Preferably for two kinds of coded systems at least two embedded encoded modes, compile for one wherein When the code check of P sound channel coded systems is bigger used in code mode, mode corresponding to one of coded system The length of bit is longer, or, the length of mode bit is got over corresponding to one of coded system It is short.
Preferably, N kinds coded system includes non-embedded coded system.
Preferably, the length of mode bit corresponding to non-embedded coded system is 1;Or
The length of mode bit corresponding to non-embedded coded system is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded coded system is N-1, corresponding to non-embedded coded system Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
Preferably, mode bit is reserved bit, the bit specified or the ratio obtained after expansion Special position.
Based on identical technical concept, Figure 13 shows a kind of audio signal solution provided in an embodiment of the present invention Code device, the audio signal decoder can be used for the flow for performing audio signal decoding.
As shown in figure 13, the audio signal decoder specifically includes:
Receiving unit 1301, for receiving the code stream of audio signal;
Determining unit 1302, for when it is determined that the decoding schema of code stream is Q channel decoding patterns, according to The value on mode bit in code stream determines current decoding process, and Q channel decodings pattern decodes including N kinds Mode, current decoding process are one kind in N kind decoding processes, the length of the mode bit in code stream For i, Q is the positive integer more than 1, and N is the positive integer more than 1, wherein, it is more than 1 in i and is less than N-1, and when N is more than 3, the mode bit in code stream include i bit, before i bit I-1 value on i-1 bit is identical, and the value on i-th of bit of i bit is different from i-1 Value in bit on any bit, the value on i-th of bit is preset value;
Decoding unit 1303, for being carried out according to the current decoding process that determining unit 1302 determines to code stream Decoding.
Preferably, when i is equal to 1, the mode bit in code stream includes 1 bit, 1 bit Value on position is preset value.
Preferably, when i is equal to N, the mode bit in code stream includes N number of bit, N number of bit N-1 value on the preceding N-1 bit of position is identical, and the value on the n-th bit of N number of bit is not It is same as the value on any bit in N-1 bit, the value on n-th bit is preset value.
Preferably, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream includes N-1 Individual bit, N-2 value on the preceding N-2 bit of N-1 bit is identical, N-1 bit The N-1 bit on value be different from value in N-2 bit on any bit, N-1 is individual Value on bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
Preferably, present encoding mode is embedded decoding process, and the embedded decoding process uses P sound channels Decoding process is decoded, and P is the positive integer less than Q.
Preferably, N kinds decoding process includes at least two embedded decoding processes, at least two embedded solutions The length of mode bit is different corresponding to code mode, P sound used at least two embedded decoding processes The code check of road decoding process is different.
Preferably for two kinds of decoding processes at least two embedded decoding processes, one solves wherein When the code check of P channel decoding modes is bigger used in code mode, mode corresponding to one of decoding process The length of bit is longer, or, the length of mode bit is got over corresponding to one of decoding process It is short.
Preferably, N kinds decoding process includes non-embedded decoding process.
Preferably, the length of mode bit corresponding to non-embedded decoding process is 1;Or
The length of mode bit corresponding to non-embedded decoding process is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded decoding process is N-1, corresponding to non-embedded decoding process Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
Preferably, mode bit is reserved bit, the bit specified or the ratio obtained after expansion Special position.
It is a kind of audio signal encoder provided in an embodiment of the present invention referring to Figure 14 based on same idea 1400.The audio signal encoder 1400 may include:Processor 1402 and memory 1403.Processor 1402 operation for controlling audio signal encoder 1400;Memory 1403 can include read-only storage And random access memory, it is stored with the instruction and data that processor 1402 can perform.Memory 1403 A part of can also include non-volatile row random access memory (NVRAM).Processor 1402 and deposit Each component such as reservoir 1403 is connected by bus 1409, wherein bus 1409 in addition to including data/address bus, Power bus, controlling bus and status signal bus in addition can also be included.But for the sake of clear explanation, Various buses are all designated as bus 1409 in figure.The audio signal encoder 1400 may also include:Receive Device and transmitter, receiver can be used for receiving audio signal, and transmitter is used for the code for sending audio signal Stream.
A kind of audio signal encoding method that the embodiment of the present invention discloses can apply in processor 1402, Or realized by processor 1402.In implementation process, each step of handling process can pass through processor The integrated logic circuit of hardware in 1402 or the instruction of software form are completed.Processor 1402 can be General processor, digital signal processor, application specific integrated circuit, field programmable gate array or other PLD, discrete gate or transistor logic, discrete hardware components, it is possible to achieve or Person performs disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with It is microprocessor or any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention Suddenly hardware processor can be embodied directly in and perform completion, or with the hardware and software module in processor Combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed The ripe storage medium in this area such as read-only storage or electrically erasable programmable memory, register In.The storage medium is located at memory 1403, and processor 1402 reads the letter stored in memory 1403 Breath, with reference to the step of a kind of its hardware audio signal encoding method of completion.
The processor 1402 determines the coding mode of audio signal;It is Q in the coding mode of audio signal During sound channel coding mode, present encoding is determined in the N kind coded systems included by Q sound channel coding modes Mode, wherein, Q is the positive integer more than 1, and N is the positive integer more than 1;The processor 1402 Audio signal is encoded according to the present encoding mode of determination, so as to obtain the code stream of audio signal, Wherein, code stream includes mode bit, and the mode bit in code stream is used to identify present encoding mode, The length of mode bit in code stream is i, is more than 1 in i and is less than N-1, and when N is more than 3, Mode bit in code stream includes i bit, the i-1 on the preceding i-1 bit of i bit It is worth identical, value on i-th of bit of i bit is different from i-1 bit on any bit Value, the value on i-th of bit is preset value.
Preferably, when i is equal to 1, the mode bit in code stream includes 1 bit, 1 bit Value on position is preset value.
Preferably, when i is equal to N, the mode bit in code stream includes N number of bit, N number of bit N-1 value on the preceding N-1 bit of position is identical, and the value on the n-th bit of N number of bit is not It is same as the value on any bit in N-1 bit, the value on n-th bit is preset value.
Preferably, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream includes N-1 Individual bit, N-2 value on the preceding N-2 bit of N-1 bit is identical, N-1 bit The N-1 bit on value be different from value in N-2 bit on any bit, N-1 is individual Value on bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
Preferably, present encoding mode is embedded encoded mode, and the embedded encoded mode uses P sound channels Coded system is encoded, and P is the positive integer less than Q.
Preferably, N kinds coded system includes at least two embedded encoded modes, at least two embedded volumes The length of mode bit is different corresponding to code mode, P sound used at least two embedded encoded modes The code check of road coded system is different.
Preferably for two kinds of coded systems at least two embedded encoded modes, compile for one wherein When the code check of P sound channel coded systems is bigger used in code mode, mode corresponding to one of coded system The length of bit is longer, or, the length of mode bit is got over corresponding to one of coded system It is short.
Preferably, N kinds coded system includes non-embedded coded system.
Preferably, the length of mode bit corresponding to non-embedded coded system is 1;Or
The length of mode bit corresponding to non-embedded coded system is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded coded system is N-1, corresponding to non-embedded coded system Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
Preferably, mode bit is reserved bit, the bit specified or the ratio obtained after expansion Special position.
It is a kind of audio signal decoder provided in an embodiment of the present invention referring to Figure 15 based on same idea 1500.The audio signal decoder 1500 may include:Transceiver 1501, processor 1502 and memory 1503.Processor 1502 is used for the operation for controlling audio signal decoder 1500;Memory 1503 can be with Including read-only storage and random access memory, the instruction sum that processor 1502 can perform is stored with According to.The a part of of memory 1503 can also include non-volatile row random access memory (NVRAM). Each components such as transceiver 1501, processor 1502 and memory 1503 are connected by bus 1509, wherein Bus 1509 can also include power bus, controlling bus and status signal in addition to including data/address bus Bus.But for the sake of clear explanation, various buses are all designated as bus 1509 in figure.
A kind of audio signal decoding method that the embodiment of the present invention discloses can apply in processor 1502, Or realized by processor 1502.In implementation process, each step of handling process can pass through processor The integrated logic circuit of hardware in 1502 or the instruction of software form are completed.Processor 1502 can be General processor, digital signal processor, application specific integrated circuit, field programmable gate array or other PLD, discrete gate or transistor logic, discrete hardware components, it is possible to achieve or Person performs disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with It is microprocessor or any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention Suddenly hardware processor can be embodied directly in and perform completion, or with the hardware and software module in processor Combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed The ripe storage medium in this area such as read-only storage or electrically erasable programmable memory, register In.The storage medium is located at memory 1503, and processor 1502 reads the letter stored in memory 1503 Breath, with reference to the step of a kind of its hardware audio signal decoding method of completion.
The transceiver 1501 receives the code stream of audio signal;The processor 1502 is it is determined that the solution of code stream When pattern is Q channel decoding patterns, the value on the mode bit in code stream determines current decoding Mode, Q channel decodings pattern include N kind decoding processes, and current decoding process is in N kind decoding processes One kind, the length of the mode bit in code stream is i, and Q is the positive integer more than 1, and N is more than 1 Positive integer, wherein, it is more than 1 in i and is less than N-1, and when N is more than 3, the mode ratio in code stream Special position includes i bit, and i-1 value on the preceding i-1 bit of i bit is identical, i bit Value on i-th of bit of position is different from the value in i-1 bit on any bit, i-th of bit Value on position is preset value;The processor 1502 solves according to the current decoding process of determination to code stream Code.
Preferably, when i is equal to 1, the mode bit in code stream includes 1 bit, 1 bit Value on position is preset value.
Preferably, when i is equal to N, the mode bit in code stream includes N number of bit, N number of bit N-1 value on the preceding N-1 bit of position is identical, and the value on the n-th bit of N number of bit is not It is same as the value on any bit in N-1 bit, the value on n-th bit is preset value.
Preferably, it is equal to N-1 in i, and when N is more than 2, the mode bit in code stream includes N-1 Individual bit, N-2 value on the preceding N-2 bit of N-1 bit is identical, N-1 bit The N-1 bit on value be different from value in N-2 bit on any bit, N-1 is individual Value on bit is preset value;Or
It is equal to N-1 in i, and when N is more than 2, the mode bit in code stream only includes N-1 bit , N-1 value on N-1 bit is identical, and the value in N-1 bit on each bit is not It is same as preset value.
Preferably, present encoding mode is embedded decoding process, and the embedded decoding process uses P sound channels Decoding process is decoded, and P is the positive integer less than Q.
Preferably, N kinds decoding process includes at least two embedded decoding processes, at least two embedded solutions The length of mode bit is different corresponding to code mode, P sound used at least two embedded decoding processes The code check of road decoding process is different.
Preferably for two kinds of decoding processes at least two embedded decoding processes, one solves wherein When the code check of P channel decoding modes is bigger used in code mode, mode corresponding to one of decoding process The length of bit is longer, or, the length of mode bit is got over corresponding to one of decoding process It is short.
Preferably, N kinds decoding process includes non-embedded decoding process.
Preferably, the length of mode bit corresponding to non-embedded decoding process is 1;Or
The length of mode bit corresponding to non-embedded decoding process is N;Or when N is more than 2, The length of mode bit corresponding to non-embedded decoding process is N-1, corresponding to non-embedded decoding process Mode bit includes N-1 bit, and N-1 value on N-1 bit is identical, N-1 bit Value in position on each bit is different from preset value.
Preferably, mode bit is reserved bit, the bit specified or the ratio obtained after expansion Special position.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer journey Sequence product.Therefore, the present invention can use complete hardware embodiment, complete software embodiment or with reference to software With the form of the embodiment of hardware aspect.Moreover, the present invention can use wherein includes meter in one or more Calculation machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product describes.It should be understood that can by computer program instructions implementation process figure and / or each flow in block diagram and/or square frame and flow in flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of function in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable datas to handle and set In the standby computer-readable memory to work in a specific way so that be stored in the computer-readable memory Instruction produce and include the manufacture of command device, command device realization is in one flow or multiple of flow chart Function in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to which the instruction that is performed on computer or other programmable devices is provided for realizing in flow chart one In flow or multiple flows and/or one square frame of block diagram or multiple square frames the step of function.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creative concept, then other change and modification can be made to these embodiments.So appended right will Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art various to the present invention can change and modification is without departing from the present invention's Spirit and scope.So, if these modifications and variations of the present invention belong to the claims in the present invention and its waited Within the scope of technology, then the present invention is also intended to comprising including these changes and modification.

Claims (36)

  1. A kind of 1. audio signal encoding method, it is characterised in that including:
    Determine the coding mode of audio signal;
    When the coding mode of the audio signal is Q sound channel coding modes, present encoding mode is determined in the N kind coded systems included by the Q sound channels coding mode, wherein, Q is the positive integer more than 1, and N is the positive integer more than 1;
    The audio signal is encoded according to the present encoding mode, so as to obtain the code stream of the audio signal, wherein, the code stream includes mode bit, mode bit in the code stream is used to identify the present encoding mode, the length of mode bit in the code stream is i, it is more than 1 in i and is less than N-1, and when N is more than 3, i-1 value on the preceding i-1 bit of i bit of the mode bit in the code stream is identical, value on i-th of bit of the i bit is different from the value in the i-1 bit on any bit, value on i-th of bit is preset value.
  2. 2. according to the method for claim 1, it is characterised in that when i is equal to 1, the mode bit in the code stream includes 1 bit, and the value on 1 bit is the preset value.
  3. 3. method according to claim 1 or 2, it is characterized in that, when i is equal to N, mode bit in the code stream includes N number of bit, N-1 value on the preceding N-1 bit of N number of bit is identical, value on the n-th bit of N number of bit is different from the value on any bit in the N-1 bit, and the value on the n-th bit is the preset value.
  4. 4. method according to claim 1 or 2, it is characterized in that, it is equal to N-1 in i, and when N is more than 2, mode bit in the code stream includes N-1 bit, N-2 value on the preceding N-2 bit of the N-1 bit is identical, and the value on the N-1 bit of the N-1 bit is different from the value on any bit in the N-2 bit, and the value on the N-1 bit is the preset value;Or
    It is equal to N-1 in i, and when N is more than 2, the mode bit in the code stream only includes N-1 bit, and N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  5. 5. according to the method described in any one of Claims 1-4, it is characterised in that the present encoding mode is embedded encoded mode, and the embedded encoded mode is encoded using P sound channel coded systems, and P is the positive integer less than Q.
  6. 6. according to the method described in any one of Claims 1-4, it is characterized in that, the N kinds coded system includes at least two embedded encoded modes, the length of mode bit corresponding at least two embedded encoded mode is different, and the code check of P sound channel coded systems used at least two embedded encoded mode is different.
  7. 7. according to the method for claim 6, it is characterized in that, for two kinds of coded systems in described at least two embedded encoded modes, when the code check of P sound channel coded systems is bigger used in a coded system wherein, the length of mode bit is longer corresponding to one of coded system, or the length of mode bit corresponding to one of coded system is shorter.
  8. 8. according to the method described in any one of claim 1 to 7, it is characterised in that the N kinds coded system includes non-embedded coded system.
  9. 9. according to the method for claim 8, it is characterised in that the length of mode bit corresponding to the non-embedded coded system is 1;Or
    The length of mode bit corresponding to the non-embedded coded system is N;Or
    When N is more than 2, the length of mode bit corresponding to the non-embedded coded system is N-1, mode bit corresponding to the non-embedded coded system only includes N-1 bit, N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  10. A kind of 10. audio signal decoding method, it is characterised in that including:
    Receive the code stream of audio signal;
    When it is determined that the decoding schema of the code stream is Q channel decoding patterns, the value on mode bit in the code stream determines current decoding process, the Q channel decodings pattern includes N kind decoding processes, the current decoding process is one kind in the N kinds decoding process, the length of mode bit in the code stream is i, Q is the positive integer more than 1, N is the positive integer more than 1, wherein, it is more than 1 in i and is less than N-1, and when N is more than 3, i-1 value on the preceding i-1 bit of i bit of the mode bit in the code stream is identical, value on i-th of bit of the i bit is different from the value in the i-1 bit on any bit, value on i-th of bit is preset value;
    The code stream is decoded according to the current decoding process.
  11. 11. according to the method for claim 10, it is characterised in that when i is equal to 1, the mode bit in the code stream includes 1 bit, and the value on 1 bit is the preset value.
  12. 12. the method according to claim 10 or 11, it is characterized in that, when i is equal to N, mode bit in the code stream includes N number of bit, N-1 value on the preceding N-1 bit of N number of bit is identical, value on the n-th bit of N number of bit is different from the value on any bit in the N-1 bit, and the value on the n-th bit is the preset value.
  13. 13. the method according to claim 10 or 11, it is characterized in that, it is equal to N-1 in i, and when N is more than 2, mode bit in the code stream includes N-1 bit, N-2 value on the preceding N-2 bit of the N-1 bit is identical, and the value on the N-1 bit of the N-1 bit is different from the value on any bit in the N-2 bit, and the value on the N-1 bit is the preset value;Or
    It is equal to N-1 in i, and when N is more than 2, the mode bit in the code stream only includes N-1 bit, and N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  14. 14. according to the method described in any one of claim 10 to 13, it is characterised in that the current decoding process is embedded decoding process, and the embedded decoding process is decoded using P channel decoding modes, and P is the positive integer less than Q.
  15. 15. according to the method described in any one of claim 10 to 13, it is characterized in that, the N kinds decoding process includes at least two embedded decoding processes, the length of mode bit corresponding at least two embedded decoding process is different, and the code check of P channel decoding modes used at least two embedded decoding process is different.
  16. 16. according to the method for claim 15, it is characterized in that, for two kinds of decoding processes in described at least two embedded decoding processes, when the code check of P channel decoding modes is bigger used in a decoding process wherein, the length of mode bit is longer corresponding to one of decoding process, or the length of mode bit corresponding to one of decoding process is shorter.
  17. 17. according to the method described in any one of claim 10 to 16, it is characterised in that the N kinds decoding process includes non-embedded decoding process.
  18. 18. according to the method for claim 17, it is characterised in that the length of mode bit corresponding to the non-embedded decoding process is 1;Or
    The length of mode bit corresponding to the non-embedded decoding process is N;Or
    When N is more than 2, the length of mode bit corresponding to the non-embedded decoding process is N-1, mode bit corresponding to the non-embedded decoding process includes N-1 bit, N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  19. A kind of 19. audio signal encoder, it is characterised in that including:
    Determining unit, for determining the coding mode of audio signal;When the coding mode of the audio signal is Q sound channel coding modes, present encoding mode is determined in the N kind coded systems included by the Q sound channels coding mode, wherein, Q is the positive integer more than 1, and N is the positive integer more than 1;
    Coding unit, present encoding mode for being determined according to the determining unit encodes to the audio signal, so as to obtain the code stream of the audio signal, wherein, the code stream includes mode bit, mode bit in the code stream is used to identify the present encoding mode, the length of mode bit in the code stream is i, it is more than 1 in i and is less than N-1, and when N is more than 3, mode bit in the code stream includes i bit, i-1 value on the preceding i-1 bit of the i bit is identical, value on i-th of bit of the i bit is different from the value in the i-1 bit on any bit, value on i-th of bit is preset value.
  20. 20. encoder according to claim 19, it is characterised in that when i is equal to 1, the mode bit in the code stream includes 1 bit, and the value on 1 bit is the preset value.
  21. 21. the encoder according to claim 19 or 20, it is characterized in that, when i is equal to N, mode bit in the code stream includes N number of bit, N-1 value on the preceding N-1 bit of N number of bit is identical, value on the n-th bit of N number of bit is different from the value on any bit in the N-1 bit, and the value on the n-th bit is the preset value.
  22. 22. the encoder according to claim 19 or 20, it is characterized in that, it is equal to N-1 in i, and when N is more than 2, mode bit in the code stream includes N-1 bit, N-2 value on the preceding N-2 bit of the N-1 bit is identical, and the value on the N-1 bit of the N-1 bit is different from the value on any bit in the N-2 bit, and the value on the N-1 bit is the preset value;Or
    It is equal to N-1 in i, and when N is more than 2, the mode bit in the code stream only includes N-1 bit, and N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  23. 23. according to the encoder described in any one of claim 19 to 22, it is characterised in that the present encoding mode is embedded encoded mode, and the embedded encoded mode is encoded using P sound channel coded systems, and P is the positive integer less than Q.
  24. 24. encoder according to claim 23, it is characterized in that, the N kinds coded system includes at least two embedded encoded modes, the length of mode bit corresponding at least two embedded encoded mode is different, and the code check of P sound channel coded systems used at least two embedded encoded mode is different.
  25. 25. encoder according to claim 24, it is characterized in that, for two kinds of coded systems in described at least two embedded encoded modes, when the code check of P sound channel coded systems is bigger used in a coded system wherein, the length of mode bit is longer corresponding to one of coded system, or the length of mode bit corresponding to one of coded system is shorter.
  26. 26. according to the encoder described in any one of claim 19 to 25, it is characterised in that the N kinds coded system includes non-embedded coded system.
  27. 27. according to the encoder described in any one of claim 19 to 25, it is characterised in that the length of mode bit corresponding to the non-embedded coded system is 1;Or
    The length of mode bit corresponding to the non-embedded coded system is N;Or, when N is more than 2, the length of mode bit corresponding to the non-embedded coded system is N-1, mode bit corresponding to the non-embedded coded system includes N-1 bit, N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  28. A kind of 28. audio signal decoder, it is characterised in that including:
    Receiving unit, for receiving the code stream of audio signal;
    Determining unit, for when it is determined that the decoding schema of the code stream is Q channel decoding patterns, the value on mode bit in the code stream determines current decoding process, the Q channel decodings pattern includes N kind decoding processes, the current decoding process is one kind in the N kinds decoding process, the length of mode bit in the code stream is i, Q is the positive integer more than 1, N is the positive integer more than 1, wherein, it is more than 1 in i and is less than N-1, and when N is more than 3, i-1 value on the preceding i-1 bit of i bit of the mode bit in the code stream is identical, value on i-th of bit of the i bit is different from the value in the i-1 bit on any bit, value on i-th of bit is preset value;
    Decoding unit, the current decoding process for being determined according to the determining unit decode to the code stream.
  29. 29. decoder according to claim 28, it is characterised in that when i is equal to 1, the mode bit in the code stream includes 1 bit, and the value on 1 bit is the preset value.
  30. 30. the decoder according to claim 28 or 29, it is characterized in that, when i is equal to N, mode bit in the code stream includes N number of bit, N-1 value on the preceding N-1 bit of N number of bit is identical, value on the n-th bit of N number of bit is different from the value on any bit in the N-1 bit, and the value on the n-th bit is the preset value.
  31. 31. the decoder according to claim 28 or 29, it is characterized in that, it is equal to N-1 in i, and when N is more than 2, mode bit in the code stream includes N-1 bit, N-2 value on the preceding N-2 bit of the N-1 bit is identical, and the value on the N-1 bit of the N-1 bit is different from the value on any bit in the N-2 bit, and the value on the N-1 bit is the preset value;Or
    It is equal to N-1 in i, and when N is more than 2, the mode bit in the code stream only includes N-1 bit, and N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
  32. 32. according to the decoder described in any one of claim 28 to 31, it is characterised in that the present encoding mode is embedded decoding process, and the embedded decoding process is decoded using P channel decoding modes, and P is the positive integer less than Q.
  33. 33. according to the decoder described in any one of claim 28 to 31, it is characterised in that the N kinds decoding process includes at least two embedded decoding processes.
  34. 34. decoder according to claim 33, it is characterized in that, for two kinds of decoding processes in described at least two embedded decoding processes, when the code check of P channel decoding modes is bigger used in a decoding process wherein, the length of mode bit is longer corresponding to one of decoding process, or the length of mode bit corresponding to one of decoding process is shorter.
  35. 35. according to the decoder described in any one of claim 29 to 34, it is characterised in that the N kinds decoding process includes non-embedded decoding process.
  36. 36. decoder according to claim 35, it is characterised in that the length of mode bit corresponding to the non-embedded decoding process is 1;Or
    The length of mode bit corresponding to the non-embedded decoding process is N;Or, when N is more than 2, the length of mode bit corresponding to the non-embedded decoding process is N-1, mode bit corresponding to the non-embedded decoding process includes N-1 bit, N-1 value on the N-1 bit is identical, and the value in the N-1 bit on each bit is different from the preset value.
CN201610284150.9A 2016-04-29 2016-04-29 Audio signal encoding and decoding methods, audio signal encoder and audio signal decoder Active CN107342090B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610284150.9A CN107342090B (en) 2016-04-29 2016-04-29 Audio signal encoding and decoding methods, audio signal encoder and audio signal decoder
PCT/CN2017/081114 WO2017186040A1 (en) 2016-04-29 2017-04-19 Audio signal encoding and decoding method, and audio signal encoder and decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610284150.9A CN107342090B (en) 2016-04-29 2016-04-29 Audio signal encoding and decoding methods, audio signal encoder and audio signal decoder

Publications (2)

Publication Number Publication Date
CN107342090A true CN107342090A (en) 2017-11-10
CN107342090B CN107342090B (en) 2020-08-25

Family

ID=60160764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610284150.9A Active CN107342090B (en) 2016-04-29 2016-04-29 Audio signal encoding and decoding methods, audio signal encoder and audio signal decoder

Country Status (2)

Country Link
CN (1) CN107342090B (en)
WO (1) WO2017186040A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022100414A1 (en) * 2020-11-11 2022-05-19 华为技术有限公司 Audio encoding and decoding method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807400A (en) * 2010-01-08 2010-08-18 中国科学院软件研究所 Adaptive speech multicast transmission method based on erasure codes
CN102610231A (en) * 2011-01-24 2012-07-25 华为技术有限公司 Method and device for expanding bandwidth
US8407043B2 (en) * 2001-01-11 2013-03-26 Sasken Communication Technologies Limited Computationally efficient audio coder

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6256487B1 (en) * 1998-09-01 2001-07-03 Telefonaktiebolaget Lm Ericsson (Publ) Multiple mode transmitter using multiple speech/channel coding modes wherein the coding mode is conveyed to the receiver with the transmitted signal
JP5235684B2 (en) * 2006-02-24 2013-07-10 フランス・テレコム Method for binary encoding a quantization index of a signal envelope, method for decoding a signal envelope, and corresponding encoding and decoding module
CN101547010B (en) * 2008-03-24 2011-07-06 华为技术有限公司 System, method and device for coding and decoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8407043B2 (en) * 2001-01-11 2013-03-26 Sasken Communication Technologies Limited Computationally efficient audio coder
CN101807400A (en) * 2010-01-08 2010-08-18 中国科学院软件研究所 Adaptive speech multicast transmission method based on erasure codes
CN102610231A (en) * 2011-01-24 2012-07-25 华为技术有限公司 Method and device for expanding bandwidth

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
全浩军: "《数字音频码流分析系统研究》", 《中国学术期刊》 *
陈明: "《计算机导论》", 31 August 2014 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022100414A1 (en) * 2020-11-11 2022-05-19 华为技术有限公司 Audio encoding and decoding method and apparatus

Also Published As

Publication number Publication date
CN107342090B (en) 2020-08-25
WO2017186040A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
JP2014089467A (en) Encoding/decoding system for multi-channel audio signal, recording medium and method
KR100857104B1 (en) Method for generating encoded audio signal and method for processing audio signal
CN203415228U (en) Audio decoder using program information element data
US20100191354A1 (en) Method and an apparatus for processing an audio signal
CN101297353B (en) Apparatus for encoding and decoding audio signal and method thereof
EP1905004A2 (en) Method of encoding and decoding an audio signal
CN105637582A (en) Audio encoding device and audio decoding device
CN105531760B (en) Method and apparatus for combining multi-channel encoder
CA2620627A1 (en) Apparatus for encoding and decoding audio signal and method thereof
WO2005122639A1 (en) Acoustic signal encoding device and acoustic signal decoding device
JP6790251B2 (en) Multi-channel audio signal processing methods, equipment, and systems
KR100880642B1 (en) Method and apparatus for decoding an audio signal
CN103413553B (en) Audio coding method, audio-frequency decoding method, coding side, decoding end and system
KR20120013894A (en) Method for signal processing, encoding apparatus thereof, decoding apparatus thereof, and information storage medium
CN105898669B (en) A kind of coding method of target voice
CN107342090A (en) A kind of audio-frequency signal coding, coding/decoding method and audio signal encoder, decoder
CN1157853C (en) Transmitting device for transmitting a digital information signal alternately in encoded form and non-encoded form
CN104079941A (en) Depth information encoding and decoding methods, devices and video processing and playing equipment
CN104301738B (en) Video coding-decoding method and 3 D video codec
CN102280107B (en) Sideband residual signal generating method and device
US8270617B2 (en) Method, medium, and apparatus encoding and/or decoding extension data for surround
CN108206021A (en) A kind of backward compatibility formula three-dimensional audio coder windows, decoder and its decoding method
CN102369569A (en) Encoding processing method, encoding processing apparatus and transmitter
CN117476016A (en) Audio encoding and decoding method, device, storage medium and computer program product
CN105578180B (en) A kind of coding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210428

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.