EP1222531A1 - Mehrfachinstanzimplementierung von sprachkodierer-dekodierern - Google Patents

Mehrfachinstanzimplementierung von sprachkodierer-dekodierern

Info

Publication number
EP1222531A1
EP1222531A1 EP99948014A EP99948014A EP1222531A1 EP 1222531 A1 EP1222531 A1 EP 1222531A1 EP 99948014 A EP99948014 A EP 99948014A EP 99948014 A EP99948014 A EP 99948014A EP 1222531 A1 EP1222531 A1 EP 1222531A1
Authority
EP
European Patent Office
Prior art keywords
memory
codec
dsp
codecs
instance
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
EP99948014A
Other languages
English (en)
French (fr)
Other versions
EP1222531B1 (de
Inventor
Wenshun Tian
Foo Yuen Leong
Antonio Mario Alvarez-Tinoco
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.)
STMicroelectronics Asia Pacific Pte Ltd
Original Assignee
STMicroelectronics Asia Pacific Pte 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 STMicroelectronics Asia Pacific Pte Ltd filed Critical STMicroelectronics Asia Pacific Pte Ltd
Publication of EP1222531A1 publication Critical patent/EP1222531A1/de
Application granted granted Critical
Publication of EP1222531B1 publication Critical patent/EP1222531B1/de
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes

Definitions

  • This invention relates to audio coding, and is particularly applicable in the field of telecommunication and the internet, for example, in which multi-channel speech coders are implemented using a single digital signal processing (DSP) device.
  • DSP digital signal processing
  • codecs audio coders/decoders
  • DSP Digital Signal Processor
  • a method for implementing a plurality of encoders and/or decoders (codecs) using a single digital signal processing (DSP) device wherein the function of each codec is performed by the DSP according to an instruction code program, the method comprising the steps of: providing an instruction code program stored in a first memory for controlling the DSP to function as a codec; providing a second memory including a plurality of memory segments; implementing a plurality of codecs using the DSP by running said instruction code program in the first memory a plurality of times in re-entrant instances, wherein each codec mstance is provided access to a respective separate memory segment in the second memory for storing data used in encoding/decoding a respective separate data stream.
  • codecs encoders and/or decoders
  • the present invention also provides a data coding and/or decoding system in which a plurality of encoders and/or decoders (codecs) are implemented using a single digital signal processing (DSP) device, comprising: a digital signal processor (DSP); a first memory coupled to the DSP and containing an instruction code program, the function of each codec being performed by the DSP, in use, according to the instruction code program; a second memory coupled to the DSP and partitioned to include a plurality of separate memory segments; wherein a plurality of codecs are implemented using the DSP by running the instruction code program in the first memory a plurality of times in re-entrant instances, and wherein each codec instance is provided access to a respective separate memory segment in the second memory for storing data used in encoding/decoding a respective separate data stream.
  • DSP digital signal processing
  • a tt ⁇ irti memory is also provided which is accessible by each of the codec instances for shared stbrage of temporary variables and data buffering in encoding/decoding said respective separate ⁇ data streams.
  • Each codec instance preferably accesses the corresponding memory segment using indirect addressing based on at least one index register, the at least one index register being set for each codec instance to modify addressing of variables for that codec mstance to the corresponding memory segment.
  • the plurality of memory segments are contiguous in the second memory, and the at least one index register is set for each codec instance according to an offset based on the difference in address from a first of said memory segments to the memory segment corresponding to that codec instance.
  • each of the memory segments in said second memory is the same size.
  • the first memory is provided with a plurality of instruction code programs for implementing different kinds of codecs, wherein different codec instances may be selected from the different kinds of codec.
  • each of the memory segments m the second memory is the same size, and the size of the memory segments is selected according to the maximum memory required by any of the plurality of different kinds of codec.
  • This methodology can be used to modify the existing DSP assembly code or to implement a new algorithm with a multiple instance feature.
  • the multiple-instance implementation can be used to process multi-channel signals using one software module.
  • Figure 1 is a block diagram of a simple audio encoding system employing a DSP
  • Figure 2 is a block diagram of a data memory structure for a first embodiment of the present invention.
  • Figure 3 is a block diagram of a data memory structure for a second embodiment of the invention employing a plurality of different codec types.
  • the embodiments of the invention described hereinbelow are in the context of audio coders implemented by instruction codes in the form of software, firmware or micro-code operating on a general purpose digital signal processor chip.
  • the described embodiments relate to implementation of speech codecs of the type which is the subject of ITU-T Recommendation G.729.
  • the present invention is not necessarily limited to such an environment, and may further be used to implement coders for other forms of real-time data streams including other forms of voice and/or facsimile transmission or storage coding.
  • a simple audio encoding system 10 based on a general purpose DSP is illustrated in block diagram form in Figure 1.
  • the audio coding system 10 comprises a digital signal processor (DSP) 12 which is coupled to receive input data and produce coded output signals.
  • the DSP 10 is coupled to a storage memory 14.
  • the memory 14 provides data to the DSP 12 to enable coding of the received input data to take place.
  • the memory 14 may contain various different forms of data, including read-only data which is permanently stored in the memory, and temporary data which is transiently stored during coding operations.
  • the memory 14 may also contain stored instruction codes used by the DSP to perform the coding, which would ordinarily be permanently stored in read-only form.
  • One of the considerations which must be dealt with in implementing multiple codecs on a single DSP by operating multiple instances of the DSP instruction codes which control the codec operation is the arrangement of storage memory so that each instance of the codec can have efficient memory usage and not interfere with other codec instances in use at the same time.
  • this is achieved by arranging the data memory as illustrated in the block diagram of Figure 2.
  • This exemplary embodiment relates to implementation of a 4-channel multiple instance vocoder on a single DSP.
  • the data memory is partitioned into different parts, in this case comprising read-only memory (ROM), local RAM, and static RAM.
  • the ROM is used to store all the read only data, which may include the program instruction codes and the like.
  • the static RAM is used for storage of temporary variables and for data buffering.
  • the static RAM is used for storage of all the global and historical variables required for the coding operations, for example data which will be used for processing the next frame of output As shown in the block diagram, in this case the static RAM is partitioned into separate areas for each DSP codec instance.
  • the preferred form of the present invention involves partitioning the data memory based on their properties and using an index register or index modifier to modify the address of the static RAM segment data used for each codec instance.
  • the program code memory can be arranged as usual. If, however, program memory is used for data accessing, this part of memory also needs to be partitioned in the same way as data memory such as X or Y. This methodology allows the easy management of the operating system or real-time kernel due to the facility of opening and closing the various instances.
  • the partition of the data memory according to its accessing property is obtained, for example in the embodiment shown in Figure 2 involving ROM data, temporary local RAM, and static or global RAM segments.
  • the data ROM and temporary local RAM are shared for every instance. Only the static RAM segments are used exclusively by corresponding codec instances.
  • This static RAM segment is accessed using an index register by adding an offset value to address the static RAM segment for a particular instance.
  • index registers In order to pass the addressing information to every channel vocoder, two index registers should be reserved for this reentrant purpose, say D 2 and IY2 if using a D950 DSP. By doing so, the address of all the static variables stored in the respective static RAM segments will be modified by these two index registers from the beginning.
  • the multiple-instance 4-channel system can operate as follows, Repeat following codes
  • offseti addressx 1 -addressx 1
  • One example of the static RAM size is about 1560 words in X memory and 256 words in Y memory for a codec operating according to ITU-T G.729.
  • the static RAM size would typically be the same for each instance of the G.729 vocoder.
  • This is applicable for a new implementation or for converting existing DSP instruction coding to a re-entrant multiple instance implementation. Since this method does not require a change of the variable names in the DSP coding, it is efficient in both MIPS and porting effort if compared to using pointers.
  • the memory may be arranged as illustrated in Figure 3, for which the multiple-instance accessing procedures are described below.
  • the memory map for a 4-channel system is shown, in which the 4 active channels could be any possible combination of codecs operating according to ITU-T G729, G723.1 and FAX.
  • the size of ROM segment comprises ROM data for all of the codec types.
  • the size of the temporary local RAM segment is the maximum local RAM size used by any of the codecs. All of the different codecs share the local RAM segment.
  • each of the static RAM segments are of a size to accommodate the frame processing storage requirements of any one of the possible codecs implementations. This enables different codecs to make use of different static RAM segments.
  • One example is a 4-channel system with two different speech codecs, say G723.1 and G729.
  • the program instruction codes are, in this example, stored separately in a program memory (not shown).
  • the data memory is arranged as shown in Figure 3.
  • Such a 4-channel system multiple instance system can operate as follows,
  • the flag variable codec Jlag i is writeable by an operating system or system controller, so as to dictate which type of codec is used for each instance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
EP19990948014 1999-09-29 1999-09-29 Mehrfachinstanzimplementierung von sprachkodierer-dekodierern Expired - Lifetime EP1222531B1 (de)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/SG1999/000095 WO2001023993A1 (en) 1999-09-29 1999-09-29 Multiple instance implementation of speech codecs

Publications (2)

Publication Number Publication Date
EP1222531A1 true EP1222531A1 (de) 2002-07-17
EP1222531B1 EP1222531B1 (de) 2003-11-12

Family

ID=20430237

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19990948014 Expired - Lifetime EP1222531B1 (de) 1999-09-29 1999-09-29 Mehrfachinstanzimplementierung von sprachkodierer-dekodierern

Country Status (3)

Country Link
EP (1) EP1222531B1 (de)
DE (1) DE69912860T2 (de)
WO (1) WO2001023993A1 (de)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003081423A1 (en) * 2002-03-22 2003-10-02 Telefonaktiebolaget Lm Ericsson Method for processing data streams divided into a plurality of process steps
WO2020220935A1 (zh) * 2019-04-27 2020-11-05 中科寒武纪科技股份有限公司 运算装置
US11841822B2 (en) 2019-04-27 2023-12-12 Cambricon Technologies Corporation Limited Fractal calculating device and method, integrated circuit and board card

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2134805A5 (de) * 1971-04-21 1972-12-08 Cii
US5285264A (en) * 1990-03-30 1994-02-08 Kabushiki Kaisha Toshiba Image reproduction apparatus with plural program processing
JP2773601B2 (ja) * 1993-06-11 1998-07-09 ヤマハ株式会社 信号処理装置
US6341368B1 (en) * 1997-08-22 2002-01-22 Cirrus Logic, Inc. Method and systems for creating multi-instanced software with a preprocessor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO0123993A1 *

Also Published As

Publication number Publication date
EP1222531B1 (de) 2003-11-12
WO2001023993A1 (en) 2001-04-05
DE69912860D1 (de) 2003-12-18
DE69912860T2 (de) 2004-11-04

Similar Documents

Publication Publication Date Title
JPH10512423A (ja) 音声信号をコード化、操作及びデコード化する方法及び装置
CA2702986A1 (en) Audio coding using downmix
US8340960B2 (en) Methods and apparatus for efficient vocoder implementations
EP0047175B1 (de) Sprachsynthesizer
CN110164413B (zh) 语音合成方法、装置、计算机设备和存储介质
US5832445A (en) Method and apparatus for decoding of digital audio data coded in layer 1 or 2 of MPEG format
KR100760976B1 (ko) 프로그래머블 프로세서에서 mpeg-2 또는 mpeg-4aac 오디오 복호 알고리즘을 처리하기 위한 연산 회로및 연산 방법
US20140247166A1 (en) Hierarchical coding
EP1222531B1 (de) Mehrfachinstanzimplementierung von sprachkodierer-dekodierern
EP1021044A1 (de) Verarbeitungsverfahren und Kodierungsvorrichtung für Audio- oder Videorahmendaten
US6480550B1 (en) Method of compressing an analogue signal
KR100834363B1 (ko) 음성 응답 시스템, 음성 응답 방법, 음성 서버, 음성 파일 처리 방법 및 기록 매체
US6009395A (en) Synthesizer and method using scaled excitation signal
EP1020998B1 (de) Verfahren und Vorrichtung zu Kodierung von Audiorahmendaten
US5884048A (en) Digital audio signal processor having small input buffer
JP3291004B2 (ja) 音声符号化回路
JPH10255398A (ja) 画像と音声の再生装置
Oberthuer et al. Flexible MPEG audio decoder core with low power consumption and small gate count
US20100157984A1 (en) Wideband voip terminal
US20010016784A1 (en) Audio data storage device
EP4154249A2 (de) Verfahren und vorrichtung für verbesserungen bei der vereinheitlichten sprach- und audiodecodierung
EP0051342A1 (de) Digitaler Mehrkanal-Sprachsynthesizer mit einstellbaren Parametern
Dorsey et al. Application of the PDSP chip set to LPC synthesis
JPH10174072A (ja) Mpeg2デマルチプレクサのパケット識別子(pid)フィルタ及びそのフィルタリング方法
KR20070105897A (ko) Mp3 디코더의 입력 데이터 버퍼를 관리하는 방법 및 장치

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20020502

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE

R17P Request for examination filed (corrected)

Effective date: 20020426

17Q First examination report despatched

Effective date: 20021022

GRAH Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOS IGRA

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE FR GB IT

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

REF Corresponds to:

Ref document number: 69912860

Country of ref document: DE

Date of ref document: 20031218

Kind code of ref document: P

RIN2 Information on inventor provided after grant (corrected)

Inventor name: ALVAREZ-TINOCO, ANTONIO, MARIO

Inventor name: LEONG, FOO, YUEN

Inventor name: TIAN, WENSHUN

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

ET Fr: translation filed
PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed

Effective date: 20040813

REG Reference to a national code

Ref country code: IE

Ref legal event code: MM4A

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20070829

Year of fee payment: 9

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20070830

Year of fee payment: 9

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: IT

Payment date: 20070913

Year of fee payment: 9

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20070926

Year of fee payment: 9

GBPC Gb: european patent ceased through non-payment of renewal fee

Effective date: 20080929

REG Reference to a national code

Ref country code: FR

Ref legal event code: ST

Effective date: 20090529

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IT

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20080929

Ref country code: DE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20090401

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: FR

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20080930

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20080929