WO2016140071A1 - 圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム - Google Patents

圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム Download PDF

Info

Publication number
WO2016140071A1
WO2016140071A1 PCT/JP2016/054723 JP2016054723W WO2016140071A1 WO 2016140071 A1 WO2016140071 A1 WO 2016140071A1 JP 2016054723 W JP2016054723 W JP 2016054723W WO 2016140071 A1 WO2016140071 A1 WO 2016140071A1
Authority
WO
WIPO (PCT)
Prior art keywords
conversion table
bits
data
unit
compression
Prior art date
Application number
PCT/JP2016/054723
Other languages
English (en)
French (fr)
Inventor
福井 隆郎
Original Assignee
ソニー株式会社
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 ソニー株式会社 filed Critical ソニー株式会社
Priority to EP16758765.8A priority Critical patent/EP3267587B1/en
Priority to JP2017503411A priority patent/JP6652123B2/ja
Priority to CN201680012217.1A priority patent/CN107431492B/zh
Priority to US15/553,362 priority patent/US10193565B2/en
Publication of WO2016140071A1 publication Critical patent/WO2016140071A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/60General implementation details not specific to a particular type of compression
    • H03M7/6011Encoder aspects
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/0017Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M3/00Conversion of analogue values to or from differential modulation
    • H03M3/02Delta modulation, i.e. one-bit differential modulation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • H03M7/42Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code using table look-up for the coding or decoding process, e.g. using read-only memory
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/60General implementation details not specific to a particular type of compression
    • H03M7/6005Decoder aspects
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M3/00Conversion of analogue values to or from differential modulation
    • H03M3/30Delta-sigma modulation

Definitions

  • the present disclosure relates to a compression encoding device, a compression encoding method, a decoding device, a decoding method, and a program, and in particular, a compression encoding device and a compression code that can provide a lossless compression technique with a higher compression rate.
  • the present invention relates to an encryption method, a decoding device, a decoding method, and a program.
  • Lossless compression technology such as FLAC (Free Lossless Audio Codec) is used for the sound source of 96 kHz / 24 bit PCM (Pulse Code Modulation) and is used for distribution.
  • DSD Direct Stream Digital
  • SACD Super Audio CD
  • this technology is based on 1-bit signal processing and is not suitable for software processing on a CPU based on byte-by-byte processing, so it is implemented in hardware (LSI) in SACD players and the like. . If you try to process with software, the processing amount is heavy, so it cannot be processed by a general embedded CPU.
  • LSI hardware
  • the present applicant has proposed a technique of referring to past data in units of 4 bits and compressing current data to 2 bits as a lossless compression technique of audio signals using DSD data in Patent Document 1.
  • Patent Document 1 requires a lossless compression technique with a higher compression ratio because the data compression ratio is not so large.
  • the present disclosure has been made in view of such a situation, and is intended to provide a lossless compression technique with a higher compression rate.
  • the compression encoding apparatus converts M bits of a ⁇ -modulated digital signal into N bits (M> N) with reference to the first conversion table, and the first conversion table.
  • an encoding unit that converts the N bits into the N bits with reference to a second conversion table, and when the number of bit patterns of the N bits is P, the first conversion table
  • the second conversion table stores the highest (P-1) codes with the occurrence frequency for the past bit pattern next to the first conversion table (P-1). ) Is a table storing codes.
  • the compression encoding method converts M bits of a ⁇ -modulated digital signal into N bits (M> N) with reference to the first conversion table, and the first conversion table.
  • N bits M> N
  • conversion to the N bits is performed with reference to a second conversion table, and when the number of bit patterns of the N bits is P, the first conversion table corresponds to a past bit pattern.
  • a program causes a computer to convert M bits of a ⁇ -modulated digital signal into N bits (M> N) with reference to a first conversion table, and In the case where the conversion to the N bits is not possible, the process of converting to the N bits is executed with reference to the second conversion table, and when the number of bit patterns of the N bits is P, the first conversion table
  • the second conversion table stores the highest (P-1) codes with the occurrence frequency for the past bit pattern next to the first conversion table (P-1). ) Is a table storing a number of codes.
  • the first conversion table is a table in which codes having the highest occurrence frequency (P-1) with respect to past bit patterns are stored.
  • the conversion table is a table that stores the upper (P-1) codes with the occurrence frequency for the past bit pattern next to the first conversion table.
  • the decoding device provides the first conversion table with the N bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits (M> N).
  • a decoding unit that refers to a second conversion table and decodes it to the M bits when it is converted to the M bits by reference and cannot be converted to the M bits by the first conversion table;
  • the first conversion table is a table in which codes with the highest occurrence frequency (P-1) for the past bit pattern are stored, and the second conversion table is for the past bit pattern. This is a table storing the upper (P-1) codes with the frequency of occurrence following the first conversion table.
  • the N bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits are stored in the first conversion table. If it is converted to M bits by reference and cannot be converted to M bits by the first conversion table, it is decoded to M bits by referring to a second conversion table, and the number of bit patterns of N bits is set to P
  • the first conversion table is a table in which codes having the highest occurrence frequency (P-1) with respect to the past bit pattern are stored, and the second conversion table has the occurrence frequency with respect to the past bit pattern. It is a table that stores the upper (P-1) codes next to the first conversion table.
  • a program according to a second aspect of the present disclosure is a program that performs first conversion on the N bits of encoded data obtained by compressing and encoding M bits of a ⁇ -modulated digital signal into N bits (M> N).
  • M ⁇ -modulated digital signal
  • the first conversion table is a table that stores codes with the highest occurrence frequency (P-1) with respect to past bit patterns
  • the second conversion table contains past bits. This is a table in which the uppermost (P-1) codes with the occurrence frequency for the pattern are stored next to the first conversion table.
  • the N bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits refer to the first conversion table.
  • the first conversion table cannot be converted to the M bit
  • the second conversion table is referenced to decode the M bit.
  • the first conversion table is a table in which codes having the highest occurrence frequency (P-1) with respect to past bit patterns are stored.
  • the conversion table is a table that stores the upper (P-1) codes with the occurrence frequency for the past bit pattern next to the first conversion table.
  • program can be provided by being transmitted through a transmission medium or by being recorded on a recording medium.
  • the compression encoding device and the decoding device may be independent devices, or may be internal blocks constituting one device.
  • First embodiment basic configuration example
  • Second embodiment configuration example for compressing and transmitting conversion table data
  • Third embodiment configuration example selected from a plurality of conversion tables
  • Fourth embodiment configuration example using a two-stage conversion table
  • Fifth embodiment configuration example for compressing and transmitting a two-stage conversion table
  • Sixth embodiment configuration example selected from a plurality of two-stage conversion tables
  • Seventh embodiment first configuration example for selecting a plurality of past data reference bit numbers
  • 8 seventh embodiment (second configuration example for selecting a plurality of past data reference bit numbers) 9.
  • Ninth embodiment (configuration example for compressing and transmitting a Q-stage conversion table) 10.
  • Tenth embodiment (first configuration example having a 4to2 encoding unit and a 4to1 encoding unit) 11.
  • Eleventh embodiment (second configuration example having a 4to2 encoding unit and a 4to1 encoding unit)
  • FIG. 1 illustrates a configuration example of a first embodiment of a compression encoding device according to the present disclosure.
  • 1 is an apparatus that converts an analog audio signal into a digital signal by ⁇ (sigma delta) modulation, compression-encodes the converted audio signal, and outputs the digital signal.
  • Analog audio signals are input from the input unit 11 and supplied to the ADC 12.
  • the ADC 12 digitizes the supplied analog audio signal by ⁇ modulation and outputs it to the input buffer 13.
  • the ADC 12 includes an adder 21, an integrator 22, a comparator 23, a one-sample delay circuit 24, and a 1-bit DAC 25.
  • the audio signal supplied from the input unit 11 is supplied to the adder 21.
  • the adder 21 adds the analog audio signal one sample period before supplied from the 1-bit DAC 25 and the audio signal from the input unit 11, and outputs the result to the integrator 22.
  • the integrator 22 integrates the audio signal from the adder 21 and outputs it to the comparator 23.
  • the comparator 23 is compared with the midpoint potential of the input audio signal and performs 1-bit quantization for each sample period.
  • the frequency of the sampling period (sampling frequency) is 64 times or 128 times that of the conventional 48 kHz or 44.1 kHz.
  • the comparator 23 outputs the 1-bit quantized audio signal to the input buffer 13 and supplies it to the 1-sample delay circuit 24.
  • the 1-sample delay circuit 24 delays the audio signal from the comparator 23 by 1 sample period and outputs it to the 1-bit DAC 25.
  • the 1-bit DAC 25 converts the digital signal from the 1-sample delay circuit 24 into an analog signal and outputs it to the adder 21.
  • the ADC 12 configured as described above converts the audio signal supplied from the input unit 11 into a 1-bit digital signal (AD conversion) and outputs it to the input buffer 13. According to this ⁇ modulation AD conversion, a digital audio signal with a wide dynamic range can be obtained even with a small number of bits, for example, by increasing the frequency of the sampling period (sampling frequency) sufficiently.
  • a stereo (2-channel) audio signal is input to the ADC 12 from the input unit 11, and the ADC 12 AD-converts it to a 1-bit signal at a sampling frequency 128 times 44.1 kHz. Output to the input buffer 13.
  • the number of quantization bits can be 2 bits or 4 bits.
  • the input buffer 13 temporarily stores the 1-bit digital audio signal supplied from the ADC 12 and supplies the audio signal to the control unit 14, the encoding unit 15, and the data amount comparison unit 17 in the subsequent stage in units of one frame.
  • one frame is a unit that divides an audio signal into a predetermined time (period) and is regarded as one unit.
  • one frame is one frame. Therefore, in other words, the input buffer 13 supplies the audio signal to the control unit 14, the encoding unit 15, and the data amount comparison unit 17 in units of 3 seconds.
  • the audio signal input from the input unit 11 is a stereo (two-channel) signal, and is AD-converted to a 1-bit signal at a sampling frequency 128 times 44.1 kHz, so that the audio signal per frame
  • the ⁇ -modulated digital signal supplied from the input buffer 13 is also referred to as DSD data.
  • the control unit 14 controls the overall operation of the compression encoding apparatus 1.
  • the control unit 14 has a function of creating a conversion table table1 necessary for the encoding unit 15 to perform compression encoding and supplying the conversion table table1 to the encoding unit 15.
  • control unit 14 creates a data generation count table pretable using one frame of DSD data supplied from the input buffer 13, and further creates a conversion table table1 from the data generation count table pretable.
  • the control unit 14 supplies the created conversion table table1 to the encoding unit 15 and the data transmission unit 18.
  • the conversion table table1 is created (updated) in units of one frame and supplied to the encoding unit 15.
  • the encoding unit 15 uses the conversion table table1 supplied from the control unit 14 to compress and encode the DSD data supplied from the input buffer 13 in units of 4 bits. Accordingly, the DSD data is supplied from the input buffer 13 to the control unit 14 at the same time as the encoding unit 15 is supplied to the control unit 14, but the encoding unit 15 waits until the conversion table is supplied from the control unit 14.
  • the encoding unit 15 encodes 4-bit DSD data into 2-bit data or 6-bit data, The data is output to the encoded data buffer 16.
  • the encoded data buffer 16 temporarily buffers compressed data that is DSD data compression-encoded by the encoding unit 15 and supplies the compressed data to the data amount comparison unit 17 and the data transmission unit 18.
  • the data amount comparison unit 17 compares the data amount of the DSD data (hereinafter also referred to as uncompressed data) supplied from the input buffer 13 and the compressed data supplied from the encoded data buffer 16 in units of frames. Since the encoding unit 15 encodes 4-bit DSD data into 2-bit data or 6-bit data as described above, the amount of data after compression is the amount of data before compression on the algorithm. It is because it may exceed. Therefore, the data amount comparison unit 17 compares the data amounts of the compressed data and the non-compressed data, selects the one with the smaller data amount, and supplies the data transmission unit 18 with selection control data indicating which one has been selected. .
  • the data amount comparison unit 17 also supplies uncompressed data to the data transmission unit 18 when supplying selection control data indicating that uncompressed data has been selected to the data transmission unit 18.
  • the selection control data can be said to be a flag indicating whether or not the audio data transmitted from the data transmission unit 18 is data that has been compression-encoded by the encoding unit 15 when viewed from the receiving-side device that receives the transmission data. .
  • the data transmission unit 18 selects either compressed data supplied from the encoded data buffer 16 or uncompressed data supplied from the data amount comparison unit 17. Either one is selected, and the selected control data is transmitted to the partner apparatus via the output unit 19 together with the selection control data.
  • the data transmission unit 18 when transmitting the compressed data, the data transmission unit 18 also adds the data of the conversion table table1 supplied from the control unit 14 to the compressed data and transmits the compressed data.
  • the data transmission unit 18 can transmit the transmission data by adding a synchronization signal and an error correction code (ECC) to a digital signal for each predetermined number of samples.
  • ECC error correction code
  • the control unit 14 creates a data generation count table pretable for one frame of DSD data, and represents the DSD data supplied from the input buffer 13 in units of 4 bits as follows. ... D4 [n-3], D4 [n-2], D4 [n-1], D4 [n], D4 [n + 1], D4 [n + 2], D4 [n + 3], ...
  • D4 [n] represents 4-bit continuous data, and is hereinafter also referred to as D4 data (n> 3).
  • the control unit 14 counts the number of occurrences of D4 data next to the past three D4 data (past 12-bit data), and creates a data generation count table pretable [4096] [16] shown in FIG.
  • [4096] and [16] of the data generation count table pretable [4096] [16] indicate that the data generation count table is a table (matrix) having 4096 rows and 16 columns, and [0] to [4095].
  • the number of times “0” was 369a (HEX notation), indicating that there was no other data.
  • the number of times was 10 times, the number of times “3” was 18 times, the number of times “4” was 20 times, the number of times “5” was 31 times, and “6” 11 times, “7” was 0 times, “8” was 4 times, “9” was 12 times, “ This indicates that the number of times “10” was 5 and the number of times “11” to “15” was 0.
  • control unit 14 counts the number of occurrences of D4 data next to the past three D4 data (past 12-bit data) for one frame of DSD data, and generates a data generation count table pretable.
  • the control unit 14 creates a conversion table table1 [4096] [3] of 4096 rows and 3 columns based on the previously generated data generation count table pretable.
  • each row [0] to [4095] of the conversion table table1 [4096] [3] corresponds to a value that can be taken by the past three D4 data
  • each column [0] to [2] includes the following: Of the 16 values that can be taken by the D4 data, three values having a high occurrence frequency are stored.
  • the first column [0] of the conversion table table1 [4096] [3] stores the value with the highest occurrence frequency (first), and the second column [1] has the second occurrence frequency value. Is stored, and the third column [2] stores the value of the third occurrence frequency.
  • FIG. 3 shows an example of the conversion table table1 [4096] [3] corresponding to the data generation count table pretable shown in FIG.
  • the table1 [117] [0] to [117] [2], which are the 118th line of the conversion table table1 [4096] [3], are ⁇ 05, 04, 03 ⁇ . This corresponds to the contents of pretable [117] [0] to [117] [15] on line 118 of the data generation count table pretable in FIG.
  • the most frequently occurring (first) value is “5” generated 31 times.
  • the second value of occurrence frequency is “4” generated 20 times
  • the third value of occurrence frequency is “3” generated 18 times.
  • ⁇ 05 ⁇ is stored in the 118th row, first column table1 [117] [0] of the conversion table table1 [4096] [3], and the 118th row, second column table1 [117] [1].
  • ⁇ 04 ⁇ is stored, and ⁇ 03 ⁇ is stored in the 118th row, third column table1 [117] [2].
  • table1 [0] [0] to [0] [2] on the first row of the conversion table table1 [4096] [3] are pretable [0] on the first row of the data generation count table pretable of FIG. This corresponds to the contents of [0] to [0] [15].
  • pretable [0] [0] to [0] [15] in the first row of the data generation count table pretable in FIG. 2 the most frequently occurring (first) value occurs 369a (HEX notation) times. “0” and no other value is generated. Therefore, ⁇ 00 ⁇ is stored in the first row and first column table1 [0] [0] of the conversion table table1 [4096] [3], and the first row and second column table1 [0] [1] and the first row are stored. In the first row and third column table1 [0] [2], ⁇ ff ⁇ indicating that no data exists is stored. The value indicating that data does not exist is not limited to ⁇ ff ⁇ and can be determined as appropriate. Since the value stored in each element of the conversion table table1 is one of “0” to “15”, it can be expressed in 4 bits, but it is expressed in 8 bits for ease of handling in terms of computer processing. Has been.
  • the conversion table table1 [4096] [3] of 4096 rows and 3 columns is created based on the previously generated data generation count table pretable and supplied to the encoding unit 15.
  • the case where the encoding unit 15 encodes D4 [n] will be described.
  • the encoding unit 15 converts the previous 12-bit data D4 [n-3], D4 [n-2], and D4 [n-1] immediately before 12 into a group of 12 bits. Assuming bit data, three values of the address (row) indicated by D4 [n-3], D4 [n-2], D4 [n-1] in the conversion table table1 [4096] [3] table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [2] Search for.
  • the encoding unit 15 includes three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the conversion table table1 [4096] [3].
  • table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [0] table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [2]
  • the encoding unit 15 has three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the conversion table table1 [4096] [3]. If there is no same thing in As in “00b + D4 [n]”, “00b” is added before D4 [n] to convert it to 6 bits.
  • b in “01b”, “10b”, “11b”, and “00b + D4 [n]” represents binary notation.
  • the encoding unit 15 converts the 4-bit DSD data D4 [n] into 2-bit data “01b”, “10b”, or “11b” using the conversion table table1, or , Converted into 6-bit data “00b + D4 [n]” and output to the encoded data buffer 16.
  • FIG. 4 is a diagram illustrating a configuration example of the encoding unit 15 that performs the above-described compression encoding.
  • the 4-bit DSD data (for example, D4 [n]) supplied from the input buffer 13 is stored in the register 51 that stores 4 bits.
  • the output of the register 51 is connected to one input terminal 56a of the selector 55 and a register 52 for storing 12 bits.
  • the register 52 stores the data immediately before the 4-bit DSD data stored in the register 51.
  • the past 12-bit data (for example, D4 [n-3], D4 [n-2], D4 [n-1]) is stored.
  • the conversion table processing unit 53 has a conversion table table1 supplied from the control unit 14.
  • the conversion table processing unit 53 includes three values of addresses indicated by 12-bit data (for example, D4 [n-3], D4 [n-2], D4 [n-1]) stored in the register 52, table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [2] Are searched for whether there is 4-bit data (for example, D4 [n]) stored in the register 51, and if there is, the value corresponding to the column in which the same value is stored, That is, “01b”, “10b”, or “11b” is stored in the 2-bit register 54.
  • the data stored in the 2-bit register 54 is supplied to one input terminal 56 c of the selector 55.
  • the conversion table processing unit 53 uses three bits of addresses indicated by 12-bit data (for example, D4 [n-3], D4 [n-2], D4 [n-1]) stored in the register 52. If there is no 4-bit data (for example, D4 [n]) stored in the register 51 in the value, a signal indicating that no conversion is performed (hereinafter referred to as no conversion signal) is selected by the selector 55. Output to.
  • the selector 55 selects one of the three input terminals 56 a to 56 c and outputs data acquired from the selected input terminal 56 from the output terminal 57.
  • the selector 55 selects the input terminal 56b, outputs “00b” from the output terminal 57, and then selects the input terminal 56a. Then, 4-bit DSD data (for example, D4 [n]) stored in the register 51 is output from the output terminal 57. As a result, 6 bits “00b + D4 [n]” output when the conversion table table1 does not have the same D4 [n] are output from the output terminal 57.
  • the selector 55 selects the input terminal 56c and is supplied from the register 54.
  • 2-bit conversion data is output from the output terminal 57.
  • two bits that are output when there is the same D4 [n] in the conversion table table1, that is, “01b”, “10b”, or “11b” are output from the output terminal 57. .
  • step S1 the control unit 14 counts the number of occurrences of D4 data next to the past three D4 data (past 12-bit data) for one frame of DSD data, and generates a data generation count table. Create a pretable.
  • step S2 the control unit 14 creates a conversion table table1 having 4096 rows and 3 columns based on the created data occurrence count table pretable.
  • the control unit 14 supplies the created conversion table table1 to the encoding unit 15 and the data transmission unit 18.
  • step S3 the encoding unit 15 performs compression encoding on the DSD data for one frame period using the conversion table table1. Specifically, the encoding unit 15 converts the 4-bit DSD data D4 [n] into 2-bit data “01b”, “10b”, or “11b”, or 6-bit data “00b +” The process of converting to D4 [n] ”is performed on the DSD data for one frame period. The compressed data obtained by the compression encoding is supplied to the encoded data buffer 16 and the data amount comparison unit 17.
  • step S ⁇ b> 4 the data amount comparison unit 17 compares the data amount of one frame of uncompressed data supplied from the input buffer 13 with the data amount of one frame of compressed data supplied from the encoded data buffer 16. It is determined whether or not it has been reduced than before compression.
  • step S4 If it is determined in step S4 that the data amount has been reduced from before compression, the process proceeds to step S5, and the data amount comparison unit 17 sends selection control data indicating that the compressed data has been selected to the data transmission unit 18. Supply.
  • step S ⁇ b> 6 the data transmission unit 18 supplies the selection control data (a flag indicating compression-encoded data) indicating that the compressed data has been selected and the compressed data supplied from the encoding unit 15 from the control unit 14.
  • the data of the converted conversion table table1 (conversion table data) is added and transmitted to the partner apparatus.
  • step S4 determines whether the data amount has been reduced than before compression. If it is determined in step S4 that the data amount has not been reduced than before compression, the process proceeds to step S7, and the data amount comparison unit 17 selects selection control data indicating that uncompressed data has been selected. The data is supplied to the data transmitter 18 together with the uncompressed data.
  • step S8 the data transmitting unit 18 transmits selection control data (a flag indicating uncompressed data) indicating that uncompressed data has been selected and uncompressed data to the counterpart device.
  • selection control data a flag indicating uncompressed data
  • steps S1 to S8 described above are repeatedly performed on DSD data in units of one frame that are sequentially supplied from the input buffer 13.
  • FIG. 6 illustrates a configuration example of the first embodiment of the decoding device according to the present disclosure.
  • 6 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the audio signal transmitted after compression encoding by the compression encoding apparatus 1 in FIG. 1 is transmitted through a network (not shown) (for example, LAN (Local Area Network), WAN (Wide Area Network), Internet, telephone line network, satellite communication network, etc.
  • the data is received by the input unit 71 of the decoding device 70 via the public line network and the like and supplied to the data receiving unit 72.
  • the data receiving unit 72 separates the synchronization signal included in the received data, and detects and corrects transmission errors that occur during network transmission.
  • the data reception unit 72 determines whether or not the audio signal is compression-encoded based on selection control data included in the reception data and indicating whether or not the audio signal is compression-encoded.
  • the data receiving unit 72 supplies the received compressed data to the encoded data buffer 73.
  • the data receiving unit 72 supplies the received uncompressed data to the output buffer 76.
  • the data receiving unit 72 supplies the data (conversion table data) of the conversion table table1 included in the received data to the table storage unit 75.
  • the table storage unit 75 stores the conversion table table1 supplied from the data receiving unit 72 and supplies it to the decoding unit 74 as necessary.
  • the encoded data buffer 73 temporarily stores the compressed data supplied from the data receiving unit 72 and supplies the compressed data to the subsequent decoding unit 74 at a predetermined timing.
  • the decoding unit 74 decodes the compressed data to a state before compression (reversible decoding) and supplies it to the output buffer 76.
  • a decoding method by the decoding unit 74 will be described.
  • E2 [n] represents 2-bit continuous data and is also referred to as E2 data.
  • the decoding unit 74 first determines the value of E2 [n].
  • E2 [n] is “00b”
  • the data is not mounted in the received conversion table table1 [4096] [3], so the next 4-bit data “E2 [n +] after E2 [n] 1] + E2 [n + 2] ”is the data to be decoded.
  • E2 [n] is “01b”, “10b”, or “11b”, it is the data mounted in the received conversion table table1 [4096] [3], so it was decoded immediately before Using the 12-bit D4 data D4 [n-3], D4 [n-2], and D4 [n-1], the conversion table table1 [4096] [3] is referenced to search for data to be decoded.
  • the data to be decoded is the data stored in “table1 [D4 [n-3], D4 [n-2], D4 [n ⁇ 1]] [E2 [n] ⁇ 1]”.
  • the decoding unit 74 can decode (reversible decoding) the compressed data to the state before compression.
  • the decoding unit 74 includes a 2-bit register 91, a 12-bit register 92, a conversion table processing unit 93, a 4-bit register 94, and a selector 95, as shown in FIG.
  • the 2-bit E2 data (for example, E2 [n]) supplied from the encoded data buffer 73 is stored in the register 91.
  • the 12-bit register 92 is supplied with the output of the selector 95, and the register 92 decodes immediately before the 2-bit E2 data (for example, E2 [n]) stored in the register 91. 12-bit data (for example, D4 [n-3], D4 [n-2], D4 [n-1]) is stored.
  • the conversion table processing unit 93 When the 2-bit E2 data (for example, E2 [n]) stored in the register 91 is “01b”, “10b”, or “11b”, the conversion table processing unit 93 is supplied from the table storage unit 75. Register the 4-bit data stored in “table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [E2 [n] -1]” of the converted conversion table table1 94. The selector 95 selects the input terminal 96b, and outputs the data stored in the register 94 from the output terminal 97 as a decoding result.
  • the output buffer 76 appropriately selects either the uncompressed data supplied from the data receiving unit 72 or the decoded data supplied from the decoding unit 74, and supplies the selected data to the analog filter 77.
  • the analog filter 77 performs predetermined filter processing such as a low-pass filter and a band-pass filter on the decoded data supplied from the output buffer 76, and outputs the result from the output unit 78.
  • predetermined filter processing such as a low-pass filter and a band-pass filter
  • step S21 the data receiving unit 72 determines whether the received data is compression-encoded compressed data based on selection control data included in the received data.
  • step S21 If it is determined in step S21 that the received data is compressed data, the process proceeds to step S22, and the data receiving unit 72 supplies the conversion table data included in the received data to the table storage unit 75.
  • the conversion table processing unit 93 acquires the received conversion table table1 via the table storage unit 75.
  • step S 22 the compressed data included in the received data is supplied to the encoded data buffer 73.
  • step S23 the decoding unit 74 decodes the compressed data supplied from the encoded data buffer 73 using the conversion table table1, and supplies the decoded data to the output buffer 76. That is, when the 2-bit E2 data (for example, E2 [n]) is “00b”, the decoding unit 74 performs the next 4-bit data “E2 [n + 1] + E2 [n] after E2 [n].
  • step S21 if it is determined in step S21 that the received data is not compressed data, that is, uncompressed data, the process proceeds to step S24, and the data receiving unit 72 includes the uncompressed data included in the received data. Is supplied to the output buffer 76.
  • uncompressed data or data decoded by the decoding unit 74 is supplied to the output buffer 76, and the data supplied to the output buffer 76 is output to the analog filter 77.
  • step S25 the analog filter 77 performs a predetermined filter process on the data supplied via the output buffer 76.
  • the filtered audio signal is output from the output unit 78.
  • the above processing is repeatedly executed for the audio signal in units of one frame.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data transmitted after being compressed and encoded. Decrypt and output.
  • the data itself of the conversion table table1 used for compression encoding is also transmitted as transmission data.
  • FIG. 8 illustrates a configuration example of the second embodiment of the compression encoding device according to the present disclosure.
  • the compression coding apparatus 1 according to the second embodiment has one control unit 14.
  • the conversion table compression unit 101 is newly provided in the unit.
  • the conversion table table1 [4096] [3] of 4096 rows and 3 columns created by the control unit 14 is transmitted together with the compressed data without being compressed as the conversion table data. .
  • the data amount of the conversion table table1 may be larger than the data amount of the compressed data.
  • the conversion table compression unit 101 can be provided as in the second embodiment.
  • the conversion table compression unit 101 creates compressed conversion table data obtained by compressing the data of the conversion table table1 by compressing the data of the conversion table table1 by a predetermined compression method or creating difference data of the conversion table table1. To the data transmission unit 18.
  • the data transmission unit 18 transmits the compression conversion table data to the partner apparatus together with the compression data and the like instead of the conversion table data in the first embodiment.
  • FIG. 9 illustrates a configuration example of the second embodiment of the decoding device according to the present disclosure.
  • the decoding device 70 in FIG. 9 is a device that receives and decompresses (losslessly decodes) an audio signal that has been compressed and transmitted by the compression encoding device 1 in FIG.
  • the decoding device 70 of the second embodiment includes a data receiving unit 72 and a table storage unit 75. In the middle, a conversion table decompression unit 111 is newly provided.
  • the conversion table decompression unit 111 performs decompression processing corresponding to the compression processing performed by the conversion table compression unit 101 in FIG. 8 on the compression conversion table data supplied from the data reception unit 72.
  • the conversion table table1 obtained as a result of the decompression process is supplied to the table storage unit 75 as in the first embodiment.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted, and is reversible. Decrypt and output.
  • the data of the conversion table table1 used for compression encoding is compressed and transmitted as transmission data.
  • FIG. 10 illustrates a configuration example of the third embodiment of the compression encoding device according to the present disclosure.
  • the control unit 14 When comparing the compression coding apparatus 1 of FIG. 10 with the compression coding apparatus 1 of the first embodiment shown in FIG. 1, in the compression coding apparatus 1 of the third embodiment, the control unit 14 A plurality of conversion tables table1 are provided.
  • the control unit 14 stores three types of conversion tables table1 including a conversion table table1-1, a conversion table table1-2, and a conversion table table1-3. Is not limited.
  • the conversion table table1 which is created based on the data generation count table pretable, has little difference depending on the content. This is presumably because even if the order of occurrence frequency is slightly different, there is no significant difference in patterns with high occurrence frequency.
  • a plurality of types of conversion tables table1 are created in advance using a plurality of contents, stored in the control unit 14, and appropriately selected to perform compression encoding. It can be configured.
  • the control unit 14 functions as a storage unit that stores a plurality of types of conversion tables table1 created in advance.
  • the ADC 12 that performs ⁇ modulation may have different characteristics depending on the manufacturer that provides it. Therefore, the plurality of conversion tables table1 stored in the control unit 14 may correspond to a manufacturer that provides the ADC 12.
  • the plurality of conversion tables table1 stored in advance in the control unit 14 are commonly held in the decoding side apparatus.
  • the conversion table table1 of the transmission content itself is created and transmitted in real time in units of one frame.
  • the conversion table of the transmission content itself is transmitted. It is not necessary to create table1.
  • the control unit 14 selects a conversion table table1 most suitable for the DSD data supplied from the input buffer 13 from a plurality of conversion tables table1 stored in advance, and designates the selected conversion table table1.
  • the designated data is supplied to the data transmitter 18.
  • the data transmission unit 18 transmits the conversion table designation data to the partner apparatus together with the compressed data and the like instead of the conversion table data in the first embodiment.
  • the control unit 14 sequentially supplies each of the plurality of conversion tables table1 to the encoding unit 15 for compression encoding, thereby confirming the compression rate of each of the plurality of conversion tables table1. Then, the control unit 14 supplies the conversion table table1 having the highest compression ratio to the encoding unit 15 as the conversion table table1 to be used, and also supplies the data transmission unit 18 with conversion table specification data for specifying the selected conversion table table1. To do.
  • control unit 14 has, for example, the same encoding function as the encoding unit 15, compresses and encodes the DSD data supplied from the input buffer 13 by each of the plurality of conversion tables table 1, and converts the data with the highest compression rate.
  • the table table1 may be determined.
  • the timing for selecting one of the plurality of conversion tables table1 may be in units of frames or in units of contents. That is, after compression encoding with all the conversion tables table1 in only the first frame of the content to be transmitted and determining the conversion table table1 with the highest compression rate, the content is compressed and encoded with the same conversion table table1.
  • the conversion table table1 having the highest compression ratio may be determined by compressing and encoding with all the conversion tables table1 in units of one frame or several frames.
  • FIG. 11 illustrates a configuration example of the third embodiment of the decoding device according to the present disclosure.
  • 11 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the table storage unit 75 stores the compressed code of FIG.
  • a plurality of conversion tables table1 conversion table table1-1, conversion table table1-2, conversion table table1-3 which are the same as those stored in the control unit 14 of the conversion apparatus 1 are stored.
  • the data receiving unit 72 supplies the conversion table designation data included in the received data to the table storage unit 75.
  • the table storage unit 75 decodes the conversion table table1 (one of the conversion table table1-1, the conversion table table1-2, or the conversion table table1-3) indicated by the conversion table designation data supplied from the data receiving unit 72 74.
  • the compression encoding device 1 compresses and transmits DSD data, and the decoding device 70 receives the transmission data that has been compressed and transmitted. Decrypt and output.
  • the conversion table table1 used for compression encoding is stored in advance.
  • FIG. 12 illustrates a configuration example of the fourth embodiment of the compression encoding device according to the present disclosure.
  • the control unit 14 includes: In addition to the same first conversion table table1 as the conversion table table1, the second conversion table table2 is also created.
  • the control unit 14 supplies the created first conversion table table1 and second conversion table table2 to the encoding unit 15 and the data transmission unit 18.
  • the first conversion table table1 and the second conversion table table2 are collectively referred to as a two-stage conversion table table.
  • the compression coding apparatus 1 stores the top three values of the occurrence frequency from the data generation count table pretable in the conversion table table1, and otherwise, the next to “00b”. D4 data was added as is and transmitted in 6 bits.
  • a second conversion table table2 for storing the fourth to sixth highest values of occurrence frequency is further created from the data generation count table pretable.
  • FIG. 13 shows an example of the second conversion table table2 [4096] [3] created from the data generation count table pretable shown in FIG.
  • the fourth value of the occurrence frequency is “9” that occurred 12 times, and the occurrence frequency
  • the fifth value is “6” generated 11 times, and the sixth value is “2” generated 10 times.
  • the case where the encoding unit 15 encodes D4 [n] will be described.
  • the encoding unit 15 converts the previous 12-bit data D4 [n-3], D4 [n-2], and D4 [n-1] immediately before 12 into a group of 12 bits.
  • the encoding unit 15 has three values of the address (row) indicated by D4 [n-3], D4 [n-2], D4 [n-1], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [2] Is the same as D4 [n], If table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [0] is the same, D4 [n] is converted to “01b” and 2 bits, If the same as table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], D4 [n] is converted to “10b” and 2 bits, If it is the same as table1 [D4 [n-3], D4 [n-2], D4 [n-1]] [2], D4 [n] is converted to “11b”
  • the encoding unit 15 includes three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the second conversion table table2 [4096] [3].
  • table2 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], table2 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table2 [D4 [n-3], D4 [n-2], D4 [n-1]] [2] Is the same as D4 [n], If it is the same as table2 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], D4 [n] is converted to “0001b” and 4 bits, If it is the same as table2 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], D4 [n] is converted to “0010b” and 4 bits, If it is the same as table2 [D4 [n-3], D4 [n-2],
  • the encoding unit 15 adds “0000b” before D4 [n] and converts it to 8 bits, such as “0000b + D4 [n]”.
  • “0001b”, “0010b”, “0011b”, “0000b + D4 [n]”, b represents binary notation.
  • the encoding unit 15 can compress and encode the DSD data supplied from the input buffer 13 using both the first conversion table table1 and the second conversion table table2.
  • the data amount comparison unit 17 compresses and compresses compressed data using both the DSD data supplied from the input buffer 13 and the first conversion table table1 and the second conversion table table2 supplied from the encoded data buffer 16. The data amount is compared, the smaller one is selected, and selection control data indicating which one is selected is supplied to the data transmission unit 18.
  • the encoding unit 15 can also compress and encode DSD data using only the first conversion table table1 of the first conversion table table1 and the second conversion table table2.
  • control unit 14 confirms the compression rate of compression encoding using only the first conversion table table1 and compression encoding using both the first conversion table table1 and the second conversion table table2. Then, the control unit 14 can supply the higher compression ratio to the encoding unit 15 as a conversion table table to be used and also to the data transmission unit 18.
  • FIG. 14 illustrates a configuration example of the fourth embodiment of the decoding device according to the present disclosure.
  • the table storage unit 75 stores the compressed code of FIG. The difference is that both the first conversion table table1 and the second conversion table table2 transmitted from the conversion apparatus 1 are stored.
  • a decoding method using the first conversion table table1 and the second conversion table table2 performed by the decoding unit 74 according to the fourth embodiment will be described.
  • the compressed data that has been compressed and transmitted by the compression encoding device 1 is ... E2 [n-3], E2 [n-2], E2 [n-1], E2 [n], E2 [n + 1], E2 [n + 2], E2 [n + 3], ...
  • E2 [n] is decoded.
  • the decoding unit 74 first determines the value of E2 [n].
  • E2 [n + 1] is also “00b”
  • the data is not mounted in the received second conversion table table2 [4096] [3], so the next 4 bits of E2 [n + 1]
  • the data “E2 [n + 2] + E2 [n + 3]” is data to be decoded.
  • E2 [n + 1] is “01b”, “10b”, or “11b”
  • the data is mounted in the received second conversion table table2 [4096] [3].
  • the second conversion table table2 [4096] [3] is referred to for decoding. Search for data that should be.
  • the data to be decoded is the data stored in “table2 [D4 [n-3], D4 [n-2], D4 [n ⁇ 1]] [E2 [n + 1] ⁇ 1]”.
  • E2 [n] is “01b”, “10b”, or “11b”
  • the data is mounted in the received first conversion table table1 [4096] [3].
  • Data to be decoded with reference to the first conversion table table1 [4096] [3] using the decoded 12-bit D4 data D4 [n-3], D4 [n-2], D4 [n-1] Search for.
  • the data to be decoded is the data stored in “table1 [D4 [n-3], D4 [n-2], D4 [n ⁇ 1]] [E2 [n] ⁇ 1]”.
  • the decoding unit 74 can decode (reversibly decode) the compressed data to the state before compression using the first conversion table table1 and the second conversion table table2.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted, and is reversible. Decrypt and output.
  • the first conversion table table1 and the second conversion table table2 themselves used for compression encoding are transmitted as transmission data.
  • FIG. 15 illustrates a configuration example of the fifth embodiment of the compression encoding device according to the present disclosure.
  • the compression coding apparatus 1 according to the fifth embodiment shown in FIG. 15 is different from the compression coding apparatus 1 according to the fourth embodiment shown in FIG. 12 in the second embodiment shown in FIG.
  • the configuration of the conversion table compression unit 101 is added.
  • the control unit 14 uses the first conversion table table1 and the second conversion table from one frame of DSD data, as in the fourth embodiment described above. Create table2.
  • the conversion table compression unit 101 creates compressed conversion table data obtained by compressing the data of the first conversion table table1 and the second conversion table table2, and supplies the compressed data to the data transmission unit 18.
  • FIG. 16 illustrates a configuration example of the fifth embodiment of the decoding device according to the present disclosure.
  • 16 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the conversion table decompression unit 111 performs decompression processing corresponding to the compression processing performed by the conversion table compression unit 101 in FIG. 15 on the compression conversion table data supplied from the data reception unit 72. By the expansion process, the first conversion table table1 and the second conversion table table2 are obtained. The obtained first conversion table table1 and second conversion table table2 are supplied to the table storage unit 75 and used for the decoding process performed by the decoding unit 74 as described in the fourth embodiment.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data transmitted after being compressed and encoded. Decrypt and output.
  • the first conversion table table1 and the second conversion table table2 used for compression encoding are compressed and transmitted as transmission data.
  • FIG. 17 illustrates a configuration example of the sixth embodiment of the compression encoding device according to the present disclosure.
  • the compression encoding apparatus 1 according to the sixth embodiment shown in FIG. 17 includes a first conversion table table1 and a second conversion table table2 adopted by the compression encoding apparatus 1 according to the fourth embodiment shown in FIG.
  • the two-stage conversion table has a configuration in which a plurality of types are prepared and stored in advance.
  • the control unit 14 has three types of two-stage conversion table tables, specifically, the first conversion table table1-1 and the second conversion table table2-1.
  • the first conversion table table1-2 and the second conversion table table2-2, and the first conversion table table1-3 and the second conversion table table2-3 are stored in advance.
  • the control unit 14 selects the two-stage conversion table table most suitable for the DSD data supplied from the input buffer 13 from the three types of two-stage conversion table tables stored in advance, that is, the two-stage conversion table having the highest compression rate. Select the conversion table table. Then, the control unit 14 supplies conversion table designation data for designating the selected two-stage conversion table table to the data transmission unit 18.
  • the one-stage conversion table table to be used can be determined by comparing the compression rates.
  • FIG. 18 illustrates a configuration example of the sixth embodiment of the decoding device according to the present disclosure.
  • 18 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the table storage unit 75 includes the first conversion table table1-1 and the second conversion table table2-1, the first conversion table table1-2, the second conversion table table2-2, the first conversion table table1-3 and the first conversion table. 2 conversion table table2-3 is stored in advance.
  • the data receiving unit 72 supplies the conversion table designation data included in the received data to the table storage unit 75.
  • the table storage unit 75 supplies the one-stage conversion table table or the two-stage conversion table table indicated by the conversion table designation data supplied from the data receiving unit 72 to the decoding unit 74.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted, and is reversible. Decrypt and output.
  • the first conversion table table1 and the second conversion table table2 used for compression encoding are stored in advance.
  • FIG. 19 illustrates a configuration example of the seventh embodiment of the compression encoding device according to the present disclosure.
  • the configuration of the control unit 14 is the same as that of the fifth embodiment shown in FIG. That is, the control unit 14 creates a two-stage conversion table table, which is a first conversion table table1 and a second conversion table table2, from one frame of DSD data.
  • the conversion table compression unit 101 generates compression conversion table data obtained by compressing the data of the generated first conversion table table1 and second conversion table table2, and supplies the compressed data to the data transmission unit 18.
  • the encoding unit 15 includes a 12-bit reference encoding unit 141, a 16-bit reference encoding unit 142, and a 20-bit reference encoding unit 143. This is different from the fifth embodiment shown in FIG.
  • the 12-bit reference encoding unit 141 is D4 [n-3], which is the previous 12-bit data, just like the compression encoding performed by the encoding unit 15 of the first to sixth embodiments.
  • D4 [n-2] and D4 [n-1] are regarded as a group of 12-bit data, and D4 [n] is encoded.
  • the 16-bit reference encoding unit 142 regards the previous 16-bit data immediately before as a group of 16-bit data, and encodes D4 [n].
  • the 20-bit reference encoding unit 143 regards the previous 20-bit data immediately before as a group of 20-bit data, and encodes D4 [n].
  • the compression encoding method of the 16-bit reference encoding unit 142 and the 20-bit reference encoding unit 143 is the same as that of the 12-bit reference encoding unit 141 except that the number of bits of past data to be referred to when encoding D4 [n] is different. It is.
  • the data compression rate can be further improved by increasing the number of reference bits of past data to 16 bits or 20 bits instead of 12 bits.
  • the number of reference bits of past data is increased, the data amount of the created conversion table table increases exponentially with respect to the number of reference bits of past data.
  • 2 16 65536 patterns
  • control unit 14 determines whether to use the 12-bit reference encoding unit 141, the 16-bit reference encoding unit 142, or the 20-bit reference encoding unit 143 by checking the compression rate, and between the other device. It can be determined according to the state of the communication line, such as network traffic intervening in the network. Alternatively, it may be determined according to a request from the counterpart device.
  • FIG. 20 illustrates a configuration example of the seventh embodiment of the decoding device according to the present disclosure.
  • 20 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the decoding device 70 includes a decoding unit 74 corresponding to the 12-bit reference encoding unit 141, the 16-bit reference encoding unit 142, and the 20-bit reference encoding unit 143 of the compression encoding device 1 of FIG. Have. That is, the decoding unit 74 includes a 12-bit reference decoding unit 161, a 16-bit reference decoding unit 162, and a 20-bit reference decoding unit 163.
  • the data (conversion table data) of the two-stage conversion table table used for the compression encoding of the DSD data in the compression encoding device 1 of FIG. 19 is received by the data reception unit 72 and expanded by the conversion table expansion unit 111. And stored in the table storage unit 75.
  • the table storage unit 75 supplies the two-stage conversion table table supplied from the conversion table decompression unit 111 to the decoding unit 74.
  • any one of the 12-bit reference decoding unit 161, the 16-bit reference decoding unit 162, and the 20-bit reference decoding unit 163 performs a decoding process based on the two-stage conversion table table supplied from the table storage unit 75. Execute. Since the number of reference bits of the past data is known from the difference in the data amount of the two-stage conversion table table, it is uniquely determined which decoding unit should be used for the decoding process.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted, and is reversible. Decrypt and output.
  • compression encoding is performed by selecting any of 12 bits, 16 bits, or 20 bits as the number of reference bits of past data, and two-stage conversion used for compression encoding is performed. Data of table table is compressed and transmitted.
  • FIG. 21 illustrates a configuration example of the eighth embodiment of the compression encoding device according to the present disclosure.
  • the encoding unit 15 has a 12-bit reference encoding unit 141, a 16-bit reference encoding unit 142, and 20 as in the seventh embodiment shown in FIG. A bit reference encoding unit 143 is included.
  • the control unit 14 includes a 12-bit two-stage conversion table table used for encoding performed by the 12-bit reference encoding unit 141, a 16-bit two-stage conversion table table used for encoding performed by the 16-bit reference encoding unit 142, and a 20-bit reference.
  • a 20-bit two-stage conversion table table used for encoding performed by the encoding unit 143 is stored in advance.
  • the compression encoding apparatus 1 can select any of 12 bits, 16 bits, or 20 bits as the number of reference bits of past data, as in the seventh embodiment.
  • the two-stage conversion table table is not created using the DSD data to be transmitted, but is configured to be stored in advance as in the sixth embodiment shown in FIG. .
  • the control unit 14 selects the most frequently stored DSD data supplied from the input buffer 13 from a total of nine types (three types for each reference bit number ⁇ three types of reference bit number) of the two-stage conversion table table.
  • a suitable two-stage conversion table table that is, a two-stage conversion table table having the highest compression rate is selected.
  • compression ratios may be compared by performing compression encoding with all nine types, and a representative one two-stage conversion table table is represented by a predetermined one from each reference bit. It is also possible to extract and compare the compression rates of the reference bit numbers.
  • the control unit 14 supplies the data transmission unit 18 with conversion table designation data for designating the selected two-stage conversion table table.
  • FIG. 22 illustrates a configuration example of the eighth embodiment of the decoding device according to the present disclosure.
  • 22 is a device that receives and decompresses (losslessly decodes) an audio signal that has been compressed and transmitted by the compression encoding device 1 of FIG.
  • the decoding unit 74 corresponds to the 12-bit reference decoding unit 161 and the 16-bit reference corresponding to the 12-bit reference encoding unit 141, the 16-bit reference encoding unit 142, and the 20-bit reference encoding unit 143 of the compression encoding device 1 of FIG.
  • a decoding unit 162 and a 20-bit reference decoding unit 163 are included.
  • the table storage unit 75 has the same three types of two-stage conversion tables as those included in the control unit 14 of the compression encoding apparatus 1 in FIG. 21, that is, a 12-bit two-stage conversion table table, a 16-bit two-stage conversion table table, In addition, a 20-bit two-stage conversion table table is stored in advance.
  • the data receiving unit 72 supplies the conversion table designation data included in the received data to the table storage unit 75.
  • the table storage unit 75 supplies the decoding unit 74 with a two-stage conversion table table indicated by the conversion table designation data supplied from the data receiving unit 72.
  • the decoding unit 74 Based on the two-stage conversion table table supplied from the table storage unit 75, the decoding unit 74 performs decoding by either the 12-bit reference decoding unit 161, the 16-bit reference decoding unit 162, or the 20-bit reference decoding unit 163. Execute the process.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted, and is reversible. Decrypt and output.
  • compression encoding is performed by selecting 12 bits, 16 bits, or 20 bits as the number of reference bits of past data, and two-stage conversion used for compression encoding is performed.
  • the table table is stored in advance.
  • FIG. 23 illustrates a configuration example of the ninth embodiment of the compression encoding device according to the present disclosure.
  • the compression encoding apparatus 1 is configured to perform compression encoding using a one-stage conversion table table1.
  • the compression encoding apparatus 1 is configured to perform compression encoding using the two-stage conversion table table of the first conversion table table1 and the second conversion table table2.
  • the compression encoding apparatus 1 of the ninth embodiment shown in FIG. 23 is a configuration example that performs compression encoding using a Q-stage conversion table table having three or more stages (Q is an integer of Q> 2). ).
  • control unit 14 creates a Q-stage conversion table table from the first conversion table table1 to the Q-th conversion table tableQ, and supplies it to the encoding unit 15.
  • the encoding unit 15 compresses and encodes the DSD data supplied from the input buffer 13 in units of 4 bits using the Q-stage conversion table table supplied from the control unit 14.
  • the conversion unit is 4 bits, and one conversion table table is created (registered) from the first conversion table table1 in descending order of occurrence frequency, so the maximum value of Q in the present embodiment Becomes 5.
  • the configuration of compression encoding for creating the first conversion table table1 to the third conversion table table3, the first conversion table table1 to the fourth conversion table table4, A configuration of compression encoding by creating a first conversion table table1 to a fifth conversion table table5 can be considered.
  • the first conversion table table1 stores the first to third values of the occurrence frequency
  • the second conversion table table2 has the occurrence frequency.
  • the fourth to sixth values are stored
  • the third conversion table table3 stores the seventh to ninth occurrence frequencies
  • the fourth conversion table table4 includes the tenth to twelfth occurrence frequencies.
  • the value is stored
  • the fifth conversion table table5 stores the 13th to 15th values of the occurrence frequency.
  • FIG. 24 illustrates a configuration example of the ninth embodiment of the decoding device according to the present disclosure.
  • 24 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the table storage unit 75 stores the first conversion table table1 to the Qth conversion table tableQ received by the data receiving unit 72 and expanded by the conversion table expansion unit 111, and supplies the first conversion table tableQ to the decoding unit 74.
  • the decoding unit 74 performs decoding using the first conversion table table1 to the Qth conversion table tableQ.
  • the case where the encoding unit 15 encodes D4 [n] will be described.
  • the part from the first conversion table table1 to the second conversion table table2 until the same value as D4 [n] is searched is the same as the compression encoding method using the two-stage conversion table table described in the fourth embodiment. is there.
  • the encoding unit 15 searches whether there is the same value as D4 [n] in the first conversion table table1 [4096] [3] and the second conversion table table2 [4096] [3]. If the same value as D4 [n] is found in the first conversion table table1 [4096] [3], it is converted to 2 bits of “01b”, “10b”, or “11b” 2 If there is the same value in the conversion table table2 [4096] [3], it is converted into 4 bits of “0001b”, “0010b”, or “0011b”.
  • D4 [n-3], D4 [n-2], D4 [n-1] have three values of the address (row) indicated by D4 [n-1]. If there is no same as n], the encoding unit 15 determines that D4 [n-3], D4 [n-2], and D4 [n-1] of the third conversion table table3 [4096] [3] Three values of the address (row) to indicate, table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [2] Search for.
  • the encoding unit 15 includes three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the third conversion table table3 [4096] [3].
  • table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [0] table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [2]
  • Is the same as D4 [n] If the same as table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], convert D4 [n] to “000001b” and 6 bits, If it is the same as table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], D4 [n] is converted to “000010b” and 6 bits, If it is the same as table3 [D4 [n-3], D4 [n-2], D
  • the encoding unit 15 uses the three values of the addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the third conversion table table3 [4096] [3]. If there is no same thing, “000000b” is added before D4 [n] and converted to 10 bits, such as “000000b + D4 [n]”.
  • the compressed data that has been compressed and transmitted by the compression encoding device 1 is ... E2 [n-3], E2 [n-2], E2 [n-1], E2 [n], E2 [n + 1], E2 [n + 2], E2 [n + 3], ...
  • E2 [n] is decoded.
  • the decoding unit 74 refers to the first conversion table table1 [4096] [3] and “table1 [D4 [n-3] , D4 [n-2], D4 [n-1]] [E2 [n] -1] ”.
  • the decoding unit 74 refers to the received second conversion table table2 [4096] [3] and “table2 [D4 [n-3], D4 [n-2], D4 [n-1]] [E2 [n + 1] -1] ”are decoded into data.
  • the decoding unit 74 stores E2 [n + 2]. Determine the value.
  • the decoding unit 74 refers to the received third conversion table table3 [4096] [3] and “table3 [D4 [n-3], D4 [n-2], D4 [n-1]] [E2 [n + 2] -1] ”are decoded into data.
  • E2 [n + 2] is also “00b”
  • the decoding unit 74 uses E2 [n + 2].
  • the next 4-bit data “E2 [n + 3] + E2 [n + 4]” is the data to be decoded.
  • the portion from the first conversion table table1 to the third conversion table table3 until the same value as D4 [n] is searched is the same as the compression encoding method using the above-described three-stage conversion table table, and the description thereof is omitted. .
  • D4 [n-3], D4 [n-2], and D4 [n-1] have three values of the address (row) indicated by D4 [n-1]. If there is no same as n], the encoding unit 15 determines that D4 [n-3], D4 [n-2], and D4 [n-1] of the fourth conversion table table4 [4096] [3] Three values of the address (row) to indicate, table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [2] Search for.
  • the encoding unit 15 includes three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the fourth conversion table table4 [4096] [3].
  • table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [0] table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [2]
  • Is the same as D4 [n] If the same as table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], D4 [n] is converted to “00000001b” and 8 bits, If the same as table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], D4 [n] is converted to “00000010b” and 8 bits, If it is the same as table4 [D4 [n-3], D4 [n-2],
  • the encoding unit 15 has three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the fourth conversion table table4 [4096] [3]. If there is no same item, add “00000000b” in front of D4 [n] and convert it to 12 bits, such as “00000000b + D4 [n]”.
  • E2 [n] is “00b”, “01b”, “10b”, or “11b”
  • E2 [n + 1] is “00b”, “01b”, “10b”, or “11b”
  • the case where E2 [n + 2] is “01b”, “10b”, or “11b” is the same as the decoding method using the above-described three-stage conversion table table, and thus the description thereof is omitted.
  • the decoding unit 74 refers to the received fourth conversion table table4 [4096] [3] and “table4 [D4 [n-3], D4 [n-2], D4 [n-1]] [E2 [n + 3] -1] ”are decoded into data.
  • E2 [n + 3] is also “00b”
  • the data is not mounted on the received fourth conversion table table4 [4096] [3], so the decoding unit 74 uses E2 [n + 3].
  • the next 4-bit data “E2 [n + 4] + E2 [n + 5]” is the data to be decoded.
  • the part from the first conversion table table1 to the fourth conversion table table4 until the same value as D4 [n] is searched is the same as the compression encoding method using the above-described four-stage conversion table table, and the description is omitted. .
  • the encoding unit 15 includes three values of addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the fifth conversion table table5 [4096] [3].
  • table5 [D4 [n-3], D4 [n-2], D4 [n-1]] [0] table5 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], table5 [D4 [n-3], D4 [n-2], D4 [n-1]] [2]
  • Is the same as D4 [n] If the same as table5 [D4 [n-3], D4 [n-2], D4 [n-1]] [0], D4 [n] is converted to “0000000001b” and 10 bits, If it is the same as table5 [D4 [n-3], D4 [n-2], D4 [n-1]] [1], D4 [n] is converted to “0000000010b” and 10 bits, If it is the same as table5 [D4 [n-3], D4 [n
  • the encoding unit 15 uses the three values of the addresses (rows) indicated by D4 [n-3], D4 [n-2], and D4 [n-1] in the fifth conversion table table5 [4096] [3]. If there is no same item, “0000000000b” is added before D4 [n] and converted to 14 bits, such as “0000000000b + D4 [n]”.
  • E2 [n] is “00b”, “01b”, “10b”, or “11b”
  • E2 [n + 1] is “00b”, “01b”, “10b”, or “11b”
  • E2 [n + 2] is “00b”, “01b”, “10b”, or “11b”, and
  • E2 [n + 3] is “01b”, “10b”, or “11b” is the same as the decoding method based on the above-described four-stage conversion table table, and thus the description thereof is omitted.
  • the decoding unit 74 refers to the received fifth conversion table table5 [4096] [3] and “table5 [D4 [n-3], D4 [n-2], D4 [n-1]] [E2 [n + 4] -1] ”are decoded into data.
  • E2 [n + 4] is also “00b”
  • the decoding unit 74 uses E2 [n + 4].
  • the next 4-bit data “E2 [n + 5] + E2 [n + 6]” is the data to be decoded.
  • the number of reference bits of past data is 12 bits.
  • the number of past reference bits is set to 16 bits, 20 bits, or the like. Can be done.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted, and is reversible. Decrypt and output.
  • the data of the Q stage conversion table table used for compression encoding is compressed and transmitted as transmission data.
  • FIG. 25 shows the compression rate when a plurality of contents are compression-encoded by changing the number of stages of the conversion table table and the number of reference bits of past data.
  • the compression rate is maximum, and the value at that time (maximum value) is 50%.
  • the compression rate is improved as the number of stages of the conversion table table is increased from 1 to 2, and (3). Even when the number of reference bits of the past data is increased from 12 bits to 20 bits, the compression rate is slightly improved.
  • FIG. 26 illustrates a configuration example of the tenth embodiment of the compression encoding device according to the present disclosure.
  • control unit 14 performs the first conversion table table1 to the Qth conversion based on the previously generated data generation count table pretable.
  • a table tableQ is created and supplied to the encoding unit 15.
  • the encoding unit 15 includes a 4to2 encoding unit 181 and a 4to1 encoding unit 182.
  • the 4to2 encoding unit 181 refers to the Q-stage conversion table and performs compression encoding for converting DSD data in units of 4 bits into 2 bits, as in the ninth embodiment.
  • the maximum value of Q is 5, but any number of stages from 1 to 5 can be employed.
  • the 4to1 encoding unit 182 refers to the Q-stage conversion table, and performs compression encoding that converts DSD data in units of 4 bits into 1 bit.
  • the maximum value of Q is 16, but any number of stages from 1 to 16 can be employed.
  • the control unit 14 determines whether the 4to2 encoding unit 181 or the 4to1 encoding unit 182 performs compression encoding, and based on the data generation count table pretable created earlier, the first conversion table table1 to the Qth conversion table tableQ. Can be created.
  • control unit 14 determines whether the 4to2 encoding unit 181 or the 4to1 encoding unit 182 performs compression encoding based on the compression rate when the first one frame of DSD data is compression encoded by both. Alternatively, it may be determined based on user settings on a setting screen or the like, or designation from the counterpart device.
  • the number of stages in the conversion table table can be determined as appropriate.
  • FIG. 27 illustrates a configuration example of the tenth embodiment of the decoding device according to the present disclosure.
  • 27 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the table storage unit 75 stores the first conversion table table1 to the Qth conversion table tableQ received by the data receiving unit 72 and expanded by the conversion table expansion unit 111, and supplies the first conversion table tableQ to the decoding unit 74.
  • the decoding unit 74 includes a 4to2 decoding unit 191 and a 4to1 decoding unit 192 corresponding to the 4to2 encoding unit 181 and the 4to1 encoding unit 182 of the compression encoding device 1 of FIG.
  • the decoding unit 74 executes the decoding process by either the 4to2 decoding unit 191 or the 4to1 decoding unit 192 based on the Q-stage conversion table table supplied from the table storage unit 75.
  • each element [0] to [4095] of the first conversion table table1 [4096] corresponds to a value that can be taken by the past three D4 data. Of the 16 values that can be taken by the D4 data, the most frequently occurring (first) value is stored.
  • FIG. 28 shows an example of the first conversion table table1 [4096] when compression encoding is performed by the 4to1 encoding unit 182.
  • pretable [117] [0] to [117] [15] which is the 118th line of the data generation count table pretable
  • the value with the highest occurrence frequency (first) is Therefore, ⁇ 05 ⁇ is stored in the 118th element of the first conversion table table1 [4096].
  • FIG. 29 shows an example of the second conversion table table2 [4096] when compression encoding is performed by the 4to1 encoding unit 182.
  • pretable [117] [0] to [117] [15] which is the 118th line of the data generation count table pretable
  • the second occurrence frequency value is generated 20 times. Therefore, ⁇ 04 ⁇ is stored in the 118th element of the second conversion table table1 [4096].
  • the DSD data supplied from the input buffer 13 is D4 [n-3], D4 [n-2], D4 [n-1], D4 [n], D4 [n + 1], D4 [n + 2], D4 [n + 3], ...
  • the case where the encoding unit 15 encodes D4 [n] will be described.
  • the encoding unit 15 converts the previous 12-bit data D4 [n-3], D4 [n-2], and D4 [n-1] immediately before 12 into a group of 12 bits. Assuming bit data, the value of the address indicated by D4 [n-3], D4 [n-2], D4 [n-1] in the first conversion table table1 [4096], that is, table1 [D4 [n-3], D4 [n-2], D4 [n-1]] Whether the value stored in is the same as D4 [n] is determined.
  • the decoding unit 74 first determines the value of E1 [n].
  • E1 [n] is “1b”
  • the 12-bit D4 data D4 [n-3 decoded immediately before that ], D4 [n-2], D4 [n-1] are used to refer to the first conversion table table1 [4096] and retrieve data to be decoded.
  • the data to be decoded is the data stored in “table1 [D4 [n-3], D4 [n-2], D4 [n-1]]”.
  • the encoding unit 15 converts the previous 12-bit data D4 [n-3], D4 [n-2], and D4 [n-1] immediately before 12 into a group of 12 bits. Assuming bit data, the value of the address indicated by D4 [n-3], D4 [n-2], D4 [n-1] in the first conversion table table1 [4096], that is, table1 [D4 [n-3], D4 [n-2], D4 [n-1]] Whether the value stored in is the same as D4 [n] is determined.
  • the decoding unit 74 first determines the value of E1 [n].
  • the decoding unit 74 determines the value of E1 [n + 1] because the data is not mounted in the received first conversion table table1 [4096].
  • E1 [n + 1] is also “0b”
  • the data is not mounted in the received second conversion table table2 [4096], so the next 4-bit data “E1 [n + 1]” E1 [n + 2] + E1 [n + 3] + E1 [n + 4] + E1 [n + 5] ”is data to be decoded.
  • E1 [n] is “1b”
  • the 12-bit D4 data D4 [n-3 decoded immediately before that ], D4 [n-2], D4 [n-1] are used to refer to the first conversion table table1 [4096] and retrieve data to be decoded.
  • the data to be decoded is the data stored in “table1 [D4 [n-3], D4 [n-2], D4 [n-1]]”.
  • E1 [n + 1] is “1b”
  • the second conversion table table2 [4096] is referenced to search for data to be decoded.
  • the data to be decoded is the data stored in “table2 [D4 [n-3], D4 [n-2], D4 [n-1]]”.
  • the parts from the first conversion table table1 to the fifteenth conversion table table15 that are searched for the same value as D4 [n] are the same as described above, and are omitted.
  • the 16th conversion table table16 [ 4096] the address value indicated by D4 [n-3], D4 [n-2], D4 [n-1], that is, table16 [D4 [n-3], D4 [n-2], D4 [n-1]] Therefore, the encoding unit 15 converts D4 [n] into “0000000000000001b” and 16 bits.
  • E1 [n] to E1 [n + 15] are all “0b”
  • the received data is not mounted in any of the first conversion table table1 [4096] to the fifteenth conversion table table15 [4096]. Therefore, the data is mounted in the sixteenth conversion table table16 [4096]. Therefore, the 16th conversion table table16 [4096] should be referred to using the 12-bit D4 data D4 [n-3], D4 [n-2], D4 [n-1] decoded immediately before. Search for data.
  • the data to be decoded is the data stored in “table16 [D4 [n-3], D4 [n-2], D4 [n-1]]”.
  • the compression encoding apparatus 1 compresses and transmits DSD data
  • the decoding apparatus 70 receives the transmission data transmitted after being compressed and encoded. Decrypt and output.
  • either compression encoding that converts 4-bit DSD data into 2 bits or compression encoding that converts 4-bit DSD data into 1 bit can be selected.
  • Data of the Q stage conversion table table used for compression encoding is compressed and transmitted as transmission data.
  • FIG. 30 illustrates a configuration example of the eleventh embodiment of the compression encoding device according to the present disclosure.
  • the encoding unit 15 includes a 4to2 encoding unit 181 and a 4to1 encoding unit 182 as in the tenth embodiment shown in FIG.
  • the control unit 14 stores in advance a 4to2 conversion table table used for encoding performed by the 4to2 encoding unit 181 and a 4to1 conversion table table used for encoding performed by the 4to1 encoding unit 182.
  • the compression coding apparatus 1 in the eleventh embodiment refers to the Q-stage conversion table as in the tenth embodiment, and performs compression coding that converts 4-bit DSD data into 2 bits. Although it has a configuration that can select either compression encoding that converts 4-bit DSD data to 1-bit, the Q-stage conversion table table is not created using the DSD data to be transmitted, but is shown in FIG. Similarly to the sixth embodiment and the like, it is configured to store in advance.
  • the control unit 14 determines whether the 4to2 encoding unit 181 or the 4to1 encoding unit 182 performs compression encoding, and supplies the encoding unit 15 with the 4to2 conversion table table or the 4to1 conversion table table corresponding to the determination result.
  • control unit 14 supplies the conversion table designation data for designating the selected conversion table table to the data transmission unit 18.
  • FIG. 31 illustrates a configuration example of the eleventh embodiment of the decoding device according to the present disclosure.
  • 31 is an apparatus that receives and decompresses (losslessly decodes) an audio signal that has been compression-encoded and transmitted by the compression-encoding apparatus 1 of FIG.
  • the decoding unit 74 includes a 4to2 decoding unit 191 and a 4to1 decoding unit 192 corresponding to the 4to2 encoding unit 181 and the 4to1 encoding unit 182 of the compression encoding device 1 of FIG.
  • the table storage unit 75 stores in advance the same 4to2 conversion table table and 4to1 conversion table table that the control unit 14 of the compression encoding device 1 of FIG. 30 has.
  • the data receiving unit 72 supplies the conversion table designation data included in the received data to the table storage unit 75.
  • the table storage unit 75 supplies either the 4to2 conversion table table or the 4to1 conversion table table indicated by the conversion table designation data supplied from the data receiving unit 72 to the decoding unit 74.
  • the decoding unit 74 executes a decoding process by the 4to2 decoding unit 191 or the 4to1 decoding unit 192 based on the 4to2 conversion table table or the 4to1 conversion table table supplied from the table storage unit 75.
  • the compression encoding device 1 compresses and transmits DSD data
  • the decoding device 70 receives the transmission data that has been compressed and transmitted. Decrypt and output.
  • either compression encoding that converts 4-bit DSD data into 2 bits or compression encoding that converts 4-bit DSD data into 1 bit can be selected.
  • Data of the Q stage conversion table table used for compression encoding is stored in advance.
  • FIG. 32 shows the processing results by the 4to2 encoding unit 181 and the 4to1 encoding unit 182.
  • the 4to1 encoding unit 182 It can be seen that the compression rate can be further increased by compressing and encoding 4 bits into 1 bit.
  • the digital signal (DSD data) ⁇ -modulated by the ADC 12 is converted into a 2-bit code using a data conversion table table based on the data generation frequency.
  • DSD data digital signal
  • a data conversion table table based on the data generation frequency.
  • the compression encoding device 1 compresses and encodes, for example, by converting 8 bits into a 4-bit code, and the decoding device 70 decompresses the code encoded by the compression encoding device 1 (lossless decoding). ) Is also possible.
  • the register 51 of the encoding unit 15 in FIG. 4 becomes 8-bit storage, and the register 54 is changed to 4-bit storage.
  • the register 91 of the decoding unit 74 in FIG. 6 is stored in 4 bits, and the register 94 is changed to 8 bits.
  • the compression coding apparatus 1 converts the M bits of the ⁇ -modulated digital signal into N bits (M> N) with reference to the first conversion table table1, and converts the N bits in the first conversion table table1.
  • the encoding unit 15 that converts to N bits with reference to the second conversion table table2 is provided.
  • the first conversion table table1 is a table that stores codes with the highest occurrence frequency (P-1) for the past bit patterns
  • the second conversion table Table 2 is a table that stores the upper (P-1) codes whose occurrence frequency with respect to the past bit pattern is next to the first conversion table table1.
  • the decoding device 70 refers to the first conversion table table1 to convert the M bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits (M> N) by M bits. If the first conversion table table1 cannot convert to M bits, the second conversion table table2 is referred to and the decoding unit 74 decodes to M bits.
  • the first conversion table table1 is a table that stores codes with the highest occurrence frequency (P-1) for the past bit patterns
  • the second conversion table Table 2 is a table that stores the upper (P-1) codes whose occurrence frequency with respect to the past bit pattern is next to the first conversion table table1.
  • the functions of the respective embodiments described in the first to tenth embodiments are not limited to the combinations described, and one of the functions of the respective embodiments.
  • a form in which some or all of the functions are arbitrarily combined can be adopted. And arbitrarily combined functions are selected as appropriate according to various conditions such as user settings, network (communication line) traffic or capacity, device processing capacity (CPU power and memory capacity), and instructions from the receiving device. Can be executed.
  • compression encoding is performed with a multi-stage conversion table table having a higher compression ratio of two or more stages. It is possible to switch to selecting compression encoding using only the conversion table.
  • the compression encoding apparatus 1 transmits the data of the conversion table table created from the actual DSD data as it is or after being compressed.
  • the conversion table table stored in advance may be used.
  • the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.
  • FIG. 33 is a block diagram illustrating a configuration example of hardware of a computer that executes the above-described series of processes by a program.
  • a CPU 201 In the computer, a CPU 201, a ROM (Read Only Memory) 202, and a RAM (Random Access Memory) 203 are connected to each other via a bus 204.
  • a bus 204 In the computer, a CPU 201, a ROM (Read Only Memory) 202, and a RAM (Random Access Memory) 203 are connected to each other via a bus 204.
  • An input / output interface 205 is further connected to the bus 204.
  • An input unit 206, an output unit 207, a storage unit 208, a communication unit 209, and a drive 210 are connected to the input / output interface 205.
  • the input unit 206 includes a keyboard, a mouse, a microphone, and the like.
  • the output unit 207 includes a display, a speaker, and the like.
  • the storage unit 208 includes a hard disk, a nonvolatile memory, and the like.
  • the communication unit 209 includes a network interface and the like.
  • the drive 210 drives a removable recording medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  • the CPU 201 loads, for example, the program stored in the storage unit 208 to the RAM 203 via the input / output interface 205 and the bus 204 and executes the program. Is performed.
  • the program can be installed in the storage unit 208 via the input / output interface 205 by attaching the removable recording medium 211 to the drive 210. Further, the program can be received by the communication unit 209 via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting, and can be installed in the storage unit 208. In addition, the program can be installed in the ROM 202 or the storage unit 208 in advance.
  • the program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
  • the present disclosure can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is processed jointly.
  • each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
  • the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
  • this indication can also take the following structures.
  • the M bit of the ⁇ -modulated digital signal is converted to N bits (M> N) with reference to the first conversion table, and the second conversion table is used when the first conversion table cannot be converted to the N bits.
  • An encoding unit for converting to N bits with reference to When the number of bit patterns of N bits is P is a table in which codes of the highest occurrence frequency (P-1) for past bit patterns are stored,
  • the second conversion table is a table in which a higher-order (P-1) code having an occurrence frequency with respect to a past bit pattern is stored next to the first conversion table.
  • the encoding unit converts the M bits into the N bits using a set of the first conversion table and the second conversion table selected from a plurality of any one of (1) to (4)
  • (6) The compression encoding apparatus according to (5), wherein a set having the highest compression rate is selected from a plurality of sets of the first conversion table and the second conversion table stored in the storage unit.
  • a plurality of types of the number of bits of the past bit pattern are prepared,
  • the encoding unit converts the M bits into the N bits using a set of the first conversion table and the second conversion table having a predetermined number of bits selected from a plurality of bits.
  • the encoding unit converts the M bits to the N bits with reference to a third conversion table when the second conversion table cannot convert the N bits;
  • the third conversion table is a table in which higher-order (P-1) codes having the occurrence frequency with respect to a past bit pattern are stored next to the second conversion table. Any one of (1) to (7) Compression encoding device.
  • the encoding unit includes a first encoding unit that converts M bits of the digital signal into the N bits, and a second encoding unit that converts M bits of the digital signal into N2 bits different from the N bits.
  • the compression encoding apparatus according to any one of 1) to (8).
  • a storage unit for storing a set of the first conversion table and the second conversion table for the first encoding unit, and a set of the first conversion table and the second conversion table for the second encoding unit;
  • the compression coding apparatus according to (9) further provided.
  • (11) The M bit of the ⁇ -modulated digital signal is converted to N bits (M> N) with reference to the first conversion table, and the second conversion table is used when the first conversion table cannot be converted to the N bits.
  • the first conversion table is a table in which codes of the highest occurrence frequency (P-1) for past bit patterns are stored
  • the second conversion table is a table in which a higher-order (P-1) code having an occurrence frequency with respect to a past bit pattern is stored next to the first conversion table.
  • the first conversion table is a table in which codes of the highest occurrence frequency (P-1) for past bit patterns are stored
  • the second conversion table is a table in which upper (P-1) codes having an occurrence frequency with respect to a past bit pattern are next to the first conversion table.
  • the N bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits are converted into the M bits with reference to a first conversion table, A decoding unit for decoding to the M bits with reference to a second conversion table when the conversion table cannot convert to the M bits in one conversion table;
  • the first conversion table is a table in which codes of the highest occurrence frequency (P-1) for past bit patterns are stored
  • the second conversion table is a table in which a higher-order (P-1) code having an occurrence frequency with respect to a past bit pattern is next to the first conversion table.
  • a data receiving unit for receiving the encoded data; The decoding apparatus according to (13), wherein the data receiving unit also receives data of the first conversion table and the second conversion table together with the encoded data.
  • a storage unit for storing a plurality of sets of the first conversion table and the second conversion table; The decoding device according to (13), wherein the decoding unit converts the N bits into the M bits using a set of the first conversion table and the second conversion table selected from a plurality of the conversion tables.
  • the decoding unit refers to a third conversion table to convert the N bits to the M bits when the second conversion table cannot convert the M bits,
  • the third conversion table is a table in which higher-order (P-1) codes having the frequency of occurrence with respect to a past bit pattern are stored next to the second conversion table. Any one of (13) to (16) Decoding device.
  • the decoding unit includes: a first decoding unit that converts the N bits of the encoded data into the M bits; a second decoding unit that converts N2 bits different from the N bits of the encoded data into the M bits; The decoding device according to any one of (13) to (16).
  • the N bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits are converted into the M bits with reference to a first conversion table, If the conversion table cannot be converted into the M bits, the second conversion table is referenced to decode the M bits, When the number of bit patterns of N bits is P,
  • the first conversion table is a table in which codes of the highest occurrence frequency (P-1) for past bit patterns are stored, The decoding method, wherein the second conversion table stores the upper (P-1) codes whose occurrence frequency with respect to a past bit pattern is next to the first conversion table.
  • the N bits of the encoded data obtained by compressing and encoding the M bits of the ⁇ -modulated digital signal into N bits are converted into the M bits with reference to a first conversion table, If the conversion table cannot convert to the M bits, the second conversion table is referred to and the process of decoding to the M bits is executed.
  • the first conversion table is a table in which codes of the highest occurrence frequency (P-1) for past bit patterns are stored
  • the second conversion table is a table in which upper (P-1) codes having an occurrence frequency with respect to a past bit pattern are next to the first conversion table.
  • 1 compression encoding device 14 control unit, 15 encoding unit, 18 data transmission unit, 53 conversion table processing unit, 70 decoding device, 72 data receiving unit, 74 decoding unit, 75 table storage unit, 93 conversion table processing unit, 111 Conversion table decompression unit, 141 12-bit reference encoding unit, 142 16-bit reference encoding unit, 143 20-bit reference encoding unit, 161 12-bit reference decoding unit, 162 16-bit reference decoding unit, 163 20-bit reference decoding unit, 181 4to2 encoding Part, 182 4to1 encoding part, 191 4to2 decoding part, 192 4to1 decoding part, 201 CPU, 202 ROM, 203 RAM, 206 input part, 207 output part, 208 Memory part, 209 communication part, 210 drive

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

 本開示は、より圧縮率の高いロスレス圧縮技術を提供することができるようにする圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラムに関する。 圧縮符号化装置のエンコード部は、△Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、第1変換テーブルではNビットに変換できない場合に、第2変換テーブルを参照してNビットに変換する。Nビットのビットパターン数をPとしたとき、第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、第2変換テーブルは、過去のビットパターンに対する発生頻度が第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである。本開示は、例えば、オーディオ信号を圧縮符号化する圧縮符号化装置等に適用できる。

Description

圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム
 本開示は、圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラムに関し、特に、より圧縮率の高いロスレス圧縮技術を提供することができるようにする圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラムに関する。
 近年、音楽用CD(CD-DA)を超える音質のオーディオデータであるハイレゾリューション音源による音楽配信が行われるようになってきている。96kHz/24bit等のPCM(Pulse Code Modulation)の音源に対してはFLAC(Free Lossless Audio Codec)のようなロスレス圧縮技術(可逆圧縮技術)があり、配信に用いられている。
 一方、PCMでなく1bit信号である△Σ変調されたデジタル信号(DSD(Direct Stream Digital)データ)を対象とすると、ロスレス圧縮技術はフィリップス社の開発したDST(Direct Stream Transfer)という技術があり、スーパーオーディオCD(SACD)のディスクを作る際に用いられている。
 しかしながら、この技術は1bitの信号処理を基本としており、バイト単位の処理を基本とするCPUでのソフトウェア処理には不向きな手法であるため、SACDプレーヤ等ではハードウェア(LSI)で実装されている。ソフトウェアで処理しようとすると処理量が重いため、一般的な組み込み系CPUでは処理できない。
 したがって、DSDデータを用いてオーディオ信号を配信する場合に於いては、モバイル系の端末による実行も考慮し、一般的な組み込み系CPUでも処理可能なロスレス圧縮技術が求められている。
 本出願人は、DSDデータを用いたオーディオ信号のロスレス圧縮技術として、特許文献1において、4bit単位で過去のデータを参照して、現在のデータを2bitに圧縮する技術を提案している。
特開平9-74358号公報
 しかしながら、特許文献1の技術では、データの圧縮率がさほど大きくなく、より圧縮率の高いロスレス圧縮技術が求められる。
 本開示は、このような状況に鑑みてなされたものであり、より圧縮率の高いロスレス圧縮技術を提供することができるようにするものである。
 本開示の第1の側面の圧縮符号化装置は、△Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換するエンコード部を備え、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである。
 本開示の第1の側面の圧縮符号化方法は、△Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換し、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである。
 本開示の第1の側面のプログラムは、コンピュータに、△Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換する処理を実行させ、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルであるものである。
 本開示の第1の側面においては、△Σ変調されたデジタル信号のMビットが、第1変換テーブルを参照してNビット(M>N)に変換され、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換される。ここで、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルとされる。
 本開示の第2の側面の復号装置は、△Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号するデコード部を備え、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである。
 本開示の第2の側面の復号方法は、△Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号し、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである。
 本開示の第2の側面のプログラムは、コンピュータに、△Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号する処理を実行させ、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルであるものである。
 本開示の第2の側面においては、△Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットが、第1変換テーブルを参照して前記Mビットに変換され、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号される。ここで、前記Nビットのビットパターン数をPとしたとき、前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルとされる。
 なお、プログラムは、伝送媒体を介して伝送することにより、又は、記録媒体に記録して、提供することができる。
 圧縮符号化装置及び復号装置は、独立した装置であっても良いし、1つの装置を構成している内部ブロックであっても良い。
 本開示の第1及び第2の側面によれば、より圧縮率の高いロスレス圧縮技術を提供することができる。
 なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載されたいずれかの効果であってもよい。
圧縮符号化装置の第1の実施の形態の構成例を示すブロック図である。 データ発生カウントテーブルpretableの作成方法を説明する図である。 変換テーブルtable1を説明する図である。 エンコード部の構成例を示すブロック図である。 圧縮符号化処理を説明するフローチャートである。 復号装置の第1の実施の形態の構成例を示ブロック図である。 復号処理を説明するフローチャートである。 圧縮符号化装置の第2の実施の形態の構成例を示すブロック図である。 復号装置の第2の実施の形態の構成例を示ブロック図である。 圧縮符号化装置の第3の実施の形態の構成例を示すブロック図である。 復号装置の第3の実施の形態の構成例を示すブロック図である。 圧縮符号化装置の第4の実施の形態の構成例を示すブロック図である。 第2変換テーブルtable2を説明する図である。 復号装置の第4の実施の形態の構成例を示すブロック図である。 圧縮符号化装置の第5の実施の形態の構成例を示すブロック図である。 復号装置の第5の実施の形態の構成例を示すブロック図である。 圧縮符号化装置の第6の実施の形態の構成例を示すブロック図である。 復号装置の第6の実施の形態の構成例を示すブロック図である。 圧縮符号化装置の第7の実施の形態の構成例を示すブロック図である。 復号装置の第7の実施の形態の構成例を示すブロック図である。 圧縮符号化装置の第8の実施の形態の構成例を示すブロック図である。 復号装置の第8の実施の形態の構成例を示すブロック図である。 圧縮符号化装置の第9の実施の形態の構成例を示すブロック図である。 復号装置の第9の実施の形態の構成例を示すブロック図である。 処理結果例を説明する図である。 圧縮符号化装置の第10の実施の形態の構成例を示すブロック図である。 復号装置の第10の実施の形態の構成例を示すブロック図である。 第1変換テーブルtable1を説明する図である。 第2変換テーブルtable2を説明する図である。 圧縮符号化装置の第11の実施の形態の構成例を示すブロック図である。 復号装置の第11の実施の形態の構成例を示すブロック図である。 処理結果例を説明する図である。 コンピュータの一実施の形態の構成例を示すブロック図である。
 以下、本開示を実施するための形態(以下、実施の形態という)について説明する。なお、説明は以下の順序で行う。
1.第1の実施の形態(基本構成例)
2.第2の実施の形態(変換テーブルデータを圧縮伝送する構成例)
3.第3の実施の形態(複数の変換テーブルから選択する構成例)
4.第4の実施の形態(2段変換テーブルを用いる構成例)
5.第5の実施の形態(2段変換テーブルを圧縮伝送する構成例)
6.第6の実施の形態(複数の2段変換テーブルから選択する構成例)
7.第7の実施の形態(複数の過去データ参照ビット数を選択する第1構成例)
8.第8の実施の形態(複数の過去データ参照ビット数を選択する第2構成例)
9.第9の実施の形態(Q段変換テーブルを圧縮伝送する構成例)
10.第10の実施の形態(4to2エンコード部と4to1エンコード部を有する第1構成例)
11.第11の実施の形態(4to2エンコード部と4to1エンコード部を有する第2構成例)
<1.第1の実施の形態>
<圧縮符号化装置の構成例>
 図1は、本開示に係る圧縮符号化装置の第1の実施の形態の構成例を示している。
 図1に示される圧縮符号化装置1は、アナログのオーディオ信号をΣ△(シグマデルタ)変調によりデジタル信号に変換し、変換後のオーディオ信号を圧縮符号化して出力する装置である。
 アナログのオーディオ信号は、入力部11から入力されて、ADC12へ供給される。ADC12は、供給されたアナログのオーディオ信号を、ΣΔ変調によりデジタル化して、入力バッファ13に出力する。
 ADC12は、加算器21、積分器22、比較器23、1サンプル遅延回路24、及び、1ビットDAC25により構成される。
 入力部11から供給されたオーディオ信号は、加算器21に供給される。加算器21は、1ビットDAC25から供給された1サンプル期間前のアナログのオーディオ信号と、入力部11からのオーディオ信号を加算して、積分器22に出力する。
 積分器22は、加算器21からのオーディオ信号を積分して比較器23に出力する。比較器23は、入力オーディオ信号の中点電位と比較されて1サンプル期間ごとに1ビット量子化する。サンプル期間の周波数(サンプリング周波数)は、従来の48kHz、44.1kHzに対して、その64倍あるいは128倍の周波数が用いられる。比較器23は、1ビット量子化したオーディオ信号を、入力バッファ13に出力するとともに、1サンプル遅延回路24に供給する。
 1サンプル遅延回路24は、比較器23からのオーディオ信号を1サンプル期間分遅延させて1ビットDAC25に出力する。1ビットDAC25は、1サンプル遅延回路24からのデジタル信号をアナログ信号に変換して加算器21に出力する。
 以上のように構成されるADC12は、入力部11から供給されたオーディオ信号を、1ビットのデジタル信号に変換(AD変換)して、入力バッファ13に出力する。このΣΔ変調のAD変換によれば、サンプル期間の周波数(サンプリング周波数)を充分高くすることによって、例えば1ビットの少ないビット数でも広いダイナミックレンジのデジタル音声信号を得ることができる。
 本実施の形態では、ADC12には、入力部11からステレオ(2チャンネル)のオーディオ信号が入力され、ADC12は、それを44.1kHzの128倍のサンプリング周波数で1ビットの信号にAD変換して入力バッファ13に出力する。
 なお、ΣΔ変調では、量子化のビット数を2ビットあるいは4ビットとすることもできる。
 入力バッファ13は、ADC12から供給される1ビットデジタルのオーディオ信号を、一時蓄積し、1フレーム単位で後段の制御部14、エンコード部15、及び、データ量比較部17に供給する。ここで、1フレームとは、オーディオ信号を所定の時間(期間)に区切って1まとまりとみなす単位であり、本実施の形態では、3秒を1フレームとする。したがって、換言すれば、入力バッファ13は、オーディオ信号を、3秒単位で、制御部14、エンコード部15、及び、データ量比較部17に供給する。
 上述したように、入力部11から入力されるオーディオ信号は、ステレオ(2チャンネル)の信号であり、44.1kHzの128倍のサンプリング周波数で1ビットの信号にAD変換するため、1フレーム当たりのデータ量は、44100(Hz)*128*2(ch)*3(sec)=5.6Mビットとなる。
 以下では、入力バッファ13から供給される△Σ変調されたデジタル信号を、DSDデータとも称する。
 制御部14は、圧縮符号化装置1全体の動作を制御する。また、制御部14は、エンコード部15が圧縮符号化を行うために必要となる変換テーブルtable1を作成して、エンコード部15に供給する機能を有する。
 具体的には、制御部14は、入力バッファ13から供給される1フレームのDSDデータを用いて、データ発生カウントテーブルpretableを作成し、データ発生カウントテーブルpretableからさらに変換テーブルtable1を作成する。制御部14は、作成した変換テーブルtable1を、エンコード部15とデータ送信部18に供給する。変換テーブルtable1は、1フレーム単位で作成(更新)され、エンコード部15に供給される。
 エンコード部15は、制御部14から供給された変換テーブルtable1を用いて、入力バッファ13から供給されるDSDデータを4ビット単位で圧縮符号化する。したがって、エンコード部15には入力バッファ13から、制御部14に供給されるタイミングと同時にDSDデータが供給されるが、エンコード部15では、制御部14から変換テーブルが供給されるまで処理は待機される。
 圧縮符号化の詳細は、図2を参照して後述するが、エンコード部15は、4ビットのDSDデータを、2ビットのデータに符号化するか、または、6ビットのデータに符号化して、符号化データバッファ16に出力する。
 符号化データバッファ16は、エンコード部15で圧縮符号化されたDSDデータである圧縮データを一時的にバッファリングし、データ量比較部17とデータ送信部18に供給する。
 データ量比較部17は、入力バッファ13から供給されるDSDデータ(以下、非圧縮データともいう。)と、符号化データバッファ16から供給される圧縮データのデータ量を、フレーム単位で比較する。エンコード部15は、上述したように、4ビットのDSDデータを、2ビットのデータか、または6ビットのデータに符号化するため、アルゴリズム上、圧縮後のデータ量が、圧縮前のデータ量を超えてしまう場合もあり得るためである。そこで、データ量比較部17は、圧縮データと非圧縮データのデータ量を比較して、データ量の少ない方を選択し、どちらを選択したかを示す選択制御データをデータ送信部18に供給する。なお、データ量比較部17は、非圧縮データを選択したことを示す選択制御データをデータ送信部18に供給する場合には、非圧縮データもデータ送信部18に供給する。選択制御データは、送信データを受け取る受信側の装置から見れば、データ送信部18から送信されてくるオーディオデータが、エンコード部15で圧縮符号化されたデータか否かを表すフラグであるといえる。
 データ送信部18は、データ量比較部17から供給される選択制御データに基づいて、符号化データバッファ16から供給される圧縮データか、または、データ量比較部17から供給される非圧縮データのどちらかを選択し、選択制御データとともに、出力部19を介して相手装置に送信する。
 また、データ送信部18は、圧縮データを送信する場合には、制御部14から供給される変換テーブルtable1のデータも、圧縮データに付加して相手装置に送信する。データ送信部18は、送信データとして、所定数のサンプルごとのデジタル信号に同期信号と誤り訂正符号(ECC)を付加して送信することができる。
<データ発生カウントテーブルの作成方法>
 次に、制御部14によるデータ発生カウントテーブルpretableの作成方法について説明する。
 制御部14は、1フレームのDSDデータに対して、データ発生カウントテーブルpretableを作成するが、入力バッファ13から供給されるDSDデータを、4ビット単位で以下のように表す。
  ・・・D4[n-3],D4[n-2],D4[n-1],D4[n],D4[n+1],D4[n+2],D4[n+3],・・・
ここで、D4[n]は、4ビットの連続データを表し、以下では、D4データともいう(n>3)。
 制御部14は、過去の3つのD4データ(過去の12ビットデータ)の次のD4データの発生回数をカウントし、図2に示されるデータ発生カウントテーブルpretable[4096][16]を作成する。ここで、データ発生カウントテーブルpretable[4096][16]の[4096]と[16]は、データ発生カウントテーブルが4096行16列のテーブル(行列)であることを表し、[0]乃至[4095]の各行は、過去の3つのD4データがとり得る値(過去のビットパターン)に対応し、[0]乃至[15]の各列は、次のD4データがとり得る値に対応する。
 具体的には、データ発生カウントテーブルpretableの1行目であるpretable[0][0]乃至[0][15]は、過去の3つのD4データD4[n-3],D4[n-2],D4[n-1]が“0”={0000,0000,0000}だった時の次のデータの発生回数を示しており、過去3つのデータが“0”だった次の4ビットは“0”であった回数が369a(HEX表記)であって、ほかのデータはなかったことを示している。
 データ発生カウントテーブルpretableの2行目であるpretable[1][0]乃至[1][15]は、過去の3つのD4データD4[n-3],D4[n-2],D4[n-1]が“1”={0000,0000,0001}だった時の次のデータの発生回数を示している。データ発生カウントテーブルpretableの2行目の全ての要素が“0”であるのは、過去データとして3つのD4データが“1”となるデータが、この1フレーム内に存在しなかったことを示している。
 また、図2では、データ発生カウントテーブルpretableの118行目であるpretable[117][0]乃至[117][15]は、過去の3つのD4データD4[n-3],D4[n-2],D4[n-1]が“117”={0000,0111,0101}だった時の次のデータの発生回数を示している。このデータでは、過去3つのデータが“117”だった次の4ビットが“0”であった回数が0回であり、“1”であった回数が1回であり、“2”であった回数が10回であり、“3”であった回数が18回であり、“4”であった回数が20回であり、“5”であった回数が31回であり、“6”であった回数が11回であり、“7”であった回数が0回であり、“8”であった回数が4回であり、“9”であった回数が12回であり、“10”であった回数が5回であり、“11”乃至“15”であった回数が0回であったことを示している。
 制御部14は、以上のようにして、1フレームのDSDデータに対して、過去の3つのD4データ(過去の12ビットデータ)の次のD4データの発生回数をカウントし、データ発生カウントテーブルpretableを作成する。
<変換テーブルの作成方法>
 次に、制御部14による変換テーブルtable1の作成方法について説明する。
 制御部14は、先に作成したデータ発生カウントテーブルpretableに基づいて、4096行3列の変換テーブルtable1[4096][3]を作成する。ここで、変換テーブルtable1[4096][3]の各行[0]乃至[4095]は、過去の3つのD4データがとり得る値に対応し、各列[0]乃至[2]には、次のD4データがとり得る16個の値のうち、発生頻度が大きかった3つの値が格納される。変換テーブルtable1[4096][3]の第1列[0]には、発生頻度が最も大きい(1番目の)値が格納され、第2列[1]には、発生頻度が2番目の値が格納され、第3列[2]には、発生頻度が3番目の値が格納される。
 図3は、図2に示したデータ発生カウントテーブルpretableに対応する変換テーブルtable1[4096][3]の例を示している。
 変換テーブルtable1[4096][3]の118行目であるtable1[117][0]乃至[117][2]は、{05,04,03}となっている。これは、図2のデータ発生カウントテーブルpretableの118行目のpretable[117][0]乃至[117][15]の内容と対応している。
 図2におけるデータ発生カウントテーブルpretableの118行目のpretable[117][0]乃至[117][15]では、発生頻度が最も大きい(1番目の)値は、31回発生した“5”であり、発生頻度が2番目の値は、20回発生した“4”であり、発生頻度が3番目の値は、18回発生した“3”である。これにより、変換テーブルtable1[4096][3]の第118行第1列table1[117][0]には、{05}が格納され、第118行第2列table1[117][1]には、{04}が格納され、第118行第3列table1[117][2]には、{03}が格納されている。
 同様に、変換テーブルtable1[4096][3]の1行目のtable1[0][0]乃至[0][2]は、図2のデータ発生カウントテーブルpretableの1行目のpretable[0][0]乃至[0][15]の内容と対応している。
 図2のデータ発生カウントテーブルpretableの1行目のpretable[0][0]乃至[0][15]では、発生頻度が最も大きい(1番目の)値は、369a(HEX表記)回発生した“0”であり、それ以外の値は発生していない。そこで、変換テーブルtable1[4096][3]の第1行第1列table1[0][0]には、{00}が格納され、第1行第2列table1[0][1]と第1行第3列table1[0][2]には、データが存在しないことを表す{ff}が格納されている。データが存在しないことを表す値は、{ff}に限られず、適宜決定することができる。変換テーブルtable1の各要素に格納される値は、“0”から“15”までのいずれかであるので、4ビットで表現できるが、コンピュータ処理上、扱いを容易にするために8ビットで表現されている。
 以上のようにして、先に作成したデータ発生カウントテーブルpretableに基づいて、4096行3列の変換テーブルtable1[4096][3]が作成され、エンコード部15に供給される。
<エンコード部15による圧縮符号化方法>
 次に、エンコード部15による、変換テーブルtable1を用いた圧縮符号化方法について説明する。
 例えば、入力バッファ13から供給されるDSDデータ
・・・D4[n-3],D4[n-2],D4[n-1],D4[n],D4[n+1],D4[n+2],D4[n+3],・・・
 のうち、エンコード部15が、D4[n]を符号化する場合について説明する。
 D4[n]を符号化する場合、エンコード部15は、その直前の過去の12ビットのデータであるD4[n-3],D4[n-2],D4[n-1]を一塊の12ビットのデータとみなして、変換テーブルtable1[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table1[D4[n-3],D4[n-2],D4[n-1]][0],
table1[D4[n-3],D4[n-2],D4[n-1]][1],
table1[D4[n-3],D4[n-2],D4[n-1]][2]
を検索する。
 エンコード部15は、変換テーブルtable1[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table1[D4[n-3],D4[n-2],D4[n-1]][0],
table1[D4[n-3],D4[n-2],D4[n-1]][1],
table1[D4[n-3],D4[n-2],D4[n-1]][2]
のなかにD4[n]と同じものがあり、
table1[D4[n-3],D4[n-2],D4[n-1]][0]と同じ場合は、D4[n]を“01b”と2ビットに変換し、
table1[D4[n-3],D4[n-2],D4[n-1]][1]と同じ場合は、D4[n]を“10b”と2ビットに変換し、
table1[D4[n-3],D4[n-2],D4[n-1]][2]と同じ場合は、D4[n]を“11b”と2ビットに変換する。
 一方、エンコード部15は、変換テーブルtable1[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかに同じものが無ければ、
“00b+ D4[n]”のように、D4[n]の前に“00b”をつけて6ビットに変換する。ここで、“01b”、“10b”、“11b”、“00b+ D4[n]”のbは、2進表記であることを表す。
 以上のようにして、エンコード部15は、変換テーブルtable1を用いて、4ビットのDSDデータD4[n]を、2ビットのデータ“01b”、“10b”若しくは“11b”に変換するか、または、6ビットのデータ“00b+D4[n]”に変換して、符号化データバッファ16に出力する。
<エンコード部15の詳細構成>
 図4は、上述した圧縮符号化を行うエンコード部15の構成例を示す図である。
 入力バッファ13から供給された4ビットのDSDデータ(例えば、D4[n])は、4ビットを格納するレジスタ51に記憶される。また、レジスタ51の出力は、セレクタ55の1つの入力端子56aと、12ビットを格納するレジスタ52とつながっており、レジスタ52には、レジスタ51に記憶されている4ビットのDSDデータの直前の過去の12ビットのデータ(例えば、D4[n-3],D4[n-2],D4[n-1])が格納されている。
 変換テーブル処理部53は、制御部14から供給された変換テーブルtable1を有している。
 変換テーブル処理部53は、レジスタ52に格納されている12ビットのデータ(例えば、D4[n-3],D4[n-2],D4[n-1])が示すアドレスの3つの値、
table1[D4[n-3],D4[n-2],D4[n-1]][0],
table1[D4[n-3],D4[n-2],D4[n-1]][1],
table1[D4[n-3],D4[n-2],D4[n-1]][2]
のなかに、レジスタ51に格納されている4ビットのデータ(例えば、D4[n])があるか否かを検索し、ある場合には、同じ値が格納されている列に対応する値、即ち、“01b”、“10b”、または“11b”のいずれかを、2ビットのレジスタ54に記憶させる。2ビットのレジスタ54に記憶されたデータは、セレクタ55の1つの入力端子56cに供給される。
 一方、変換テーブル処理部53は、レジスタ52に格納されている12ビットのデータ(例えば、D4[n-3],D4[n-2],D4[n-1])が示すアドレスの3つの値のなかに、レジスタ51に格納されている4ビットのデータ(例えば、D4[n])がない場合には、変換をしないことを示す信号(以下、変換無信号という。)を、セレクタ55に出力する。
 セレクタ55は、3つの入力端子56a乃至56cのなかの1つを選択し、その選択された入力端子56から取得されるデータを出力端子57から出力する。
 入力端子56aには、レジスタ51に記憶された4ビットのDSDデータ(例えば、D4[n])が供給され、入力端子56bには、“00b”が供給され、入力端子56cには、レジスタ54に記憶された2ビットの変換データが供給される。
 セレクタ55は、変換テーブル処理部53から、変換しないことを示す変換無信号が供給された場合には、入力端子56bを選択して“00b”を出力端子57から出力した後、入力端子56aを選択して、レジスタ51に記憶された4ビットのDSDデータ(例えば、D4[n])を出力端子57から出力する。これにより、変換テーブルtable1にD4[n]と同じものがない場合に出力される6ビット“00b+ D4[n]”が出力端子57から出力される。
 一方、変換しないことを示す変換無信号が供給されない場合(変換したことを示す変換有信号が供給された場合)には、セレクタ55は、入力端子56cを選択して、レジスタ54から供給された2ビットの変換データを出力端子57から出力する。これにより、変換テーブルtable1にD4[n]と同じものがあった場合に出力される2ビット、即ち、“01b”、“10b”、または“11b”のいずれかが出力端子57から出力される。
<圧縮符号化処理フロー>
 図5のフローチャートを参照して、圧縮符号化装置1による圧縮符号化処理について説明する。
 なお、図5の処理フローでは、ADC12の処理は省略されており、ADC12で△Σ変調された1フレームのDSDデータが入力バッファ13から出力された後の処理について説明する。
 初めに、ステップS1において、制御部14は、1フレームのDSDデータに対して、過去の3つのD4データ(過去の12ビットデータ)の次のD4データの発生回数をカウントし、データ発生カウントテーブルpretableを作成する。
 ステップS2において、制御部14は、作成したデータ発生カウントテーブルpretableに基づいて、4096行3列の変換テーブルtable1を作成する。制御部14は、作成した変換テーブルtable1を、エンコード部15とデータ送信部18に供給する。
 ステップS3において、エンコード部15は、1フレーム期間のDSDデータに対して、変換テーブルtable1を用いて、圧縮符号化を実行する。具体的には、エンコード部15は、4ビットのDSDデータD4[n]を、2ビットのデータ“01b”、“10b”若しくは“11b”に変換するか、または、6ビットのデータ“00b+D4[n]”に変換する処理を1フレーム期間のDSDデータに対して行う。圧縮符号化されて得られた圧縮データは、符号化データバッファ16とデータ量比較部17に供給される。
 ステップS4において、データ量比較部17は、入力バッファ13から供給された1フレームの非圧縮データと、符号化データバッファ16から供給された1フレームの圧縮データのデータ量を比較し、データ量が圧縮前よりも削減されたかを判定する。
 ステップS4で、データ量が圧縮前よりも削減されたと判定された場合、処理はステップS5に進み、データ量比較部17は、圧縮データを選択したことを示す選択制御データをデータ送信部18に供給する。
 ステップS6において、データ送信部18は、圧縮データを選択したことを示す選択制御データ(圧縮符号化されたデータを示すフラグ)と、エンコード部15から供給された圧縮データに、制御部14から供給された変換テーブルtable1のデータ(変換テーブルデータ)を付加して、相手装置に送信する。
 一方、ステップS4で、データ量が圧縮前よりも削減されていないと判定された場合、処理はステップS7に進み、データ量比較部17は、非圧縮データを選択したことを示す選択制御データを、非圧縮データとともにデータ送信部18に供給する。
 ステップS8において、データ送信部18は、非圧縮データを選択したことを示す選択制御データ(圧縮符号化されていないデータを示すフラグ)と、非圧縮データを、相手装置に送信する。
 以上で、1フレームのDSDデータの圧縮符号化処理は終了する。上述したステップS1乃至S8の処理は、入力バッファ13から順次供給される1フレーム単位のDSDデータに対して繰り返し実行される。
<復号装置の構成例>
 図6は、本開示に係る復号装置の第1の実施の形態の構成例を示している。
 図6の復号装置70は、図1の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 図1の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号は、不図示のネットワーク(例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネット、電話回線網、衛星通信網などの公衆回線網など)を経由して、復号装置70の入力部71で受信され、データ受信部72に供給される。
 データ受信部72は、受信データに含まれる同期信号を分離するとともに、ネットワーク伝送中に発生した伝送誤りを検出して訂正する。
 そして、データ受信部72は、受信データに含まれる、オーディオ信号が圧縮符号化されているか否かを示す選択制御データに基づいて、オーディオ信号が圧縮符号化されているか否かを判定する。そして、オーディオ信号が圧縮符号化されている場合には、データ受信部72は、受信した圧縮データを、符号化データバッファ73に供給する。一方、オーディオ信号が圧縮符号化されていない場合には、データ受信部72は、受信した非圧縮データを、出力バッファ76に供給する。
 また、データ受信部72は、受信データに含まれる、変換テーブルtable1のデータ(変換テーブルデータ)を、テーブル記憶部75に供給する。テーブル記憶部75は、データ受信部72から供給された変換テーブルtable1を記憶し、必要に応じてデコード部74に供給する。
 符号化データバッファ73は、データ受信部72から供給される圧縮データを一時蓄積し、所定のタイミングで後段のデコード部74に供給する。
 デコード部74は、圧縮データを圧縮前の状態に復号(可逆復号)して、出力バッファ76に供給する。
 デコード部74による復号方法について説明する。
 圧縮符号化装置1で圧縮符号化されて送信されてきた圧縮データを、2ビット単位で以下のように表し、E2[n]を復号する場合について説明する。
  ・・・E2[n-3],E2[n-2],E2[n-1],E2[n],E2[n+1],E2[n+2],E2[n+3],・・・
ここで、E2[n]は、2ビットの連続データを表し、E2データともいう。
 デコード部74は、まず、E2[n]の値を判定する。
 E2[n]が“00b”である場合、受信された変換テーブルtable1[4096][3]に搭載されてないデータであるので、E2[n]の次の4ビットのデータ“E2[n+1]+E2[n+2]”が復号すべきデータとなる。
 一方、E2[n]が“01b”、“10b”、または“11b”である場合、受信された変換テーブルtable1[4096][3]に搭載されているデータであるので、その直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、変換テーブルtable1[4096][3]を参照し、復号すべきデータを検索する。復号すべきデータは、“table1[D4[n-3],D4[n-2],D4[n-1]][E2[n]-1]”に格納されているデータとなる。
 以上のようにして、デコード部74は、圧縮データを圧縮前の状態に復号(可逆復号)することができる。
 デコード部74は、図6に示されるように、2ビットのレジスタ91、12ビットのレジスタ92、変換テーブル処理部93、4ビットのレジスタ94、及び、セレクタ95により構成される。
 符号化データバッファ73から供給された2ビットのE2データ(例えば、E2[n])は、レジスタ91に記憶される。
 12ビットのレジスタ92には、セレクタ95の出力が供給されるようになっており、レジスタ92は、レジスタ91に記憶されている2ビットのE2データ(例えば、E2[n])の直前に復号した12ビットのデータ(例えば、D4[n-3],D4[n-2],D4[n-1])が格納されている。
 レジスタ91に記憶されている2ビットのE2データ(例えば、E2[n])が“00b”である場合、セレクタ95は、入力端子96aを選択し、E2[n]の次の4ビットのデータ“E2[n+1]+E2[n+2]”を復号結果として、出力端子97から出力する。
 レジスタ91に記憶されている2ビットのE2データ(例えば、E2[n])が“01b”、“10b”、または“11b”である場合、変換テーブル処理部93は、テーブル記憶部75から供給された変換テーブルtable1の“table1[D4[n-3],D4[n-2],D4[n-1]][E2[n]-1]”に格納されている4ビットのデータをレジスタ94に記憶させる。セレクタ95は、入力端子96bを選択し、レジスタ94に記憶されているデータを復号結果として、出力端子97から出力する。
 出力バッファ76は、データ受信部72から供給された非圧縮データ、または、デコード部74から供給された復号後のデータのいずれかを適宜選択して、アナログフィルタ77に供給する。
 アナログフィルタ77は、出力バッファ76から供給された復号後のデータに対して、ローパスフィルタ、バンドパスフィルタ等の所定のフィルタ処理を実行し、出力部78から出力させる。
<復号処理フロー>
 図7のフローチャートを参照して、復号装置70の復号処理についてさらに説明する。
 初めに、ステップS21において、データ受信部72は、受信データに含まれる選択制御データに基づいて、受信したデータが圧縮符号化された圧縮データであるかを判定する。
 ステップS21で、受信したデータが圧縮データであると判定された場合、処理はステップS22に進み、データ受信部72は、受信データに含まれていた変換テーブルデータをテーブル記憶部75に供給する。変換テーブル処理部93は、テーブル記憶部75を介して、受信された変換テーブルtable1を取得する。
 またステップS22では、受信データに含まれていた圧縮データが、符号化データバッファ73に供給される。
 ステップS23において、デコード部74は、変換テーブルtable1を用いて、符号化データバッファ73から供給された圧縮データを復号し、出力バッファ76に供給する。即ち、デコード部74は、2ビットのE2データ(例えば、E2[n])が“00b”である場合、E2[n]の次の4ビットのデータ“E2[n+1]+E2[n+2]”を復号結果として出力バッファ76に供給し、2ビットのE2データ(例えば、E2[n])が“01b”、“10b”、または“11b”である場合、変換テーブルtable1の“table1[D4[n-3],D4[n-2],D4[n-1]][E2[n]-1]”に格納されている4ビットのデータを復号結果として出力バッファ76に供給する。
 一方、ステップS21で、受信したデータが圧縮データではない、即ち非圧縮データであると判定された場合、処理はステップS24に進み、データ受信部72は、受信データに含まれていた非圧縮データを取得し、出力バッファ76に供給する。
 以上までの処理により、非圧縮データか、または、デコード部74によって復号されたデータが、出力バッファ76に供給され、出力バッファ76に供給されたデータが、アナログフィルタ77に出力される。
 ステップS25において、アナログフィルタ77は、出力バッファ76を介して供給されたデータに対して所定のフィルタ処理を実行する。フィルタ処理後のオーディオ信号が出力部78から出力される。
 1フレーム単位のオーディオ信号に対して、以上の処理が繰り返し実行される。
 以上の第1の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第1の実施の形態では、圧縮符号化に用いられた変換テーブルtable1のデータそのものも、送信データとして送信される。
<2.第2の実施の形態>
<圧縮符号化装置の構成例>
 図8は、本開示に係る圧縮符号化装置の第2の実施の形態の構成例を示している。
 なお、図8においては、上述した第1の実施の形態と対応する部分については同一の符号を付してあり、その説明は適宜省略する。後述するその他の実施の形態についても同様に説明する。
 図8の圧縮符号化装置1を、図1に示した第1の実施の形態の圧縮符号化装置1と比較すると、第2の実施の形態の圧縮符号化装置1では、制御部14の一部に、変換テーブル圧縮部101が新たに設けられている。
 第1の実施の形態では、制御部14が作成した4096行3列の変換テーブルtable1[4096][3]を、変換テーブルデータとして圧縮せずに、圧縮データとともに送信する構成が採用されていた。これは、1フレーム5.6Mビットのデータに比較して、4096行3列の変換テーブルtable1のデータ量は、非常に小さいためである。
 しかしながら、圧縮データのデータ量に比較して、変換テーブルtable1のデータ量が大きくなる場合も考えられる。そのような場合には、第2の実施の形態のように、変換テーブル圧縮部101を設けることができる。変換テーブル圧縮部101は、変換テーブルtable1のデータを、所定の圧縮方式で圧縮したり、変換テーブルtable1の差分データを作成するなどにより、変換テーブルtable1のデータを圧縮した圧縮変換テーブルデータを作成して、データ送信部18に供給する。
 データ送信部18は、第1の実施の形態における変換テーブルデータに代えて、圧縮変換テーブルデータを、圧縮データ等とともに相手装置に送信する。
<復号装置の構成例>
 図9は、本開示に係る復号装置の第2の実施の形態の構成例を示している。
 図9の復号装置70は、図8の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 図9の復号装置70を、図6に示した第1の実施の形態の復号装置70と比較すると、第2の実施の形態の復号装置70では、データ受信部72とテーブル記憶部75との間に、変換テーブル伸長部111が新に設けられている。
 変換テーブル伸長部111は、データ受信部72から供給される圧縮変換テーブルデータに対して、図8の変換テーブル圧縮部101が行った圧縮処理に対応する伸長処理を実行する。伸長処理の結果得られた変換テーブルtable1は、第1の実施の形態と同様に、テーブル記憶部75に供給される。
 以上の第2の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第2の実施の形態では、圧縮符号化に用いられた変換テーブルtable1のデータが圧縮されて、送信データとして送信される。
<3.第3の実施の形態>
<圧縮符号化装置の構成例>
 図10は、本開示に係る圧縮符号化装置の第3の実施の形態の構成例を示している。
 図10の圧縮符号化装置1を、図1に示した第1の実施の形態の圧縮符号化装置1と比較すると、第3の実施の形態の圧縮符号化装置1では、制御部14に、複数の変換テーブルtable1が設けられている。本実施の形態では、制御部14は、変換テーブルtable1-1、変換テーブルtable1-2、変換テーブルtable1-3の3種類の変換テーブルtable1を記憶するものとするが、保有する変換テーブルtable1の個数は限定されない。
 データ発生カウントテーブルpretableに基づいて作成される変換テーブルtable1は、コンテンツによる違いはさほどない。これは、発生頻度の順序が多少は異なったとしても発生頻度の多いパターンに大きな違いはないためと考えられる。
 そこで、図10に示されるように、複数のコンテンツを用いて複数種類の変換テーブルtable1を予め作成して、制御部14内に記憶しておき、それらを適宜選択して、圧縮符号化を行う構成とすることができる。制御部14は、予め作成された複数種類の変換テーブルtable1を記憶する記憶部として機能する。
 上述した第2の実施の形態のように、変換テーブルtable1のデータを圧縮したとしてもデータ量が無視できない場合や、通信回線の兼ね合い等、何らかの理由により変換テーブルtable1を送信することができない場合には、本実施の形態のように、制御部14内に予め記憶した複数種類の変換テーブルtable1を用いて圧縮符号化を行う構成を採用することができる。
 あるいはまた、△Σ変調を行うADC12は、それを提供するメーカ等によって、特性が異なる場合がある。そこで、制御部14に記憶される複数の変換テーブルtable1は、ADC12を提供するメーカに対応させたものとしてもよい。
 制御部14に予め記憶される複数の変換テーブルtable1は、復号側の装置でも共通に保有されている。
 従って、上述した第1及び第2の実施の形態では、送信コンテンツそのものの変換テーブルtable1を1フレーム単位でリアルタイムに作成して送信したが、第3の実施の形態では、送信コンテンツそのものの変換テーブルtable1の作成は不要となる。
 制御部14は、予め記憶されている複数の変換テーブルtable1のなかから、入力バッファ13から供給されるDSDデータに最も適した変換テーブルtable1を選択して、選択した変換テーブルtable1を指定する変換テーブル指定データをデータ送信部18に供給する。
 データ送信部18は、第1の実施の形態における変換テーブルデータに代えて、変換テーブル指定データを、圧縮データ等とともに相手装置に送信する。
 制御部14は、保有する複数の変換テーブルtable1それぞれをエンコード部15に順次供給して圧縮符号化させることで、複数の変換テーブルtable1それぞれの圧縮率を確認する。そして、制御部14は、圧縮率の最も高い変換テーブルtable1を、利用する変換テーブルtable1としてエンコード部15に供給するとともに、選択した変換テーブルtable1を指定する変換テーブル指定データをデータ送信部18に供給する。
 あるいはまた、制御部14は、例えばエンコード部15と同じエンコード機能を有し、入力バッファ13から供給されるDSDデータを、保有する複数の変換テーブルtable1それぞれで圧縮符号化し、圧縮率の最も高い変換テーブルtable1を決定してもよい。
 また、複数の変換テーブルtable1のなかから1つを選択するタイミングについては、フレーム単位でもよいし、コンテンツ単位でもよい。即ち、送信するコンテンツの最初の1フレームのみで全ての変換テーブルtable1で圧縮符号化してみて、圧縮率の最も高い変換テーブルtable1を決定したら、そのコンテンツについては同じ変換テーブルtable1で圧縮符号化するようにしてもよいし、1フレーム単位または数フレーム単位で、その都度、全ての変換テーブルtable1で圧縮符号化して、圧縮率の最も高い変換テーブルtable1を決定してもよい。
<復号装置の構成例>
 図11は、本開示に係る復号装置の第3の実施の形態の構成例を示している。
 図11の復号装置70は、図10の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 図11の復号装置70を、図6に示した第1の実施の形態の復号装置70と比較すると、第3の実施の形態の復号装置70では、テーブル記憶部75に、図10の圧縮符号化装置1の制御部14が記憶しているものと同じ複数の変換テーブルtable1(変換テーブルtable1-1、変換テーブルtable1-2、変換テーブルtable1-3)が記憶されている。
 データ受信部72は、受信データに含まれる、変換テーブル指定データをテーブル記憶部75に供給する。テーブル記憶部75は、データ受信部72から供給された変換テーブル指定データが示す変換テーブルtable1(変換テーブルtable1-1、変換テーブルtable1-2、または、変換テーブルtable1-3のいずれか)をデコード部74に供給する。
 以上の第3の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第3の実施の形態では、圧縮符号化に用いられた変換テーブルtable1が、予め記憶されている。
<4.第4の実施の形態>
<圧縮符号化装置の構成例>
 図12は、本開示に係る圧縮符号化装置の第4の実施の形態の構成例を示している。
 図12の圧縮符号化装置1を、図1に示した第1の実施の形態の圧縮符号化装置1と比較すると、第4の実施の形態の圧縮符号化装置1では、制御部14が、変換テーブルtable1と同じ第1変換テーブルtable1に加えて、第2変換テーブルtable2も作成する点が異なる。制御部14は、作成した第1変換テーブルtable1と第2変換テーブルtable2を、エンコード部15とデータ送信部18に供給する。なお、以下では、第1変換テーブルtable1と第2変換テーブルtable2をまとめて2段変換テーブルtableともいう。
 即ち、上述した第1の実施の形態では、圧縮符号化装置1は、データ発生カウントテーブルpretableから、発生頻度の上位3つの値を変換テーブルtable1に記憶させ、それ以外は、“00b”の次にD4データをそのまま付加して6ビットで送信した。
 第4の実施の形態では、第1変換テーブルtable1の他に、データ発生カウントテーブルpretableから、発生頻度が4番目から6番目に高い値を格納する第2変換テーブルtable2が、さらに作成される。
 図13は、図2に示したデータ発生カウントテーブルpretableから作成した第2変換テーブルtable2[4096][3]の例を示している。
 図2におけるデータ発生カウントテーブルpretableの118行目のpretable[117][0]乃至[117][15]では、発生頻度が4番目の値は、12回発生した“9”であり、発生頻度が5番目の値は、11回発生した“6”であり、発生頻度が6番目の値は、10回発生した“2”である。
 これにより、図13に示される第2変換テーブルtable2[4096][3]の第118行第1列table1[117][0]には、{09}が格納され、第118行第2列table1[117][1]には、{06}が格納され、第118行第3列table1[117][2]には、{02}が格納されている。
<第1変換テーブルtable1と第2変換テーブルtable2を用いた圧縮符号化方法>
 第4の実施の形態のエンコード部15による、第1変換テーブルtable1と第2変換テーブルtable2を用いた圧縮符号化方法について説明する。
 第1の実施の形態と同様に、入力バッファ13から供給されるDSDデータ
・・・D4[n-3],D4[n-2],D4[n-1],D4[n],D4[n+1],D4[n+2],D4[n+3],・・・
 のうち、エンコード部15が、D4[n]を符号化する場合について説明する。
 D4[n]を符号化する場合、エンコード部15は、その直前の過去の12ビットのデータであるD4[n-3],D4[n-2],D4[n-1]を一塊の12ビットのデータとみなして、第1変換テーブルtable1[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table1[D4[n-3],D4[n-2],D4[n-1]][0],
table1[D4[n-3],D4[n-2],D4[n-1]][1],
table1[D4[n-3],D4[n-2],D4[n-1]][2]
を検索する。
 エンコード部15は、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table1[D4[n-3],D4[n-2],D4[n-1]][0],
table1[D4[n-3],D4[n-2],D4[n-1]][1],
table1[D4[n-3],D4[n-2],D4[n-1]][2]
のなかにD4[n]と同じものがあり、
table1[D4[n-3],D4[n-2],D4[n-1]][0]と同じ場合は、D4[n]を“01b”と2ビットに変換し、
table1[D4[n-3],D4[n-2],D4[n-1]][1]と同じ場合は、D4[n]を“10b”と2ビットに変換し、
table1[D4[n-3],D4[n-2],D4[n-1]][2]と同じ場合は、D4[n]を“11b”と2ビットに変換する。
 一方、第1変換テーブルtable1[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかに、D4[n]と同じものがない場合には、エンコード部15は、第2変換テーブルtable2[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table2[D4[n-3],D4[n-2],D4[n-1]][0],
table2[D4[n-3],D4[n-2],D4[n-1]][1],
table2[D4[n-3],D4[n-2],D4[n-1]][2]
を検索する。
 エンコード部15は、第2変換テーブルtable2[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table2[D4[n-3],D4[n-2],D4[n-1]][0],
table2[D4[n-3],D4[n-2],D4[n-1]][1],
table2[D4[n-3],D4[n-2],D4[n-1]][2]
のなかにD4[n]と同じものがあり、
table2[D4[n-3],D4[n-2],D4[n-1]][0]と同じ場合は、D4[n]を“0001b”と4ビットに変換し、
table2[D4[n-3],D4[n-2],D4[n-1]][1]と同じ場合は、D4[n]を“0010b”と4ビットに変換し、
table2[D4[n-3],D4[n-2],D4[n-1]][2]と同じ場合は、D4[n]を“0011b”と4ビットに変換する。
 一方、第2変換テーブルtable2[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかに同じものが無い場合には、エンコード部15は、“0000b+ D4[n]”のように、D4[n]の前に“0000b”をつけて8ビットに変換する。ここで、“0001b”、“0010b”、“0011b”、“0000b+ D4[n]”のbは、2進表記であることを表す。
 エンコード部15は、以上のようにして、第1変換テーブルtable1と第2変換テーブルtable2の両方を用いて、入力バッファ13から供給されるDSDデータを圧縮符号化することができる。
 データ量比較部17は、入力バッファ13から供給されるDSDデータと、符号化データバッファ16から供給される第1変換テーブルtable1と第2変換テーブルtable2の両方を用いて圧縮符号化した圧縮データのデータ量を比較して、データ量の少ない方を選択し、どちらを選択したかを示す選択制御データをデータ送信部18に供給する。
 なお、エンコード部15は、第1変換テーブルtable1と第2変換テーブルtable2のうちの、第1変換テーブルtable1のみを用いて、DSDデータを圧縮符号化することも勿論可能である。
 そこで、制御部14は、第1変換テーブルtable1のみを用いた圧縮符号化と、第1変換テーブルtable1と第2変換テーブルtable2の両方を用いた圧縮符号化の圧縮率を確認する。そして、制御部14は、圧縮率の高い方を、利用する変換テーブルtableとしてエンコード部15に供給するとともに、データ送信部18に供給することができる。
<復号装置の構成例>
 図14は、本開示に係る復号装置の第4の実施の形態の構成例を示している。
 図14の復号装置70は、図12の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 図14の復号装置70を、図6に示した第1の実施の形態の復号装置70と比較すると、第4の実施の形態の復号装置70では、テーブル記憶部75に、図12の圧縮符号化装置1から送信されてきた第1変換テーブルtable1と第2変換テーブルtable2の両方が記憶される点が異なる。
 第4の実施の形態のデコード部74が行う、第1変換テーブルtable1と第2変換テーブルtable2を用いた復号方法について説明する。
 圧縮符号化装置1で圧縮符号化されて送信されてきた圧縮データを、
  ・・・E2[n-3],E2[n-2],E2[n-1],E2[n],E2[n+1],E2[n+2],E2[n+3],・・・
として、E2[n]を復号する場合について説明する。
 デコード部74は、まず、E2[n]の値を判定する。
 E2[n]が“00b”である場合、受信された第1変換テーブルtable1[4096][3]に搭載されてないデータであるので、デコード部74は、E2[n+1]の値を判定する。
 E2[n+1]も“00b”である場合、受信された第2変換テーブルtable2[4096][3]にも搭載されてないデータであるので、E2[n+1]の次の4ビットのデータ“E2[n+2]+E2[n+3]”が復号すべきデータとなる。
 一方、E2[n+1]が“01b”、“10b”、または“11b”である場合、受信された第2変換テーブルtable2[4096][3]に搭載されているデータであるので、その直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、第2変換テーブルtable2[4096][3]を参照し、復号すべきデータを検索する。復号すべきデータは、“table2[D4[n-3],D4[n-2],D4[n-1]][E2[n+1]-1]”に格納されているデータとなる。
 一方、E2[n]が“01b”、“10b”、または“11b”である場合、受信された第1変換テーブルtable1[4096][3]に搭載されているデータであるので、その直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、第1変換テーブルtable1[4096][3]を参照し、復号すべきデータを検索する。復号すべきデータは、“table1[D4[n-3],D4[n-2],D4[n-1]][E2[n]-1]”に格納されているデータとなる。
 以上のようにして、デコード部74は、第1変換テーブルtable1と第2変換テーブルtable2を用いて、圧縮データを圧縮前の状態に復号(可逆復号)することができる。
 以上の第4の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第4の実施の形態では、圧縮符号化に用いられた第1変換テーブルtable1と第2変換テーブルtable2そのものが、送信データとして送信される。
<5.第5の実施の形態>
<圧縮符号化装置の構成例>
 図15は、本開示に係る圧縮符号化装置の第5の実施の形態の構成例を示している。
 図15に示される第5の実施の形態の圧縮符号化装置1は、図12に示した第4の実施の形態の圧縮符号化装置1に、図8に示した第2の実施の形態の変換テーブル圧縮部101の構成が追加された構成を有している。
 即ち、第5の実施の形態の圧縮符号化装置1では、制御部14が、上述した第4の実施の形態と同様に、1フレームのDSDデータから、第1変換テーブルtable1と第2変換テーブルtable2を作成する。変換テーブル圧縮部101は、第1変換テーブルtable1と第2変換テーブルtable2のデータを圧縮した圧縮変換テーブルデータを作成して、データ送信部18に供給する。
<復号装置の構成例>
 図16は、本開示に係る復号装置の第5の実施の形態の構成例を示している。
 図16の復号装置70は、図15の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 変換テーブル伸長部111は、データ受信部72から供給される圧縮変換テーブルデータに対して、図15の変換テーブル圧縮部101が行った圧縮処理に対応する伸長処理を実行する。伸長処理により、第1変換テーブルtable1と第2変換テーブルtable2が得られる。得られた第1変換テーブルtable1と第2変換テーブルtable2は、テーブル記憶部75に供給され、第4の実施の形態で説明したように、デコード部74が行う復号処理に用いられる。
 以上の第5の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第5の実施の形態では、圧縮符号化に用いられた第1変換テーブルtable1と第2変換テーブルtable2が圧縮されて、送信データとして送信される。
<6.第6の実施の形態>
<圧縮符号化装置の構成例>
 図17は、本開示に係る圧縮符号化装置の第6の実施の形態の構成例を示している。
 図17に示される第6の実施の形態の圧縮符号化装置1は、図12に示した第4の実施の形態の圧縮符号化装置1が採用した第1変換テーブルtable1と第2変換テーブルtable2の2段変換テーブルの構成を、複数種類予め作成し、記憶するようにした構成を有している。
 即ち、第6の実施の形態の圧縮符号化装置1では、制御部14は、3種類の2段変換テーブルtable、具体的には、第1変換テーブルtable1-1と第2変換テーブルtable2-1、第1変換テーブルtable1-2と第2変換テーブルtable2-2、及び第1変換テーブルtable1-3と第2変換テーブルtable2-3を予め記憶している。
 制御部14は、予め記憶されている3種類の2段変換テーブルtableのなかから、入力バッファ13から供給されるDSDデータに最も適した2段変換テーブルtable、即ち、圧縮率の最も高い2段変換テーブルtableを選択する。そして、制御部14は、選択した2段変換テーブルtableを指定する変換テーブル指定データをデータ送信部18に供給する。
 また、第4の実施の形態で説明したように、3種類の第1変換テーブルtable1のみを用いた場合とも、圧縮率を比較して、利用する1段変換テーブルtableを決定することもできる。
<復号装置の構成例>
 図18は、本開示に係る復号装置の第6の実施の形態の構成例を示している。
 図18の復号装置70は、図17の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 第6の実施の形態の復号装置70では、テーブル記憶部75に、図17の圧縮符号化装置1の制御部14が有するものと同じ3種類の2段変換テーブルtableが予め記憶されている。即ち、テーブル記憶部75は、第1変換テーブルtable1-1と第2変換テーブルtable2-1、第1変換テーブルtable1-2と第2変換テーブルtable2-2、及び第1変換テーブルtable1-3と第2変換テーブルtable2-3を予め記憶している。
 データ受信部72は、受信データに含まれる、変換テーブル指定データをテーブル記憶部75に供給する。テーブル記憶部75は、データ受信部72から供給された変換テーブル指定データが示す1段変換テーブルtableまたは2段変換テーブルtableをデコード部74に供給する。
 以上の第6の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第6の実施の形態では、圧縮符号化に用いられた第1変換テーブルtable1と第2変換テーブルtable2が、予め記憶されている。
<7.第7の実施の形態>
<圧縮符号化装置の構成例>
 図19は、本開示に係る圧縮符号化装置の第7の実施の形態の構成例を示している。
 図19に示される第7の実施の形態では、制御部14の構成は、図15に示した第5の実施の形態と同様となっている。即ち、制御部14は、1フレームのDSDデータから、第1変換テーブルtable1と第2変換テーブルtable2の2段変換テーブルtableを作成する。変換テーブル圧縮部101が、作成した第1変換テーブルtable1と第2変換テーブルtable2のデータを圧縮した圧縮変換テーブルデータを作成して、データ送信部18に供給する。
 一方、第7の実施の形態の圧縮符号化装置1は、エンコード部15が、12ビット参照エンコード部141、16ビット参照エンコード部142、及び、20ビット参照エンコード部143を有する点で、図15に示した第5の実施の形態と異なる。
 12ビット参照エンコード部141は、上述した第1乃至第6の実施の形態のエンコード部15が行ってきた圧縮符号化と同様に、直前の過去の12ビットのデータであるD4[n-3],D4[n-2],D4[n-1]を一塊の12ビットのデータとみなして、D4[n]を符号化する。
 16ビット参照エンコード部142は、直前の過去の16ビットのデータを一塊の16ビットのデータとみなして、D4[n]を符号化する。
 20ビット参照エンコード部143は、直前の過去の20ビットのデータを一塊の20ビットのデータとみなして、D4[n]を符号化する。
 16ビット参照エンコード部142及び20ビット参照エンコード部143の圧縮符号化方法は、D4[n]を符号化する場合に参照する過去データのビット数が異なる以外は、12ビット参照エンコード部141と同様である。
 過去データの参照ビット数を、12ビットではなく、16ビットや20ビットと増やすことにより、データの圧縮率をより向上させることができる場合がある。ただし、過去データの参照ビット数を増やした場合、作成される変換テーブルtableのデータ量は、過去データの参照ビット数に対して指数関数的に大きくなる。具体的には、過去データの参照ビット数が12ビットである場合には、過去データのパターン数が、212=4096パターンであったのが、過去データの参照ビット数が16ビットである場合には216=65536パターン、過去データの参照ビット数が20ビットである場合には220=1048576パターンとなる。
 そのため、制御部14は、12ビット参照エンコード部141、16ビット参照エンコード部142、または20ビット参照エンコード部143のいずれを用いるかを、圧縮率を確認して決定する他、相手装置との間に介在するネットワークのトラフィック等、通信回線の状況に応じて決定することができる。あるいはまた、相手装置からの要求に応じて決定してもよい。
<復号装置の構成例>
 図20は、本開示に係る復号装置の第7の実施の形態の構成例を示している。
 図20の復号装置70は、図19の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 第7の実施の形態の復号装置70は、図19の圧縮符号化装置1の12ビット参照エンコード部141、16ビット参照エンコード部142、及び、20ビット参照エンコード部143に対応するデコード部74を有する。即ち、デコード部74は、12ビット参照デコード部161、16ビット参照デコード部162、及び、20ビット参照デコード部163を有している。
 図19の圧縮符号化装置1においてDSDデータの圧縮符号化に用いられた2段変換テーブルtableのデータ(変換テーブルデータ)が、データ受信部72で受信され、変換テーブル伸長部111によって伸長されて、テーブル記憶部75に記憶される。
 テーブル記憶部75は、変換テーブル伸長部111から供給された2段変換テーブルtableをデコード部74に供給する。
 デコード部74では、テーブル記憶部75から供給された2段変換テーブルtableに基づいて、12ビット参照デコード部161、16ビット参照デコード部162、または、20ビット参照デコード部163のいずれかが復号処理を実行する。2段変換テーブルtableのデータ量の違いにより、過去データの参照ビット数が何ビットであるかが分かるので、どのデコード部を用いて復号処理をすればよいかが一意に決定される。
 以上の第7の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第7の実施の形態では、過去データの参照ビット数として、12ビット、16ビット、または、20ビットのいずれかを選択して圧縮符号化が行われ、圧縮符号化に用いられた2段変換テーブルtableのデータが圧縮されて、送信される。
<8.第8の実施の形態>
<圧縮符号化装置の構成例>
 図21は、本開示に係る圧縮符号化装置の第8の実施の形態の構成例を示している。
 図21に示される第8の実施の形態において、エンコード部15は、図19に示した第7の実施の形態と同様に、12ビット参照エンコード部141、16ビット参照エンコード部142、及び、20ビット参照エンコード部143を有している。
 制御部14は、12ビット参照エンコード部141が行う符号化に用いられる12ビット2段変換テーブルtable、16ビット参照エンコード部142が行う符号化に用いられる16ビット2段変換テーブルtable、20ビット参照エンコード部143が行う符号化に用いられる20ビット2段変換テーブルtableを予め記憶している。
 即ち、第8の実施の形態における圧縮符号化装置1は、第7の実施の形態と同様に、過去データの参照ビット数として、12ビット、16ビット、または20ビットのいずれかを選択できる構成を有するが、2段変換テーブルtableは、送信するDSDデータを用いて作成するのではなく、図17に示した第6の実施の形態と同様に、予め記憶するようにした構成とされている。
 制御部14は、予め記憶されている全9種類(各参照ビット数につき3種類×3種類の参照ビット数)の2段変換テーブルtableのなかから、入力バッファ13から供給されるDSDデータに最も適した2段変換テーブルtable、即ち、圧縮率の最も高い2段変換テーブルtableを選択する。なお、最も適した2段変換テーブルtableの選択にあたっては、全9種類で圧縮符号化してみて圧縮率を比較してもよいし、各参照ビット内から所定の1つの2段変換テーブルtableで代表して抽出し、各参照ビット数どうしの圧縮率を比較しても良い。
 制御部14は、選択した2段変換テーブルtableを指定する変換テーブル指定データをデータ送信部18に供給する。
<復号装置の構成例>
 図22は、本開示に係る復号装置の第8の実施の形態の構成例を示している。
 図22の復号装置70は、図21の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 デコード部74は、図21の圧縮符号化装置1の12ビット参照エンコード部141、16ビット参照エンコード部142、及び、20ビット参照エンコード部143に対応する、12ビット参照デコード部161、16ビット参照デコード部162、及び、20ビット参照デコード部163を有している。
 テーブル記憶部75は、図21の圧縮符号化装置1の制御部14が有するものと同じ3種類の2段変換テーブルtable、即ち、12ビット2段変換テーブルtable、16ビット2段変換テーブルtable、及び、20ビット2段変換テーブルtableを予め記憶している。
 データ受信部72は、受信データに含まれる、変換テーブル指定データをテーブル記憶部75に供給する。テーブル記憶部75は、データ受信部72から供給された変換テーブル指定データが示す2段変換テーブルtableをデコード部74に供給する。
 デコード部74は、テーブル記憶部75から供給された2段変換テーブルtableに基づいて、12ビット参照デコード部161、16ビット参照デコード部162、または、20ビット参照デコード部163のいずれかにより、復号処理を実行する。
 以上の第8の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第8の実施の形態では、過去データの参照ビット数として、12ビット、16ビット、または、20ビットのいずれかを選択して圧縮符号化が行われ、圧縮符号化に用いられた2段変換テーブルtableは予め記憶されている。
<9.第9の実施の形態>
<圧縮符号化装置の構成例>
 図23は、本開示に係る圧縮符号化装置の第9の実施の形態の構成例を示している。
 上述した第1乃至第3の実施の形態の圧縮符号化装置1は、1段の変換テーブルtable1を用いた圧縮符号化を行う構成であった。
 上述した第4乃至第8の実施の形態の圧縮符号化装置1は、第1変換テーブルtable1と第2変換テーブルtable2の2段変換テーブルtableを用いた圧縮符号化を行う構成であった。
 図23に示される第9の実施の形態の圧縮符号化装置1は、3段以上となるQ段変換テーブルtableを用いた圧縮符号化を行う構成例である(Qは、Q>2の整数)。
 図23に示されるように、制御部14は、第1変換テーブルtable1から第Q変換テーブルtableQまでのQ段変換テーブルtableを作成し、エンコード部15に供給する。エンコード部15は、制御部14から供給されたQ段変換テーブルtableを用いて、入力バッファ13から供給されるDSDデータを4ビット単位で圧縮符号化する。
 ここで、変換単位が4ビットで、1つの変換テーブルtableは、第1変換テーブルtable1から、発生頻度の大きい順に3個ずつ作成(登録)していくので、本実施の形態におけるQの最大値は5となる。
 従って、第9の実施の形態としては、第1変換テーブルtable1乃至第3変換テーブルtable3を作成する圧縮符号化の構成、第1変換テーブルtable1乃至第4変換テーブルtable4を作成して圧縮符号化の構成、第1変換テーブルtable1乃至第5変換テーブルtable5を作成して圧縮符号化の構成が考えられる。
 第1変換テーブルtable1乃至第5変換テーブルtable5が作成された場合、第1変換テーブルtable1には、発生頻度が1番目から3番目の値が格納され、第2変換テーブルtable2には、発生頻度が4番目から6番目の値が格納され、第3変換テーブルtable3には、発生頻度が7番目から9番目の値が格納され、第4変換テーブルtable4には、発生頻度が10番目から12番目の値が格納され、第5変換テーブルtable5には、発生頻度が13番目から15番目の値が格納される。
<復号装置の構成例>
 図24は、本開示に係る復号装置の第9の実施の形態の構成例を示している。
 図24の復号装置70は、図23の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 テーブル記憶部75は、データ受信部72で受信され、変換テーブル伸長部111で伸長された第1変換テーブルtable1乃至第Q変換テーブルtableQを記憶し、デコード部74に供給する。デコード部74は、第1変換テーブルtable1乃至第Q変換テーブルtableQを用いて復号する。
<3段変換テーブルtableによる圧縮符号化方法>
 第1変換テーブルtable1乃至第3変換テーブルtable3を用いた圧縮符号化方法について説明する。
 第1の実施の形態と同様に、入力バッファ13から供給されるDSDデータ
・・・D4[n-3],D4[n-2],D4[n-1],D4[n],D4[n+1],D4[n+2],D4[n+3],・・・
 のうち、エンコード部15が、D4[n]を符号化する場合について説明する。
 第1変換テーブルtable1から第2変換テーブルtable2についてD4[n]と同じ値を探すまでの部分は、第4の実施の形態で説明した2段変換テーブルtableを用いた圧縮符号化方法と同じである。
 即ち、エンコード部15は、第1変換テーブルtable1[4096][3]、及び、第2変換テーブルtable2[4096][3]のなかに、D4[n]と同じ値があるかどうかを検索して、第1変換テーブルtable1[4096][3]のなかにD4[n]と同じ値があった場合には、“01b”,“10b”、または“11b”の2ビットに変換し、第2変換テーブルtable2[4096][3]のなかに同じ値があった場合には、“0001b”,“0010b”、または“0011b”の4ビットに変換する。
 そして、第2変換テーブルtable2[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかにD4[n]と同じものがない場合には、エンコード部15は、第3変換テーブルtable3[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table3[D4[n-3],D4[n-2],D4[n-1]][0],
table3[D4[n-3],D4[n-2],D4[n-1]][1],
table3[D4[n-3],D4[n-2],D4[n-1]][2]
を検索する。
 エンコード部15は、第3変換テーブルtable3[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table3[D4[n-3],D4[n-2],D4[n-1]][0],
table3[D4[n-3],D4[n-2],D4[n-1]][1],
table3[D4[n-3],D4[n-2],D4[n-1]][2]
のなかにD4[n]と同じものがあり、
table3[D4[n-3],D4[n-2],D4[n-1]][0]と同じ場合は、D4[n]を“000001b”と6ビットに変換し、
table3[D4[n-3],D4[n-2],D4[n-1]][1]と同じ場合は、D4[n]を“000010b”と6ビットに変換し、
table3[D4[n-3],D4[n-2],D4[n-1]][2]と同じ場合は、D4[n]を“000011b”と6ビットに変換する。
 一方、エンコード部15は、第3変換テーブルtable3[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかに同じものが無い場合には、“000000b+ D4[n]”のように、D4[n]の前に“000000b”をつけて10ビットに変換する。
<3段変換テーブルtableによる復号方法>
 次に、第1変換テーブルtable1乃至第3変換テーブルtable3を用いた復号方法について説明する。
 圧縮符号化装置1で圧縮符号化されて送信されてきた圧縮データを、
  ・・・E2[n-3],E2[n-2],E2[n-1],E2[n],E2[n+1],E2[n+2],E2[n+3],・・・
として、E2[n]を復号する場合について説明する。
 E2[n]が“01b”、“10b”、または“11b”である場合、デコード部74は、第1変換テーブルtable1[4096][3]を参照し、“table1[D4[n-3],D4[n-2],D4[n-1]][E2[n]-1]”に格納されているデータに復号する。
 E2[n]が“00b”である場合、受信された第1変換テーブルtable1[4096][3]に搭載されてないデータであるので、デコード部74は、E2[n+1]の値を判定する。
 E2[n+1]が“01b”、“10b”、または“11b”である場合、デコード部74は、受信された第2変換テーブルtable2[4096][3]を参照し、“table2[D4[n-3],D4[n-2],D4[n-1]][E2[n+1]-1]”に格納されているデータに復号する。
 E2[n+1]も“00b”である場合、受信された第2変換テーブルtable2[4096][3]に搭載されてないデータであるので、デコード部74は、E2[n+2]の値を判定する。
 E2[n+2]が“01b”、“10b”、または“11b”である場合、デコード部74は、受信された第3変換テーブルtable3[4096][3]を参照し、“table3[D4[n-3],D4[n-2],D4[n-1]][E2[n+2]-1]”に格納されているデータに復号する。
 E2[n+2]も“00b”である場合、受信された第3変換テーブルtable3[4096][3]にも搭載されてないデータであるので、デコード部74は、E2[n+2]の次の4ビットのデータ“E2[n+3]+E2[n+4]”が復号すべきデータとなる。
<4段変換テーブルtableによる圧縮符号化方法>
 次に、第1変換テーブルtable1乃至第4変換テーブルtable4を用いた圧縮符号化方法について説明する。
 第1変換テーブルtable1から第3変換テーブルtable3についてD4[n]と同じ値を探すまでの部分は、上述した3段変換テーブルtableを用いた圧縮符号化方法と同じであるので、説明を省略する。
 そして、第3変換テーブルtable3[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかにD4[n]と同じものがない場合には、エンコード部15は、第4変換テーブルtable4[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table4[D4[n-3],D4[n-2],D4[n-1]][0],
table4[D4[n-3],D4[n-2],D4[n-1]][1],
table4[D4[n-3],D4[n-2],D4[n-1]][2]
を検索する。
 エンコード部15は、第4変換テーブルtable4[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table4[D4[n-3],D4[n-2],D4[n-1]][0],
table4[D4[n-3],D4[n-2],D4[n-1]][1],
table4[D4[n-3],D4[n-2],D4[n-1]][2]
のなかにD4[n]と同じものがあり、
table4[D4[n-3],D4[n-2],D4[n-1]][0]と同じ場合は、D4[n]を“00000001b”と8ビットに変換し、
table4[D4[n-3],D4[n-2],D4[n-1]][1]と同じ場合は、D4[n]を“00000010b”と8ビットに変換し、
table4[D4[n-3],D4[n-2],D4[n-1]][2]と同じ場合は、D4[n]を“00000011b”と8ビットに変換する。
 一方、エンコード部15は、第4変換テーブルtable4[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかに同じものが無い場合には、“00000000b+ D4[n]”のように、D4[n]の前に“00000000b”をつけて12ビットに変換する。
<4段変換テーブルtableによる復号方法>
 次に、第1変換テーブルtable1乃至第4変換テーブルtable4を用いた復号方法について説明する。
 E2[n]が“00b”、“01b”、“10b”、または“11b”である場合、
E2[n+1]が“00b”、“01b”、“10b”、または“11b”である場合、並びに、
E2[n+2]が“01b”、“10b”、または“11b”である場合については、上述した3段変換テーブルtableによる復号方法と同様であるので、説明は省略する。
 E2[n+2]も“00b”である場合、受信された第3変換テーブルtable3[4096][3]にも搭載されてないデータであるので、デコード部74は、E2[n+3]の値を判定する。
 E2[n+3]が“01b”、“10b”、または“11b”である場合、デコード部74は、受信された第4変換テーブルtable4[4096][3]を参照し、“table4[D4[n-3],D4[n-2],D4[n-1]][E2[n+3]-1]”に格納されているデータに復号する。
 E2[n+3]も“00b”である場合、受信された第4変換テーブルtable4[4096][3]にも搭載されてないデータであるので、デコード部74は、E2[n+3]の次の4ビットのデータ“E2[n+4]+E2[n+5]”が復号すべきデータとなる。
<5段変換テーブルtableによる圧縮符号化方法>
 次に、第1変換テーブルtable1乃至第5変換テーブルtable5を用いた圧縮符号化方法について説明する。
 第1変換テーブルtable1から第4変換テーブルtable4についてD4[n]と同じ値を探すまでの部分は、上述した4段変換テーブルtableを用いた圧縮符号化方法と同じであるので、説明は省略する。
 第4変換テーブルtable4[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかにD4[n]と同じものがない場合には、エンコード部15は、第5変換テーブルtable5[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table5[D4[n-3],D4[n-2],D4[n-1]][0],
table5[D4[n-3],D4[n-2],D4[n-1]][1],
table5[D4[n-3],D4[n-2],D4[n-1]][2]
を検索する。
 エンコード部15は、第5変換テーブルtable5[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値、
table5[D4[n-3],D4[n-2],D4[n-1]][0],
table5[D4[n-3],D4[n-2],D4[n-1]][1],
table5[D4[n-3],D4[n-2],D4[n-1]][2]
のなかにD4[n]と同じものがあり、
table5[D4[n-3],D4[n-2],D4[n-1]][0]と同じ場合は、D4[n]を“0000000001b”と10ビットに変換し、
table5[D4[n-3],D4[n-2],D4[n-1]][1]と同じ場合は、D4[n]を“0000000010b”と10ビットに変換し、
table5[D4[n-3],D4[n-2],D4[n-1]][2]と同じ場合は、D4[n]を“0000000011b”と10ビットに変換する。
 一方、エンコード部15は、第5変換テーブルtable5[4096][3]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレス(行)の3つの値のなかに同じものが無い場合には、“0000000000b+ D4[n]”のように、D4[n]の前に“0000000000b”をつけて14ビットに変換する。
<5段変換テーブルtableによる復号方法>
 次に、第1変換テーブルtable1乃至第5変換テーブルtable5を用いた復号方法について説明する。
 E2[n]が“00b”、“01b”、“10b”、または“11b”である場合、
E2[n+1]が“00b”、“01b”、“10b”、または“11b”である場合、
E2[n+2]が“00b”、“01b”、“10b”、または“11b”である場合、並びに、
E2[n+3]が“01b”、“10b”、または“11b”である場合については、上述した4段変換テーブルtableによる復号方法と同様であるので、説明は省略する。
 E2[n+3]も“00b”である場合、受信された第4変換テーブルtable4[4096][3]にも搭載されてないデータであるので、デコード部74は、E2[n+4]の値を判定する。
 E2[n+4]が“01b”、“10b”、または“11b”である場合、デコード部74は、受信された第5変換テーブルtable5[4096][3]を参照し、“table5[D4[n-3],D4[n-2],D4[n-1]][E2[n+4]-1]”に格納されているデータに復号する。
 E2[n+4]も“00b”である場合、受信された第5変換テーブルtable5[4096][3]にも搭載されてないデータであるので、デコード部74は、E2[n+4]の次の4ビットのデータ“E2[n+5]+E2[n+6]”が復号すべきデータとなる。
 以上のように、DSDデータを4ビット単位で、変換テーブルtableに基づいて圧縮符号化する場合には、2段の変換テーブルtableに限らず、3段以上の変換テーブルtableを用いるようにすることも可能である。
 また、上述した例は、過去データの参照ビット数が12ビットの例であるが、第8の実施の形態で説明したように、過去の参照ビット数を16ビットや20ビットなどにしても同様に行うことができる。
 以上の第9の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第9の実施の形態では、圧縮符号化に用いられたQ段変換テーブルtableのデータが圧縮されて、送信データとして送信される。
<処理結果例>
 図25は、変換テーブルtableの段数や、過去データの参照ビット数を変えて、複数のコンテンツについて圧縮符号化した場合の圧縮率を示している。
 ここで、圧縮率とは、圧縮により削減されたデータ量を符号化前のデータ量で除算した値(圧縮率=圧縮により削減されたデータ量/符号化前のデータ量)を表す。
 本開示の圧縮符号化方法では、4ビット単位のDSDデータが必ず変換テーブルtableのなかに存在して2ビットに変換される場合が、圧縮率が最大となり、そのときの値(最大値)は50%である。
 図25に示される複数のコンテンツの圧縮率の結果を参照すると、1段の変換テーブルtableを用いた場合に、理論最大値に近い40%の圧縮率となっているコンテンツ3を除いて、変換テーブルtableの段数を1段から2段にすることにより、例えば、12%→19%(コンテンツ1)、10%→19%(コンテンツ2)のように、圧縮率が2倍程度に向上している。
 また、図25の結果によれば、変換テーブルtableの段数を1段から2段、(3段、)4段と多くするほど、圧縮率は向上している。過去データの参照ビット数も12ビットから20ビットに増やした場合も、圧縮率は僅かながら向上している。
 先行技術文献として開示した特許文献1の方法で圧縮符号化し、圧縮率を計算してみたところ、0.5%(サンプル1)、2.4%(サンプル2)、0.4%(サンプル3)などとなった。本開示の圧縮伸長方法を、先行技術文献として開示した特許文献1の方法と比較すると、過去データの参照ビット数を12ビット、16ビット、または20ビットに拡張することにより、過去データとの相関がより強く現れるようになり、圧縮率をさらに高めることができる。即ち、より圧縮率の高いロスレス圧縮技術を提供することができる。
<10.第10の実施の形態>
<圧縮符号化装置の構成例>
 図26は、本開示に係る圧縮符号化装置の第10の実施の形態の構成例を示している。
 第10の実施の形態において、制御部14は、図23に示した第9の実施の形態と同様に、先に作成したデータ発生カウントテーブルpretableに基づいて、第1変換テーブルtable1乃至第Q変換テーブルtableQを作成し、エンコード部15に供給する。
 エンコード部15は、4to2エンコード部181と、4to1エンコード部182を有している。
 4to2エンコード部181は、第9の実施の形態と同様に、Q段変換テーブルを参照して、4ビット単位のDSDデータを2ビットに変換する圧縮符号化を行う。この場合、Qの最大値は5となるが、1段から5段までの任意の段数を採用することができる。
 これに対して、4to1エンコード部182は、Q段変換テーブルを参照して、4ビット単位のDSDデータを1ビットに変換する圧縮符号化を行う。この場合、Qの最大値は16となるが、1段から16段までの任意の段数を採用することができる。
 制御部14は、4to2エンコード部181と4to1エンコード部182のどちらで圧縮符号化させるかを決定し、先に作成したデータ発生カウントテーブルpretableに基づいて、第1変換テーブルtable1乃至第Q変換テーブルtableQを作成することができる。
 例えば、制御部14は、両者で最初の1フレームのDSDデータを圧縮符号化させたときの圧縮率に基づいて、4to2エンコード部181と4to1エンコード部182のどちらで圧縮符号化させるかを決定してもよいし、設定画面等によるユーザ設定や、相手装置からの指定に基づいて決定してもよい。
 また、変換テーブルtableの段数を何段に設定するかについても同様に、適宜決定することができる。
<復号装置の構成例>
 図27は、本開示に係る復号装置の第10の実施の形態の構成例を示している。
 図27の復号装置70は、図26の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 テーブル記憶部75は、データ受信部72で受信され、変換テーブル伸長部111で伸長された第1変換テーブルtable1乃至第Q変換テーブルtableQを記憶し、デコード部74に供給する。
 デコード部74は、図26の圧縮符号化装置1の4to2エンコード部181及び4to1エンコード部182に対応する、4to2デコード部191及び4to1デコード部192を有している。
 デコード部74は、テーブル記憶部75から供給されたQ段変換テーブルtableに基づいて、4to2デコード部191または4to1デコード部192のいずれかにより、復号処理を実行する。
<変換テーブルの作成方法>
 次に、4to1エンコード部182による圧縮符号化を行う場合の、制御部14による変換テーブルtable1の作成方法について説明する。
 なお、データ発生カウントテーブルpretableの作成方法は、図2を参照して説明した方法と同様であるので、説明は省略する。
 制御部14は、先に作成したデータ発生カウントテーブルpretableに基づいて、4096行1列の第1変換テーブルtable1[4096][1]=table1[4096]を作成する。ここで、第1変換テーブルtable1[4096]の各要素[0]乃至[4095]は、過去の3つのD4データがとり得る値に対応し、過去の3つのD4データがとり得る値において、次のD4データがとり得る16個の値のうち、発生頻度が最も大きい(1番目の)値が格納される。
 図28は、4to1エンコード部182による圧縮符号化を行う場合の第1変換テーブルtable1[4096]の例を示している。
 図2を参照して説明したように、データ発生カウントテーブルpretableの118行目であるpretable[117][0]乃至[117][15]において、発生頻度が最も大きい(1番目の)値は、31回発生した“5”であるので、第1変換テーブルtable1[4096]の118番目の要素には、{05}が格納されている。
 図29は、4to1エンコード部182による圧縮符号化を行う場合の第2変換テーブルtable2[4096]の例を示している。
 図2を参照して説明したように、データ発生カウントテーブルpretableの118行目であるpretable[117][0]乃至[117][15]において、発生頻度が2番目の値は、20回発生した“4”であるので、第2変換テーブルtable1[4096]の118番目の要素には、{04}が格納されている。
 以下同様にして、発生頻度が大きいものから順に選択することで、第16変換テーブルtable16[4096]まで作成することができる。
<4to1エンコード部182による圧縮符号化方法>
 次に、4to1エンコード部182による圧縮符号化方法と、4to1デコード部192による復号方法について説明する。
<第1変換テーブルtable1のみを用いた圧縮符号化>
 初めに、第1変換テーブルtable1のみを用いた圧縮符号化方法について説明する。
 これまでの説明と同様に、入力バッファ13から供給されるDSDデータ
・・・D4[n-3],D4[n-2],D4[n-1],D4[n],D4[n+1],D4[n+2],D4[n+3],・・・
 のうち、エンコード部15が、D4[n]を符号化する場合について説明する。
 D4[n]を符号化する場合、エンコード部15は、その直前の過去の12ビットのデータであるD4[n-3],D4[n-2],D4[n-1]を一塊の12ビットのデータとみなして、第1変換テーブルtable1[4096]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレスの値、即ち、
table1[D4[n-3],D4[n-2],D4[n-1]]
に格納されている値がD4[n]と同じであるかを判定する。
 table1[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じであると判定された場合、エンコード部15は、D4[n]を“1b”と1ビットに変換する。
 一方、table1[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じではないと判定された場合、エンコード部15は、“0b+ D4[n]”のように、D4[n]の前に“0b”をつけて5ビットに変換する。ここで、“0b+ D4[n]”のbは、2進表記であることを表す。
<第1変換テーブルtable1のみを用いた復号>
 次に、第1変換テーブルtable1のみを用いた復号方法について説明する。
 4to1エンコード部182で圧縮符号化されて送信されてきた圧縮データを、1ビット単位で以下のように表し、E1[n]を復号する場合について説明する。
  ・・・E1[n-3],E1[n-2],E1[n-1],E1[n],E1[n+1],E1[n+2],E1[n+3],・・・
として、E1[n]を復号する場合について説明する。
 デコード部74は、まず、E1[n]の値を判定する。
 E1[n]が“0b”である場合、受信された第1変換テーブルtable1[4096]に搭載されてないデータであるので、E1[n]の次の4ビットのデータ“E1[n+1]+E1[n+2]+E1[n+3]+E1[n+4]”が復号すべきデータとなる。
 一方、E1[n]が“1b”である場合、受信された第1変換テーブルtable1[4096]に搭載されているデータであるので、その直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、第1変換テーブルtable1[4096]を参照し、復号すべきデータを検索する。復号すべきデータは、“table1[D4[n-3],D4[n-2],D4[n-1]]”に格納されているデータとなる。
<第1変換テーブルtable1と第2変換テーブルtable2を用いた圧縮符号化>
 次に、第1変換テーブルtable1と第2変換テーブルtable2を用いた圧縮符号化方法について説明する。
 D4[n]を符号化する場合、エンコード部15は、その直前の過去の12ビットのデータであるD4[n-3],D4[n-2],D4[n-1]を一塊の12ビットのデータとみなして、第1変換テーブルtable1[4096]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレスの値、即ち、
table1[D4[n-3],D4[n-2],D4[n-1]]
に格納されている値がD4[n]と同じであるかを判定する。
 table1[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じであると判定された場合、エンコード部15は、D4[n]を“1b”と1ビットに変換する。
 一方、table1[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じではないと判定された場合、エンコード部15は、第2変換テーブルtable2[4096]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレスの値、即ち、
table2[D4[n-3],D4[n-2],D4[n-1]]
に格納されている値がD4[n]と同じであるかを判定する。
 table2[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じであると判定された場合、エンコード部15は、D4[n]を“01b”と2ビットに変換する。
 一方、table2[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じではないと判定された場合、エンコード部15は、“00b+ D4[n]”のように、D4[n]の前に“00b”をつけて6ビットに変換する。
<第1変換テーブルtable1と第2変換テーブルtable2を用いた復号>
 次に、第1変換テーブルtable1と第2変換テーブルtable2を用いた復号方法について説明する。
 デコード部74は、まず、E1[n]の値を判定する。
 E1[n]が“0b”である場合、受信された第1変換テーブルtable1[4096]に搭載されてないデータであるので、デコード部74は、E1[n+1]の値を判定する。
 E1[n+1]も“0b”である場合、受信された第2変換テーブルtable2[4096]にも搭載されてないデータであるので、E1[n+1]の次の4ビットのデータ“E1[n+2]+E1[n+3]+E1[n+4]+E1[n+5]”が復号すべきデータとなる。
 一方、E1[n]が“1b”である場合、受信された第1変換テーブルtable1[4096]に搭載されているデータであるので、その直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、第1変換テーブルtable1[4096]を参照し、復号すべきデータを検索する。復号すべきデータは、“table1[D4[n-3],D4[n-2],D4[n-1]]”に格納されているデータとなる。
 一方、E1[n+1]が“1b”である場合、受信された第2変換テーブルtable2[4096]に搭載されているデータであるので、その直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、第2変換テーブルtable2[4096]を参照し、復号すべきデータを検索する。復号すべきデータは、“table2[D4[n-3],D4[n-2],D4[n-1]]”に格納されているデータとなる。
 第1変換テーブルtable1乃至第3変換テーブルtable3を用いた圧縮符号化方法及び復号方法以降から、第1変換テーブルtable1乃至第15変換テーブルtable15を用いた圧縮符号化方法及び復号方法までについても同様であるので、説明は省略する。
<16段変換テーブルtableを用いた圧縮符号化>
 最後に、第1変換テーブルtable1乃至第16変換テーブルtable16を用いた圧縮符号化方法について説明する。
 第1変換テーブルtable1から第15変換テーブルtable15についてD4[n]と同じ値を探すまでの部分は、上述した説明と同様であるので省略する。
 table15[D4[n-3],D4[n-2],D4[n-1]]に格納されている値がD4[n]と同じではないと判定された場合、第16変換テーブルtable16[4096]の、D4[n-3],D4[n-2],D4[n-1]が示すアドレスの値、即ち、
table16[D4[n-3],D4[n-2],D4[n-1]]
に格納されている値と同じはずであるので、エンコード部15は、D4[n]を“0000000000000001b”と16ビットに変換する。
<16段変換テーブルtableを用いた復号>
 次に、第1変換テーブルtable1乃至第16変換テーブルtable16を用いた復号方法について説明する。
 第1変換テーブルtable1から第15変換テーブルtable15について、E1[n]乃至E1[n+15]が“0b”であるか“1b”であるかを判定する部分は、上述した説明と同様であるので省略する。
 E1[n]乃至E1[n+15]が全て“0b”である場合、受信された第1変換テーブルtable1[4096]乃至第15変換テーブルtable15[4096]のいずれにも搭載されてないデータであるので、第16変換テーブルtable16[4096]に搭載されているデータとなる。したがって、直前に復号した12ビットのD4データD4[n-3],D4[n-2],D4[n-1]を使って、第16変換テーブルtable16[4096]を参照し、復号すべきデータを検索する。復号すべきデータは、“table16[D4[n-3],D4[n-2],D4[n-1]]”に格納されているデータとなる。
 以上の第10の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第10の実施の形態では、4ビットのDSDデータを2ビットに変換する圧縮符号化か、または、4ビットのDSDデータを1ビットに変換する圧縮符号化のどちらかを選択することができる。圧縮符号化に用いられたQ段変換テーブルtableのデータは圧縮されて、送信データとして送信される。
<11.第11の実施の形態>
<圧縮符号化装置の構成例>
 図30は、本開示に係る圧縮符号化装置の第11の実施の形態の構成例を示している。
 図30に示される第11の実施の形態において、エンコード部15は、図26に示した第10の実施の形態と同様に、4to2エンコード部181と4to1エンコード部182を有している。
 制御部14は、4to2エンコード部181が行う符号化に用いられる4to2変換テーブルtableと、4to1エンコード部182が行う符号化に用いられる4to1変換テーブルtableを予め記憶している。
 即ち、第11の実施の形態における圧縮符号化装置1は、第10の実施の形態と同様に、Q段変換テーブルを参照して、4ビットのDSDデータを2ビットに変換する圧縮符号化と、4ビットのDSDデータを1ビットに変換する圧縮符号化のいずれかを選択できる構成を有するが、Q段変換テーブルtableは、送信するDSDデータを用いて作成するのではなく、図17に示した第6の実施の形態等と同様に、予め記憶するようにした構成とされている。
 制御部14は、4to2エンコード部181と4to1エンコード部182のどちらで圧縮符号化させるかを決定し、決定結果に対応する4to2変換テーブルtable、または、4to1変換テーブルtableをエンコード部15に供給する。
 また、制御部14は、選択した変換テーブルtableを指定する変換テーブル指定データをデータ送信部18に供給する。
 なお、図30の例では、4to2変換テーブルtable、及び、4to1変換テーブルtableとして、1種類の変換テーブルのみが記憶されているが、図21を参照して説明した第8の実施の形態のように、4to2変換テーブルtable、及び、4to1変換テーブルtableそれぞれについて、複数種類の変換テーブルtableを記憶しても良い。
<復号装置の構成例>
 図31は、本開示に係る復号装置の第11の実施の形態の構成例を示している。
 図31の復号装置70は、図30の圧縮符号化装置1が圧縮符号化して送信したオーディオ信号を受信して伸長処理(可逆復号)する装置である。
 デコード部74は、図30の圧縮符号化装置1の4to2エンコード部181及び4to1エンコード部182に対応する、4to2デコード部191及び4to1デコード部192を有している。
 テーブル記憶部75は、図30の圧縮符号化装置1の制御部14が有するものと同じ4to2変換テーブルtable及び4to1変換テーブルtableを予め記憶している。
 データ受信部72は、受信データに含まれる、変換テーブル指定データをテーブル記憶部75に供給する。テーブル記憶部75は、データ受信部72から供給された変換テーブル指定データが示す、4to2変換テーブルtableまたは4to1変換テーブルtableのいずれか一方をデコード部74に供給する。
 デコード部74は、テーブル記憶部75から供給された4to2変換テーブルtableまたは4to1変換テーブルtableに基づいて、4to2デコード部191または4to1デコード部192により、復号処理を実行する。
 以上の第11の実施の形態によれば、圧縮符号化装置1が、DSDデータを圧縮符号化して送信し、復号装置70が、圧縮符号化されて送信されてきた送信データを受信し、可逆復号して出力する。第11の実施の形態では、4ビットのDSDデータを2ビットに変換する圧縮符号化か、または、4ビットのDSDデータを1ビットに変換する圧縮符号化のどちらかを選択することができる。圧縮符号化に用いられたQ段変換テーブルtableのデータは、予め記憶されている。
<処理結果例>
 図32は、4to2エンコード部181と4to1エンコード部182による処理結果を示している。
 図32の処理結果は、いずれも、過去データの参照ビット数は20ビット、変換テーブルtableの段数は4段で共通である。
 図32に示される圧縮符号化の結果を参照すると、4ビットを2ビットに圧縮符号化した場合に圧縮率が理論的な最大値(50%)に近いようなコンテンツにおいて、4to1エンコード部182によって4ビットを1ビットに圧縮符号化することにより、より圧縮率を底上げすることができることが分かる。
 上述した実施の形態では、ADC12により△Σ変調されたデジタル信号(DSDデータ)に対して、データの発生頻度に基づくデータ変換テーブルtableを用いて、4ビットを2ビットのコードに変換することにより、圧縮符号化する例について説明した。また、4ビットを1ビットのコードに変換することにより、圧縮符号化する例についても説明した。
 しかしながら、圧縮符号化装置1は、例えば、8ビットを4ビットのコードに変換することにより圧縮符号化し、復号装置70は、圧縮符号化装置1により圧縮符号化されたコードを伸長処理(可逆復号)することも可能である。8ビットを4ビットのコードに変換する場合には、例えば、図4におけるエンコード部15のレジスタ51が8ビット記憶となり、レジスタ54が4ビット記憶に変更される。また、図6におけるデコード部74のレジスタ91が4ビット記憶となり、レジスタ94が8ビット記憶に変更される。
 従って、圧縮符号化装置1は、△Σ変調されたデジタル信号のMビットを、第1変換テーブルtable1を参照してNビット(M>N)に変換し、第1変換テーブルtable1ではNビットに変換できない場合に、第2変換テーブルtable2を参照してNビットに変換するエンコード部15を備えるということができる。ここで、Nビットのビットパターン数をPとしたとき、第1変換テーブルtable1は、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、第2変換テーブルtable2は、過去のビットパターンに対する発生頻度が第1変換テーブルtable1に次ぐ上位(P-1)個のコードを記憶したテーブルである。
 また、復号装置70は、△Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データのNビットを、第1変換テーブルtable1を参照してMビットに変換し、第1変換テーブルtable1ではMビットに変換できない場合に、第2変換テーブルtable2を参照してMビットに復号するデコード部74を備えるということができる。ここで、Nビットのビットパターン数をPとしたとき、第1変換テーブルtable1は、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、第2変換テーブルtable2は、過去のビットパターンに対する発生頻度が第1変換テーブルtable1に次ぐ上位(P-1)個のコードを記憶したテーブルである。
 圧縮符号化装置1及び復号装置70では、第1の実施の形態乃至第10の実施の形態において説明した各実施の形態の機能は、説明した組合せに限らず、各実施の形態の機能の一部または全部の機能を任意に組み合わせた形態を採用することができる。そして、任意に組み合わせた機能を、ユーザ設定、ネットワーク(通信回線)のトラフィックまたは容量、装置の処理能力(CPUパワーやメモリ容量)、受信側装置からの指示など、各種の条件に応じて適宜選択して実行させることができる。
 例えば、ネットワークのトラフィックが多い場合や回線容量が小さい場合には、圧縮率がより高い2段以上の多段変換テーブルtableによる圧縮符号化を行い、反対に、ネットワークが軽い場合には、1段の変換tableのみを用いた圧縮符号化を選択するように切替えることができる。
 また例えば、ネットワークのトラフィックが多い場合や回線容量が小さい場合には、変換テーブルデータを送信せずに、予め記憶された変換テーブルtableを用いた圧縮符号化を行い、反対に、ネットワークが軽い場合には、実際のDSDデータから作成した変換テーブルtableのデータをそのまま若しくは圧縮して伝送し、復号側に利用させるように切替えることができる。
 また例えば、受信側の復号装置の処理能力が低い場合には、1段の変換tableのみを用いた圧縮符号化を行い、反対に、受信側の復号装置の処理能力が高い場合には、2段以上の多段変換テーブルtableによる圧縮符号化を行うように選択することができる。
 また例えば、圧縮符号化装置1は、1段の変換tableのみを用いた圧縮符号化を行う場合には、実際のDSDデータから作成した変換テーブルtableのデータをそのまま若しくは圧縮して送信し、2段以上の多段変換テーブルtableによる圧縮符号化を行う場合には、予め記憶された変換テーブルtableを用いるように切り替えても良い。
<コンピュータへの適用例>
 上述した一連の処理は、ハードウエアにより実行することもできるし、ソフトウェアにより実行することもできる。本開示の圧縮伸長方法は、CPU(Central Processing Unit)のソフトウェア処理としては処理量が少ないので、機器の処理能力の軽重に左右されない。したがって、モバイル系の端末、据え置き系の機器等の機種依存性が少ない。
 上述した一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどが含まれる。
 図33は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。
 コンピュータにおいて、CPU201,ROM(Read Only Memory)202,RAM(Random Access Memory)203は、バス204により相互に接続されている。
 バス204には、さらに、入出力インタフェース205が接続されている。入出力インタフェース205には、入力部206、出力部207、記憶部208、通信部209、及びドライブ210が接続されている。
 入力部206は、キーボード、マウス、マイクロホンなどよりなる。出力部207は、ディスプレイ、スピーカなどよりなる。記憶部208は、ハードディスクや不揮発性のメモリなどよりなる。通信部209は、ネットワークインタフェースなどよりなる。ドライブ210は、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブル記録媒体211を駆動する。
 以上のように構成されるコンピュータでは、CPU201が、例えば、記憶部208に記憶されているプログラムを、入出力インタフェース205及びバス204を介して、RAM203にロードして実行することにより、上述した一連の処理が行われる。
 コンピュータでは、プログラムは、リムーバブル記録媒体211をドライブ210に装着することにより、入出力インタフェース205を介して、記憶部208にインストールすることができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して、通信部209で受信し、記憶部208にインストールすることができる。その他、プログラムは、ROM202や記憶部208に、あらかじめインストールしておくことができる。
 なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。
 本開示の実施の形態は、上述した実施の形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において種々の変更が可能である。
 例えば、上述した複数の実施の形態の全てまたは一部を組み合わせた形態を採用することができる。
 例えば、本開示は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。
 また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。
 さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。
 なお、本明細書に記載された効果はあくまで例示であって限定されるものではなく、本明細書に記載されたもの以外の効果があってもよい。
 なお、本開示は以下のような構成も取ることができる。
(1)
 △Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換するエンコード部を備え、
 前記Nビットのビットパターン数をPとしたとき、
 前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
 前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 圧縮符号化装置。
(2)
 前記エンコード部により変換された変換データを送信するデータ送信部をさらに備え、
 前記データ送信部は、前記変換データとともに、前記第1変換テーブルと前記第2変換テーブルのデータも送信する
 前記(1)に記載の圧縮符号化装置。
(3)
 前記第1変換テーブルと前記第2変換テーブルのデータを圧縮した圧縮変換テーブルデータを作成する変換テーブル圧縮部をさらに備え、
 前記データ送信部は、前記第1変換テーブルと前記第2変換テーブルのデータとして、前記圧縮変換テーブルデータを送信する
 前記(2)に記載の圧縮符号化装置。
(4)
 前記第1変換テーブルと前記第2変換テーブルは、前記デジタル信号を用いて作成されたテーブルである
 前記(1)乃至(3)のいずれかに記載の圧縮符号化装置。
(5)
 前記第1変換テーブルと前記第2変換テーブルのセットを複数記憶する記憶部を備え、
 前記エンコード部は、複数のなかから選択された前記第1変換テーブルと前記第2変換テーブルのセットを用いて、前記Mビットを前記Nビットに変換する
 前記(1)乃至(4)のいずれかに記載の圧縮符号化装置。
(6)
 前記記憶部に記憶されている複数の前記第1変換テーブルと前記第2変換テーブルのセットうち、圧縮率の最も高いセットが選択される
 前記(5)に記載の圧縮符号化装置。
(7)
 前記過去のビットパターンのビット数が、複数種類用意されており、
 前記エンコード部は、複数のなかから選択された所定ビット数の前記第1変換テーブルと前記第2変換テーブルのセットを用いて、前記Mビットを前記Nビットに変換する
 前記(1)乃至(6)のいずれかに記載の圧縮符号化装置。
(8)
 前記エンコード部は、前記第2変換テーブルでは前記Nビットに変換できない場合に、第3変換テーブルを参照して前記Mビットを前記Nビットに変換し、
 前記第3変換テーブルは、過去のビットパターンに対する発生頻度が前記第2変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 前記(1)乃至(7)のいずれかに記載の圧縮符号化装置。
(9)
 前記エンコード部は、前記デジタル信号のMビットを前記Nビットに変換する第1エンコード部と、前記デジタル信号のMビットを前記Nビットと異なるN2ビットに変換する第2エンコード部とを有する
 前記(1)乃至(8)のいずれかに記載の圧縮符号化装置。
(10)
 前記第1エンコード部のための前記第1変換テーブルと前記第2変換テーブルのセットと、前記第2エンコード部のための前記第1変換テーブルと前記第2変換テーブルのセットを記憶する記憶部をさらに備える
 前記(9)に記載の圧縮符号化装置。
(11)
 △Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換し、
 前記Nビットのビットパターン数をPとしたとき、
 前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
 前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 圧縮符号化方法。
(12)
 コンピュータに、
 △Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換する処理を実行させ、
 前記Nビットのビットパターン数をPとしたとき、
 前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
 前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 プログラム。
(13)
 △Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号するデコード部を備え、
 前記Nビットのビットパターン数をPとしたとき、
 前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
 前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 復号装置。
(14)
 前記符号化データを受信するデータ受信部をさらに備え、
 前記データ受信部は、前記符号化データとともに、前記第1変換テーブルと前記第2変換テーブルのデータも受信する
 前記(13)に記載の復号装置。
(15)
 前記第1変換テーブルと前記第2変換テーブルのセットを複数記憶する記憶部を備え、
 前記デコード部は、複数のなかから選択された前記第1変換テーブルと前記第2変換テーブルのセットを用いて、前記Nビットを前記Mビットに変換する
 前記(13)に記載の復号装置。
(16)
 前記符号化データとともに、複数のなかから選択された前記第1変換テーブルと前記第2変換テーブルのセットを指定する変換テーブル指定データを受信するデータ受信部をさらに備える
 前記(15)に記載の復号装置。
(17)
 前記デコード部は、前記第2変換テーブルでは前記Mビットに変換できない場合に、第3変換テーブルを参照して前記Nビットを前記Mビットに変換し、
 前記第3変換テーブルは、過去のビットパターンに対する発生頻度が前記第2変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 前記(13)乃至(16)のいずれかに記載の復号装置。
(18)
 前記デコード部は、前記符号化データの前記Nビットを前記Mビットに変換する第1デコード部と、前記符号化データの前記Nビットと異なるN2ビットを前記Mビットに変換する第2デコード部とを有する
 前記(13)乃至(16)のいずれかに記載の復号装置。
(19)
 △Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号し、
 前記Nビットのビットパターン数をPとしたとき、
 前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
 前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 復号方法。
(20)
 コンピュータに、
 △Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号する処理を実行させ、
 前記Nビットのビットパターン数をPとしたとき、
 前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
 前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
 プログラム。
 1 圧縮符号化装置, 14 制御部, 15 エンコード部, 18 データ送信部, 53 変換テーブル処理部, 70 復号装置, 72 データ受信部, 74 デコード部, 75 テーブル記憶部, 93 変換テーブル処理部, 111 変換テーブル伸長部, 141 12ビット参照エンコード部, 142 16ビット参照エンコード部, 143 20ビット参照エンコード部, 161 12ビット参照デコード部, 162 16ビット参照デコード部, 163 20ビット参照デコード部, 181 4to2エンコード部, 182 4to1エンコード部, 191 4to2デコード部, 192 4to1デコード部, 201 CPU, 202 ROM, 203 RAM, 206 入力部, 207 出力部, 208 記憶部, 209 通信部, 210 ドライブ

Claims (20)

  1.  △Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換するエンコード部を備え、
     前記Nビットのビットパターン数をPとしたとき、
     前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
     前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     圧縮符号化装置。
  2.  前記エンコード部により変換された変換データを送信するデータ送信部をさらに備え、
     前記データ送信部は、前記変換データとともに、前記第1変換テーブルと前記第2変換テーブルのデータも送信する
     請求項1に記載の圧縮符号化装置。
  3.  前記第1変換テーブルと前記第2変換テーブルのデータを圧縮した圧縮変換テーブルデータを作成する変換テーブル圧縮部をさらに備え、
     前記データ送信部は、前記第1変換テーブルと前記第2変換テーブルのデータとして、前記圧縮変換テーブルデータを送信する
     請求項2に記載の圧縮符号化装置。
  4.  前記第1変換テーブルと前記第2変換テーブルは、前記デジタル信号を用いて作成されたテーブルである
     請求項1に記載の圧縮符号化装置。
  5.  前記第1変換テーブルと前記第2変換テーブルのセットを複数記憶する記憶部を備え、
     前記エンコード部は、複数のなかから選択された前記第1変換テーブルと前記第2変換テーブルのセットを用いて、前記Mビットを前記Nビットに変換する
     請求項1に記載の圧縮符号化装置。
  6.  前記記憶部に記憶されている複数の前記第1変換テーブルと前記第2変換テーブルのセットうち、圧縮率の最も高いセットが選択される
     請求項5に記載の圧縮符号化装置。
  7.  前記過去のビットパターンのビット数が、複数種類用意されており、
     前記エンコード部は、複数のなかから選択された所定ビット数の前記第1変換テーブルと前記第2変換テーブルのセットを用いて、前記Mビットを前記Nビットに変換する
     請求項1に記載の圧縮符号化装置。
  8.  前記エンコード部は、前記第2変換テーブルでは前記Nビットに変換できない場合に、第3変換テーブルを参照して前記Mビットを前記Nビットに変換し、
     前記第3変換テーブルは、過去のビットパターンに対する発生頻度が前記第2変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     請求項1に記載の圧縮符号化装置。
  9.  前記エンコード部は、前記デジタル信号のMビットを前記Nビットに変換する第1エンコード部と、前記デジタル信号のMビットを前記Nビットと異なるN2ビットに変換する第2エンコード部とを有する
     請求項1に記載の圧縮符号化装置。
  10.  前記第1エンコード部のための前記第1変換テーブルと前記第2変換テーブルのセットと、前記第2エンコード部のための前記第1変換テーブルと前記第2変換テーブルのセットを記憶する記憶部をさらに備える
     請求項9に記載の圧縮符号化装置。
  11.  △Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換し、
     前記Nビットのビットパターン数をPとしたとき、
     前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
     前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     圧縮符号化方法。
  12.  コンピュータに、
     △Σ変調されたデジタル信号のMビットを、第1変換テーブルを参照してNビット(M>N)に変換し、前記第1変換テーブルでは前記Nビットに変換できない場合に、第2変換テーブルを参照して前記Nビットに変換する処理を実行させ、
     前記Nビットのビットパターン数をPとしたとき、
     前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
     前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     プログラム。
  13.  △Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号するデコード部を備え、
     前記Nビットのビットパターン数をPとしたとき、
     前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
     前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     復号装置。
  14.  前記符号化データを受信するデータ受信部をさらに備え、
     前記データ受信部は、前記符号化データとともに、前記第1変換テーブルと前記第2変換テーブルのデータも受信する
     請求項13に記載の復号装置。
  15.  前記第1変換テーブルと前記第2変換テーブルのセットを複数記憶する記憶部を備え、
     前記デコード部は、複数のなかから選択された前記第1変換テーブルと前記第2変換テーブルのセットを用いて、前記Nビットを前記Mビットに変換する
     請求項13に記載の復号装置。
  16.  前記符号化データとともに、複数のなかから選択された前記第1変換テーブルと前記第2変換テーブルのセットを指定する変換テーブル指定データを受信するデータ受信部をさらに備える
     請求項15に記載の復号装置。
  17.  前記デコード部は、前記第2変換テーブルでは前記Mビットに変換できない場合に、第3変換テーブルを参照して前記Nビットを前記Mビットに変換し、
     前記第3変換テーブルは、過去のビットパターンに対する発生頻度が前記第2変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     請求項13に記載の復号装置。
  18.  前記デコード部は、前記符号化データの前記Nビットを前記Mビットに変換する第1デコード部と、前記符号化データの前記Nビットと異なるN2ビットを前記Mビットに変換する第2デコード部とを有する
     請求項13に記載の復号装置。
  19.  △Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号し、
     前記Nビットのビットパターン数をPとしたとき、
     前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
     前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     復号方法。
  20.  コンピュータに、
     △Σ変調されたデジタル信号のMビットがNビット(M>N)に圧縮符号化された符号化データの前記Nビットを、第1変換テーブルを参照して前記Mビットに変換し、前記第1変換テーブルでは前記Mビットに変換できない場合に、第2変換テーブルを参照して前記Mビットに復号する処理を実行させ、
     前記Nビットのビットパターン数をPとしたとき、
     前記第1変換テーブルは、過去のビットパターンに対する発生頻度が上位(P-1)個のコードを記憶したテーブルであり、
     前記第2変換テーブルは、過去のビットパターンに対する発生頻度が前記第1変換テーブルに次ぐ上位(P-1)個のコードを記憶したテーブルである
     プログラム。
PCT/JP2016/054723 2015-03-03 2016-02-18 圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム WO2016140071A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP16758765.8A EP3267587B1 (en) 2015-03-03 2016-02-18 Compression encoding device, compression encoding method, decoding device, decoding method and program
JP2017503411A JP6652123B2 (ja) 2015-03-03 2016-02-18 圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム
CN201680012217.1A CN107431492B (zh) 2015-03-03 2016-02-18 压缩编码设备、压缩编码方法、解码设备、解码方法和程序
US15/553,362 US10193565B2 (en) 2015-03-03 2016-02-18 Compressive encoding apparatus, compressive encoding method, decoding apparatus, decoding method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015040886 2015-03-03
JP2015-040886 2015-03-03

Publications (1)

Publication Number Publication Date
WO2016140071A1 true WO2016140071A1 (ja) 2016-09-09

Family

ID=56848854

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/054723 WO2016140071A1 (ja) 2015-03-03 2016-02-18 圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム

Country Status (5)

Country Link
US (1) US10193565B2 (ja)
EP (1) EP3267587B1 (ja)
JP (1) JP6652123B2 (ja)
CN (1) CN107431492B (ja)
WO (1) WO2016140071A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017203976A1 (ja) * 2016-05-24 2017-11-30 ソニー株式会社 圧縮符号化装置及び方法、復号装置及び方法、並びにプログラム
WO2018198788A1 (ja) 2017-04-26 2018-11-01 ソニー株式会社 信号処理装置、信号処理方法、およびプログラム
WO2019009082A1 (ja) 2017-07-05 2019-01-10 ソニー株式会社 信号処理装置、信号処理方法、および、プログラム
JP2020036291A (ja) * 2018-08-31 2020-03-05 国立大学法人 筑波大学 データ圧縮器、データ圧縮方法、データ圧縮プログラム、データ解凍器、データ解凍方法、データ解凍プログラムおよびデータ圧縮解凍システム

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155405B (zh) * 2023-08-09 2024-07-12 海飞科(珠海)信息技术有限公司 一种基于梯度下降的tANS编码、解码转换表快速建立方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0974358A (ja) * 1995-09-06 1997-03-18 Sony Corp デジタル信号の圧縮伸張方法及び装置
JP2000502539A (ja) * 1996-10-10 2000-02-29 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ 音声信号のデータ圧縮及び伸張装置
JP2004508755A (ja) * 2000-09-08 2004-03-18 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ 適応ノイズシェーピング変調を備えるオーディオ信号処理
JP2008227949A (ja) * 2007-03-13 2008-09-25 Sony Corp データ処理装置、データ処理方法、プログラム、及びデータ構造

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04337926A (ja) * 1991-05-15 1992-11-25 Fujitsu Ltd 可変長符号テーブル制御方式
US6778965B1 (en) 1996-10-10 2004-08-17 Koninklijke Philips Electronics N.V. Data compression and expansion of an audio signal
ES2251743T3 (es) * 1996-11-07 2006-05-01 Koninklijke Philips Electronics N.V. Procesamiento de datos de una señal de flujo de bits.
US5859605A (en) * 1997-01-24 1999-01-12 Hughes Electronics Corporation Digital waveform generator and method for synthesizing periodic analog waveforms using table readout of simulated Δ- Σ analog-to-digital conversion data
EP0922334A2 (en) 1997-06-04 1999-06-16 Koninklijke Philips Electronics N.V. Data compression and expansion of an n-level information signal
JP2004104228A (ja) * 2002-09-05 2004-04-02 Matsushita Electric Ind Co Ltd 信号処理装置および信号処理方法、デルタ・シグマ変調型分数分周pll周波数シンセサイザ、無線通信機器、デルタ・シグマ変調型d/a変換器
US7190288B2 (en) * 2003-06-27 2007-03-13 Northrop Grumman Corp. Look-up table delta-sigma conversion
JP2005303680A (ja) * 2004-04-12 2005-10-27 Sony Corp 復号装置及び復号方法
JP2006140962A (ja) * 2004-11-15 2006-06-01 Matsushita Electric Ind Co Ltd A/d変換装置及びa/d変換方法
JP5143748B2 (ja) * 2006-12-27 2013-02-13 シャープ株式会社 Δς変調型デジタルアナログ変換器、デジタル信号処理方法、およびav装置
JP4337926B2 (ja) * 2007-11-21 2009-09-30 株式会社日立製作所 デジタルコンテンツ配信方法およびデジタルコンテンツ配信サーバ
US8417730B2 (en) 2008-04-14 2013-04-09 Objectif Lune Inc. Block compression algorithm
US7777653B2 (en) 2008-07-15 2010-08-17 International Business Machines Corporation Decoding variable-length code (VLC) bitstream information
US7903010B1 (en) * 2009-08-31 2011-03-08 Cirrus Logic, Inc. Delta-sigma analog-to-digital converter (ADC) having a serialized quantizer output
US20110158310A1 (en) 2009-12-30 2011-06-30 Nvidia Corporation Decoding data using lookup tables
CN101808244B (zh) * 2010-03-24 2012-03-14 北京邮电大学 一种视频传输控制方法及系统
US8456331B2 (en) 2011-04-15 2013-06-04 Cavium, Inc. System and method of compression and decompression
EP2823614B1 (en) * 2012-03-07 2018-12-26 Cirrus Logic International Semiconductor Ltd. Signal conversion system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0974358A (ja) * 1995-09-06 1997-03-18 Sony Corp デジタル信号の圧縮伸張方法及び装置
JP2000502539A (ja) * 1996-10-10 2000-02-29 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ 音声信号のデータ圧縮及び伸張装置
JP2004508755A (ja) * 2000-09-08 2004-03-18 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ 適応ノイズシェーピング変調を備えるオーディオ信号処理
JP2008227949A (ja) * 2007-03-13 2008-09-25 Sony Corp データ処理装置、データ処理方法、プログラム、及びデータ構造

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017203976A1 (ja) * 2016-05-24 2017-11-30 ソニー株式会社 圧縮符号化装置及び方法、復号装置及び方法、並びにプログラム
JPWO2017203976A1 (ja) * 2016-05-24 2019-03-28 ソニー株式会社 圧縮符号化装置及び方法、復号装置及び方法、並びにプログラム
US10742231B2 (en) 2016-05-24 2020-08-11 Sony Corporation Compression/encoding apparatus and method, decoding apparatus and method, and program
WO2018198788A1 (ja) 2017-04-26 2018-11-01 ソニー株式会社 信号処理装置、信号処理方法、およびプログラム
WO2019009082A1 (ja) 2017-07-05 2019-01-10 ソニー株式会社 信号処理装置、信号処理方法、および、プログラム
KR20200026815A (ko) 2017-07-05 2020-03-11 소니 주식회사 신호 처리 장치, 신호 처리 방법, 및 프로그램
EP3651151A4 (en) * 2017-07-05 2020-07-15 Sony Corporation SIGNAL PROCESSING DEVICE, SIGNAL PROCESSING METHOD AND PROGRAM
US10917108B2 (en) 2017-07-05 2021-02-09 Sony Corporation Signal processing apparatus and signal processing method
JP2020036291A (ja) * 2018-08-31 2020-03-05 国立大学法人 筑波大学 データ圧縮器、データ圧縮方法、データ圧縮プログラム、データ解凍器、データ解凍方法、データ解凍プログラムおよびデータ圧縮解凍システム
WO2020045238A1 (ja) * 2018-08-31 2020-03-05 国立大学法人筑波大学 データ圧縮器、データ圧縮方法、データ圧縮プログラム、データ解凍器、データ解凍方法、データ解凍プログラムおよびデータ圧縮解凍システム
US11196443B2 (en) 2018-08-31 2021-12-07 University Of Tsukuba Data compressor, data decompressor, and data compression/decompression system
JP7074989B2 (ja) 2018-08-31 2022-05-25 国立大学法人 筑波大学 データ圧縮器、データ圧縮方法、データ圧縮プログラム、データ解凍器、データ解凍方法、データ解凍プログラムおよびデータ圧縮解凍システム

Also Published As

Publication number Publication date
US10193565B2 (en) 2019-01-29
JP6652123B2 (ja) 2020-02-19
EP3267587A1 (en) 2018-01-10
JPWO2016140071A1 (ja) 2017-12-14
CN107431492A (zh) 2017-12-01
CN107431492B (zh) 2021-05-04
EP3267587A4 (en) 2018-10-10
US20180115322A1 (en) 2018-04-26
EP3267587B1 (en) 2021-05-19

Similar Documents

Publication Publication Date Title
JP6652123B2 (ja) 圧縮符号化装置、圧縮符号化方法、復号装置、復号方法、およびプログラム
JP5863830B2 (ja) フィルタ係数を生成してフィルタを設定する方法、エンコーダ及びデコーダ
AU2017203091B2 (en) Coding and decoding of spectral peak positions
JP6045123B2 (ja) エンコーダ、デコーダ及び方法
CN107135004B (zh) 一种对地震数据流的自适应实时无损压缩方法
JP2013508867A5 (ja)
US20100017196A1 (en) Method, system, and apparatus for compression or decompression of digital signals
JP6073506B2 (ja) エントロピー変更器及び方法
WO2010074200A1 (ja) 適応差分パルス符号変調の符号化装置及び復号化装置
WO2017203976A1 (ja) 圧縮符号化装置及び方法、復号装置及び方法、並びにプログラム
EP3168994B1 (en) Data compression of a sequence of binary data
US8018359B2 (en) Conversion of bit lengths into codes
JP2552102B2 (ja) ディジタルデータのフォーマッチング/ディフォーマッチング回路
JP4848049B2 (ja) 符号化方法、復号方法、それらの装置、プログラム及び記録媒体
KR102296153B1 (ko) 전용 산술 인코딩 명령
JPWO2019021552A1 (ja) 符号化装置、復号装置、符号列のデータ構造、符号化方法、復号方法、符号化プログラム、復号プログラム
TWI469135B (zh) 調適性差分脈衝碼調變編碼解碼的方法
TW202422538A (zh) 基於神經網路的高效音訊壓縮系統及方法
JP4971965B2 (ja) 符号化装置、復号化装置、符号化方法、復号化方法、符号化プログラム、復号化プログラム、および記録媒体
JPH0828668B2 (ja) 音声信号の符号化方法
JP2012129702A (ja) 符号化復号化システム、符号化装置、復号化装置、符号化復号化方法、符号化プログラム及び復号化プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16758765

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017503411

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15553362

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2016758765

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE