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

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

Info

Publication number
JP4523885B2
JP4523885B2 JP2005192349A JP2005192349A JP4523885B2 JP 4523885 B2 JP4523885 B2 JP 4523885B2 JP 2005192349 A JP2005192349 A JP 2005192349A JP 2005192349 A JP2005192349 A JP 2005192349A JP 4523885 B2 JP4523885 B2 JP 4523885B2
Authority
JP
Japan
Prior art keywords
shift amount
integer
signal
unit
encoding
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
JP2005192349A
Other languages
Japanese (ja)
Other versions
JP2007013642A (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 JP2005192349A priority Critical patent/JP4523885B2/en
Publication of JP2007013642A publication Critical patent/JP2007013642A/en
Application granted granted Critical
Publication of JP4523885B2 publication Critical patent/JP4523885B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform separation into an integer and an error so that the amount of codes becomes a minimum. <P>SOLUTION: A shift amount determination calculates a candidate for the amount of shift so that an amplitude value in a frame becomes the largest one capable of expressing the largest sample value in the integer; and determines the shift amount of the frame from the candidate for the shift amount by correcting, according to a predetermined reference, by using the frequency of 0 of 1 of a bit plane in a predetermined range of the lower order of the integer determined according to the candidate for the shift amount. A dividing portion divides a digital signal into an integer signal and an error signal according to the shift amount determined by the shift amount determination portion, codes the integer signal by an integer signal coding portion, and codes the error signal by an error signal coding portion. A multiplexer multiplexes the output of the integer signal coding portion and the output of the error signal coding portion. <P>COPYRIGHT: (C)2007,JPO&amp;INPIT

Description

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

近年、音響信号データや画像情報データを通信路により伝送する場合や情報記録媒体に記録する場合に、情報圧縮符号化技術が用いられている。また編集加工が容易な浮動小数点形式のデータの可逆圧縮も重要で、例えば非特許文献1または特許文献1の符号化方法がある。これらの符号化方法では、浮動小数点形式のデータサンプル列を、複数サンプルをまとめてフレームを構成させる。そして、フレームごとに、フレーム内の最大の振幅の値が整数の最大値となるようにビットシフト量を決定する。決定したビットシフト量を用いて各サンプルを整数信号と誤差信号に分離し、それぞれをフレームごとに符号化する。   2. Description of the Related Art In recent years, information compression coding techniques have been used when acoustic signal data and image information data are transmitted through a communication channel or recorded on an information recording medium. In addition, lossless compression of floating-point format data that is easy to edit is also important. In these encoding methods, a data sample sequence in a floating-point format is composed of a plurality of samples to form a frame. Then, for each frame, the bit shift amount is determined so that the maximum amplitude value in the frame becomes an integer maximum value. Using the determined bit shift amount, each sample is separated into an integer signal and an error signal, and each is encoded for each frame.

従来技術での符号化処理部の機能構成を図1に示す。符号化処理部800は、フレームバッファ810、シフト量算出部820、整数信号・誤差信号分離部830、整数信号符号化部840、誤差信号符号化部850、統合部(Multiplexer)860から構成される。
この符号化処理のイメージを図2に示す。フレームは、複数のサンプル値から構成されていて、各サンプル値は有限のビット列から構成されている。図2は整数部を23ビットで表現した浮動小数点表現の場合を示している。図2では網掛けされたビットには0または1が入るが、他のビットはすべて0である。フレーム単位で符号化する際には、フレーム内のサンプル値を整数部と誤差部(入力信号から整数部を引いた残りの全部または一部)とに分離する。図2の点線で囲んだ部分が整数部である。整数部は、フレーム内で最大の振幅の値が整数の最大値となるようにマッピングを行うことで決められる。分離された整数部と誤差部は、それぞれ別々に符号化された後、統合されて符号化データとなる。
FIG. 1 shows a functional configuration of an encoding processing unit in the prior art. The encoding processing unit 800 includes a frame buffer 810, a shift amount calculation unit 820, an integer signal / error signal separation unit 830, an integer signal encoding unit 840, an error signal encoding unit 850, and an integration unit (Multiplexer) 860. .
An image of this encoding process is shown in FIG. The frame is composed of a plurality of sample values, and each sample value is composed of a finite bit string. FIG. 2 shows a floating point representation in which the integer part is represented by 23 bits. In FIG. 2, the shaded bits contain 0 or 1, but all other bits are 0. When encoding in units of frames, the sample values in the frame are separated into an integer part and an error part (all or a part of the remainder obtained by subtracting the integer part from the input signal). A portion surrounded by a dotted line in FIG. 2 is an integer portion. The integer part is determined by performing mapping so that the maximum amplitude value in the frame becomes the maximum value of the integer. The separated integer part and error part are encoded separately and then integrated into encoded data.

なお、図2に示すイメージは、浮動小数点表現の場合だけでなく、整数表現の場合などにも適用できる。どのような表現であれ、当該振幅を表現する最大のビット(MSB:Most Significant Bit)から有限個離れた最小のビット(LSB:Least Significant Bit)までのビット列のみが0または1が存在しうるビットであり、他のビットはすべて0ならば、同じ方法が適用できる。たとえば、32ビットや64ビットの整数表現の場合に、サンプルごとに特定の24ビットだけに0か1のビットがあり、他のビットは0という場合でもよい。   Note that the image shown in FIG. 2 can be applied not only to the floating-point representation but also to the integer representation. In any representation, only a bit string from a maximum bit (MSB: Most Significant Bit) expressing the amplitude to a minimum bit (LSB: Least Significant Bit) that is a finite number of bits can have 0 or 1 If all other bits are 0, the same method can be applied. For example, in the case of a 32-bit or 64-bit integer expression, there may be a case where there are 0 or 1 bits in only specific 24 bits for each sample, and the other bits are 0.

図2に示した従来の符号化方法では、たとえば、整数部の量子化ビット数よりも入力信号のダイナミックレンジが狭い場合には、マッピング後の整数のLSB側に、フレーム内で同じ桁に属するビット(以下、「ビットプレーン」という。)が全て0、あるいはほとんどが0の場合がある。たとえば、入力信号のダイナミックレンジが16ビット程度しかない場合に、このような信号を量子化ビット数24ビットで表現すると、整数信号のLSB側に全てのサンプルでビットが0となるビットプレーンを生じる。ここで、図2に示すように、縦軸に入力信号の時系列、横軸に各サンプルを構成する2進表現されたビットをとった場合に、各サンプルの信号を2進表現し、各サンプルの振幅の相対的な関係が保たれるように構成ビットを配置した場合に、同じ桁に相当するビットの集合をビットプレーン、あるいはビット桁という。整数信号の符号化には線形予測を行い、予測係数と残差信号の振幅が小さいサンプルが、振幅が大きいサンプルよりも多くなることを前提とした符号化を用いると、整数信号を効率良く圧縮符号化できる。誤差部の圧縮符号化方式としては、いくつかのビットを組にした辞書を用いる圧縮符号化方式を用いたり、ビットプレーンごとのランレングス符号化を用いたりして符号化すると、誤差信号を効率的効率良く圧縮符号化できる。   In the conventional encoding method shown in FIG. 2, for example, when the dynamic range of the input signal is narrower than the number of quantization bits in the integer part, it belongs to the same digit in the frame on the LSB side of the integer after mapping. There are cases where all the bits (hereinafter referred to as “bit plane”) are 0 or almost all. For example, when the dynamic range of the input signal is only about 16 bits, when such a signal is expressed with a quantization bit number of 24 bits, a bit plane in which all the samples have 0 bits is generated on the LSB side of the integer signal. . Here, as shown in FIG. 2, when the time axis of the input signal is taken on the vertical axis and the binary represented bits constituting each sample are taken on the horizontal axis, the signal of each sample is represented in binary, A group of bits corresponding to the same digit is called a bit plane or a bit digit when the constituent bits are arranged so that the relative relationship of the amplitudes of the samples is maintained. For integer signal encoding, linear prediction is performed, and if the encoding is based on the assumption that samples with small prediction coefficients and residual signal amplitudes are larger than samples with large amplitudes, integer signals are efficiently compressed. Can be encoded. As the compression coding method of the error part, the error signal can be efficiently processed by using a compression coding method that uses a dictionary of several bits or by using run length coding for each bit plane. Compression encoding can be performed efficiently.

また、代表的な浮動小数点表示としては、IEEE754 32bit浮動小数点がある。この浮動小数点は、   As a representative floating point display, there is IEEE754 32-bit floating point. This floating point is

Figure 0004523885
と表現される。ここで、Sは符号部、Mは仮数部、Eは指数部である。また、IEEE754では、E=2−1=127と決められている。上記式中のE−Eは−127≦E−E≦128の範囲の値である。仮数部Mは、2進表現で値が1となるビットがMSBに来るように、かつ、MSBビットと次のビットの間に小数点の位置がくるように正規化され、1となるMSBビットを除いた小数点以下のビットである23ビットで構成されている。以下の説明では、整数部の信号(以下、「整数信号」という。また、誤差部の信号を「誤差信号」という。)の量子化ビット数Qを24とする。
Figure 0004523885
It is expressed. Here, S is a sign part, M is a mantissa part, and E is an exponent part. In IEEE754, E 0 = 2 7 −1 = 127 is determined. EE 0 in the above formula is a value in the range of −127 ≦ E−E 0 ≦ 128. The mantissa M is normalized so that the bit whose value is 1 in the binary representation comes to the MSB, and the position of the decimal point is between the MSB bit and the next bit, and the MSB bit that becomes 1 is It consists of 23 bits that are bits after the decimal point. In the following description, the quantization bit number Q of the integer part signal (hereinafter referred to as “integer signal” and the error part signal is referred to as “error signal”) is 24.

図3は、図1に示した符号化処理部800の処理フローである。フレームバッファ810は、デジタルの入力信号x(i)を一時的に蓄積し、N個のサンプル値x(i)(i=1〜N)でフレームを構成する(S810)。シフト量算出部820は、図2を用いて説明した方法によって、フレーム単位にシフト量Sを決定する(S820)。整数信号・誤差信号分離部830は、シフト量Sを用いて、当該フレーム入力信号のN個のサンプルそれぞれを整数部と誤差部に分離する(S830)。整数信号符号化部840は、整数信号・誤差信号分離部830で分離された整数信号を符号化する(S840)。誤差信号符号化部850は、整数信号・誤差信号分離部830で分離された誤差信号を符号化する(S850)。統合部(Multiplexer)860は、符号化された整数信号と誤差信号とシフト量を統合し、符号化データを出力する(S860)。 FIG. 3 is a processing flow of the encoding processing unit 800 shown in FIG. Frame buffer 810, a digital input signal x (i) is temporarily stored, forming a frame with the N F sample values x (i) (i = 1~N F) (S810). The shift amount calculation unit 820 determines the shift amount S j for each frame by the method described with reference to FIG. 2 (S820). The integer signal / error signal separation unit 830 uses the shift amount S j to separate each of the N F samples of the frame input signal into an integer part and an error part (S830). The integer signal encoding unit 840 encodes the integer signal separated by the integer signal / error signal separation unit 830 (S840). The error signal encoding unit 850 encodes the error signal separated by the integer signal / error signal separation unit 830 (S850). The integration unit (Multiplexer) 860 integrates the encoded integer signal, error signal, and shift amount, and outputs encoded data (S860).

図4にはシフト量算出部820の処理(ステップS820)の詳細な処理フロー例を示す。ただし、この処理例は、IEEE754 32bit浮動小数点で表現されたサンプル値の場合の処理例である。シフト量算出部820では、まず、フレーム入力信号中の全サンプル(N個)を読み込む(S8201)。次に変数iに1を設定し、ΔEmaxに−127(E)を設定する(S8202)。現フレームのi番目のサンプルの指数部E−EすなわちE−127を計算して変数ΔEに代入する(S8203)。ΔE>ΔEmaxであるかどうかを判定し(S8204)、真であればΔEをΔEmax設定する(S8205)。i<Nかを確認する(S8206)。i<Nならば、iにi+1を代入し(S8207)、ステップS8203に戻る。i<Nでないならば、ΔEmax>−127であるかどうかをチェックする(S8208)。ΔEmax>−127の場合には、シフト量SにΔEmaxを代入して(S8209)、処理を終了する。ΔEmax≦−127の場合には、当該フレーム中のサンプルは全て0であったということなのでシフト量Sを0に設定する(S8210)。この処理は、サンプルの中で最大振幅が、整数部で表現可能な最大値、最小値の範囲を超えない範囲で、最大の振幅に割り当てられるようにシフト値を決定することに相当する。 FIG. 4 shows a detailed processing flow example of the processing of the shift amount calculation unit 820 (step S820). However, this processing example is a processing example in the case of a sample value expressed in IEEE754 32-bit floating point. The shift amount calculating unit 820 first reads the entire sample (N F number) in the frame input signal (S8201). Next, 1 is set to the variable i, and −127 (E 0 ) is set to ΔE max (S8202). The exponent part E i -E 0 of the i-th sample of the current frame, that is, E i -127 is calculated and substituted for the variable ΔE i (S8203). It is determined whether ΔE i > ΔE max is satisfied (S8204). If true, ΔE i is set to ΔE max (S8205). It is confirmed whether i <N F (S8206). If i <N F, substitutes i + 1 in i (S8207), the flow returns to step S8203. <If not N F, ΔE max> i to check whether it is a -127 (S8208). If ΔE max > −127, ΔE max is substituted for the shift amount S j (S8209), and the process is terminated. If ΔE max ≦ −127, it means that all the samples in the frame are 0, so the shift amount S j is set to 0 (S8210). This processing is equivalent to determining the shift value so that the maximum amplitude is assigned to the maximum amplitude within a range in which the maximum amplitude and the minimum value that can be expressed by the integer part do not exceed the range.

また、図5にシフト量算出部820の処理フローの変形例(ステップS820’)を示す。IEEE754 32bit浮動小数点表現されたサンプルでは、E−Eが128や、−127の場合には、NaNや非正規化数などの特殊な値となっている。最大振幅を判定する際に、フレーム内のサンプルのうち、−127<E−E<128の範囲内の数値のみを用いてシフト量を算出する点が図4と異なる。また、i番目のサンプルを分析する際に、これまでに得られたΔEmaxを用いてi番目のサンプルの小数点の位置を移動させ、桁調整後の値が想定する量子化ビット数で表現可能な値の範囲内にあるかどうかを判定する。このとき、桁調整の結果、所定の量子化ビット数で表現可能な値の範囲を超えてしまう場合には、ΔEmaxを1増加させ、範囲を超えないようにする点が図4の処理と異なる。 FIG. 5 shows a modification of the processing flow of the shift amount calculation unit 820 (step S820 ′). In the sample expressed in IEEE 754 32-bit floating point, when E-E 0 is 128 or -127, it is a special value such as NaN or a denormalized number. 4 is different from FIG. 4 in that, when determining the maximum amplitude, the shift amount is calculated using only numerical values in the range of −127 <E−E 0 <128 among the samples in the frame. Also, when analyzing the i-th sample, the decimal point position of the i-th sample can be moved using the ΔE max obtained so far, and the value after digit adjustment can be expressed by the number of quantized bits assumed Whether it is within the range of values. At this time, if the range of values that can be expressed by a predetermined number of quantization bits is exceeded as a result of digit adjustment, ΔE max is increased by 1 so as not to exceed the range. Different.

具体的な処理フローの違いは以下のとおりである。ステップS8202とステップS8203との間にステップS8221を追加し、−127<E−127<128かを確認する(S8221)。S8221が真の場合にはステップS8203に進み、真でない場合にはステップS8206へ進む。また、ステップS8205とステップS8206との間にステップS8220を追加する。ステップS8220では、まずX’に、Xと2の(−ΔE+(Q−1))乗との積を代入する(S8222)。X’>2Q−1−1またはX’<−2Q−1を確認する(S8223)。ステップS8223が真の場合には、ΔEmaxに1を加える(S8224)。ステップ8223が真でない場合には、ステップ8206へ進む。 The specific difference in processing flow is as follows. Step S8221 is added between step S8202 and step S8203, and it is confirmed whether -127 <E i -127 <128 (S8221). If S8221 is true, the process proceeds to step S8203, and if not true, the process proceeds to step S8206. Further, step S8220 is added between step S8205 and step S8206. In step S8220, first, the product of X i and 2 to the power of (−ΔE + (Q−1)) is substituted for X ′ i (S8222). X ′ i > 2 Q−1 −1 or X ′ i <−2 Q−1 is confirmed (S8223). Step S8223 is the case of true, adds 1 to ΔE max (S8224). If step 8223 is not true, go to step 8206.

図6に、ステップS830のシフト量Sを用いて入力信号Xを整数信号Yと誤差信号Zに分離する手順を詳細に示す。N個の各サンプルXに対して逐次以下の処理を行う。内部のメモリに、フレームバッファからN個のサンプルを取り込む(S8301)。サンプルの番号を示すiに1を代入する(S8302)。入力サンプルXの指数部(E−127)が、−127より大きく、かつ128未満の範囲に含まれているか否かを判定する(S8303)。ステップS8303で指数部が前記の範囲外であると判定された場合には、i番目のサンプルは値が0であるか、非正規化数もしくはNaNなどの特殊な数である。したがって、桁合わせ後のサンプルYは0とし、X’を誤差部Zとする(S8309)。ステップS8303で指数部が前記の範囲内であった場合には、Xに2の(−S+(Q−1))乗を掛け合わせてX’を得る(S8304)。もしくは、サンプルXの指数値EからE’=E−S+(Q−1)によって、X’の指数値(E’−127)のE’を求める。ここで、Qは整数部の量子化ビット数24である。この処理は、フレーム内の全てのサンプルに共通の2の(−S+(Q−1))乗を掛け合わせて、フレーム内の振幅最大のサンプルが、整数部の量子化ビット数で表現可能な最大振幅を超えないように、シフト量Sを用いて小数点の位置を桁合わせすることに相当する。得られたX’の指数値(E’−127)が、−127より大きく、かつ128未満の範囲に含まれているか否かをチェックする(S8305)。指数部が前記の範囲外の場合には、サシプルYは0とする(S8309)。指数部が前記の範囲内の場合には、X’が正かを確認する(S8306)。X’が正の場合には、X’の小数点以下を切り捨てたものを整数部Yとする(S8307)。X’が負の場合には、X’の小数点以下を切り上げたものを整数部Yとする(S8308)。Yが0でない場合には、X’の小数点以下の部分を誤差部Zとする(S8307,S8308)。iがNより小さいかを確認する(S8310)。iがNより小さい場合は、iにi+1を代入する(S8311)。iがN以上の場合は、終了する。整数信号と誤差信号の分離は、上記の手順に限る必要はなく、特許文献1にはいくつかの分離方法が示されている。 FIG. 6 shows in detail the procedure for separating the input signal X i into the integer signal Y i and the error signal Z i using the shift amount S j in step S830. Performing sequentially the following processing on the N F of each sample X i. In an internal memory, it captures the N F samples from the frame buffer (S8301). 1 is substituted into i indicating the sample number (S8302). It is determined whether or not the exponent (E i -127) of the input sample X i is greater than −127 and less than 128 (S8303). If it is determined in step S8303 that the exponent part is outside the above range, the i-th sample has a value of 0, a denormalized number, or a special number such as NaN. Therefore, the sample Y i after digit alignment is set to 0, and X ′ i is set to the error part Z i (S8309). If exponent is within the range of the in step S8303, the 2 X i (-S j + (Q -1)) squared multiplied by obtaining and X 'i (S8304). Or, 'by = E i -S j + (Q -1), X' samples X i exponent value E i from E i of obtaining the i 'E of (i -127 exponent value of i E)'. Here, Q is the number of quantization bits 24 in the integer part. In this process, all samples in the frame are multiplied by a common power of 2 (−S j + (Q−1)), and the sample having the maximum amplitude in the frame is represented by the number of quantization bits in the integer part. This corresponds to aligning the position of the decimal point using the shift amount S j so as not to exceed the maximum possible amplitude. It is checked whether or not the obtained exponent value of X ′ i (E ′ i −127) is included in a range larger than −127 and smaller than 128 (S8305). When the exponent part is outside the above range, the sashiple Y i is set to 0 (S8309). If the exponent is within the above range, it is confirmed whether X ′ i is positive (S8306). When X ′ i is positive, an integer part Y i is obtained by rounding down the decimal point of X ′ i (S8307). When X ′ i is negative, an integer part Y i is obtained by rounding up the decimal point of X ′ i (S8308). If Y i is not 0, the portion after the decimal point of X ′ i is set as the error part Z i (S8307, S8308). i have to check whether N F smaller than the (S8310). i is if N F is smaller than substitutes i + 1 in i (S8311). i is equal to or larger than N F, to the end. The separation of the integer signal and the error signal is not necessarily limited to the above procedure, and Patent Document 1 discloses several separation methods.

図7に復号化処理部の機能構成を示す。復号化処理部900は、符号化データを分割する分割部(Demultiplexer)910、整数信号を復号化する整数信号復号化部920、誤差信号を復号化する誤差信号復号化部930、整数・誤差信号を結合する整数・誤差信号結合処理部940から構成される。
Dai Yang, and Takehiro Moriya, ”Lossless Compression for Audio Data in the IEEE Floating-Point Format, AES Convention Paper 5987, AES 115th Convention, New York, NY, USA, 2003 0CTOBER 10-13. 国際公開第2004/114527号パンフレット
FIG. 7 shows a functional configuration of the decryption processing unit. The decoding processing unit 900 includes a demultiplexer 910 that divides encoded data, an integer signal decoding unit 920 that decodes an integer signal, an error signal decoding unit 930 that decodes an error signal, and an integer / error signal. The integer / error signal combination processing unit 940 is combined.
Dai Yang, and Takehiro Moriya, `` Lossless Compression for Audio Data in the IEEE Floating-Point Format, AES Convention Paper 5987, AES 115th Convention, New York, NY, USA, 2003 0 CTOBER 10-13. International Publication No. 2004/114527 Pamphlet

従来の整数信号の符号化方法では、残差の振幅が大きくなると符号化に必要なビット数が増加する。しかし、従来の誤差信号の符号化方法では、符号化に必要なビット数を削減できる場合がある。特に、誤差部の符号化方法では、構成ビットが全て0であるような特殊な場合には、全ての構成ビットが0という1ビットのフラグで符号化が可能なため、整数信号の符号化方法を適用した場合に比べ、圧縮効率が非常に良い。
このように、当該ビットプレーンを構成する全てのビット、あるいは、ほとんどのビットが0である場合には、誤差部に割り当てた方が、整数部に割り当てて符号化するよりも符号量が少なくてすむ場合がある。しかし、最大値を基準として整数部と誤差部に割り当てる従来の方法では、上記のような性質を考慮することなく整数部と誤差部を分離するシフト値を決定していた。つまり、整数信号部分の下位のビットプレーン内の構成によっては、整数部と誤差部とを合わせた全体の圧縮率が悪くなっていたという問題があった。
In the conventional integer signal encoding method, the number of bits required for encoding increases as the residual amplitude increases. However, the conventional error signal encoding method may reduce the number of bits required for encoding. In particular, in the encoding method of the error part, in a special case where the constituent bits are all 0, the encoding can be performed with a 1-bit flag in which all the constituent bits are 0. The compression efficiency is very good compared to the case of applying.
In this way, when all the bits constituting the bit plane or most of the bits are 0, the amount assigned to the error portion is smaller than the amount assigned to the integer portion for encoding. It may be necessary. However, in the conventional method in which the maximum value is used as a reference and assigned to the integer part and the error part, the shift value for separating the integer part and the error part is determined without considering the above-described properties. In other words, depending on the configuration in the lower bit plane of the integer signal part, there has been a problem that the overall compression ratio of the integer part and the error part has deteriorated.

本発明では、シフト量決定部で、フレーム内の振幅値が最大のサンプル値を整数部で表現できる最大の振幅となるようにシフト量候補を算出し、前記シフト量候補にしたがって定めた整数部の下位のあらかじめ定めた範囲のビット群の0または1の頻度を用いて、あらかじめ定めた基準にしたがって、フレームのシフト量をシフト量候補から補正して決定する。
本発明の整数部として符号化する信号の振幅の範囲を決める符号化処理のイメージを、図8に示す。従来の方法では、フレーム内の振幅値が最大のサンプル値を整数部で表現できる最大の振幅となるようにシフト量を決定する。しかし、本発明の1つ目の方法は、シフト量候補にしたがって定めた整数部(従来の方法での整数部1)の最下位を含む最下位からn桁の範囲(nは1以上の整数)のすべてのビットが0の場合には、シフト量を前記シフト量候補にnを加えた数とする。図8の場合には、最下位を含む最下位から2桁の範囲のすべてのビットが0であるから、図中の本発明での第1の整数部2が、整数部となる。本発明の2つ目の方法は、シフト量候補にしたがって定めた整数部(従来の方法での整数部1)の最下位を含む最下位からn桁の範囲の全ビットで、1があらかじめ定めた割合以下の場合(または0があらかじめ定めた割合以上の場合)には、シフト量を前記シフト量候補にnを加えた数とする。図8の場合に、あらかじめ定めた割合を1/2とすると、図中の本発明での第2の整数部3が、整数部となる。これらの他にも、シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲のすべてのビットで、1があらかじめ定めた割合以下の場合(または0があらかじめ定めた割合以上の場合)には、シフト量を前記シフト量候補にnを加えた数とする方法、シフト量候補にしたがって定めたシフト量から1つずつシフト量を増やしながら、当該シフト量にしたがった符号化を行った場合の符号量を計算し、前のシフト量での符号量よりも符号量が増えた場合には、1つ前のシフト量を当該フレームのシフト量とする方法などがある。しかし、これらの方法に限定する必要は無い。
In the present invention, the shift amount determination unit calculates the shift amount candidate so that the sample value having the maximum amplitude value in the frame can be represented by the integer part, and the integer part determined according to the shift amount candidate. The frame shift amount is corrected from the shift amount candidates and determined in accordance with a predetermined criterion using the frequency of 0 or 1 of the bit group in the predetermined range lower than.
FIG. 8 shows an image of the encoding process for determining the amplitude range of the signal to be encoded as the integer part of the present invention. In the conventional method, the shift amount is determined so that the maximum amplitude that can represent the sample value with the maximum amplitude value in the frame can be expressed by the integer part. However, the first method of the present invention is an n-digit range (n is an integer equal to or greater than 1) including the least significant part of the integer part (integer part 1 in the conventional method) determined according to the shift amount candidates. ) Is 0, the shift amount is the number obtained by adding n to the shift amount candidates. In the case of FIG. 8, since all the bits in the two-digit range from the least significant including the least significant are 0, the first integer part 2 in the present invention in the figure is an integer part. The second method of the present invention is such that 1 is predetermined for all bits in the range from the least significant to the n-digit range including the least significant of the integer part (integer part 1 in the conventional method) determined according to the shift amount candidates. If the ratio is less than or equal to (or 0 is greater than or equal to a predetermined ratio), the shift amount is the number obtained by adding n to the shift amount candidates. In the case of FIG. 8, if the predetermined ratio is ½, the second integer part 3 in the present invention in the figure is an integer part. In addition to these, when all bits in the range from the lowest to the nth digit including the lowest of the integer part determined according to the shift amount candidates are 1 or less (or 0 is a predetermined ratio) In the above case), the shift amount is a number obtained by adding n to the shift amount candidate, and the code according to the shift amount while increasing the shift amount one by one from the shift amount determined according to the shift amount candidate. For example, there is a method of calculating the code amount when the conversion is performed and using the previous shift amount as the shift amount of the frame when the code amount is larger than the code amount at the previous shift amount. However, it is not necessary to limit to these methods.

本発明によれば、整数信号部分の下位のビットプレーン内の構成も考慮した上でフレームのシフト量を決定するので、符号量をさらに少なくすることができる。   According to the present invention, since the frame shift amount is determined in consideration of the configuration in the lower bit plane of the integer signal portion, the code amount can be further reduced.

以下では、説明の重複を避けるため同じ機能を有する構成部や同じ処理を行う処理ステップには同一の番号を付与し、説明を省略する。
[第1実施形態]
図9に本実施形態の符号化処理部の機能構成例を示す。符号化処理部200は、フレームバッファ810、下位桁チェック部230を有するシフト量算出部210、整数信号・誤差信号分離部830、整数信号符号化部840、誤差信号符号化部850、統合部(Multiplexer)860から構成される。図1の従来の符号化処理部800との違いは、シフト量算出部210が下位桁チェック部230を有することである。
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. 9 shows a functional configuration example of the encoding processing unit of this embodiment. The encoding processing unit 200 includes a frame buffer 810, a shift amount calculation unit 210 having a lower digit check unit 230, an integer signal / error signal separation unit 830, an integer signal encoding unit 840, an error signal encoding unit 850, an integration unit ( Multiplexer) 860. The difference from the conventional encoding processing unit 800 of FIG. 1 is that the shift amount calculation unit 210 has a lower digit check unit 230.

符号化処理部200の処理フローは、図3のステップS820を、図10のステップS210に置き換えたものとなる。ステップS210では、シフト量算出部210で、フレーム内のサンプル値の最大振幅を整数部の量子化ビット数で表現可能な最大振幅にマッピングしてシフト量候補ΔEを求める(S120)。ステップS120の処理内容は、実質的にステップS820(図4)またはステップS820’(図5)と同じである。違いは、結果がシフト量の決定値として扱われるステップS820(S820’)に対して、ステップS120の結果は、シフト量の候補として扱われるだけである。シフト量算出部210の下位桁チェック部230は、シフト量候補ΔEにしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)のビットプレーンで、1があらかじめ定めた割合以下の場合には、シフト量を前記シフト量候補にnを加えた数とする(S230)。ここで、あらかじめ定めた割合には、0(すべてのビットが0)も含まれる。シフト量算出部210は、シフト量候補ΔEをシフト量Sにする(S240)。 The processing flow of the encoding processing unit 200 is obtained by replacing step S820 in FIG. 3 with step S210 in FIG. In step S210, the shift amount calculation unit 210 maps the maximum amplitude of the sample value in the frame to the maximum amplitude that can be expressed by the number of quantization bits in the integer part to obtain a shift amount candidate ΔE (S120). The processing content of step S120 is substantially the same as step S820 (FIG. 4) or step S820 ′ (FIG. 5). The difference is that in step S820 (S820 ′) in which the result is treated as a determined value of the shift amount, the result in step S120 is only treated as a candidate for the shift amount. The lower digit check unit 230 of the shift amount calculation unit 210 is a bit plane in the n-digit range (n is an integer of 1 or more) from the lowest order including the lowest part of the integer part determined according to the shift amount candidate ΔE. If the ratio is equal to or less than a predetermined ratio, the shift amount is set to the number obtained by adding n to the shift amount candidates (S230). Here, the predetermined ratio includes 0 (all bits are 0). The shift amount calculation unit 210 sets the shift amount candidate ΔE as the shift amount S j (S240).

図11にシフト量算出部210の下位桁チェック部230の処理(ステップS230)の詳細な処理フローを示す。下位桁チェック部230は、N個のサンプル値を取り込む(S2301)。シフト量候補ΔEによって整数部と誤差部とに分離した場合の整数部の最下位桁のビットプレーン中の1の数mを取得する(S2302)。1の数mが、あらかじめ定めた閾値以下かを確認する(S2303)。ステップS2303が真の場合には、シフト量候補ΔEに1を加え(S2304)、ステップS2302に戻る。ステップS2303が真でない場合は、ステップS230を終了する。ステップS230が終了すると、図10に示したようにステップS240へ進み、シフト量Sがシフト量候補ΔEに設定される。このように処理することで、ステップS120で求めたシフト量候補にしたがって定めた整数部の最下位桁を含む最下位からn桁の範囲(nは1以上の整数)の各ビットプレーンで、1があらかじめ定めた割合以下の場合には、シフト量をステップS120で求めたシフト量候補にnを加えた数に補正できる。また、閾値を0とした場合には、ビットプレーンのすべてのビットが0であった場合にシフト量候補ΔEを1増やすことになる。 FIG. 11 shows a detailed processing flow of the processing (step S230) of the lower digit check unit 230 of the shift amount calculation unit 210. Lower digit check unit 230 takes in the N F sample values (S2301). The number m of 1s in the bit plane of the least significant digit of the integer part when the integer part and the error part are separated by the shift amount candidate ΔE is acquired (S2302). It is confirmed whether the number m of 1 is equal to or less than a predetermined threshold (S2303). If step S2303 is true, 1 is added to the shift amount candidate ΔE (S2304), and the process returns to step S2302. If step S2303 is not true, step S230 is terminated. When step S230 ends, the process proceeds to step S240 as shown in FIG. 10, and the shift amount Sj is set to the shift amount candidate ΔE. By processing in this way, each bit plane in the range from the least significant digit to the least significant digit (n is an integer of 1 or more) including the least significant digit of the integer part determined according to the shift amount candidate obtained in step S120. Is equal to or less than a predetermined ratio, the shift amount can be corrected to the number obtained by adding n to the shift amount candidates obtained in step S120. When the threshold is set to 0, the shift amount candidate ΔE is increased by 1 when all the bits of the bit plane are 0.

このようにシフト量Sを決定することで、誤差部に含めた方が符号量を少なくすることができるビットプレーンを、誤差部に含めることができ、圧縮率を向上することができる。
なお、本実施形態では、1の数の割合が閾値以下であることを確認したが、0の割合が閾値以上であることを確認してもよい。
[第2実施形態]
第1実施形態では、シフト量算出部210の下位桁チェック部230で、各ビットプレーン中の1の数(または比率)を閾値と比較した。本実施形態では、シフト量候補にしたがって定めた整数部の最下位桁を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の1があらかじめ定めた割合以下の場合には、シフト量Sを前記シフト量候補にnを加えた数とする。本実施形態では、第1実施形態の図11に示したステップS230の代わりに、図12に示す処理フロー(ステップS230’)を行う。
By determining the shift amount S j in this way, a bit plane that can be reduced in code amount when included in the error part can be included in the error part, and the compression rate can be improved.
In the present embodiment, it is confirmed that the ratio of the number of 1 is equal to or less than the threshold value, but it may be confirmed that the ratio of 0 is equal to or more than the threshold value.
[Second Embodiment]
In the first embodiment, the lower digit check unit 230 of the shift amount calculation unit 210 compares the number (or ratio) of 1 in each bit plane with a threshold value. In the present embodiment, when 1 in all bits in the range from the least significant digit including the least significant digit of the integer part determined according to the shift amount candidate (n is an integer of 1 or more) is equal to or less than a predetermined ratio. The shift amount S j is the number obtained by adding n to the shift amount candidates. In the present embodiment, the processing flow (step S230 ′) shown in FIG. 12 is performed instead of step S230 shown in FIG. 11 of the first embodiment.

下位桁チェック部230は、N個のサンプル値を取り込む(S2301)。iに1を代入する(S2311)。シフト量候補ΔEによって整数部と誤差部とに分離した場合の整数部の最下位桁から最下位桁を含むi番目の桁までの1となるビットの数mを取得する(S2312)。m/(i・N)が、あらかじめ定めた閾値以下かを確認する(S2313)。ステップS2313が真の場合には、iに1を加え(S2314)、ステップS2312に戻る。ステップS2313が真でない場合は、シフト量候補ΔEにi−1を加え(S2315)、ステップS230’を終了する。ステップS230’が終了すると、図10に示したようにステップS240へ進み、シフト量Sがシフト量候補ΔEに設定される。 Lower digit check unit 230 takes in the N F sample values (S2301). 1 is substituted for i (S2311). The number m of 1 bits from the least significant digit of the integer part to the i-th digit including the least significant digit when the integer part and the error part are separated by the shift amount candidate ΔE is acquired (S2312). It is checked whether m / (i · N F ) is equal to or smaller than a predetermined threshold value (S2313). If step S2313 is true, 1 is added to i (S2314), and the process returns to step S2312. If step S2313 is not true, i-1 is added to the shift amount candidate ΔE (S2315), and step S230 ′ is terminated. When step S230 ′ ends, the process proceeds to step S240 as shown in FIG. 10, and the shift amount Sj is set to the shift amount candidate ΔE.

なお、本実施形態では、1の数の比率が閾値以下であることを確認したが、0の比率が閾値以上であることを確認してもよい。
[第3実施形態]
本実施形態では、シフト量算出部210の下位桁チェック部230で、シフト量候補にしたがって定めたシフト量から1つずつシフト量を増やしながら、当該シフト量にしたがった符号化を行った場合の符号量を計算し、前のシフト量での符号量よりも符号量が増えた場合には、1つ前のシフト量を当該フレームのシフト量Sとする。本実施形態では、第1実施形態の図11に示したステップS230の代わりに、図13に示す処理フロー(ステップS230”)を行う。
In this embodiment, it is confirmed that the ratio of the number of 1 is equal to or smaller than the threshold value, but it may be confirmed that the ratio of 0 is equal to or larger than the threshold value.
[Third Embodiment]
In the present embodiment, the lower digit check unit 230 of the shift amount calculation unit 210 increases the shift amount one by one from the shift amount determined according to the shift amount candidate, and performs encoding according to the shift amount. When the code amount is calculated and the code amount is larger than the code amount at the previous shift amount, the previous shift amount is set as the shift amount S j of the frame. In the present embodiment, the processing flow (step S230 ″) shown in FIG. 13 is performed instead of step S230 shown in FIG. 11 of the first embodiment.

下位桁チェック部230は、N個のサンプル値を取り込む(S2301)。Dminを無限大とする(S2321)。実際には、Dminを符号量として取りうる最大値とすればよい。シフト量候補ΔEによって整数部と誤差部とに分離した場合の符号量Dを計算する(S2322)。D≦Dminかを確認する(S2323)。ステップS2323が真の場合には、DminをDとし(S2324)、シフト量候補ΔEに1を加え(S2304)、ステップS2322に戻る。ステップS2323が真でない場合は、シフト量候補ΔEから1を引き(S2325)、ステップS230”を終了する。ステップS230”が終了すると、図10に示したようにステップS240へ進み、シフト量Sがシフト量候補ΔEに設定される。
[第4実施形態]
本実施形態では、シフト量算出部210の下位桁チェック部230で、シフト量候補にしたがって定めた整数部の最下位桁を含む最下位からn桁の範囲(nは1以上の整数)の全ビットの1の比率を、nを1から1つずつ増やしながら計算し、前記1の比率が前のシフト量での比率よりも増えた場合のnを求め、シフト量Sを前記シフト量候補にn−1を加えた数とする。本実施形態では、第1実施形態の図11に示したステップS230の代わりに、図14に示す処理フロー(ステップS230’’’)を行う。
Lower digit check unit 230 takes in the N F sample values (S2301). D min is set to infinity (S2321). Actually, D min may be the maximum value that can be taken as the code amount. The code amount D when the integer part and the error part are separated by the shift amount candidate ΔE is calculated (S2322). It is confirmed whether D ≦ D min (S2323). If step S2323 is true, D min is set to D (S2324), 1 is added to the shift amount candidate ΔE (S2304), and the process returns to step S2322. If step S2323 is not true, the shift amount candidate ΔE subtract 1 (S2325), step S230 "is terminated. Step S230" When completed, the process proceeds to step S240 as shown in FIG. 10, the shift amount S j Is set as the shift amount candidate ΔE.
[Fourth Embodiment]
In the present embodiment, the lower-order digit check unit 230 of the shift amount calculation unit 210 includes all the ranges from the lowest order n digits (where n is an integer of 1 or more) including the least significant digit of the integer part determined according to the shift amount candidates. The ratio of 1 of bits is calculated while increasing n by 1 from 1 to obtain n when the ratio of 1 increases from the ratio of the previous shift amount, and the shift amount S j is determined as the shift amount candidate. And n-1 is added. In the present embodiment, a processing flow (step S230 ′ ″) shown in FIG. 14 is performed instead of step S230 shown in FIG. 11 of the first embodiment.

下位桁チェック部230は、N個のサンプル値を取り込む(S2301)。Rminに1、iに1を代入する(S2331)。シフト量候補ΔEによって整数部と誤差部とに分離した場合の整数部の最下位桁からi番目までの全ビット中の1の比率Rを求める(S2332)。R≦Rminかを確認する(S2333)。ステップS2333が真の場合には、RminをRとし、iに1を加え(S2334)、ステップS2332に戻る。ステップS2333が真でない場合は、シフト量候補ΔEにi−2を加え(S2335)、ステップS230’’’を終了する。ステップS230’’’が終了すると、図10に示したようにステップS240へ進み、シフト量Sがシフト量候補ΔEに設定される。
[変形例]
第4実施形態では、1の比率を用いてシフト量を求めたが、0の比率を用いてシフト量を求めてもよい。本変形例では、第1実施形態の図11に示したステップS230の代わりに、図15に示す処理フロー(ステップS230’’’’)を行う。
Lower digit check unit 230 takes in the N F sample values (S2301). Substitute 1 for R min and 1 for i (S2331). A ratio R of 1 in all the bits from the least significant digit of the integer part to the i-th when the integer part and the error part are separated by the shift amount candidate ΔE is obtained (S2332). It is confirmed whether R ≦ R min (S2333). If step S2333 is true, R min is set to R, 1 is added to i (S2334), and the process returns to step S2332. If step S2333 is not true, i-2 is added to the shift amount candidate ΔE (S2335), and step S230 ′ ″ is terminated. When step S230 ″ ′ ends, the process proceeds to step S240 as shown in FIG. 10, and the shift amount Sj is set to the shift amount candidate ΔE.
[Modification]
In the fourth embodiment, the shift amount is obtained using a ratio of 1, but the shift amount may be obtained using a ratio of 0. In this modification, the processing flow (step S230 ″ ″) shown in FIG. 15 is performed instead of step S230 shown in FIG. 11 of the first embodiment.

下位桁チェック部230は、N個のサンプル値を取り込む(S2301)。Rmaxに0、iに1を代入する(S2331’)。シフト量候補ΔEによって整数部と誤差部とに分離した場合の整数部の最下位桁からi番目までの全ビット中の0の比率Rを求める(S2332’)。R≧Rmaxかを確認する(S2333’)。ステップS2333’が真の場合には、RmaxをRとし、iに1を加え(S2334’)、ステップS2332’に戻る。ステップS2333’が真でない場合は、シフト量候補ΔEにi−2を加え(S2335)、ステップS230’’’’を終了する。ステップS230’’’’が終了すると、図10に示したようにステップS240へ進み、シフト量Sがシフト量候補ΔEに設定される。
[第5実施形態]
図16に本実施形態の符号化処理部の機能構成例を示す。符号化処理部100は、フレームバッファ810、シフト量候補算出部210’とシフト量選定部130とフレームシフト量保存バッファ140から構成されるシフト量決定部110、整数信号・誤差信号分離部830、整数信号符号化部840、誤差信号符号化部850、統合部(Multiplexer)860から構成される。また、シフト量候補算出部210’は、下位桁チェック部230を備えている。なお、シフト量候補算出部210’は、シフト量決定部110でシフト量を決定するための候補を算出する構成部であるが、第1実施形態のシフト量算出部210とまったく同じ構成と処理でよい。図9の符号化処理部200との違いは、シフト量決定部110である。
Lower digit check unit 230 takes in the N F sample values (S2301). 0 is substituted for R max and 1 is substituted for i (S2331 ′). A ratio R of 0 in all the bits from the least significant digit of the integer part to the i-th when the integer part and the error part are separated by the shift amount candidate ΔE is obtained (S2332 ′). It is confirmed whether R ≧ R max (S2333 ′). When step S2333 ′ is true, R max is set to R, 1 is added to i (S2334 ′), and the process returns to step S2332 ′. If step S2333 ′ is not true, i−2 is added to the shift amount candidate ΔE (S2335), and step S230 ″ ″ is terminated. When step S230 ″ ″ is completed, the process proceeds to step S240 as shown in FIG. 10, and the shift amount Sj is set to the shift amount candidate ΔE.
[Fifth Embodiment]
FIG. 16 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 210 ′, a shift amount selection unit 130, and a frame shift amount storage buffer 140, a shift amount determination unit 110, an integer signal / error signal separation unit 830, An integer signal encoding unit 840, an error signal encoding unit 850, and a multiplex unit 860 are included. Further, the shift amount candidate calculation unit 210 ′ includes a lower digit check unit 230. Note that the shift amount candidate calculation unit 210 ′ is a configuration unit that calculates a candidate for determining the shift amount by the shift amount determination unit 110, but has exactly the same configuration and processing as the shift amount calculation unit 210 of the first embodiment. It's okay. A difference from the encoding processing unit 200 in FIG. 9 is a shift amount determination unit 110.

符号化処理部100の処理フローは、図3のステップS820を、図17のステップS110に置き換えたものである。ステップS110では、まず、シフト量候補算出部210’で、フレーム内のサンプル値の最大振幅を整数部の量子化ビット数で表現可能な最大振幅にマッピングしてシフト量候補ΔEを求め(S120)、下位桁チェック部230によりシフト量候補ΔEを補正する(S230、S230’、S230”、S230’’’、またはS230’’’’)。シフト量選定部130は、現フレームが先頭フレームかランダムアクセスフレーム(RAフレーム:過去のフレームからの予測を用いないフレーム)かを判断する(S140)。先頭フレームかランダムアクセスフレームの場合には、シフト量選定部130は、シフト量候補ΔEを現フレームのシフト量とする(S150)。先頭フレームでもランダムアクセスフレームでもない場合には、シフト量選定部130は、フレームシフト量保持バッファから1つまたは複数の過去のフレームのシフト量Sj−k(kは1以上の整数)を読み出し、過去のフレームのシフト量とシフト量候補ΔEを用いて現フレームのシフト量Sを決定する(S130)。 The processing flow of the encoding processing unit 100 is obtained by replacing step S820 in FIG. 3 with step S110 in FIG. In step S110, first, the shift amount candidate calculation unit 210 ′ maps the maximum amplitude of the sample value in the frame to the maximum amplitude that can be expressed by the number of quantization bits in the integer part to obtain the shift amount candidate ΔE (S120). The lower digit check unit 230 corrects the shift amount candidate ΔE (S230, S230 ′, S230 ″, S230 ′ ″, or S230 ″ ″). The shift amount selection unit 130 determines whether the current frame is the first frame or random. It is determined whether the frame is an access frame (RA frame: a frame that does not use prediction from a past frame) (S140) In the case of a head frame or a random access frame, the shift amount selection unit 130 sets the shift amount candidate ΔE as the current frame. (S150) If neither the first frame nor the random access frame is selected, the shift amount is selected. 130, (the k 1 or more integer) shift amount S j-k of one or more past frames from the frame shift amount storing buffer reads, using the shift amount and the shift amount candidate ΔE of past frame present A frame shift amount S j is determined (S130).

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

αはシフト量の揺らぎが一定以上になった場合にのみシフト量を変化させるようにするための閾値で、たとえばあらかじめ5に設定しておく。α=5の場合には、当該フレームの最大振幅を分析して得られたシフト量侯補ΔEが、前のフレームのシフト量Sj−1よりも大きくなるか、もしくはSj−1−5よりも小さい値となった場合にのみシフト量を変化させることに相当する。
このようにフレームのシフト量Sを決定することで、頻繁なシフト量の変化がなくなり、フレーム間予測を用いて圧縮符号化する場合の圧縮率を向上することができる。
[変形例1]
第5実施形態では、シフト量決定部110のシフト量選定部130は、図18に示したように、閾値をあらかじめ決めておき、直前のフレームのシフト量と現フレームのシフト量候補との差が閾値以内であれば現フレームのシフト量を直前のフレームと同じにした。本変形例では、シフト量決定部110のシフト量選定部130は、直前のフレームのシフト量から現フレームのシフト量候補までの各シフト量での符号化後のデータ量を計算して、最もデータ量が少ないシフト量を現フレームのシフト量とする。
α is a threshold value for changing the shift amount only when the shift amount fluctuates above a certain level. For example, α is set to 5 in advance. When α = 5, the shift amount compensation ΔE obtained by analyzing the maximum amplitude of the frame is larger than the shift amount S j−1 of the previous frame or S j−1 −5. This is equivalent to changing the shift amount only when the value becomes smaller than that.
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.
[Modification 1]
In the fifth embodiment, the shift amount selection unit 130 of the shift amount determination unit 110 determines a threshold value in advance as shown in FIG. 18, 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.

図19にステップS130の代わりとなるシフト量選定部130の処理フロー(ステップS130’)を示す。シフト量選定部130は、フレームシフト量保持バッファ140から直前のフレームのシフト量Sj−1を、シフト量候補算出部120からシフト量候補ΔEを読み込む(S1301)。Sj−1>ΔEを確認する(S1302)。ステップS1302が真の場合には、Dminを無限大、iを直前のフレームのシフト量Sj−1とする(S1311)。ただし、無限大とは、符号量として取りうる最大の値とすればよい。シフト量をiとした場合の整数信号の符号量と誤差信号の符号量とを求め、統合した場合の符号化データの符号量Dを求める(S1312)。DminがDよりも大きいかを確認する(S1313)。DminがDよりも大きい場合は、DをDminとする(S1314)。DminがD以下の場合にはステップS1315に進む。i>ΔEであることを確認する(S1315)。ステップS1315が真の場合意は、iにi−1を代入する(S1316)。ステップS1315が真でない場合は、シフト量SをDminとする(S1317)。
ステップS1302が真でない場合には、シフト量Sをシフト量候補ΔEとする(S1305)。
FIG. 19 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). If step S1302 is true, Dmin is set to infinity, and i is set to the shift amount Sj-1 of the immediately preceding frame (S1311). However, the infinite value may be a maximum value that can be taken as a 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). If D min is greater than D i , D i is set to D 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 true, i-1 is substituted for i (S1316). If step S1315 is not true, the shift amount S j is set to D min (S1317).
If step S1302 is not true, the shift amount Sj is set as a shift amount candidate ΔE (S1305).

このように処理すると、処理の時間はかかるが、確実に符号量の少ないシフト量を選定することができる。
[変形例2]
本変形例では、シフト量決定部110のシフト量選定部130は、過去のN個(Nは2以上の整数)のフレームのシフト量を記録しておく。シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量よりも大きく、かつ直前のフレームのシフト量よりも小さい場合には、直前のフレームのシフト量を現フレームのシフト量とする。シフト量候補が、過去のN個のフレームのシフト量の中で、n番目(nは、1以上N未満の整数)に小さいシフト量以下、または直前のフレームのシフト量以上の場合には、シフト量候補を現フレームのシフト量とする。
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.
[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). The shift amount candidate is larger than the shift amount smaller than the nth (n is an integer of 1 or more and less than N) among the shift amounts of the past N frames, and smaller than the shift amount of the immediately preceding frame. The shift amount of the immediately preceding frame is set as the shift amount of the current frame. In the case where the shift amount candidate is the nth (n is an integer of 1 or more and less than N) shift amount less than or equal to or greater than the shift amount of the immediately preceding frame among the shift amounts of the past N frames, The shift amount candidate is set as the shift amount of the current frame.

図20にステップS130の代わりとなるシフト量選定部130の処理フロー(ステップS130”)を示す。シフト量選定部130は、フレームシフト量保持バッファ140から過去のフレームのシフト量Sj−k(k=1〜N)を、シフト量候補算出部120からシフト量候補ΔEを読み込む(S1301)。ただし、Nは2以上の整数である。閾値αをN個の過去のシフト量の中で、n番目に小さいシフト量とする(S1322)。ステップS1302以降の処理は、第5実施形態の図18と同じである。
本実施形態では、閾値をあらかじめ決めておくのではなく、過去のシフト値から求めている。したがって、入力信号の特徴を考慮して閾値を変更することができる。
[変形例3]
本変形例では、シフト量決定部110のシフト量選定部130は、シフト量候補が、直前のフレームのシフト量以下の場合には、直前のフレームのシフト量を現フレームのシフト量とする。シフト量候補が、直前のフレームのシフト量よりも大きい場合には、シフト量候補を現フレームのシフト量とする。
20 shows a processing flow (step S130 ″) of the shift amount selecting unit 130 in place 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 (S1301), where N is an integer equal to or greater than 2. The threshold α is the N past shift amounts, The shift amount is set to the nth smallest shift amount (S1322) The processing after step S1302 is the same as that of FIG.
In the present embodiment, the threshold is not determined in advance, but is obtained from the past shift value. Therefore, the threshold value can be changed in consideration of the characteristics of the input signal.
[Modification 3]
In this modification, the shift amount selection unit 130 of the shift amount determination unit 110 sets the shift amount of the immediately preceding frame as the shift amount of the current frame when the shift amount candidate is equal to or smaller than the shift amount of the immediately preceding frame. When the shift amount candidate is larger than the shift amount of the immediately preceding frame, the shift amount candidate is set as the shift amount of the current frame.

図21にステップS130の代わりとなるシフト量選定部130の処理フロー(ステップS130’’’)を示す。図18のフローとの違いは、ステップS1303が削除された点である。したがって、本実施形態の場合、シフト量は増加することはあるが、減少することはない。ただし、処理の内容は最も簡単である。
なお、上記の実施形態はコンピュータに、上記方法の各ステップを実行させるプログラムを読み込ませ、実施することもできる。また、コンピュータに読み込ませる方法としては、プログラムをコンピュータ読み取り可能な記録媒体に記録しておき、記録媒体からコンピュータに読み込ませる方法、サーバ等に記録されたプログラムを電気通信回線等を通じてコンピュータに読み込ませる方法などがある。
FIG. 21 shows a processing flow (step S130 ′ ″) of the shift amount selecting unit 130, which is an alternative to step S130. The difference from the flow of FIG. 18 is that step S1303 is deleted. Accordingly, in the present embodiment, the shift amount may increase but not decrease. However, the content of the process is the simplest.
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 structure of the encoding process part in a prior art. 従来技術での符号化処理のイメージを示す図。The figure which shows the image of the encoding process in a prior art. 従来の符号化処理部の処理フローを示す図。The figure which shows the processing flow of the conventional encoding process part. シフト量算出部の処理の詳細な処理フローを示す図。The figure which shows the detailed processing flow of a process of a shift amount calculation part. シフト量算出部の処理フローの変形例を示す図。The figure which shows the modification of the processing flow of a shift amount calculation part. シフト量Sを用いて入力信号Xを整数信号Yと誤差信号Zに分離する手順を示す図。It illustrates a procedure for separating an input signal X i into an integer signal Y i and the error signal Z i using the shift amount S j. 復号化処理部の機能構成を示す図。The figure which shows the function structure of a decoding process part. 本発明のシフト量を決める符号化処理のイメージを示す図。The figure which shows the image of the encoding process which determines the shift amount of this invention. 本発明の符号化処理部の機能構成例を示す図。The figure which shows the function structural example of the encoding process part of this invention. 本発明の第1実施形態の符号量を最小にする処理フローを示す図。The figure which shows the processing flow which minimizes the code amount of 1st Embodiment of this invention. シフト量算出部210の下位桁チェック部230の処理(ステップS230)の詳細な処理フローを示す図。The figure which shows the detailed process flow of the process (step S230) of the low-order digit check part 230 of the shift amount calculation part 210. FIG. シフト量算出部210の下位桁チェック部230の処理(ステップS230’)の詳細な処理フローを示す図。The figure which shows the detailed processing flow of a process (step S230 ') of the low-order digit check part 230 of the shift amount calculation part 210. FIG. シフト量算出部210の下位桁チェック部230の処理(ステップS230”)の詳細な処理フローを示す図。The figure which shows the detailed process flow of a process (step S230 ") of the low-order digit check part 230 of the shift amount calculation part 210. FIG. シフト量算出部210の下位桁チェック部230の処理(ステップS230’’’)の詳細な処理フローを示す図。The figure which shows the detailed processing flow of the process (step S230 '') of the low-order digit check part 230 of the shift amount calculation part 210. FIG. シフト量算出部210の下位桁チェック部230の処理(ステップS230’’’’)の詳細な処理フローを示す図。The figure which shows the detailed processing flow of the process (step S230 "'") of the low-order digit check part 230 of the shift amount calculation part 210. FIG. 第5実施形態の符号化処理部の機能構成例を示す図。The figure which shows the function structural example of the encoding process part of 5th Embodiment. シフト量決定部110の処理フローを示す図。The figure which shows the processing flow of the shift amount determination part 110. FIG. シフト量選定部130の処理(ステップS130)の詳細な処理フロー例を示す図。The figure which shows the example of a detailed process flow of the process (step S130) of the shift amount selection part 130. FIG. 第5実施形態の変形例1のシフト量選定部130の処理フローを示す図。The figure which shows the processing flow of the shift amount selection part 130 of the modification 1 of 5th Embodiment. 第5実施形態の変形例2のシフト量選定部130の処理フローを示す図。The figure which shows the processing flow of the shift amount selection part 130 of the modification 2 of 5th Embodiment. 第5実施形態の変形例3のシフト量選定部130の処理フローを示す図。The figure which shows the processing flow of the shift amount selection part 130 of the modification 3 of 5th Embodiment.

Claims (26)

デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)のすべてのビットが0の場合には、シフト量を前記シフト量候補にnを加えた数とするものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
When all the bits in the n-digit range (n is an integer of 1 or more) including the least significant part of the integer part determined according to the shift amount candidate are 0, the shift amount is set to the shift amount candidate n , The number plus
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の各ビットプレーン(同一フレーム内の各サンプル値列の同じ桁を示すビット。以下同じ。)で、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、シフト量を前記シフト量候補にnを加えた数とするものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Each bit plane (bit indicating the same digit of each sample value sequence in the same frame) in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidate. The same shall apply hereinafter.) In the case where 1 is equal to or less than a predetermined ratio or 0 is equal to or greater than a predetermined ratio, the shift amount is a number obtained by adding n to the shift amount candidates.
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中で、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、シフト量を前記シフト量候補にnを加えた数とするものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Of all bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidates, 1 is less than a predetermined ratio or 0 is predetermined If the ratio is greater than or equal to the ratio, the shift amount is the number obtained by adding n to the shift amount candidates.
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めたシフト量から1つずつシフト量を増やしながら、当該シフト量にしたがった符号化を行った場合の符号量を計算し、前のシフト量での符号量よりも符号量が増えた場合には、1つ前のシフト量を当該フレームのシフト量とするものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
While increasing the shift amount one by one from the shift amount determined according to the shift amount candidate, the code amount when encoding according to the shift amount is calculated, and the code amount is more than the code amount at the previous shift amount. When the amount increases, the previous shift amount is set as the shift amount of the frame,
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の1の比率を、nを1から1つずつ増やしながら計算し、1の比率が1つ前の計算での1の比率よりも増えるnを求め、シフト量を前記シフト量候
補にn−1を加えた数とするものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Calculate the ratio of 1 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 N for which the ratio of 1 is larger than the ratio of 1 in the previous calculation is obtained, and the shift amount is determined as the shift amount parameter.
It shall be a number obtained by adding n-1 to the complement,
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の0の比率を、nを1から1つずつ増やしながら計算し、0の比率が1つ前の計算での0の比率よりも減るnを求め、シフト量を前記シフト量候補にn−1を加えた数とするものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Calculate the ratio of 0 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 N for which the ratio of 0 is smaller than the ratio of 0 in the previous calculation is obtained, and the shift amount is the number obtained by adding n-1 to the shift amount candidates.
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を備える信号符号化装置であって、
前記シフト量決定部は、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)のすべてのビットが0の場合には、前記シフト量候補にnを加えた数をシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
When all the bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidate are 0, n is added to the shift amount candidate Let the number be the shift amount candidate,
Using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer to determine the shift amount of the current frame according to a predetermined criterion;
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を有する信号符号化装置であって、
前記シフト量決定部は、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の各ビットプレーンで、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、前記シフト量候補にnを加えた数をシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
In each bit plane in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidate, 1 is less than a predetermined ratio or 0 is predetermined. If the ratio is greater than or equal to the ratio, the number obtained by adding n to the shift amount candidates is defined as a shift amount candidate,
Using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer to determine the shift amount of the current frame according to a predetermined criterion;
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を有する信号符号化装置であって、
前記シフト量決定部は、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中で、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、前記シフト量候補にnを加えた数をシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Of all bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidates, 1 is less than a predetermined ratio or 0 is predetermined If the ratio is greater than or equal to the ratio, the number obtained by adding n to the shift amount candidates is defined as a shift amount candidate,
Using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer to determine the shift amount of the current frame according to a predetermined criterion;
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、
整数信号を符号化する整数信号符号化部と、
誤差信号を符号化する誤差信号符号化部と、
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、
を有する信号符号化装置であって、
前記シフト量決定部は、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めたシフト量から1つずつシフト量を増やしながら、当該シフト量にしたがった符号化を行った場合の符号量を計算し、前のシフト量での符号量よりも符号量が増えた場合には、1つ前のシフト量を当該フレームのシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するものであること、
を特徴とする信号符号化装置。
A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoder for encoding an integer signal;
An error signal encoder for encoding the error signal;
An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
A signal encoding device comprising:
The shift amount determination unit
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
While increasing the shift amount one by one from the shift amount determined according to the shift amount candidate, the code amount when encoding according to the shift amount is calculated, and the code amount is more than the code amount at the previous shift amount. When the amount increases, the previous shift amount is set as a shift amount candidate of the frame,
Using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer to determine the shift amount of the current frame according to a predetermined criterion;
A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、  A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、  A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、  A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
整数信号を符号化する整数信号符号化部と、  An integer signal encoder for encoding an integer signal;
誤差信号を符号化する誤差信号符号化部と、  An error signal encoder for encoding the error signal;
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、  An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
を有する信号符号化装置であって、  A signal encoding device comprising:
前記シフト量決定部は、  The shift amount determination unit
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、  Record the shift amount of at least one past frame in the frame shift amount holding buffer,
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、  The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の1の比率を、nを1から1つずつ増やしながら計算し、1の比率が1つ前の計算での1の比率よりも増えるnを求め、シフト量を前記シフト量候補にn−1を加えた数とし、  Calculate the ratio of 1 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n by 1 from 1 Then, n is obtained in which the ratio of 1 is larger than the ratio of 1 in the previous calculation, and the shift amount is the number obtained by adding n-1 to the shift amount candidates.
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するものであること、  Using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer to determine the shift amount of the current frame according to a predetermined criterion;
を特徴とする信号符号化装置。  A signal encoding device.
デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファと、  A frame buffer that divides the digital signal into a plurality of sample values (hereinafter referred to as “frames”);
整数部として符号化する信号の振幅の範囲を決めるシフト量決定部と、  A shift amount determination unit that determines the amplitude range of a signal to be encoded as an integer part;
前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割部と、  A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
整数信号を符号化する整数信号符号化部と、  An integer signal encoder for encoding an integer signal;
誤差信号を符号化する誤差信号符号化部と、  An error signal encoder for encoding the error signal;
前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合部と、  An integration unit that integrates the output of the integer signal encoding unit and the output of the error signal encoding unit;
を有する信号符号化装置であって、  A signal encoding device comprising:
前記シフト量決定部は、  The shift amount determination unit
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、  Record the shift amount of at least one past frame in the frame shift amount holding buffer,
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、  The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の0の比率を、nを1から1つずつ増やしながら計算し、0の比率が1つの前の計算での0の比率よりも減るnを求め、シフト量を前記シフト量候補にn−1を加えた数とし、  Calculate the ratio of 0 in all bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 N for which the ratio of 0 is less than the ratio of 0 in the previous calculation is obtained, and the shift amount is the number obtained by adding n-1 to the shift amount candidates,
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定するものであること、  Using the shift amount candidate and the shift amount recorded in the frame shift amount holding buffer to determine the shift amount of the current frame according to a predetermined criterion;
を特徴とする信号符号化装置。  A signal encoding device.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)のすべてのビットが0の場合には、シフト量を前記シフト量候補にnを加えた数とすること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
When all the bits in the n-digit range (n is an integer of 1 or more) including the least significant part of the integer part determined according to the shift amount candidate are 0, the shift amount is set to the shift amount candidate n To the number plus
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の各ビットプレーンで、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、シフト量を前記シフト量候補にnを加えた数とすること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
In each bit plane in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidate, 1 is less than a predetermined ratio or 0 is predetermined. If the ratio is greater than or equal to the ratio, the shift amount is the number obtained by adding n to the shift amount candidates.
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中で、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、シフト量を前記シフト量候補にnを加えた数とすること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Of all bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidates, 1 is less than a predetermined ratio or 0 is predetermined If the ratio is greater than or equal to the ratio, the shift amount is the number obtained by adding n to the shift amount candidates.
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めたシフト量から1つずつシフト量を増やしながら、当該シフト量にしたがった符号化を行った場合の符号量を計算し、前のシフト量での符号量よりも符号量が増えた場合には、1つ前のシフト量を当該フレームのシフト量とすること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
While increasing the shift amount one by one from the shift amount determined according to the shift amount candidate, the code amount when encoding according to the shift amount is calculated, and the code amount is more than the code amount at the previous shift amount. When the amount increases, the previous shift amount is set as the shift amount of the frame,
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の1の比率を、nを1から1つずつ増やしながら計算し、前記1の前のシフト量での比率よりも増えるnを求め、シフト量を前記シフト量候補にn−1を加えた数とすること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Calculate the ratio of 1 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 Determining n which is larger than the ratio of the previous shift amount of 1, and setting the shift amount as a number obtained by adding n-1 to the shift amount candidates;
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の0の比率を、nを1から1つずつ増やしながら計算し、前記1の前のシフト量での比率よりも減るnを求め、シフト量を前記シフト量候補にn−1を加えた数とすること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Calculate the ratio of 0 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 Then, n which is smaller than the ratio of the shift amount before 1 is obtained, and the shift amount is the number obtained by adding n-1 to the shift amount candidates.
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)のすべてのビットが0の場合には、前記シフト量候補にnを加えた数をシフト量候補とし、
記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定すること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
When all the bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidate are 0, n is added to the shift amount candidate Let the number be the shift amount candidate,
Using pre carboxymethyl shift amount candidate shift amount recorded in the frame shift amount holding buffer, according to the criteria predetermined by determining the shift amount of the current frame,
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の各ビットプレーンで、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、前記シフト量候補にnを加えた数をシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定すること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
In each bit plane in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidate, 1 is less than a predetermined ratio or 0 is predetermined. If the ratio is greater than or equal to the ratio, the number obtained by adding n to the shift amount candidates is defined as a shift amount candidate,
Determining a shift amount of the current frame according to a predetermined criterion using the shift amount candidates and the shift amount recorded in the frame shift amount holding buffer;
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中で、1があらかじめ定めた割合以下の場合または0があらかじめ定めた割合以上の場合には、前記シフト量候補にnを加えた数をシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定すること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Of all bits in the n-digit range (n is an integer of 1 or more) including the lowest part of the integer part determined according to the shift amount candidates, 1 is less than a predetermined ratio or 0 is predetermined If the ratio is greater than or equal to the ratio, the number obtained by adding n to the shift amount candidates is defined as a shift amount candidate,
Determining a shift amount of the current frame according to a predetermined criterion using the shift amount candidates and the shift amount recorded in the frame shift amount holding buffer;
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めたシフト量から1つずつシフト量を増やしながら、当該シフト量にしたがった符号化を行った場合の符号量を計算し、前のシフト量での符号量よりも符号量が増えた場合には、1つ前のシフト量を当該フレームのシフト量候補とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定すること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
While increasing the shift amount one by one from the shift amount determined according to the shift amount candidate, the code amount when encoding according to the shift amount is calculated, and the code amount is more than the code amount at the previous shift amount. When the amount increases, the previous shift amount is set as a shift amount candidate of the frame,
Determining a shift amount of the current frame according to a predetermined criterion using the shift amount candidates and the shift amount recorded in the frame shift amount holding buffer;
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の1の比率を、nを1から1つずつ増やしながら計算し、1の比率が1つ前の計算での1の比率よりも増えるnを求め、シフト量を前記シフト量候補にn−1を加えた数とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定すること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Calculate the ratio of 1 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 Then, n is obtained in which the ratio of 1 is larger than the ratio of 1 in the previous calculation, and the shift amount is the number obtained by adding n-1 to the shift amount candidates.
Determining a shift amount of the current frame according to a predetermined criterion using the shift amount candidates and the shift amount recorded in the frame shift amount holding buffer;
A signal encoding method characterized by the above.
フレームバッファで、デジタル信号を複数のサンプル値(以下、「フレーム」という。)ごとに分割するフレームバッファステップと、
シフト量決定部で、整数部として符号化する信号の振幅の範囲を決めるシフト量決定ステップと、
分割部で、前記シフト量決定部で定めたシフト量にしたがって、前記デジタル信号を整数信号と誤差信号に分割する分割ステップと、
整数信号符号化部で、整数信号を符号化する整数信号符号化ステップと、
誤差信号符号化部で、誤差信号を符号化する誤差信号符号化ステップと、
統合部で、前記整数信号符号化部の出力と前記誤差信号符号化部の出力とを統合する統合ステップと、
を有する信号符号化方法であって、
前記シフト量決定ステップが、
少なくとも1つの過去のフレームのシフト量をフレームシフト量保持バッファに記録しておき、
フレーム内の振幅値が最大のサンプル値を、整数部の最大値、最小値の範囲内でシフト量の変更のみによって表現可能な最大の振幅となるようにシフト量候補を算出し、
前記シフト量候補にしたがって定めた整数部の最下位を含む最下位からn桁の範囲(nは1以上の整数)の全ビット中の0の比率を、nを1から1つずつ増やしながら計算し、0の比率が1つの前の計算での0の比率よりも減るnを求め、シフト量を前記シフト量候補にn−1を加えた数とし、
前記シフト量候補と前記フレームシフト量保持バッファに記録されたシフト量を用いて、あらかじめ定めた基準にしたがって、現フレームのシフト量を決定すること、
を特徴とする信号符号化方法。
A frame buffer step for dividing the digital signal into a plurality of sample values (hereinafter referred to as “frames”) in the frame buffer;
A shift amount determination unit that determines a range of amplitudes of signals to be encoded as an integer part in the shift amount determination unit;
A dividing unit that divides the digital signal into an integer signal and an error signal according to a shift amount determined by the shift amount determining unit;
An integer signal encoding step for encoding the integer signal in the integer signal encoding unit;
An error signal encoding step of encoding an error signal in an error signal encoding unit;
An integration step of integrating the output of the integer signal encoding unit and the output of the error signal encoding unit in an integration unit;
A signal encoding method comprising:
The shift amount determining step includes:
Record the shift amount of at least one past frame in the frame shift amount holding buffer,
The shift amount candidate is calculated so that the sample value with the maximum amplitude value in the frame becomes the maximum amplitude that can be expressed only by changing the shift amount within the range of the maximum value and the minimum value of the integer part,
Calculate the ratio of 0 in all bits in the n-digit range (n is an integer of 1 or more) from the lowest including the lowest of the integer part determined according to the shift amount candidates while increasing n from 1 by 1 N for which the ratio of 0 is less than the ratio of 0 in the previous calculation is obtained, and the shift amount is the number obtained by adding n-1 to the shift amount candidates,
Determining a shift amount of the current frame according to a predetermined criterion using the shift amount candidates and the shift amount recorded in the frame shift amount holding buffer;
A signal encoding method characterized by the above.
請求項1から12のいずれかに記載の信号符号化装置をコンピュータにより実現する信号符号化プログラム。  A signal encoding program for realizing the signal encoding apparatus according to any one of claims 1 to 12 by a computer. 請求項25記載の信号符号化プログラムを記録したコンピュータ読み取り可能な記録媒体。  A computer-readable recording medium on which the signal encoding program according to claim 25 is recorded.
JP2005192349A 2005-06-30 2005-06-30 Signal encoding apparatus, method, program, and recording medium Active JP4523885B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005192349A JP4523885B2 (en) 2005-06-30 2005-06-30 Signal encoding apparatus, method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005192349A JP4523885B2 (en) 2005-06-30 2005-06-30 Signal encoding apparatus, method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007013642A JP2007013642A (en) 2007-01-18
JP4523885B2 true JP4523885B2 (en) 2010-08-11

Family

ID=37751521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005192349A Active JP4523885B2 (en) 2005-06-30 2005-06-30 Signal encoding apparatus, method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4523885B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2343700B1 (en) 2005-07-07 2017-08-30 Nippon Telegraph And Telephone Corporation Signal decoder, signal decoding method, program, and recording medium
US8108361B2 (en) * 2008-07-31 2012-01-31 Microsoft Corporation Efficient column based data encoding for large-scale data storage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002149397A (en) * 2000-11-13 2002-05-24 Nec Microsystems Ltd Method and circuit for generating fixed decimal point data
JP2004015803A (en) * 2002-06-05 2004-01-15 Samsung Electronics Co Ltd Integer coding method for supporting various frame sizes and codec apparatus using the same
WO2004114527A1 (en) * 2003-06-20 2004-12-29 Nippon Telegraph And Telephone Corporation Floating-point type digital signal reversible encoding method, decoding method, apparatuses therefor, and programs therefor
JP2005018606A (en) * 2003-06-27 2005-01-20 Nippon Telegr & Teleph Corp <Ntt> Linear prediction analysis method and device of floating-point type signal sequence, program, and its storage medium
JP4256364B2 (en) * 2005-06-27 2009-04-22 日本電信電話株式会社 Signal encoding device, signal encoding method, signal encoding program, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002149397A (en) * 2000-11-13 2002-05-24 Nec Microsystems Ltd Method and circuit for generating fixed decimal point data
JP2004015803A (en) * 2002-06-05 2004-01-15 Samsung Electronics Co Ltd Integer coding method for supporting various frame sizes and codec apparatus using the same
WO2004114527A1 (en) * 2003-06-20 2004-12-29 Nippon Telegraph And Telephone Corporation Floating-point type digital signal reversible encoding method, decoding method, apparatuses therefor, and programs therefor
JP2005018606A (en) * 2003-06-27 2005-01-20 Nippon Telegr & Teleph Corp <Ntt> Linear prediction analysis method and device of floating-point type signal sequence, program, and its storage medium
JP4256364B2 (en) * 2005-06-27 2009-04-22 日本電信電話株式会社 Signal encoding device, signal encoding method, signal encoding program, and recording medium

Also Published As

Publication number Publication date
JP2007013642A (en) 2007-01-18

Similar Documents

Publication Publication Date Title
JP4359312B2 (en) Signal encoding apparatus, decoding apparatus, method, program, recording medium, and signal codec method
KR100561869B1 (en) Lossless audio decoding/encoding method and apparatus
EP1638209B1 (en) Lossless coding method for digital signal in floating-point, decoding method, apparatus therefor, and programs therefor
JP3987582B2 (en) Data compression / expansion using rice encoder / decoder
EP1569203A2 (en) Lossless audio decoding/encoding method and apparatus
KR101476699B1 (en) Hierarchical coding of digital audio signals
US20070078646A1 (en) Method and apparatus to encode/decode audio signal
JP2011528807A (en) Method, system and apparatus for digital signal compression or decompression
WO2010084951A1 (en) Parameter selection method, parameter selection apparatus, program, and recording medium
JP4245288B2 (en) Speech coding apparatus and speech decoding apparatus
JP4523885B2 (en) Signal encoding apparatus, method, program, and recording medium
US20130173261A1 (en) Audio quantization coding and decoding device and method thereof
JP4918103B2 (en) Encoding method, decoding method, apparatus thereof, program, and recording medium
JP4834179B2 (en) ENCODING METHOD, ITS DEVICE, PROGRAM, AND RECORDING MEDIUM
JP4256364B2 (en) Signal encoding device, signal encoding method, signal encoding program, and recording medium
JP2004246038A (en) Speech or musical sound signal encoding method, decoding method, encoding device, decoding device, encoding program, and decoding program
JP2924416B2 (en) High efficiency coding method
JP4705685B2 (en) Signal encoding apparatus, decoding apparatus, method, program, and recording medium
KR100975522B1 (en) Scalable audio decoding / coding method and apparatus
JP4348324B2 (en) Signal encoding apparatus, method, program, and recording medium
JP2006211243A (en) Device and method for digital signal encoding

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100427

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4523885

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140604

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