Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3558057B2 - Audio coding apparatus and method - Google Patents
[go: Go Back, main page]

JP3558057B2 - Audio coding apparatus and method - Google Patents

Audio coding apparatus and method Download PDF

Info

Publication number
JP3558057B2
JP3558057B2 JP2001202849A JP2001202849A JP3558057B2 JP 3558057 B2 JP3558057 B2 JP 3558057B2 JP 2001202849 A JP2001202849 A JP 2001202849A JP 2001202849 A JP2001202849 A JP 2001202849A JP 3558057 B2 JP3558057 B2 JP 3558057B2
Authority
JP
Japan
Prior art keywords
product
sum operation
encoding
processing
processing means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001202849A
Other languages
Japanese (ja)
Other versions
JP2003015693A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2001202849A priority Critical patent/JP3558057B2/en
Publication of JP2003015693A publication Critical patent/JP2003015693A/en
Application granted granted Critical
Publication of JP3558057B2 publication Critical patent/JP3558057B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Complex Calculations (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は音声符号化装置及びその方法に関し、特に複数チャネルの音声の符号化処理をなす場合の音声符号化方式に関するものである。
【0002】
【従来の技術】
複数チャネルの音声信号を符号化するための音声符号化装置の概略ブロック図を図6に示している。図6においては2チャネルの音声信号の符号化をなすためのシステムLSI101が示されており、各チャネルに対応してCPUコア102及び103が設けられている。これ等CPUコア102及び103に対して共通にメモリ104及びメモリ制御回路105が設けられ、バス107によりこれ等CPUコアやメモリ制御回路が接続されることにより、CPUコア102及び103はメモリ制御回路105を介してメモリ104へのアクセスが自在となっている。
【0003】
CPUコア101はチャネル#0の音声符号化処理を行い、またCPUコア102はチャネル#1の音声符号化処理を行うものである。ここで、音声符号化処理は、そのインパルス応答や相関関数等の演算処理を必要とし、これ等演算処理には、連続した積和演算が必要であることも周知の事実である(例えば、特開2000−250895号公報や特開平11−15660号公報参照)。これ等積和演算を含む音声符号化処理が、各チャネル毎にCPUコア102及び103を用いて並列に実行されるようになっている。
【0004】
【発明が解決しようとする課題】
従来の音声符号化装置においては、図6に示した如く、複数チャネルの音声信号の符号化処理を、システムLSI101におけるCPUコア102及び103により別々に並行して実行するようになっている。この場合、CPUコアは、その回路規模は著しく大きいものであるために、チャネル毎にこの大規模なCPUコアをシステムLSI101内に組込んで設けることは、システムLSIそのものが大規模なものとなり、ハードウェア的にもコスト的にも極めて不利となるという問題がある。
【0005】
本発明の目的は、回路規模の縮少を図ってハードウェア的にもコスト的にも有利な音声符号化装置及びその方法を提供することである。
【0006】
【課題を解決しようとする手段】
本発明によれば、複数チャネルの音声信号の符号化処理をなす音声符号化装置であって、前記音声信号の符号化処理のうち積和演算処理を除く符号化処理をなす符号化処理手段と、前記積和演算処理をなす積和演算処理手段とを含み、前記積和演算処理手段があるチャネルの積和演算処理の実行中に、前記符号化処理手段は他のチャネルの符号化処理をなすようにしたことを特徴とする音声符号化装置が得られる。
【0007】
そして、前記符号化処理手段があるチャネルの符号化処理の実行中に、前記積和演算処理手段は他のチャネルの積和演算処理をなすようにしたことを特徴とし、また前記符号化処理手段は、あるチャネルの符号化処理中に前記積和演算処理が必要になった場合に前記積和演算処理手段に対して前記積和演算処理に必要な情報を指示すると共に積和演算の実行指示をなす手段と、しかる後に他のチャンネルの符号化処理へ移行する手段とを有し、前記積和演算処理手段は前記実行指示に応答して前記情報を用いて前記あるチャネルの積和演算処理をなす手段を有することを特徴とする。
【0008】
更に、前記積和演算処理手段は前記積和演算処理の終了に応答してその旨を示す割り込み信号を前記符号化処理手段へ出力する手段を有し、前記符号化処理手段はこの割り込み信号に応答して前記積和演算処理の結果を用いて前記あるチャネルの符号化処理を再開する手段を有することを特徴とする。また、前記符号化処理手段及び前記積和演算処理手段によりアクセス自在でこれ等の処理結果を格納可能なメモリを、更に含むことを特徴とする。そして、前記メモリは前記符号化処理手段及び前記積和演算処理手段により並列してアクセス自在なデュアルポートメモリであることを特徴とする。
【0009】
本発明によれば、音声信号の符号化処理のうち積和演算処理を除く符号化処理をなす符号化処理手段と、前記積和演算処理をなす積和演算処理手段とを含み、複数チャネルの音声信号の符号化処理をなす音声符号化装置における符号化方法であって、前記積和演算処理手段があるチャネルの積和演算処理の実行中に、前記符号化処理手段が他のチャネルの符号化処理をなすようにしたことを特徴とする音声符号化方法が得られる。
【0010】
そして、前記符号化処理手段があるチャネルの符号化処理の実行中に、前記積和演算処理手段が他のチャネルの積和演算処理をなすようにしたことを特徴とし、また前記符号化処理手段において、あるチャネルの符号化処理中に前記積和演算処理が必要になった場合に前記積和演算処理手段に対して前記積和演算処理に必要な情報を指示すると共に積和演算の実行指示をなすステップと、しかる後に他のチャンネルの符号化処理へ移行するステップとを有し、前記積和演算処理手段において、前記実行指示に応答して前記情報を用いて前記あるチャネルの積和演算処理をなすステップを有することを特徴とする。
【0011】
また、前記積和演算処理手段において、前記積和演算処理の終了に応答してその旨を示す割り込み信号を前記符号化処理手段へ出力するステップを有し、前記符号化処理手段において、この割り込み信号に応答して前記積和演算処理の結果を用いて前記あるチャネルの符号化処理を再開するステップを有することを特徴とする。
【0012】
本発明の作用を述べる。音声符号化処理における積和演算処理とそれ以外の符号化処理とを分割し、積和演算を除く符号化処理をなす符号化処理部(CPU)と、積和演算処理専用の積和演算処理部とを設ける。そして、CPUがあるチャネルの符号化処理を実行している場合に、積和演算処理部にて他のチャネルの積和演算処理を実行する様に、動作制御を行うのである。こうすることにより、大規模なCPUコアをチャネル毎に設ける必要がなくなって、全体の回路規模の縮少が可能となる。
【0013】
【発明の実施の形態】
以下に、図面を用いて本発明の実施例について説明する。図1を参照すると、本発明の実施例の構成が示されており、システムLSI1には、CPUコア2と、積和演算回路3と、メモリ4と、メモリ制御回路5とが設けられている。CPUコア2は積和演算回路3とメモリ制御回路5に対してバス7を介してアクセスし、また、積和演算回路3はバス7を介してメモリ制御回路5に対してアクセスする。従って、メモリ4はCPUコア2及び積和演算回路3によりアクセス自在となっている。また、積和演算回路3は所定の処理が終了したことを割り込み6を用いてCPU2へ通知し、CPUコア2はその演算結果をバス7を介して引き取るものである。
【0014】
図1の構成において、CPUコア2は音声信号の符号化処理のうち積和演算処理以外の符号化処理を行い、積和演算回路3はこの積和演算処理を行う機能を有するものとする。
【0015】
従って、CPUコア2があるチャネルの音声符号化を開始して積和演算が必要になると、CPUコア2から積和演算回路3へ、積和演算の対象となる2つの変数の先頭アドレスと演算回数の合計3つの変数が、バス7を介して通知される。積和演算回路3はメモリ4よりバス7を介して変数値を読み込み、積和演算を実行していく。これにより、CPUコア2は積和演算回路3が連続積和演算処理を実行している間、他のチャネルの音声符号化処理を行うことができることになる。積和演算回路3は所定の処理が完了すると、その旨を割り込み6を使ってCPUコア2へ通知する。CPUコア2は積和演算回路3よりその演算結果を引き取って当該あるチャネルの符号化処理を再開するのである。
【0016】
図2は図1の実施例における積和演算回路3の具体的構成例を示すブロック図であり、図3は図2中のステートマシン24の動作を示すフロー図である。図2において、積和演算回路3は、ステートマシン24、レジスタ20、バス制御部21、FIFO22、FIFO23、積和演算器25より構成される。レジスタ20は、CPUコア2より通知された積和演算の対象となる2変数が格納されているメモリの先頭アドレスと演算回数を格納する。また、レジスタ20はCPUコア2より通知された実行指示も格納しており、実行指示は処理開始信号30を介してステートマシン24に通知される(図3のステップS1)。
【0017】
ステートマシン24はメモリリード指示をメモリリード指示信号31を利用してバス制御部に通知する(図3のステップS2)。バス制御部21はレジスタデータ信号32を利用して、レジスタ20より2つの変数の先頭アドレスと演算回数とを読み込む。バス制御部21は2変数のデータをそれぞれデータ信号33、データ信号34を利用してFIFO22、FIFO23に格納して、メモリリードが完了したことをメモリリード完了信号35を利用してステートマシン24に通知する(図3のステップS3)。
【0018】
ステートマシン24は演算実行指示を演算実行指示信号36を利用して積和演算器25に通知する(図3のステップS4)。積和演算器25は演算結果を演算結果データ信号37を利用してレジスタ20に通知し、演算が完了したことを演算完了信号38を利用してステートマシン24に通知する(図3のステップS5)。ステートマシン24はレジスタ20に割り込み出力指示を割り込み出力指示信号39を利用して通知する(図3のステップS6)。
【0019】
次に、図1に示した回路の動作について、図4のシーケンス図を参照して説明する。CPUコア2において、チャネル0(図4ではCH0として示す)の音声符号化処理を開始する。CPUコア2では、連続する積和演算処理が必要となったところで、積和演算回路3に対して2変数のアドレスと演算回数とを積和演算回路3のレジスタに設定し実行指示を出す。
【0020】
CPUコア2では、チャネルの符号化処理において積和演算回路3の処理結果待ちの状態となったところで、処理時間をチャネル1(図4ではCH1として示す)に割り当てる。積和演算回路3では、実行指示を受けてメモリ制御部5へアクセスし変数のデータを読み積和演算を実行する。積和演算回路3は積和演算処理が完了したことをCPUコア2に割り込み6を使用して通知する。
【0021】
一方、CPUコア2では、チャネル1の符号化処理において連続する積和演算処理が必要となったところで、積和演算回路3に対して、同様に、2変数のアドレスと演算回数を積和演算回路3のレジスタに設定し実行指示を出す。CPUコア2では、チャネル1の音声符号化処理において、積和演算回路3の処理結果待ちの状態となったところで、処理時間をチャネル0に割り当てる。CPUコア2は、割り込み6がアクティブになっているため、積和演算回路3にアクセスしチャネル0の処理結果を引き取りチャネル0の符号化処理を再開することになる。
【0022】
図5は本発明の他の実施例の構成を示すブロック図であり、図1と同等部分は同一符号にて示している。本例においては、メモリ4としてデュアルポートメモリを用い、メモリ制御回路5の他にメモリ制御回路8を追加して、このメモリ制御回路8と積和演算回路3との間をメモリバス9にて接続する構成となっている。
【0023】
CPUコア2と積和演算回路3とがメモリに対して頻繁にアクセスを行う場合、アクセス競合により、CPUコア2の処理時間をメモリアクセス待ち時間にとられてしまうという問題が生ずる。そこで、本実施例では、図5に示す如く、デュアルポートメモリ4を用いて、積和演算回路3がメモリバス9及びメモリ制御回路8を介してアクセスできるようにし、CPUコア2と積和演算回路3とのメモリアクセス競合を防止するようにしている。
【0024】
なお、CPUコア2と積和演算回路3とは、別チャネルの音声符号化処理を行うものであるから、同一メモリアドレスへの同時アクセスは極めて少ない。こうすることで、CPUコア2と積和演算回路3とのメモリアクセス競合に起因する処理性能の低下が防止できるものである。
【0025】
【発明の効果】
以上述べた如く、本発明によれば、音声符号化処理を積和演算処理とそれ以外の符号化処理とに分けて、CPUコアはこのそれ以外の符号化処理を行い、積和演算処理はそれ専用の積和演算回路により行うようにしたので、積和演算回路があるチャネルの積和演算を行っている場合には、CPUコアは他のチャネルの符号化処理を並行して行うことができ、よって複数チャネルの音声符号化処理が、効率良く実行可能となるという効果がある。
【0026】
特に、複数チャネルの音声符号化処理のために、チャネル毎にCPUコアを設ける従来方式に比較して、積和演算回路を分離してそれ専用の回路を設けて、CPUコアの負荷を軽減することで、CPUコアの回路規模の増大がなくなり、ハードウェア的にも、コスト的にも有利となる。積和演算回路は比較的小規模な回路構成で良いので、積和演算回路を分離するメリットの方が大となる。
【図面の簡単な説明】
【図1】本発明の一実施例のブロック図である。
【図2】図1のブロックにおける積和演算回路の具体例を示すブロック図である。
【図3】図2のステートマシンの動作を示すフローチャートである。
【図4】本発明の一実施例の動作を示すシーケンス図である。
【図5】本発明の他の実施例のブロック図である。
【図6】従来技術の一例を示すブロック図である。
【符号の説明】
1 システムLSI
2 CPUコア
3 積和演算回路
4 メモリ
5,8 メモリ制御回路
6 割り込み
7 バス
9 メモリバス
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an audio encoding device and method, and more particularly to an audio encoding method for encoding audio of a plurality of channels.
[0002]
[Prior art]
FIG. 6 is a schematic block diagram of an audio encoding device for encoding audio signals of a plurality of channels. FIG. 6 shows a system LSI 101 for encoding audio signals of two channels, and CPU cores 102 and 103 are provided for each channel. A memory 104 and a memory control circuit 105 are provided in common for these CPU cores 102 and 103, and these CPU cores and memory control circuits are connected by a bus 107. The access to the memory 104 via 105 is free.
[0003]
The CPU core 101 performs audio encoding processing of channel # 0, and the CPU core 102 performs audio encoding processing of channel # 1. Here, it is a well-known fact that speech encoding processing requires arithmetic processing such as an impulse response and a correlation function, and that such arithmetic processing requires continuous product-sum operations (for example, JP-A-2000-250895 and JP-A-11-15660). The speech encoding process including the equal product sum operation is executed in parallel using the CPU cores 102 and 103 for each channel.
[0004]
[Problems to be solved by the invention]
As shown in FIG. 6, in a conventional speech encoding apparatus, encoding processing of speech signals of a plurality of channels is executed separately and in parallel by CPU cores 102 and 103 in a system LSI 101. In this case, since the circuit size of the CPU core is extremely large, the provision of this large-scale CPU core incorporated in the system LSI 101 for each channel results in a large-scale system LSI itself. There is a problem that it is extremely disadvantageous in terms of hardware and cost.
[0005]
SUMMARY OF THE INVENTION An object of the present invention is to provide a speech coding apparatus and a method thereof which are advantageous in terms of hardware and cost by reducing the circuit scale.
[0006]
[Means to solve the problem]
According to the present invention, there is provided an audio encoding device that performs an encoding process on audio signals of a plurality of channels, and an encoding processing unit that performs an encoding process other than a product-sum operation process in the encoding process on the audio signal. And a sum-of-products processing means for performing the sum-of-products processing, wherein the coding processing means performs coding processing of another channel during execution of the sum-of-products processing of one channel. Thus, there is provided a speech coding apparatus characterized by the above.
[0007]
The product-sum operation processing means performs the product-sum operation processing of another channel while the encoding processing means is executing the encoding processing of one channel, and the encoding processing means When the product-sum operation is required during the encoding process of a certain channel, the product-sum operation means is instructed to the information necessary for the product-sum operation, and the execution instruction of the product-sum operation is instructed. And a means for shifting to encoding processing of another channel after that, wherein the product-sum operation processing means uses the information in response to the execution instruction and uses the product-sum operation processing of the certain channel. Characterized in that it has means for:
[0008]
Further, the product-sum operation means has means for outputting an interrupt signal indicating the end of the product-sum operation processing to the encoding processing means in response to the end of the product-sum operation processing, and the encoding processing means responds to the interruption signal. Means for responding and restarting the encoding process of the certain channel using the result of the product-sum operation process. Further, a memory which is accessible by the encoding processing means and the product-sum operation processing means and can store the processing results is further included. The memory is a dual-port memory that can be accessed in parallel by the encoding processing means and the product-sum operation processing means.
[0009]
According to the present invention, encoding processing means for performing an encoding process other than the product-sum operation process in the audio signal encoding process, and product-sum operation processing means for performing the product-sum operation process, the multi-channel What is claimed is: 1. An encoding method in an audio encoding device that performs an encoding process on an audio signal, wherein said encoding processing unit performs encoding of another channel while the product-sum operation unit is executing a product-sum operation process of one channel. Thus, a speech coding method characterized by performing a coding process is obtained.
[0010]
The product-sum operation processing means performs the product-sum operation processing of another channel while the encoding processing means is executing the encoding processing of one channel, and the encoding processing means In the above, when the product-sum operation is required during the encoding process of a certain channel, information necessary for the product-sum operation is instructed to the product-sum operation means and execution instruction of the product-sum operation is given. And, after that, shifting to the encoding process of another channel. In the product-sum operation processing means, the product-sum operation of the certain channel is performed using the information in response to the execution instruction. It is characterized by having a step of performing processing.
[0011]
Further, the product-sum operation processing means includes a step of outputting an interrupt signal indicating the end of the product-sum operation processing to the encoding processing means in response to the end of the product-sum operation processing. A step of restarting encoding processing of the certain channel using a result of the product-sum operation processing in response to a signal.
[0012]
The operation of the present invention will be described. An encoding processing unit (CPU) that divides a product-sum operation process and another encoding process in the audio encoding process and performs an encoding process other than the product-sum operation, and a product-sum operation process dedicated to the product-sum operation Parts are provided. Then, when the CPU is executing the encoding processing of a certain channel, the operation control is performed so that the product-sum operation processing unit executes the product-sum operation processing of another channel. By doing so, it is not necessary to provide a large-scale CPU core for each channel, and the overall circuit scale can be reduced.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the present invention. A system LSI 1 includes a CPU core 2, a product-sum operation circuit 3, a memory 4, and a memory control circuit 5. . The CPU core 2 accesses the product-sum operation circuit 3 and the memory control circuit 5 via the bus 7, and the product-sum operation circuit 3 accesses the memory control circuit 5 via the bus 7. Therefore, the memory 4 is freely accessible by the CPU core 2 and the product-sum operation circuit 3. Further, the product-sum operation circuit 3 notifies the CPU 2 of the end of the predetermined processing using the interrupt 6, and the CPU core 2 receives the operation result via the bus 7.
[0014]
In the configuration of FIG. 1, it is assumed that the CPU core 2 performs an encoding process other than the product-sum operation in the audio signal encoding process, and the product-sum operation circuit 3 has a function of performing the product-sum operation.
[0015]
Therefore, when the CPU core 2 starts speech coding of a certain channel and needs a product-sum operation, the CPU core 2 sends the product-sum operation circuit 3 the start address of the two variables to be subjected to the product-sum operation and the operation. A total of three variables of the number of times are notified via the bus 7. The product-sum operation circuit 3 reads variable values from the memory 4 via the bus 7 and executes the product-sum operation. As a result, the CPU core 2 can perform the speech encoding process of another channel while the product-sum operation circuit 3 is executing the continuous product-sum operation process. When the predetermined processing is completed, the product-sum operation circuit 3 notifies the CPU core 2 to that effect using the interrupt 6. The CPU core 2 receives the calculation result from the sum-of-products calculation circuit 3 and restarts the encoding process of the certain channel.
[0016]
FIG. 2 is a block diagram showing a specific configuration example of the product-sum operation circuit 3 in the embodiment of FIG. 1, and FIG. 3 is a flowchart showing the operation of the state machine 24 in FIG. In FIG. 2, the product-sum operation circuit 3 includes a state machine 24, a register 20, a bus control unit 21, a FIFO 22, a FIFO 23, and a product-sum operation unit 25. The register 20 stores the head address of the memory storing the two variables to be subjected to the product-sum operation notified from the CPU core 2 and the number of operations. The register 20 also stores an execution instruction notified from the CPU core 2, and the execution instruction is notified to the state machine 24 via the processing start signal 30 (step S1 in FIG. 3).
[0017]
The state machine 24 notifies the bus control unit of the memory read instruction using the memory read instruction signal 31 (step S2 in FIG. 3). The bus control unit 21 reads the start addresses of the two variables and the number of operations from the register 20 using the register data signal 32. The bus control unit 21 stores the data of the two variables in the FIFO 22 and the FIFO 23 using the data signal 33 and the data signal 34, respectively, and notifies the state machine 24 that the memory read is completed using the memory read completion signal 35. Notify (step S3 in FIG. 3).
[0018]
The state machine 24 notifies the product-sum calculator 25 of the calculation execution instruction using the calculation execution instruction signal 36 (step S4 in FIG. 3). The product-sum calculator 25 notifies the register 20 of the calculation result using the calculation result data signal 37, and notifies the state machine 24 of the completion of the calculation using the calculation completion signal 38 (step S5 in FIG. 3). ). The state machine 24 notifies the register 20 of the interrupt output instruction using the interrupt output instruction signal 39 (step S6 in FIG. 3).
[0019]
Next, the operation of the circuit shown in FIG. 1 will be described with reference to the sequence diagram of FIG. In the CPU core 2, the audio encoding process of channel 0 (shown as CH0 in FIG. 4) is started. When continuous product-sum operation processing becomes necessary, the CPU core 2 sets the address of the two variables and the number of operations to the product-sum operation circuit 3 in the register of the product-sum operation circuit 3 and issues an execution instruction.
[0020]
The CPU core 2 allocates the processing time to the channel 1 (shown as CH1 in FIG. 4) when the processing result of the product-sum operation circuit 3 is awaited in the channel encoding process. The product-sum operation circuit 3 receives the execution instruction, accesses the memory control unit 5, reads the data of the variable, and executes the product-sum operation. The product-sum operation circuit 3 notifies the CPU core 2 of the completion of the product-sum operation using the interrupt 6.
[0021]
On the other hand, in the CPU core 2, where continuous product-sum operation is required in the encoding process of channel 1, the product-sum operation circuit 3 similarly calculates the address of two variables and the number of operations by the product-sum operation. It is set in the register of the circuit 3 and an execution instruction is issued. The CPU core 2 allocates a processing time to the channel 0 when the processing result of the product-sum operation circuit 3 is awaited in the audio coding processing of the channel 1. Since the interrupt 6 is active, the CPU core 2 accesses the product-sum operation circuit 3, receives the processing result of the channel 0, and restarts the encoding processing of the channel 0.
[0022]
FIG. 5 is a block diagram showing the configuration of another embodiment of the present invention, and the same parts as those in FIG. 1 are denoted by the same reference numerals. In this example, a dual-port memory is used as the memory 4, a memory control circuit 8 is added in addition to the memory control circuit 5, and a memory bus 9 connects between the memory control circuit 8 and the product-sum operation circuit 3. It is configured to connect.
[0023]
When the CPU core 2 and the product-sum operation circuit 3 frequently access the memory, a problem arises in that the processing time of the CPU core 2 is taken as the memory access waiting time due to access competition. Therefore, in the present embodiment, as shown in FIG. 5, the product-sum operation circuit 3 is made accessible through the memory bus 9 and the memory control circuit 8 using the dual-port memory 4, and the product-sum operation is performed with the CPU core 2. The memory access conflict with the circuit 3 is prevented.
[0024]
Since the CPU core 2 and the product-sum operation circuit 3 perform audio coding processing of different channels, the number of simultaneous accesses to the same memory address is extremely small. By doing so, it is possible to prevent a decrease in processing performance due to a memory access conflict between the CPU core 2 and the product-sum operation circuit 3.
[0025]
【The invention's effect】
As described above, according to the present invention, the speech encoding process is divided into a product-sum operation process and other encoding processes, and the CPU core performs the other encoding process, and the product-sum operation process is performed. Since the dedicated sum-of-products calculation circuit is used, when the sum-of-products calculation circuit is performing the sum-of-products calculation for a certain channel, the CPU core may perform the encoding processing for the other channels in parallel. Therefore, there is an effect that the voice coding processing of a plurality of channels can be efficiently executed.
[0026]
In particular, as compared with the conventional method in which a CPU core is provided for each channel for audio coding processing of a plurality of channels, the product-sum operation circuit is separated and a dedicated circuit is provided to reduce the load on the CPU core. This eliminates an increase in the circuit scale of the CPU core, which is advantageous in terms of hardware and cost. Since the product-sum operation circuit may have a relatively small circuit configuration, the advantage of separating the product-sum operation circuit is greater.
[Brief description of the drawings]
FIG. 1 is a block diagram of one embodiment of the present invention.
FIG. 2 is a block diagram showing a specific example of a product-sum operation circuit in the block of FIG. 1;
FIG. 3 is a flowchart illustrating an operation of the state machine of FIG. 2;
FIG. 4 is a sequence diagram showing an operation of one embodiment of the present invention.
FIG. 5 is a block diagram of another embodiment of the present invention.
FIG. 6 is a block diagram illustrating an example of a conventional technique.
[Explanation of symbols]
1 System LSI
2 CPU core 3 Product-sum operation circuit 4 Memory 5, 8 Memory control circuit 6 Interrupt 7 Bus 9 Memory bus

Claims (10)

複数チャネルの音声信号の符号化処理をなす音声符号化装置であって、前記音声信号の符号化処理のうち積和演算処理を除く符号化処理をなす符号化処理手段と、前記積和演算処理をなす積和演算処理手段とを含み、前記積和演算処理手段があるチャネルの積和演算処理の実行中に、前記符号化処理手段は他のチャネルの符号化処理をなすようにしたことを特徴とする音声符号化装置。What is claimed is: 1. An audio encoding device that performs an encoding process on audio signals of a plurality of channels, comprising: an encoding processing unit that performs an encoding process excluding a product-sum operation process in the audio signal encoding process; Wherein the encoding processing means performs encoding processing of another channel during execution of the product-sum operation processing of one channel. Characteristic speech encoding device. 前記符号化処理手段があるチャネルの符号化処理の実行中に、前記積和演算処理手段は他のチャネルの積和演算処理をなすようにしたことを特徴とする請求項1記載の音声符号化装置。2. A speech coding apparatus according to claim 1, wherein said product-sum operation processing means performs the product-sum operation processing of another channel while said coding processing means is executing the coding processing of one channel. apparatus. 前記符号化処理手段は、あるチャネルの符号化処理中に前記積和演算処理が必要になった場合に前記積和演算処理手段に対して前記積和演算処理に必要な情報を指示すると共に積和演算の実行指示をなす手段と、しかる後に他のチャンネルの符号化処理へ移行する手段とを有し、
前記積和演算処理手段は前記実行指示に応答して前記情報を用いて前記あるチャネルの積和演算処理をなす手段を有することを特徴とする請求項1または2記載の音声符号化装置。
The encoding processing means, when the sum-of-products processing becomes necessary during the encoding processing of a certain channel, instructs the sum-of-products processing means with information necessary for the sum-of-products processing, and Means for instructing the execution of the sum operation, and means for shifting to encoding processing of another channel after that,
3. The speech coding apparatus according to claim 1, wherein said product-sum operation processing means includes means for performing a product-sum operation for the certain channel using the information in response to the execution instruction.
前記積和演算処理手段は前記積和演算処理の終了に応答してその旨を示す割り込み信号を前記符号化処理手段へ出力する手段を有し、
前記符号化処理手段はこの割り込み信号に応答して前記積和演算処理の結果を用いて前記あるチャネルの符号化処理を再開する手段を有することを特徴とする請求項3記載の音声符号化装置。
The product-sum operation processing means has means for outputting an interrupt signal to that effect to the encoding processing means in response to the end of the product-sum operation processing,
4. The speech coding apparatus according to claim 3, wherein said coding processing means has means for restarting coding processing of the certain channel using a result of the product-sum calculation processing in response to the interrupt signal. .
前記符号化処理手段及び前記積和演算処理手段によりアクセス自在でこれ等の処理結果を格納可能なメモリを、更に含むことを特徴とする請求項1〜4いずれか記載の音声符号化装置。5. The speech encoding apparatus according to claim 1, further comprising a memory accessible by said encoding processing means and said product-sum operation processing means and capable of storing the processing results. 前記メモリは前記符号化処理手段及び前記積和演算処理手段により並行してアクセス自在なデュアルポートメモリであることを特徴とする請求項5記載の音声符号化装置。6. The speech encoding apparatus according to claim 5, wherein said memory is a dual-port memory that can be accessed in parallel by said encoding processing means and said product-sum operation processing means. 音声信号の符号化処理のうち積和演算処理を除く符号化処理をなす符号化処理手段と、前記積和演算処理をなす積和演算処理手段とを含み、複数チャネルの音声信号の符号化化処理をなす音声符号化装置における符号化方法であって、
前記積和演算処理手段があるチャネルの積和演算処理の実行中に、前記符号化処理手段が他のチャネルの符号化処理をなすようにしたことを特徴とする音声符号化方法。
Encoding processing means for performing an encoding process other than the product-sum operation process in the audio signal encoding process; and product-sum operation processing means for performing the product-sum operation process; An encoding method in a speech encoding device that performs processing,
A speech encoding method, wherein the encoding processing means performs the encoding processing of another channel while the product-sum operation processing means is performing the product-sum operation processing of one channel.
前記符号化処理手段があるチャネルの符号化処理の実行中に、前記積和演算処理手段が他のチャネルの積和演算処理をなすようにしたことを特徴とする請求項7記載の音声符号化方法。8. A speech encoding apparatus according to claim 7, wherein said product-sum operation processing means performs product-sum operation processing of another channel while said encoding processing means is executing encoding processing of one channel. Method. 前記符号化処理手段において、あるチャネルの符号化処理中に前記積和演算処理が必要になった場合に前記積和演算処理手段に対して前記積和演算処理に必要な情報を指示すると共に積和演算の実行指示をなすステップと、しかる後に他のチャンネルの符号化処理へ移行するステップとを有し、
前記積和演算処理手段において、前記実行指示に応答して前記情報を用いて前記あるチャネルの積和演算処理をなすステップを有することを特徴とする請求項7または8記載の音声符号化方法。
In the encoding processing means, when the product-sum operation processing becomes necessary during the encoding processing of a certain channel, information necessary for the product-sum operation processing is instructed to the product-sum operation processing means, and the product A step of instructing the execution of a sum operation, and a step of shifting to an encoding process of another channel after that,
9. The speech encoding method according to claim 7, wherein said product-sum operation processing means includes a step of performing a product-sum operation for the certain channel using the information in response to the execution instruction.
前記積和演算処理手段において、前記積和演算処理の終了に応答してその旨を示す割り込み信号を前記符号化処理手段へ出力するステップを有し、
前記符号化処理手段において、この割り込み信号に応答して前記積和演算処理の結果を用いて前記あるチャネルの符号化処理を再開するステップを有することを特徴とする請求項9記載の音声符号化方法。
The product-sum operation processing means includes a step of, in response to the end of the product-sum operation processing, outputting an interrupt signal indicating the end to the encoding processing means,
10. The speech encoding apparatus according to claim 9, wherein said encoding processing means has a step of restarting the encoding processing of the certain channel using a result of the product-sum operation processing in response to the interrupt signal. Method.
JP2001202849A 2001-07-04 2001-07-04 Audio coding apparatus and method Expired - Fee Related JP3558057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001202849A JP3558057B2 (en) 2001-07-04 2001-07-04 Audio coding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001202849A JP3558057B2 (en) 2001-07-04 2001-07-04 Audio coding apparatus and method

Publications (2)

Publication Number Publication Date
JP2003015693A JP2003015693A (en) 2003-01-17
JP3558057B2 true JP3558057B2 (en) 2004-08-25

Family

ID=19039574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001202849A Expired - Fee Related JP3558057B2 (en) 2001-07-04 2001-07-04 Audio coding apparatus and method

Country Status (1)

Country Link
JP (1) JP3558057B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2756175C1 (en) 2020-03-30 2021-09-28 Акционерное Общество "Государственный Научный Центр Российской Федерации Троицкий Институт Инновационных И Термоядерных Исследований" Robotic laser complex and method of dismantling metal structures of npp

Also Published As

Publication number Publication date
JP2003015693A (en) 2003-01-17

Similar Documents

Publication Publication Date Title
KR100733943B1 (en) Processor system, dma control circuit, dma control method, control method for dma controller, graphic processing method, and graphic processing circuit
JP2004287757A (en) DMA controller
JP2014165748A (en) Processing device and method of controlling processing device
JPH07295805A (en) Signal processor
JP2000010913A (en) Information processing device and method and distribution medium
JP3558057B2 (en) Audio coding apparatus and method
KR100188374B1 (en) Processing unit
JP2009187313A (en) Descriptor control method, direct memory transfer device, and program
US6584514B1 (en) Apparatus and method for address modification in a direct memory access controller
JP2013125288A (en) Data processing device and data processing method
US8139615B2 (en) Data processing apparatus
JP3855069B2 (en) Logic circuit
KR100849531B1 (en) Direct memory access method in digital signal processing device and digital signal processing device using same
JP2002073351A (en) Data processing unit, data processing device and control method
CN121478350A (en) An instruction execution device, execution method and electronic device
JPH05120205A (en) Processor system with address conversion device for dma transfer and dma transfer method
JP3022186B2 (en) Digital signal processor
JP2583614B2 (en) Vector arithmetic unit
JP2014059611A (en) Processor and debugging device
JP2766191B2 (en) Digital signal processing device and signal processing method
JPS5939766B2 (en) multiplexer channel equipment
JP2002157213A (en) Apparatus and method for host port interface unit in digital signal processor
JPH0792902A (en) Programmable controller
JPH1040168A (en) Data processing device
JPH0916528A (en) Central arithmetic and control unit incorporating plural arithmetic and control circuits in one device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040416

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040427

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040510

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090528

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100528

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110528

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110528

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120528

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120528

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140528

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees