JP4348324B2 - Signal encoding apparatus, method, program, and recording medium - Google Patents

Signal encoding apparatus, method, program, and recording medium Download PDF

Info

Publication number
JP4348324B2
JP4348324B2 JP2005233944A JP2005233944A JP4348324B2 JP 4348324 B2 JP4348324 B2 JP 4348324B2 JP 2005233944 A JP2005233944 A JP 2005233944A JP 2005233944 A JP2005233944 A JP 2005233944A JP 4348324 B2 JP4348324 B2 JP 4348324B2
Authority
JP
Japan
Prior art keywords
shift amount
frame
candidate
shift
immediately preceding
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.)
Active
Application number
JP2005233944A
Other languages
Japanese (ja)
Other versions
JP2007049585A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005233944A priority Critical patent/JP4348324B2/en
Publication of JP2007049585A publication Critical patent/JP2007049585A/en
Application granted granted Critical
Publication of JP4348324B2 publication Critical patent/JP4348324B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数のサンプル値を符号化する信号符号化装置、方法、プログラム、および記録媒体に関する。   The present invention relates to a signal encoding apparatus, method, program, and recording medium for encoding a plurality of sample values.

図1に、従来の整数信号符号化部の機能構成例を示す。また、図2に整数信号符号化部840の処理フロー(S840)を示す。整数信号符号化部840は、区間分割部8401、線形予測分析部8402、線形予測係数符号化部8403、線形予測係数復号化部8404、逆フィルタ8407、サンプルバッファ8408、残差信号符号化部8409、統合部(Multiplexer)8410から構成される。区間分割部8401は、入力された整数信号を複数サンプルまとめてフレーム化し、フレーム単位のデジタルのサンプリング値とする(S8401)。線形予測分析部8402は、フレーム化して入力された整数信号(以下、「入力整数信号」という。)について線形予測のための分析を行い、線形予測係数を出力する(S8402)。ここで、線形予測係数の次数をPとする。線形予測係数符号化部8403は、線形予測分析部8402の結果にしたがって線形予測係数を符号化し、予測係数符号を出力する(S8403)。線形予測係数復号化部8404は、線形予測係数符号化部8403からの出力を復号化し、P次の線形予測係数を出力する(S8404)。本例では、線形予測係数符号化部8403からの出力を線形予測係数復号化部8404で復号化して、量子化済線形予測係数を得る構成としている。しかし、線形予測係数復号化部8404を無くし、線形予測係数符号化部8403から予測係数符号とそれに対応する量子化済線形予測係数を得る構成としてもよい。逆フィルタ8407は、予測係数符号で伝達される信号を、線形予測係数復号化部8404から出力されたP次の量子化済線形予測係数およびサンプルバッファ8408に保存されている直前のフレームのサンプル値と現フレームのサンプル値を用いて復元する。さらに、入力整数信号から復元した予測係数符号で伝達される信号を減算し、残差信号を出力する(S8407)。また、現フレームのサンプル値の少なくとも最後のPサンプルは、サンプルバッファ8408に保持される(S8408)。残差信号符号化部8409は、逆フィルタ8407から出力された残差信号を符号化し、残差符号を出力する(S8409)。統合部(Multiplexer)8410は、線形予測係数符号化部8403が出力した予測係数符号と残差信号符号化部8409が出力した残差符号とを統合して整数信号符号として出力する(S8410)。なお、線形予測分析部8402でも、線形予測分析に直前のフレームの最後のPサンプルを用いてもよい。この場合には、図1中に点線で示しているように、サンプリングバッファ8408から直前のフレームの最後のPサンプルの値を受け取る。   FIG. 1 shows a functional configuration example of a conventional integer signal encoding unit. FIG. 2 shows a processing flow (S840) of the integer signal encoding unit 840. The integer signal encoding unit 840 includes an interval dividing unit 8401, a linear prediction analysis unit 8402, a linear prediction coefficient encoding unit 8403, a linear prediction coefficient decoding unit 8404, an inverse filter 8407, a sample buffer 8408, and a residual signal encoding unit 8409. , And an integration unit (Multiplexer) 8410. The section dividing unit 8401 assembles a plurality of samples of the input integer signal into a frame and sets it as a digital sampling value in units of frames (S8401). The linear prediction analysis unit 8402 performs analysis for linear prediction on the integer signal input in the form of a frame (hereinafter referred to as “input integer signal”), and outputs a linear prediction coefficient (S8402). Here, let P be the order of the linear prediction coefficient. The linear prediction coefficient encoding unit 8403 encodes the linear prediction coefficient according to the result of the linear prediction analysis unit 8402, and outputs a prediction coefficient code (S8403). The linear prediction coefficient decoding unit 8404 decodes the output from the linear prediction coefficient encoding unit 8403 and outputs a P-th order linear prediction coefficient (S8404). In this example, the output from the linear prediction coefficient encoding unit 8403 is decoded by the linear prediction coefficient decoding unit 8404 to obtain a quantized linear prediction coefficient. However, the linear prediction coefficient decoding unit 8404 may be omitted, and a prediction coefficient code and a corresponding quantized linear prediction coefficient may be obtained from the linear prediction coefficient encoding unit 8403. The inverse filter 8407 uses the P-order quantized linear prediction coefficient output from the linear prediction coefficient decoding unit 8404 and the sample value of the previous frame stored in the sample buffer 8408 as the signal transmitted with the prediction coefficient code. And using the sample value of the current frame. Further, the signal transmitted with the prediction coefficient code restored from the input integer signal is subtracted, and a residual signal is output (S8407). Further, at least the last P sample of the sample value of the current frame is held in the sample buffer 8408 (S8408). The residual signal encoding unit 8409 encodes the residual signal output from the inverse filter 8407 and outputs a residual code (S8409). The integration unit (Multiplexer) 8410 integrates the prediction coefficient code output from the linear prediction coefficient encoding unit 8403 and the residual code output from the residual signal encoding unit 8409, and outputs the result as an integer signal code (S8410). Note that the linear prediction analysis unit 8402 may also use the last P sample of the immediately preceding frame for the linear prediction analysis. In this case, as indicated by a dotted line in FIG. 1, the value of the last P sample of the immediately preceding frame is received from the sampling buffer 8408.

図3に従来の整数信号復号化部の機能構成例を示す。また、図4に整数信号復号化部920の処理フロー(S920)を示す。整数信号復号化部920は、分割部(Demultiplexer)9201、線形予測係数復号化部9202、残差信号復号化部9203、サンプルバッファ9206、合成フィルタ9207から構成される。符号化されたデータは、分割部(Demultiplexer)9201で受信、蓄積され、予測係数符号と残差符号とに分割される(S9201)。線形予測係数復号化部9202は、予測係数符号を復号化し、線形予測係数を出力する(S9202)。残差信号復号化部9203は、残差符号を復号化し、残差信号を出力する(S9203)。合成フィルタ9207は、線形予測係数復号化部9202が出力した線形予測係数およびサンプルバッファ9206に保持された直前フレームのサンプル値と現フレームのサンプル値を用いて、信号を合成する(S9206)。さらに、復元された信号と残差信号を加算し、整数信号を得る(S9207)。   FIG. 3 shows a functional configuration example of a conventional integer signal decoding unit. FIG. 4 shows a processing flow (S920) of the integer signal decoding unit 920. The integer signal decoding unit 920 includes a division unit (Demultiplexer) 9201, a linear prediction coefficient decoding unit 9202, a residual signal decoding unit 9203, a sample buffer 9206, and a synthesis filter 9207. The encoded data is received and accumulated by a demultiplexer 9201, and is divided into a prediction coefficient code and a residual code (S9201). The linear prediction coefficient decoding unit 9202 decodes the prediction coefficient code and outputs a linear prediction coefficient (S9202). The residual signal decoding unit 9203 decodes the residual code and outputs a residual signal (S9203). The synthesis filter 9207 synthesizes the signal using the linear prediction coefficient output from the linear prediction coefficient decoding unit 9202 and the sample value of the previous frame and the sample value of the current frame held in the sample buffer 9206 (S9206). Further, the restored signal and the residual signal are added to obtain an integer signal (S9207).

また、整数信号を可逆符号化する符号化方法については、例えば、非特許文献1にあるように、線形予測を行って、線形予測係数と線形予測残差をそれぞれ可逆符号化する方法がある。非特許文献1の符号化方法では、入力された整数形式のデータサンプル値列を、複数まとめたフレームごとに、線形予測係数を求め、線形予測係数を符号化し、前記符号化の過程で量子化された線形予測係数を用いて逆フィルタ(分析フィルタとも言う。)を構成し、線形予測残差信号を求め、線形予測残差信号を符号化する。
Tilman Liebchen and Yuriy A. Reznik, "MPEG4-ALS: an Emerging Standard for Lossless Audio Coding," Proceedings of the Data Compression Conference (DCC'04), pp1068-0314/04, 2004.
As an encoding method for losslessly encoding an integer signal, for example, as described in Non-Patent Document 1, there is a method for performing linear prediction and losslessly encoding a linear prediction coefficient and a linear prediction residual. In the encoding method of Non-Patent Document 1, a linear prediction coefficient is obtained for each frame in which a plurality of input data sample value sequences are put together, the linear prediction coefficient is encoded, and is quantized in the encoding process. An inverse filter (also referred to as an analysis filter) is configured using the linear prediction coefficient thus obtained, a linear prediction residual signal is obtained, and the linear prediction residual signal is encoded.
Tilman Liebchen and Yuriy A. Reznik, "MPEG4-ALS: an Emerging Standard for Lossless Audio Coding," Proceedings of the Data Compression Conference (DCC'04), pp1068-0314 / 04, 2004.

図5を用いて従来の方法の問題点を説明する。図5は、24ビットを符号化する整数信号符号装置であって、1フレームが10サンプルで構成される場合のイメージを示している。図中の網掛け部は、0または1のビット(実質的に情報を有するビット)であり、その他の部分は0(実質的に情報がないビット)である。また、図中の点線で囲まれた範囲が符号化の対象である。図5では、全てのビットが符号化の対象であることを示している。
しかし、もともと振幅が小さい入力信号を増幅して得た信号の場合、下位ビットが0となっていることがある。例えば、図5のフレーム1では下位の2ビット分の桁、フレーム2では下位の4ビット分の桁では、全てのビットが0である。従来技術では、このような実質的に情報のない下位ビットも符号化することになる。つまり、下位ビットが0となっている入力信号の場合、圧縮効率が必ずしも良いとは言えない。
Problems of the conventional method will be described with reference to FIG. FIG. 5 is an integer signal encoding device that encodes 24 bits, and shows an image when one frame is composed of 10 samples. The shaded portions in the figure are 0 or 1 bits (bits having substantially information), and the other portions are 0 (bits having substantially no information). In addition, a range surrounded by a dotted line in the figure is an encoding target. FIG. 5 shows that all bits are to be encoded.
However, in the case of a signal originally obtained by amplifying an input signal having a small amplitude, the lower bit may be 0. For example, in the frame 1 of FIG. 5, all the bits are 0 in the lower 2 bits of the digit, and in the frame 2 in the lower 4 bits of the digit. In the prior art, such lower bits having substantially no information are also encoded. That is, in the case of an input signal in which the lower bits are 0, it cannot be said that the compression efficiency is necessarily good.

本発明では、整数信号を符号化する際に、フレーム内のビットが全て0の桁が最下位桁から何桁あるか、もしくは、いずれかのビットが1の桁が最下位桁から何桁目にあるかを検出し、その情報を出力する。また、最も下位桁にあるいずれかのビットが1である桁を含むそれより上位の桁を符号化し、符号列を出力する。図6に本発明を適用した場合の符号化のイメージを示す。フレーム1の場合は下位の2桁、フレーム2の場合は下位の4桁の全てのビットが0なので、符号化の対象から外されている。
また、整数信号を復号化する際には、前記符号列から整数信号を復号化し、前記フレーム内のビットが全て0の桁が最下位桁から何桁あるか、もしくは、いずれかのビットが1の桁が最下位桁から何桁目にあるかの情報を用いて、復号化された整数信号の下位にビットが全て0の桁を付加することで、出力する整数信号を求める。
In the present invention, when an integer signal is encoded, the number of digits with all 0s in the frame is from the least significant digit, or the number of digits with one bit is 1 from the least significant digit. Is detected and the information is output. In addition, a higher-order digit including a digit in which any bit in the lowest digit is 1 is encoded, and a code string is output. FIG. 6 shows an image of encoding when the present invention is applied. In the case of frame 1, all the lower two digits are 0 in the case of frame 2 and in the case of frame 2.
Also, when decoding an integer signal, the integer signal is decoded from the code string, and the number of all zero bits in the frame is from the least significant digit, or one of the bits is 1 Using the information on the number of the least significant digit from the least significant digit, an integer signal to be output is obtained by adding a digit having all 0 bits to the lower order of the decoded integer signal.

このようにフレームごとに符号化の対象範囲が異なると、フレーム間予測を行う線形予測符号化などの場合に、フレーム間予測が適正に行われず、圧縮効率が悪くなるという問題が新たに生じる。そこで、本発明では、直前のフレームの検出結果と現フレームの検出結果とが異なる場合に、過去の検出結果を考慮して、頻繁なシフト量の変化を抑制する。もしくは、直前のシフト量も考慮した線形予測符号化を行う。   In this way, when the encoding target range is different for each frame, there is a new problem that inter-frame prediction is not properly performed and compression efficiency is deteriorated in the case of linear predictive encoding for performing inter-frame prediction. Therefore, in the present invention, when the detection result of the immediately preceding frame is different from the detection result of the current frame, frequent changes in the shift amount are suppressed in consideration of the past detection results. Alternatively, linear predictive coding is performed in consideration of the previous shift amount.

本発明によれば、整数信号の符号化の際に実質的に情報のない下位のビットの符号化を行わないため、圧縮効率が高くなる。また、頻繁なシフト量の変化がなくなり、フレーム間予測を用いて圧縮符号化する場合の圧縮率を向上することができる。さらに、フレーム間予測を行う線形予測符号化の場合には、情報があるビットの位置が前後のフレーム間でずれた場合にも、そのずれ量を補正することができるので、圧縮効率を高く維持できる。   According to the present invention, since the lower bits having substantially no information are not encoded when the integer signal is encoded, the compression efficiency is increased. Also, frequent changes in the shift amount are eliminated, and the compression rate in the case of compression encoding using inter-frame prediction can be improved. Furthermore, in the case of linear predictive coding that performs inter-frame prediction, even if the position of a bit with information is shifted between the previous and subsequent frames, the shift amount can be corrected, so that the compression efficiency is maintained high. it can.

以下では、説明の重複を避けるため同じ機能を有する構成部や同じ処理を行う処理ステップには同一の番号を付与し、説明を省略する。
[第1実施形態]
本発明の符号化処理部の機能構成を図7に示す。図8に、符号化処理部400の処理フローを示す。符号化処理部400は、フレームバッファ810、シフト量算出部420、整数信号シフト処理部430、整数信号符号化部840、統合部(Multiplexer)460から構成される。フレームバッファ810は、整数信号(入力信号)を蓄積し、複数のサンプル値単位(フレーム単位)にシフト量算出部420と整数信号シフト処理部430へ出力する(S810)。シフト量算出部420は、いずれかのビットが1である最下位の桁を含むそれより上位の桁すべてが符号化の対象となるようにシフト量を決定する(S420)。具体的な決定方法は後述する。整数信号シフト処理部430は、シフト量算出部420の決定にしたがって符号化の範囲をシフトする(S430)。整数信号符号化部840は、従来技術として図1、図2で説明した方法により、ステップS430でシフトされた整数信号を符号化する(S840)。統合部(Multiplexer)460は、符号化された整数信号とシフト量とを統合し、出力する(S460)。
Below, in order to avoid duplication of description, the same number is given to the structural part which has the same function, and the process step which performs the same process, and description is abbreviate | omitted.
[First Embodiment]
FIG. 7 shows a functional configuration of the encoding processing unit of the present invention. FIG. 8 shows a processing flow of the encoding processing unit 400. The encoding processing unit 400 includes a frame buffer 810, a shift amount calculation unit 420, an integer signal shift processing unit 430, an integer signal encoding unit 840, and an integration unit (Multiplexer) 460. The frame buffer 810 accumulates the integer signal (input signal) and outputs it to the shift amount calculation unit 420 and the integer signal shift processing unit 430 in a plurality of sample value units (frame units) (S810). The shift amount calculation unit 420 determines the shift amount so that all the higher-order digits including the lowest-order digit in which any bit is 1 are to be encoded (S420). A specific determination method will be described later. The integer signal shift processing unit 430 shifts the encoding range according to the determination of the shift amount calculation unit 420 (S430). The integer signal encoding unit 840 encodes the integer signal shifted in step S430 by the method described with reference to FIGS. 1 and 2 as a conventional technique (S840). The integration unit (Multiplexer) 460 integrates and outputs the encoded integer signal and the shift amount (S460).

図9に、シフト量算出部420のシフト量決定ステップ(S420)の詳細を示す。シフト量算出部420は、フレームを構成するサンプルの数(N個)だけ、サンプルを取り込む(S4201)。シフト量ΔEを0に初期化する(S4202)。入力信号系列をΔEだけ右シフトした場合の、最下位桁のビットプレーン(フレーム内のサンプルの同じ桁のビットの集合)中のビットが1となるサンプルの数nを検出する(S4203)。n=0かを確認し、Yesの場合はステップS4205へ進み、Noの場合はステップS420を終了する(S4204)。ステップ4205では、シフト量ΔEをΔE+1とする(S4205)。ΔEが符号化ビット数Qに等しいかを確認し、Yesの場合はステップS4207へ進み、Noの場合はステップS4203へ戻る。ステップS4207では、ΔEを0に戻し、ステップS420を終了する。このステップでは、フレーム内の全てのビットが0だったため、シフト量ΔEを0としている。 FIG. 9 shows details of the shift amount determination step (S420) of the shift amount calculation unit 420. The shift amount calculation unit 420 takes in as many samples as the number of samples (N F ) constituting the frame (S4201). The shift amount ΔE is initialized to 0 (S4202). When the input signal sequence is shifted to the right by ΔE, the number n of samples in which the bit in the least significant bit plane (the set of bits of the same digit of the samples in the frame) becomes 1 is detected (S4203). Whether n = 0 is checked. If Yes, the process proceeds to step S4205. If No, step S420 is terminated (S4204). In step 4205, the shift amount ΔE is set to ΔE + 1 (S4205). It is checked whether ΔE is equal to the number Q of encoded bits. If Yes, the process proceeds to step S4207. If No, the process returns to step S4203. In step S4207, ΔE is returned to 0, and step S420 is ended. In this step, since all the bits in the frame are 0, the shift amount ΔE is set to 0.

図10に本発明の復号化処理部の機能構成を、図11に復号化処理部700の処理フローを示す。復号化処理部700は、分割部(Demultiplexer)910、整数信号復号化部920、逆シフト処理部950から構成される。分割部(Demultiplexer)910は、符号化データを受信し、符号化された整数信号とシフト量とに分割すると共に、符号化装置側でシフトした桁の情報(シフト量)を取得する(S910)。整数信号復号化部920は、従来技術として図3、図4で説明した方法により、整数信号を復号化する(S920)。逆シフト処理部950は、復号化された整数信号をシフト量と反対方向にシフトし、出力信号を得る(S950)。
このように、本発明によれば、整数信号の符号化の際に実質的に情報のない下位のビットの符号化を行わないため、圧縮効率が高くなる。
FIG. 10 shows a functional configuration of the decoding processing unit of the present invention, and FIG. 11 shows a processing flow of the decoding processing unit 700. The decoding processing unit 700 includes a demultiplexer 910, an integer signal decoding unit 920, and an inverse shift processing unit 950. The division unit (Demultiplexer) 910 receives the encoded data, divides it into encoded integer signals and shift amounts, and acquires digit information (shift amount) shifted on the encoding device side (S910). . The integer signal decoding unit 920 decodes the integer signal by the method described with reference to FIGS. 3 and 4 as a conventional technique (S920). The inverse shift processing unit 950 shifts the decoded integer signal in the direction opposite to the shift amount to obtain an output signal (S950).
As described above, according to the present invention, when the integer signal is encoded, the lower bits having substantially no information are not encoded, so that the compression efficiency is increased.

[第2実施形態]
本実施形態は、直前のフレームとのシフト量の違いが、あらかじめ定めた範囲内の場合には、現シフト量を直前のシフト量と同じとする方法と、第1実施形態との組み合わせである。
[Second Embodiment]
This embodiment is a combination of the method of making the current shift amount the same as the immediately preceding shift amount and the first embodiment when the difference in shift amount from the immediately preceding frame is within a predetermined range. .

図12に本実施形態の符号化処理部の機能構成例を示す。符号化処理部100は、フレームバッファ810、シフト量候補算出部120とシフト量選定部130とフレームシフト量保存バッファ140から構成されるシフト量決定部110、整数信号シフト処理部430、整数信号符号化部840、統合部(Multiplexer)460から構成される。図7の符号化処理部400との違いは、シフト量決定部110である。
符号化処理部100の処理フローは、図8の処理フローで、ステップS420をステップS110(図13)に置き換えたものとなる。図13にシフト量決定部110の処理フロー(ステップS110)を示す。ステップS110では、まず、シフト量候補算出部120で、フレーム内のサンプル値の全てのビットが0となる下位桁が最下位桁から何桁目まであるかをシフト量候補ΔEとして求める(S120)。シフト量選定部130は、現フレームが先頭フレームかランダムアクセスフレーム(RAフレーム:過去のフレームからの予測を用いないフレーム)かを判断する(S140)。先頭フレームかランダムアクセスフレームの場合には、シフト量選定部130は、シフト量候補ΔEを現フレームのシフト量とする(S150)。先頭フレームでもランダムアクセスフレームでもない場合には、シフト量選定部130は、フレームシフト量保持バッファから1つまたは複数の過去のフレームのシフト量Sj−k(kは1以上の整数)を読み出し、過去のフレームのシフト量とシフト量候補ΔEを用いて現フレームのシフト量Sを決定する(S130)。
FIG. 12 shows a functional configuration example of the encoding processing unit of this embodiment. The encoding processing unit 100 includes a frame buffer 810, a shift amount candidate calculation unit 120, a shift amount selection unit 130, and a frame shift amount storage buffer 140, a shift amount determination unit 110, an integer signal shift processing unit 430, an integer signal code 840 and an integration unit (Multiplexer) 460. A difference from the encoding processing unit 400 in FIG. 7 is a shift amount determination unit 110.
The processing flow of the encoding processing unit 100 is the processing flow of FIG. 8, in which step S420 is replaced with step S110 (FIG. 13). FIG. 13 shows a processing flow (step S110) of the shift amount determination unit 110. In step S110, first, the shift amount candidate calculation unit 120 obtains the shift amount candidate ΔE from the least significant digit to the most significant digit where all the bits of the sample value in the frame are 0 (S120). . The shift amount selection unit 130 determines whether the current frame is the first frame or a random access frame (RA frame: a frame that does not use prediction from a past frame) (S140). In the case of the first frame or the random access frame, the shift amount selecting unit 130 sets the shift amount candidate ΔE as the shift amount of the current frame (S150). If it is neither the first frame nor the random access frame, the shift amount selecting unit 130 reads the shift amount S j−k (k is an integer of 1 or more) of one or more past frames from the frame shift amount holding buffer. The shift amount S j of the current frame is determined using the shift amount of the past frame and the shift amount candidate ΔE (S130).

図14に、シフト量選定部130の処理(ステップS130)の詳細な処理フロー例を示す。シフト量選定部130は、フレームシフト量保持バッファ140から直前のフレームのシフト量Sj−1を、シフト量候補算出部120からシフト量候補ΔEを読み込む(S1301)。Sj−1>ΔEを確認する(S1302)。Noの場合にはSj−1+α<ΔEを確認する(S1303)。ここで、αはあらかじめ定めておく閾値である。ステップS1302とS1303とがともにNoの場合には、直前のフレームのシフト量Sj−1を現フレームのシフト量Sとする(S1304)。また、ステップS1302とS1303のどちらかがYesの場合には、シフト量候補ΔEを現フレームのシフト量Sとする(S1305)。 FIG. 14 shows a detailed process flow example of the process (step S130) of the shift amount selecting unit 130. The shift amount selection unit 130 reads the shift amount S j−1 of the immediately preceding frame from the frame shift amount holding buffer 140 and the shift amount candidate ΔE from the shift amount candidate calculation unit 120 (S1301). S j-1 > ΔE is confirmed (S1302). In the case of No, S j-1 + α <ΔE is confirmed (S1303). Here, α is a predetermined threshold value. A step S1302 and S1303 are both in the case of No, the shift amount S j-1 of the previous frame and the shift amount S j of the current frame (S1304). If either of steps S1302 and S1303 is Yes, the shift amount candidate ΔE is set as the shift amount S j of the current frame (S1305).

αはシフト量の揺らぎが一定以上になった場合にのみシフト量を変化させるようにするための閾値で、たとえばあらかじめ3に設定しておく。α=3の場合には、当該フレームの最大振幅を分析して得られたシフト量侯補ΔEが、前のフレームのシフト量Sj−1より小さくなるか、もしくはSj−1+3よりも大きい値となった場合にのみシフト量を変化させることに相当する。
このようにフレームのシフト量Sを決定することで、頻繁なシフト量の変化がなくなり、フレーム間予測を用いて圧縮符号化する場合の圧縮率を向上することができる。
α is a threshold for changing the shift amount only when the shift amount fluctuates above a certain level, and is set to 3 in advance, for example. When α = 3, the shift amount compensation ΔE obtained by analyzing the maximum amplitude of the frame is smaller than the shift amount S j−1 of the previous frame or is smaller than S j−1 +3. This corresponds to changing the shift amount only when the value becomes large.
By determining the frame shift amount S j in this way, frequent shift amount changes are eliminated, and the compression rate in the case of compression encoding using inter-frame prediction can be improved.

[変形例1]
第2実施形態では、シフト量決定部110のシフト量選定部130は、図14に示したように、閾値をあらかじめ決めておき、直前のフレームのシフト量と現フレームのシフト量候補との差が閾値以内であれば現フレームのシフト量を直前のフレームと同じにした。本変形例では、シフト量決定部110のシフト量選定部130は、直前のフレームのシフト量から現フレームのシフト量候補までの各シフト量での符号化後のデータ量を計算して、最もデータ量が少ないシフト量を現フレームのシフト量とする。
[Modification 1]
In the second embodiment, the shift amount selection unit 130 of the shift amount determination unit 110 determines a threshold value in advance as shown in FIG. 14, and the difference between the shift amount of the immediately preceding frame and the shift amount candidate of the current frame. If is within the threshold, the shift amount of the current frame is made the same as the previous frame. In this modification, the shift amount selection unit 130 of the shift amount determination unit 110 calculates the data amount after encoding at each shift amount from the shift amount of the previous frame to the shift amount candidate of the current frame, A shift amount with a small amount of data is set as a shift amount of the current frame.

図15にステップS130の代わりとなるシフト量選定部130の処理フロー(ステップS130’)を示す。シフト量選定部130は、フレームシフト量保持バッファ140から直前のフレームのシフト量Sj−1を、シフト量候補算出部120からシフト量候補ΔEを読み込む(S1301)。Sj−1>ΔEを確認する(S1302)。ステップS1302がNoの場合には、Dminを無限大、iを直前のフレームのシフト量Sj−1とする(S1311)。ただし、無限大とは、符号量として取りうる最大の値以上とすればよい。シフト量をiとした場合の整数信号の符号量と誤差信号の符号量とを求め、統合した場合の符号化データの符号量Dを求める(S1312)。DminがDよりも大きいかを確認する(S1313)。DminがDよりも大きい場合は、DをDmin、iをiminとする(S1314)。DminがD以下の場合にはステップS1315に進む。i<ΔEであることを確認する(S1315)。ステップS1315がYesの場合意は、iにi+1を代入する(S1316)。ステップS1315がNoの場合は、シフト量Sをiminとする(S1317)。ステップS1302がYesの場合には、シフト量Sをシフト量候補ΔEとする(S1305)。
このように処理すると、処理の時間はかかるが、確実に符号量の少ないシフト量を選定することができる。
FIG. 15 shows a processing flow (step S130 ′) of the shift amount selecting unit 130, which is an alternative to step S130. The shift amount selection unit 130 reads the shift amount S j−1 of the immediately preceding frame from the frame shift amount holding buffer 140 and the shift amount candidate ΔE from the shift amount candidate calculation unit 120 (S1301). S j-1 > ΔE is confirmed (S1302). When step S1302 is No, Dmin is set to infinity, and i is set to the shift amount Sj-1 of the immediately preceding frame (S1311). However, infinity may be greater than or equal to the maximum value that can be taken as the code amount. It obtains a code amount of the code amount and the error signal of the integral signal when the shift amount was i, obtaining the code amount D i of the coded data when integrated (S1312). D min is to confirm whether greater than D i (S1313). When D min is larger than D i , D i is set to D min and i is set to i min (S1314). If D min is less than D i, the process proceeds to step S1315. It is confirmed that i <ΔE (S1315). If step S1315 is Yes, i + 1 is substituted for i (S1316). If step S1315 is No, the shift amount S j is set to i min (S1317). If step S1302 is Yes, the shift amount Sj is set as a shift amount candidate ΔE (S1305).
If processing is performed in this way, processing time is required, but a shift amount with a small code amount can be selected with certainty.

[変形例2]
本変形例では、シフト量決定部110のシフト量選定部130は、過去のN個(Nは2以上の整数)のフレームのシフト量を記録しておく。シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量以下、かつ直前のフレームのシフト量以上の場合には、直前のフレームのシフト量を現フレームのシフト量とする。シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量より大きい場合、または直前のフレームのシフト量より小さい場合には、シフト量候補を現フレームのシフト量とする。
[Modification 2]
In this modification, the shift amount selection unit 130 of the shift amount determination unit 110 records the shift amounts of the past N frames (N is an integer of 2 or more). If the shift amount candidate is less than or equal to the nth (n is an integer less than or equal to 1 and less than N) shift amount in the past N frame shift amounts and greater than or equal to the shift amount of the immediately preceding frame, Let the shift amount of the immediately preceding frame be the shift amount of the current frame. When the shift amount candidate is larger than the nth (n is an integer greater than or equal to 1 and less than N) shift amount in the past N frame shift amounts, or smaller than the shift amount of the previous frame Uses the shift amount candidate as the shift amount of the current frame.

図16にステップS130の代わりとなるシフト量選定部130の処理フロー(ステップS130”)を示す。シフト量選定部130は、フレームシフト量保持バッファ140から過去のフレームのシフト量Sj−k(k=1〜N)を、シフト量候補算出部120からシフト量候補ΔEを読み込む(S1321)。ただし、Nは2以上の整数である。閾値αをN個の過去のシフト量の中で、n番目に小さいシフト量とする(S1322)。Sj−1>ΔEを確認する(S1302)。Noの場合にはα<ΔEを確認する(S1323)。ステップS1302とS1323とがともにNoの場合には、直前のフレームのシフト量Sj−1を現フレームのシフト量Sとする(S1304)。また、ステップS1302とS1323のどちらかがYesの場合には、シフト量候補ΔEを現フレームのシフト量Sとする(S1305)。 FIG. 16 shows a processing flow (step S130 ″) of the shift amount selecting unit 130 instead of step S130. The shift amount selecting unit 130 shifts the past frame shift amount S j−k ( k = 1 to N), the shift amount candidate ΔE is read from the shift amount candidate calculation unit 120 (S1321), where N is an integer greater than or equal to 2. The threshold α is the N past shift amounts. The shift amount is set to the nth smallest amount (S1322), S j-1 > ΔE is confirmed (S1302), and if <No, α <ΔE is confirmed (S1323). to, the shift amount S j-1 of the previous frame and the shift amount S j of the current frame (S1304). Furthermore, one of the steps S1302 and S1323 is In the case of Yes, the shift amount candidate ΔE is set as the shift amount S j of the current frame (S1305).

本実施形態では、閾値をあらかじめ決めておくのではなく、過去のシフト量から求めている。したがって、入力信号の特徴を考慮して閾値を変更することができる。   In the present embodiment, the threshold is not determined in advance, but is obtained from the past shift amount. Therefore, the threshold value can be changed in consideration of the characteristics of the input signal.

[第3実施形態]
第1実施形態と第2実施形態では、符号化対象の範囲をシフトすることで変更していた。これは、整数信号符号化処理では、通常、各サンプルの最上位の1より上位にある0を無視して符号化することが多いため、上位に0の桁が付加されても整数信号符号化処理の圧縮効率は悪くならないことを想定した処理である。
[Third Embodiment]
In 1st Embodiment and 2nd Embodiment, it changed by shifting the range of encoding object. This is because, in integer signal encoding processing, encoding is usually performed by ignoring 0 that is higher than the highest 1 of each sample, so even if a digit of 0 is added to the higher order, integer signal encoding is performed. This is a process assuming that the compression efficiency of the process does not deteriorate.

その他の方法として、フレーム内のサンプルの最下位桁を含むN桁(Nは正の整数)の全てのビットが0の場合、最下位桁を含むN桁を削除する方法がある。この方法によれば、例えば、整数信号符号化処理において、最上位の1より上位にある0を含めて符号化を行う場合でも、整数信号符号化部の圧縮効率を良くすることができる。
図17は、シフト量を求める代わりに削除量を求める削除量算出部320と、シフト処理の代わりに削除処理を行う整数信号削除処理部330を備える符号化処理部300の機能構成例を示す図である。
As another method, when all the bits of N digits (N is a positive integer) including the least significant digit of the sample in the frame are 0, there is a method of deleting the N digit including the least significant digit. According to this method, for example, in the integer signal encoding process, even when encoding is performed including 0 that is higher than the highest one, the compression efficiency of the integer signal encoding unit can be improved.
FIG. 17 is a diagram illustrating a functional configuration example of an encoding processing unit 300 including a deletion amount calculation unit 320 that calculates a deletion amount instead of determining a shift amount, and an integer signal deletion processing unit 330 that performs a deletion process instead of a shift process. It is.

本実施形態では、削除量を求めているが、その求め方は第1実施形態や第2実施形態のシフト量を求める方法と同一でよい。単純にシフトする代わりに、全てのビットが0の桁を削除するだけである。
また、復号化処理部側では、シフト量の代わりに削除量を受取ることになるので、逆シフト処理を行う代わりに、全てのビットが0の桁を付加する処理に変わるだけである。
In the present embodiment, the deletion amount is obtained, but the method of obtaining the deletion amount may be the same as the method of obtaining the shift amount in the first embodiment or the second embodiment. Instead of simply shifting, all the bits with zeros are deleted.
In addition, since the deletion amount is received instead of the shift amount on the decoding processing unit side, instead of performing the reverse shift processing, only the processing for adding all the digits of 0 is changed.

[変形例]
図18に、第3実施形態の変形例を示す。削除処理を整数信号削除処理部330で行うのではなく、整数信号符号化部340で行うよう変形したものである。
[Modification]
FIG. 18 shows a modification of the third embodiment. The deletion processing is modified not to be performed by the integer signal deletion processing unit 330 but to be performed by the integer signal encoding unit 340.

[第4実施形態]
第1実施形態の整数信号符号化部840は、図1に示した従来技術であった。本実施形態では、直前のフレームのシフト量を考慮した整数信号符号化部を用いる。図19に、本実施形態の符号化処理部の機能構成を示す。図7に示した符号化処理部400との違いは、整数信号符号化部240である。
[Fourth Embodiment]
The integer signal encoding unit 840 of the first embodiment is the conventional technique shown in FIG. In the present embodiment, an integer signal encoding unit that takes into account the shift amount of the immediately preceding frame is used. FIG. 19 shows a functional configuration of the encoding processing unit of the present embodiment. The difference from the encoding processing unit 400 shown in FIG. 7 is an integer signal encoding unit 240.

図20に、本実施形態の整数信号符号化部の機能構成例を示す。整数信号符号化部240は、区間分割部8401、線形予測分析部8402、線形予測係数符号化部8403、線形予測係数復号化部8404、フレーム間補正処理部2405、シフト量バッファ2406、逆フィルタ8407、サンプルバッファ2408、残差信号符号化部8409、統合部(Multiplexer)8410から構成される。図1の整数信号符号化部840との違いは、フレーム間のシフト量の違いを補正するために、フレーム間補正処理部2405、シフト量バッファ2406が追加されたことと、サンプル値をシフトできるサンプルバッファ2408としたことである。なお、線形予測分析部8402でも、線形予測分析に直前のフレームの最後のPサンプルを用いてもよい。この場合には、図8中に点線で示しているように、サンプリングバッファ2408から後述するシフト量を現フレームのシフト量にあわせた直前のフレームの最後のPサンプルの値を受け取る。   FIG. 20 shows a functional configuration example of the integer signal encoding unit of the present embodiment. The integer signal encoding unit 240 includes an interval dividing unit 8401, a linear prediction analysis unit 8402, a linear prediction coefficient encoding unit 8403, a linear prediction coefficient decoding unit 8404, an interframe correction processing unit 2405, a shift amount buffer 2406, and an inverse filter 8407. , A sample buffer 2408, a residual signal encoding unit 8409, and an integration unit (Multiplexer) 8410. The difference from the integer signal encoding unit 840 in FIG. 1 is that an inter-frame correction processing unit 2405 and a shift amount buffer 2406 are added to correct a difference in shift amount between frames, and a sample value can be shifted. The sample buffer 2408 is used. Note that the linear prediction analysis unit 8402 may also use the last P sample of the immediately preceding frame for the linear prediction analysis. In this case, as indicated by a dotted line in FIG. 8, the value of the last P sample of the immediately preceding frame in which the shift amount described later is matched with the shift amount of the current frame is received from the sampling buffer 2408.

図21に、整数信号符号化部240の処理フローを示す。あらかじめ、シフト量バッファ2406とサンプルバッファ2408を初期化(直前のフレーム情報がない状態)しておく。区間分割部8401は、入力された整数信号のフレーム単位のデジタルのサンプリング値の列をさらに細かく分割し、サブフレーム化する(S8401)。ただし、サブフレーム化しない場合には、区間分割部8401は不要である。以下でも、サブフレーム化も含めてフレーム化と表現する。線形予測分析部8402は、フレーム化された入力整数信号について線形予測のための分析を行い、P個の線形予測係数(a〜a)を出力する(S8402)。ここで、線形予測係数の次数をPとする。線形予測係数符号化部8403は、線形予測分析部8402の結果にしたがって線形予測係数を符号化し、予測係数符号を出力する(S8403)。線形予測係数復号化部8404は、線形予測係数符号化部8403からの出力を復号化し、P次の量子化済線形予測係数(a^〜a^)を出力する(S8404)。本例では、線形予測係数符号化部8403からの出力を線形予測係数復号化部8404で復号化して、量子化済線形予測係数を得る構成としている。しかし、線形予測係数復号化部8404を無くし、線形予測係数符号化部8403から予測係数符号とそれに対応する量子化済線形予測係数を得る構成としてもよい。フレーム間補正処理部2405は、現在のフレームのシフト量Sをシフト量算出部820から受け取る(S24051)。フレーム間補正処理部2405は、シフト量バッファ2406に現フレームのシフト量Sを記録し、シフト量バッファ2406から直前のフレームのシフト量Sj−1を読み出す(S2406)。フレーム間補正処理部2405は、シフト量の違いS−Sj−1を計算し、サンプルバッファ2408が保持する直前のフレームの最後のP個のサンプルを、S−Sj−1だけ右または左にシフトする(補正する)(S24052)。右シフトか左シフトかは、シフト量算出方法で右シフトを正の方向と定義するのか左シフトを正の方向と定義するのかで決まる。この補正により、直前のフレームのシフト量が現フレームのシフト量と異なる場合でも、現フレームの最初のサンプルの線形予測に用いる直前のフレームの最後のP個のサンプルの値(y−1〜y−P)は、現フレームと同じシフト量のサンプル値(y’−1〜y’−P)となる。なお、現フレームが、先頭フレームかランダムアクセスフレーム(RAフレーム:過去のフレームからの予測を用いないフレーム)の場合には直前のフレームのシフト量もサンプル値も存在しない。対応方法としては、初期化で直前のフレームの最後のP個のサンプルの値(y−1〜y−P)として0を代入しておく方法や、先頭フレームかランダムアクセスフレームの場合にはシフト量の変更処理を行わない方法などがある。ただし、これらに限る必要はない。 FIG. 21 shows a processing flow of the integer signal encoding unit 240. The shift amount buffer 2406 and the sample buffer 2408 are initialized in advance (the state in which there is no previous frame information). The section dividing unit 8401 further finely divides the sequence of digital sampling values in units of frames of the input integer signal into subframes (S8401). However, when the subframe is not used, the section dividing unit 8401 is not necessary. In the following, it is also expressed as framing including sub-framing. The linear prediction analysis unit 8402 performs an analysis for linear prediction on the framed input integer signal, and outputs P linear prediction coefficients (a 1 to a P ) (S8402). Here, let P be the order of the linear prediction coefficient. The linear prediction coefficient encoding unit 8403 encodes the linear prediction coefficient according to the result of the linear prediction analysis unit 8402, and outputs a prediction coefficient code (S8403). The linear prediction coefficient decoding unit 8404 decodes the output from the linear prediction coefficient encoding unit 8403, and outputs P-th order quantized linear prediction coefficients (a 1 ^ to a P )) (S8404). In this example, the output from the linear prediction coefficient encoding unit 8403 is decoded by the linear prediction coefficient decoding unit 8404 to obtain a quantized linear prediction coefficient. However, the linear prediction coefficient decoding unit 8404 may be omitted, and a prediction coefficient code and a corresponding quantized linear prediction coefficient may be obtained from the linear prediction coefficient encoding unit 8403. The inter-frame correction processing unit 2405 receives the shift amount S j of the current frame from the shift amount calculation unit 820 (S24051). The inter-frame correction processing unit 2405 records the shift amount S j of the current frame in the shift amount buffer 2406, and reads the shift amount S j−1 of the immediately preceding frame from the shift amount buffer 2406 (S2406). The inter-frame correction processing unit 2405 calculates the shift amount difference S j −S j−1 and sets the last P samples of the immediately preceding frame held by the sample buffer 2408 to the right by S j −S j−1. Alternatively, it is shifted to the left (corrected) (S24052). Whether to shift right or left depends on whether the right shift is defined as the positive direction or the left shift is defined as the positive direction in the shift amount calculation method. With this correction, even when the shift amount of the immediately preceding frame is different from the shift amount of the current frame, the values of the last P samples of the immediately preceding frame used for linear prediction of the first sample of the current frame (y −1 to y −P ) is a sample value (y ′ −1 to y ′ −P ) having the same shift amount as the current frame. If the current frame is the first frame or a random access frame (RA frame: a frame that does not use prediction from a past frame), neither the shift amount of the immediately preceding frame nor the sample value exists. As a corresponding method, a method of substituting 0 as the value of the last P samples (y −1 to y −P ) of the immediately preceding frame in initialization, or a shift in the case of the first frame or random access frame There is a method not to change the amount. However, it is not necessary to limit to these.

逆フィルタ8407は、現フレームのサンプル値の少なくとも最後のPサンプルを、サンプルバッファ2408に保持する。また、直前のフレームの最後のP個のサンプル値をサンプルバッファ2408から読み出す(S2408)。逆フィルタ8407は、予測係数符号で伝達される信号を、線形予測係数復号化部8404から出力されたP次の量子化済線形予測係数(a^〜a^)およびサンプルバッファ2408から読み出した直前のフレームの最後のP個のサンプル値と現フレームのサンプル値を用いて計算する。具体的には、信号の現フレームのi番目のサンプルの予測値は、現在のフレームの量子化済線形予測係数(a^〜a^)、直前のフレームのサンプル値(y’−1〜y’−P)と現フレームのサンプル値(y〜yi−1)を用いて、次のように計算される。 The inverse filter 8407 holds at least the last P sample of the sample value of the current frame in the sample buffer 2408. Further, the last P sample values of the immediately preceding frame are read from the sample buffer 2408 (S2408). The inverse filter 8407 reads the signal transmitted with the prediction coefficient code from the P-order quantized linear prediction coefficients (a 1 ˜a P ) output from the linear prediction coefficient decoding unit 8404 and the sample buffer 2408. Calculation is performed using the last P sample values of the immediately preceding frame and the sample value of the current frame. Specifically, the predicted value of the i-th sample of the current frame of the signal is the quantized linear prediction coefficient (a 1 〜 to a P )) of the current frame and the sample value (y ′ −1 ) of the immediately preceding frame. ˜y′− P ) and a sample value (y 1 to y i−1 ) of the current frame are calculated as follows.

Figure 0004348324
逆フィルタ8407は、さらに、入力整数信号yから復元した予測係数符号で伝達される信号を減算し、残差信号rを出力する(S8407)。したがって、残差信号rは、次式のようになる。
Figure 0004348324
Inverse filter 8407 is further adapted to subtract the signals transmitted by the prediction coefficient code that has been restored from the input integer signal y i, and outputs a residual signal r i (S8407). Therefore, the residual signal r i is given by

Figure 0004348324
残差信号符号化部8409は、逆フィルタ8407から出力された残差信号rを符号化し、残差符号を出力する(S8409)。統合部(Multiplexer)8410は、線形予測係数符号化部8403が出力した予測係数符号と残差信号符号化部8409が出力した残差符号とを統合して整数信号符号として出力する(S8410)。
図22に、本実施形態の復号化処理部の機能構成例を示す。図10に示した復号化処理部700との違いは、整数信号復号化部620である。
Figure 0004348324
Residual signal encoding unit 8409 is a residual signal r i which is outputted from the inverse filter 8407 encodes and outputs the residual code (S8409). The integration unit (Multiplexer) 8410 integrates the prediction coefficient code output from the linear prediction coefficient encoding unit 8403 and the residual code output from the residual signal encoding unit 8409, and outputs the result as an integer signal code (S8410).
FIG. 22 shows a functional configuration example of the decoding processing unit of the present embodiment. The difference from the decoding processing unit 700 shown in FIG. 10 is an integer signal decoding unit 620.

図23に本実施形態の整数信号復号化部の機能構成例を示す。また、図24に整数信号復号化部620の処理フローを示す。整数信号復号化部620は、分割部(Demultiplexer)9201、線形予測係数復号化部9202、残差信号復号化部9203、フレーム間補正処理部6204、シフト量バッファ6205、サンプルバッファ6206、合成フィルタ9207から構成される。図3の従来の整数信号復号化部920との違いは、フレーム間補正処理部6204とシフト量バッファ6205が追加された点と、サンプルバッファ6206がサンプル値のシフト量を変更できる点である。   FIG. 23 shows a functional configuration example of the integer signal decoding unit of the present embodiment. FIG. 24 shows a processing flow of the integer signal decoding unit 620. The integer signal decoding unit 620 includes a demultiplexer 9201, a linear prediction coefficient decoding unit 9202, a residual signal decoding unit 9203, an interframe correction processing unit 6204, a shift amount buffer 6205, a sample buffer 6206, and a synthesis filter 9207. Consists of The difference from the conventional integer signal decoding unit 920 in FIG. 3 is that an inter-frame correction processing unit 6204 and a shift amount buffer 6205 are added, and that the sample buffer 6206 can change the shift amount of the sample value.

整数信号復号化部620では、あらかじめ、シフト量バッファ6205とサンプルバッファ6206を初期化(直前のフレーム情報がない状態)にしておく。分割部(Demultiplexer)9201が、符号化されたデータを受信、蓄積し、予測係数符号と残差符号とに分割する(S9201)。線形予測係数復号化部9202は、予測係数符号を復号化し、P個の線形予測係数(a〜a)を出力する(S9202)。残差信号復号化部9203は、残差符号を復号化し、残差信号rを出力する(S9203)。一方、フレーム間補正処理部6204は、現フレームのシフト量Sを分割部(Demultiplexer)9201または他の通信手段から受信する(S62041)。フレーム間補正処理部6204は、現フレームのシフト量をシフト量バッファ6205に保存するとともに、シフト量バッファ6205から直前のフレームのシフト量Sj−1を読み出す(S6205)。フレーム間補正処理部6204は、シフト量の違いS−Sj−1を計算し、サンプルバッファ6202に保持されている直前のフレームの最後のP個のサンプル値(y−1〜y−P)を、S−Sj−1だけ右または左にシフトする(補正する)(S62042)。右シフトか左シフトかは、前述のとおりシフト量算出方法で右シフトを正の方向と定義するのか左シフトを正の方向と定義するのかで決まる。この補正により、直前のフレームのシフト量が現フレームのシフト量と異なる場合でも、現フレームの最初のサンプルの線形予測に用いる前フレームの最後のP個のサンプルの値(y−1〜y−P)は、現フレームと同じシフト量のサンプル値(y’−1〜y’−P)となる。なお、現フレームが、先頭フレームかランダムアクセスフレームの場合には直前のフレームのシフト量もサンプル値も存在しない。対応方法としては、初期化で直前のフレームの最後のP個のサンプルの値(y−1〜y−P)として0を代入しておく方法や、先頭フレームかランダムアクセスフレームの場合にはシフト量の変更処理を行わない方法などがある。ただし、これらに限る必要はない。 In the integer signal decoding unit 620, the shift amount buffer 6205 and the sample buffer 6206 are initialized in a state where there is no previous frame information. The demultiplexer 9201 receives and accumulates the encoded data, and divides it into a prediction coefficient code and a residual code (S9201). The linear prediction coefficient decoding unit 9202 decodes the prediction coefficient code and outputs P linear prediction coefficients (a 1 to a P ) (S9202). Residual signal decoding unit 9203 decodes the residual code, and outputs a residual signal r i (S9203). On the other hand, the interframe correction processing unit 6204 receives the shift amount S j of the current frame from the demultiplexer 9201 or other communication means (S62041). The inter-frame correction processing unit 6204 stores the shift amount of the current frame in the shift amount buffer 6205 and reads the shift amount S j−1 of the immediately preceding frame from the shift amount buffer 6205 (S6205). The inter-frame correction processing unit 6204 calculates the shift amount difference S j −S j−1 and the last P sample values (y −1 to y −P ) of the immediately preceding frame held in the sample buffer 6202. ) Is shifted (corrected) to the right or left by S j −S j−1 (S62042). Whether to shift right or left depends on whether the right shift is defined as a positive direction or the left shift is defined as a positive direction in the shift amount calculation method as described above. With this correction, even when the shift amount of the immediately preceding frame is different from the shift amount of the current frame, the values of the last P samples of the previous frame used for linear prediction of the first sample of the current frame (y −1 to y − P ) is a sample value (y'- 1 to y'- P ) having the same shift amount as the current frame. If the current frame is the first frame or a random access frame, neither the shift amount of the immediately preceding frame nor the sample value exists. As a corresponding method, a method of substituting 0 as the value of the last P samples (y −1 to y −P ) of the immediately preceding frame in initialization, or a shift in the case of the first frame or random access frame There is a method not to change the amount. However, it is not necessary to limit to these.

合成フィルタ9207は、現フレームのサンプル値の少なくとも最後のPサンプルを、サンプルバッファ6206に保持する。また、直前のフレームの最後のP個のサンプル値をサンプルバッファ6206から読み出す(S6206)。合成フィルタ9207は、線形予測係数復号化部9202が出力した量子化済線形予測係数(a^〜a^)、サンプルバッファ9206に保持され、フレーム間補正処理部6204によって補正された直前フレームのサンプル値(y’−1〜y’−P)と現フレームのサンプル値(y〜yi−1)、残差信号rを用いて、次式のように整数信号yを合成する(S9207)。 The synthesis filter 9207 holds at least the last P sample of the sample value of the current frame in the sample buffer 6206. Further, the last P sample values of the immediately preceding frame are read from the sample buffer 6206 (S6206). The synthesis filter 9207 stores the quantized linear prediction coefficients (a 1 〜 to a P ^) output from the linear prediction coefficient decoding unit 9202, held in the sample buffer 9206, and the previous frame corrected by the interframe correction processing unit 6204. Is used to synthesize an integer signal y i using the following sample equation (y ′ −1 to y ′ −P ), the current frame sample value (y 1 to y i−1 ), and the residual signal r i (S9207).

Figure 0004348324
このように、直前のフレームのシフト量と符号化対象のフレームのシフト量とを考慮して線形予測符号化のフレーム間予測を行うので、効率的に符号化でき、符号量を少なくすることができる。
なお、上記の実施形態はコンピュータに、上記方法の各ステップを実行させるプログラムを読み込ませ、実施することもできる。また、コンピュータに読み込ませる方法としては、プログラムをコンピュータ読み取り可能な記録媒体に記録しておき、記録媒体からコンピュータに読み込ませる方法、サーバ等に記録されたプログラムを電気通信回線等を通じてコンピュータに読み込ませる方法などがある。
Figure 0004348324
In this way, since inter-frame prediction of linear predictive coding is performed in consideration of the shift amount of the immediately preceding frame and the shift amount of the encoding target frame, it is possible to efficiently encode and reduce the code amount. it can.
In addition, said embodiment can also read and implement the program which makes a computer perform each step of the said method. Also, as a method for reading into the computer, the program is recorded on a computer-readable recording medium, and the program is read from the recording medium into the computer, or the program recorded in the server or the like is read into the computer through an electric communication line or the like. There are methods.

従来の整数信号符号化部の機能構成例を示す図。The figure which shows the function structural example of the conventional integer signal encoding part. 従来の整数信号符号化部の処理フローを示す図。The figure which shows the processing flow of the conventional integer signal encoding part. 従来の整数信号復号化部の機能構成例を示す図。The figure which shows the function structural example of the conventional integer signal decoding part. 従来の整数信号復号化部の処理フローを示す図。The figure which shows the processing flow of the conventional integer signal decoding part. 従来の方法の問題点を説明する図。The figure explaining the problem of the conventional method. 本発明を適用した場合の符号化のイメージを示す図。The figure which shows the image of an encoding at the time of applying this invention. 第1実施形態の符号化処理部の機能構成を示す図。The figure which shows the function structure of the encoding process part of 1st Embodiment. 符号化処理部400の処理フローを示す図。The figure which shows the processing flow of the encoding process part. シフト量算出部420のシフト量決定ステップ(S420)の詳細を示す図。The figure which shows the detail of the shift amount determination step (S420) of the shift amount calculation part 420. 第1実施形態の復号化処理部の機能構成を示す図。The figure which shows the function structure of the decoding process part of 1st Embodiment. 復号化処理部700の処理フローを示す図。The figure which shows the processing flow of the decoding process part. 第2実施形態の符号化処理部の機能構成例を示す図。The figure which shows the function structural example of the encoding process part of 2nd Embodiment. シフト量決定部110の処理フロー(ステップS110)を示す図。The figure which shows the processing flow (step S110) of the shift amount determination part 110. FIG. シフト量選定部130の処理ステップ(S130)の詳細を示す図。The figure which shows the detail of the process step (S130) of the shift amount selection part 130. FIG. ステップS130の代わりとなるシフト量選定部130の処理フロー(S130’)を示す図。The figure which shows the processing flow (S130 ') of the shift amount selection part 130 used instead of step S130. ステップS130の代わりとなるシフト量選定部130の処理フロー(S130”)を示す図。The figure which shows the processing flow (S130 ") of the shift amount selection part 130 used instead of step S130. 第3実施形態の符号化処理部の機能構成例を示す図。The figure which shows the function structural example of the encoding process part of 3rd Embodiment. 第3実施形態の変形例の符号化処理部の機能構成例を示す図。The figure which shows the function structural example of the encoding process part of the modification of 3rd Embodiment. 第4実施形態の符号化処理部の機能構成を示す図。The figure which shows the function structure of the encoding process part of 4th Embodiment. 第4実施形態の整数信号符号化部の機能構成例を示す図。The figure which shows the function structural example of the integer signal encoding part of 4th Embodiment. 整数信号符号化部240の処理フローを示す図。The figure which shows the processing flow of the integer signal encoding part 240. FIG. 第4実施形態の復号化処理部の機能構成例を示す図。The figure which shows the function structural example of the decoding process part of 4th Embodiment. 第4実施形態の整数信号復号化部の機能構成例を示す図。The figure which shows the function structural example of the integer signal decoding part of 4th Embodiment. 整数信号復号化部620の処理フローを示す図。The figure which shows the processing flow of the integer signal decoding part 620.

Claims (12)

入力された複数ビットで表現されたデジタル信号サンプル、複数サンプルにより構成されるフレームごとに符号化する信号符号化装置であって、
複数の前記デジタル信号サンプルをまとめたフレームを形成するフレームバッファと、
フレーム内の全デジタル信号サンプルにおいてビット位置の値0となる最下位ビットからnビットの範囲(nは1以上の整数)を求め、nをシフト量候補とするシフト量候補算出部と、
少なくとも1つの過去のフレームのシフト量を記録するフレームシフト量保持バッファと、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するシフト量選定部と、
前記シフト量選定部で定めたシフト量にしたがって、前記フレーム内の全デジタル信号サンプルをシフトするシフト部と、
前記フレーム内の全デジタル信号サンプルの最下位ビットらシフト量分のビットの範囲を除く部分を符号化し、符号列を得る整数信号符号化部と、
前記シフト量選定部で求めたシフト量の情報と前記整数信号符号化部で得た符号列とを出力する出力部と
を備える信号符号化装置。
The digital signal samples represented in the input plurality of bits, each frame constituted by a plurality of samples, a signal encoding apparatus for encoding,
A frame buffer for forming a plurality of the digital signal frames of the or stopped samples,
The value of the bit position is 0 in all the digital signal samples in a frame, the range of the least significant bit of n bit (n is an integer of 1 or more), the determined, a shift amount candidate calculating unit that n is a shift amount candidate ,
A frame shift amount holding buffer for recording a shift amount of at least one past frame;
A shift amount selection unit that determines a shift amount of the current frame according to a predetermined criterion using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer;
A shift unit that shifts all digital signal samples in the frame according to a shift amount determined by the shift amount selection unit;
The portion excluding the all-digital signal samples the least significant bit or brush shift amount of the bit range of le in the frame encoding, and integer signal encoding unit to obtain a code sequence,
A signal encoding device comprising: an output unit that outputs information on a shift amount obtained by the shift amount selection unit and a code string obtained by the integer signal encoding unit.
請求項記載の信号符号化装置であって、
前記シフト量候補と前記フレームシフト量保持バッファに記録された1つのシフト量との関係が、あらかじめ定められた範囲内の場合には、前記フレームシフト量保持バッファに記録された1つのシフト量を現フレームのシフト量とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録された1つのシフト量との関係が、あらかじめ定められた範囲外の場合には、前記シフト量候補を現フレームのシフト量とすることを特徴とする前記シフト量選定部
を備える信号符号化装置。
The signal encoding device according to claim 1 ,
When the relationship between the shift amount candidate and one shift amount recorded in the frame shift amount holding buffer is within a predetermined range, one shift amount recorded in the frame shift amount holding buffer is set. As the shift amount of the current frame,
When the relationship between the shift amount candidate and one shift amount recorded in the frame shift amount holding buffer is outside a predetermined range, the shift amount candidate is set as the shift amount of the current frame. A signal encoding device comprising the shift amount selection unit.
請求項記載の信号符号化装置であって、
前記シフト量候補が、前記フレームシフト量保持バッファに記録された直前フレームのシフト量より小さい場合、または前記シフト量候補と前記直前フレームのシフト量との差があらかじめ定められた閾値より大きい場合には、前記シフト量候補を現フレームのシフト量とし、
前記シフト量候補が、前記直前フレームのシフト量以上、かつ前記シフト量候補と前記直前フレームのシフト量との差があらかじめ定められた閾値以下の場合には、前記直前フレームのシフト量を現フレームのシフト量とすることを特徴とする前記シフト量選定部
を備える信号符号化装置。
The signal encoding device according to claim 1 ,
When the shift amount candidate is smaller than the shift amount of the immediately preceding frame recorded in the frame shift amount holding buffer, or when the difference between the shift amount candidate and the shift amount of the immediately preceding frame is larger than a predetermined threshold value Is the shift amount candidate of the current frame as the shift amount candidate,
If the shift amount candidate is equal to or greater than the shift amount of the immediately preceding frame and the difference between the shift amount candidate and the shift amount of the immediately preceding frame is equal to or less than a predetermined threshold, the shift amount of the immediately preceding frame is set to the current frame. A signal encoding device comprising the shift amount selecting unit.
請求項記載の信号符号化装置であって、
前記フレームシフト量保持バッファに直前のフレームのシフト量を記録しておき、
前記シフト量候補が直前のフレームのシフト量以上の場合には、直前のフレームのシフト量から前記シフト量候補までの各シフト量での符号化後のデータ量を計算して、最もデータ量が少ないシフト量を現フレームのシフト量とし、
前記シフト量候補が直前のフレームのシフト量より小さい場合には、前記シフト量候補を現フレームのシフト量とすることを特徴とする前記シフト量選定部
を備える信号符号化装置。
The signal encoding device according to claim 1 ,
The shift amount of the immediately preceding frame is recorded in the frame shift amount holding buffer,
If the shift amount candidate is greater than or equal to the shift amount of the previous frame, calculate the data amount after encoding for each shift amount from the shift amount of the previous frame to the shift amount candidate, and the data amount is the largest. The smaller shift amount is used as the current frame shift amount.
The signal encoding device including the shift amount selection unit, wherein the shift amount candidate is set as the shift amount of the current frame when the shift amount candidate is smaller than the shift amount of the immediately preceding frame.
請求項記載の信号符号化装置であって、
前記フレームシフト量保持バッファに過去のN個(Nは2以上の整数)のフレームのシフト量を記録しておき、
前記シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量以下、かつ直前のフレームのシフト量以上場合には、直前のフレームのシフト量を現フレームのシフト量とし、
前記シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量より大きい場合、または直前のフレームのシフト量より小さい場合には、前記シフト量候補を現フレームのシフト量とすることを特徴とする前記シフト量選定部
を備える信号符号化装置。
The signal encoding device according to claim 1 ,
The shift amount of the past N frames (N is an integer of 2 or more) is recorded in the frame shift amount holding buffer,
In the case where the shift amount candidate is nth (n is an integer greater than or equal to 1 and less than N) and less than or equal to the shift amount of the previous frame, among the shift amounts of the past N frames, Let the shift amount of the previous frame be the shift amount of the current frame,
When the shift amount candidate is larger than the nth (n is an integer greater than or equal to 1 and less than N) shift amount smaller than the shift amount of the previous N frames, or smaller than the shift amount of the immediately preceding frame. Includes a shift amount selection unit, wherein the shift amount candidate is the shift amount of the current frame.
入力された複数ビットで表現されたデジタル信号サンプル、複数サンプルにより構成されるフレームごとに符号化する信号符号化方法であって、
複数の前記デジタル信号サンプルをまとめたフレームを形成するフレーム化ステップと、
フレーム内の全デジタル信号サンプルにおいてビット位置の値0となる最下位ビットからnビットの範囲(nは1以上の整数)を求め、nをシフト量候補とするシフト量候補算出ステップと、
前記シフト量候補と少なくとも1つの過去のフレームのシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するシフト量選定ステップと、
前記シフト量選定ステップで定めたシフト量にしたがって、前記フレーム内の全デジタル信号サンプルをシフトするシフトステップと、
前記フレーム内の全デジタル信号サンプルの最下位ビットらシフト量分のビットの範囲を除く部分を符号化し、符号列を得る整数信号符号化ステップと、
前記シフト量選定ステップで求めたシフト量の情報と前記整数信号符号化ステップで得た符号列とを出力する出力ステップと
を有する信号符号化方法。
The digital signal samples represented in the input plurality of bits, each frame constituted by a plurality of samples, a signal encoding method for encoding,
A framing step of forming a plurality of the digital signal frames of the or stopped samples,
The value of the bit position is 0 in all the digital signal samples in a frame, the range of the least significant bit of n bit (n is an integer of 1 or more), the determined, a shift amount candidate calculating step of the n shift amount candidate ,
A shift amount selection step of determining a shift amount of the current frame according to a predetermined criterion using the shift amount candidate and the shift amount of at least one past frame ;
A shift step of shifting all digital signal samples in the frame according to a shift amount determined in the shift amount selection step;
Encodes the portion excluding the least significant bit or brush shift amount of the bit range of the entire digital signal samples in the frame, and an integer signal encoding step of obtaining a code sequence,
A signal encoding method comprising: an output step of outputting information on a shift amount obtained in the shift amount selection step and a code string obtained in the integer signal encoding step.
請求項記載の信号符号化方法であって、
前記シフト量候補と前記フレームシフト量保持バッファに記録された1つのシフト量との関係が、あらかじめ定められた範囲内の場合には、前記フレームシフト量保持バッファに記録された1つのシフト量を現フレームのシフト量とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録された1つのシフト量との関係が、あらかじめ定められた範囲外の場合には、前記シフト量候補を現フレームのシフト量とすることを特徴とする前記シフト量選定ステップ
を有する信号符号化方法。
A signal encoding method according to claim 6 , comprising:
When the relationship between the shift amount candidate and one shift amount recorded in the frame shift amount holding buffer is within a predetermined range, one shift amount recorded in the frame shift amount holding buffer is set. As the shift amount of the current frame,
When the relationship between the shift amount candidate and one shift amount recorded in the frame shift amount holding buffer is outside a predetermined range, the shift amount candidate is set as the shift amount of the current frame. A signal encoding method comprising the shift amount selecting step.
請求項記載の信号符号化方法であって、
前記シフト量候補が、前記フレームシフト量保持バッファに記録された直前フレームのシフト量より小さい場合、または前記シフト量候補と前記直前フレームのシフト量との差があらかじめ定められた閾値より大きい場合には、前記シフト量候補を現フレームのシフト量とし、
前記シフト量候補が、前記直前フレームのシフト量以上、かつ前記シフト量候補と前記直前フレームのシフト量との差があらかじめ定められた閾値以下の場合には、前記直前フレームのシフト量を現フレームのシフト量とすることを特徴とする前記シフト量選定ステップ
を有する信号符号化方法。
A signal encoding method according to claim 6 , comprising:
When the shift amount candidate is smaller than the shift amount of the immediately preceding frame recorded in the frame shift amount holding buffer, or when the difference between the shift amount candidate and the shift amount of the immediately preceding frame is larger than a predetermined threshold value Is the shift amount candidate of the current frame as the shift amount candidate,
If the shift amount candidate is equal to or greater than the shift amount of the immediately preceding frame and the difference between the shift amount candidate and the shift amount of the immediately preceding frame is equal to or less than a predetermined threshold, the shift amount of the immediately preceding frame is set to the current frame. A signal encoding method comprising the shift amount selecting step.
請求項記載の信号符号化方法であって、
前記フレームシフト量保持バッファに直前のフレームのシフト量を記録しておき、
前記シフト量候補が直前のフレームのシフト量以上の場合には、直前のフレームのシフト量から前記シフト量候補までの各シフト量での符号化後のデータ量を計算して、最もデータ量が少ないシフト量を現フレームのシフト量とし、
前記シフト量候補が直前のフレームのシフト量より小さい場合には、前記シフト量候補を現フレームのシフト量とすることを特徴とする前記シフト量選定ステップ
を有する信号符号化方法。
A signal encoding method according to claim 6 , comprising:
The shift amount of the immediately preceding frame is recorded in the frame shift amount holding buffer,
If the shift amount candidate is greater than or equal to the shift amount of the previous frame, calculate the data amount after encoding for each shift amount from the shift amount of the previous frame to the shift amount candidate, and the data amount is the largest. The smaller shift amount is used as the current frame shift amount.
When the shift amount candidate is smaller than the shift amount of the immediately preceding frame, the shift amount candidate is set as the shift amount of the current frame.
請求項記載の信号符号化方法であって、
前記フレームシフト量保持バッファに過去のN個(Nは2以上の整数)のフレームのシフト量を記録しておき、
前記シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量以下、かつ直前のフレームのシフト量以上場合には、直前のフレームのシフト量を現フレームのシフト量とし、
前記シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量より大きい場合、または直前のフレームのシフト量より小さい場合には、前記シフト量候補を現フレームのシフト量とすることを特徴とする前記シフト量選定ステップ
を有する信号符号化方法。
A signal encoding method according to claim 6 , comprising:
The shift amount of the past N frames (N is an integer of 2 or more) is recorded in the frame shift amount holding buffer,
In the case where the shift amount candidate is nth (n is an integer greater than or equal to 1 and less than N) and less than or equal to the shift amount of the previous frame, among the shift amounts of the past N frames, Let the shift amount of the previous frame be the shift amount of the current frame,
When the shift amount candidate is larger than the nth (n is an integer greater than or equal to 1 and less than N) shift amount smaller than the shift amount of the previous N frames, or smaller than the shift amount of the immediately preceding frame. Includes a shift amount selection step, wherein the shift amount candidate is a shift amount of the current frame.
請求項1からのいずれかに記載の装置をコンピュータにより実現するプログラム。 The program which implement | achieves the apparatus in any one of Claim 1 to 5 with a computer. 請求項11記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。 The computer-readable recording medium which recorded the program of Claim 11 .
JP2005233944A 2005-08-12 2005-08-12 Signal encoding apparatus, method, program, and recording medium Active JP4348324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005233944A JP4348324B2 (en) 2005-08-12 2005-08-12 Signal encoding apparatus, method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005233944A JP4348324B2 (en) 2005-08-12 2005-08-12 Signal encoding apparatus, method, program, and recording medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009141575A Division JP4705685B2 (en) 2009-06-12 2009-06-12 Signal encoding apparatus, decoding apparatus, method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007049585A JP2007049585A (en) 2007-02-22
JP4348324B2 true JP4348324B2 (en) 2009-10-21

Family

ID=37852032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005233944A Active JP4348324B2 (en) 2005-08-12 2005-08-12 Signal encoding apparatus, method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4348324B2 (en)

Also Published As

Publication number Publication date
JP2007049585A (en) 2007-02-22

Similar Documents

Publication Publication Date Title
JP4359312B2 (en) Signal encoding apparatus, decoding apparatus, method, program, recording medium, and signal codec method
JP5337235B2 (en) Encoding method, decoding method, encoding device, decoding device, program, and recording medium
US8577687B2 (en) Hierarchical coding of digital audio signals
EP1569204A1 (en) Parameter optimisation for encoding audio signals
US20140006036A1 (en) Method and apparatus for coding and decoding
US20070143118A1 (en) Apparatus and method for lossless audio signal compression/decompression through entropy coding
US7318024B2 (en) Method of converting codes between speech coding and decoding systems, and device and program therefor
WO2010084951A1 (en) Parameter selection method, parameter selection apparatus, program, and recording medium
US8843380B2 (en) Method and apparatus for encoding residual signals and method and apparatus for decoding residual signals
JP4705685B2 (en) Signal encoding apparatus, decoding apparatus, method, program, and recording medium
JP4348324B2 (en) Signal encoding apparatus, method, program, and recording medium
JP4918103B2 (en) Encoding method, decoding method, apparatus thereof, program, and recording medium
US20070276655A1 (en) Method and apparatus to search fixed codebook and method and apparatus to encode/decode a speech signal using the method and apparatus to search fixed codebook
JP4834179B2 (en) ENCODING METHOD, ITS DEVICE, PROGRAM, AND RECORDING MEDIUM
JP5057334B2 (en) Linear prediction coefficient calculation device, linear prediction coefficient calculation method, linear prediction coefficient calculation program, and storage medium
JP4523885B2 (en) Signal encoding apparatus, method, program, and recording medium
JP4256364B2 (en) Signal encoding device, signal encoding method, signal encoding program, and recording medium
JP4964114B2 (en) Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium
JP4848049B2 (en) Encoding method, decoding method, apparatus thereof, program, and recording medium
JP5281485B2 (en) Bi-directional predictive encoding apparatus, bi-directional predictive decoding apparatus, method thereof, program thereof, and recording medium thereof
KR100686354B1 (en) Huffman decoding method and device for using variable length tree
JP4971965B2 (en) Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium
JP4787889B2 (en) Encoding method, encoding apparatus, decoding method, decoding apparatus, program, and recording medium
JP4332144B2 (en) Waveform data format discrimination method, signal encoding method, apparatus using the methods, program, and recording medium
JP2020102763A (en) Conversion apparatus, coding apparatus, decode apparatus, and method and program for them

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090414

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090612

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: 20090707

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090717

R150 Certificate of patent or registration of utility model

Ref document number: 4348324

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130724

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350