KR100321300B1 - Signal Encoding Device, Signal Decoding Device, Signal Encoding Method, Signal Decoding Method - Google Patents

Signal Encoding Device, Signal Decoding Device, Signal Encoding Method, Signal Decoding Method Download PDF

Info

Publication number
KR100321300B1
KR100321300B1 KR1019940022223A KR19940022223A KR100321300B1 KR 100321300 B1 KR100321300 B1 KR 100321300B1 KR 1019940022223 A KR1019940022223 A KR 1019940022223A KR 19940022223 A KR19940022223 A KR 19940022223A KR 100321300 B1 KR100321300 B1 KR 100321300B1
Authority
KR
South Korea
Prior art keywords
signal
shuffling
frame
encoding
data
Prior art date
Application number
KR1019940022223A
Other languages
Korean (ko)
Other versions
KR950009663A (en
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 이데이 노부유끼
Publication of KR950009663A publication Critical patent/KR950009663A/en
Application granted granted Critical
Publication of KR100321300B1 publication Critical patent/KR100321300B1/en

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

신호 부호화 장치, 신호 복호화 장치, 신호 부호화 방법, 신호 복호화 방법 및 신호 기록 매체의 신호를 셔플링하는데 있어서, 에러 보정을 용이하게 하는 것을 목적으로 한다.It is an object to facilitate error correction in shuffling signals of a signal encoding apparatus, a signal decoding apparatus, a signal encoding method, a signal decoding method, and a signal recording medium.

부호화 장치의 셔플링 회로(22, 25)에서는 입력 데이타의 셔플링을 행하고, 버스트 에러 등에 이해 누락된 데이타 보간을 가능하게 한다. 프레임 카운터(21, 24)에서는 프레임의 연속성을 미리 프레임 헤더 상에 연속적인 번호로서 보유하게 한다. 복호화 장치에서는 상기 프레임 헤더 상의 프레임 번호의 연속성에서 버스트 에러 등에 의한 데이타의 누락을 검출하고 디셔플링 후의 데이타로부터 에러 보정을 행한다.The shuffling circuits 22 and 25 of the encoding apparatus perform shuffling of input data, and enable data interpolation that is not understood due to a burst error or the like. The frame counters 21 and 24 allow the continuity of the frame to be held in advance as a consecutive number on the frame header. The decoding apparatus detects a missing data due to a burst error or the like in the continuity of the frame number on the frame header and corrects an error from the data after deshuffling.

Description

신호 부호화 장치, 신호 복호화 장치, 신호 부호화 방법, 신호 복호화 방법Signal encoding apparatus, signal decoding apparatus, signal encoding method, signal decoding method

본 발명은 움직이는 화상 및 음성 데이타 압축에 적합한 부호화 방식, 복호화 방식, 부호화 장치, 복호화 장치, 기록 매체 및 기록, 재생 및 복호화하는 장치에 관한 것이다.The present invention relates to a coding scheme, a decoding scheme, an encoding apparatus, a decoding apparatus, a recording medium and an apparatus for recording, reproducing and decoding, which are suitable for moving picture and audio data compression.

종래의 부호화 장치 및 복호화 장치의 구성예를 제8도와 제9도에 도시한다.8 and 9 show examples of the structure of a conventional coding apparatus and decoding apparatus.

제8도에서 오디오 신호는 오디오 인코더(1)에 의해 압축됨과 동시에 부호화되어 데이타 다중화 회로(3)에 입력된다. 비디오 신호는 비디오 인코더(2)에 의해 압축됨과 동시에 부호화되어 데이타 다중화 회로(3)에 입력된다. 데이타 다중화 회로(3)는 부호화된 오디오 신호에 오디오 패킷 헤더를 부가해서 오디오 패킷을 구성하고, 부호화된 비디오 신호에 비디오 패킷 헤더를 부가해서 비디오 패킷을 구성해서 이것을 다중화한다.In FIG. 8, the audio signal is compressed and simultaneously encoded by the audio encoder 1 and input to the data multiplexing circuit 3. The video signal is compressed by the video encoder 2 and simultaneously encoded and input to the data multiplexing circuit 3. The data multiplexing circuit 3 adds an audio packet header to the encoded audio signal to form an audio packet, and adds a video packet header to the encoded video signal to form a video packet and multiplexes it.

여기서, 비디오 신호 및 오디오 신호의 압축 부호화 방식으로서는 MPEG(Moving Picture Experts Group)방식이 널리 알려져 있다. 비디오 신호에 관해 말하면 상기 MPEG 방식은 우선 비디오 신호의 화상 프레임간의 차분을 취함으로써 시간축 방향의 용장도를 저하시키고, 그후에 이산 코사인 변환[DCT(discrete cosine transform)] 등의 직교 변환 방법을 이용해서 공간축 방향의 용장도를 저하시킨다. 이와 같이 비디오 신호를 능률적으로 부호화해서 소정의 기록 매체에 기록할 수 있도록 구성되어 있다.Here, the MPEG (Moving Picture Experts Group) method is widely known as a compression encoding method of a video signal and an audio signal. Regarding the video signal, the MPEG method first reduces the redundancy in the time axis direction by taking a difference between picture frames of the video signal, and then uses an orthogonal transform method such as discrete cosine transform (DCT) to spatially It reduces the redundancy in the axial direction. In this way, the video signal can be efficiently encoded and recorded on a predetermined recording medium.

또, 이와 같이 해서 고능률 부호화된 비디오 신호가 기록된 기록 매체를 재생하는 경우에는 재생 신호에 관해 역 직교 변환 등으로 효율적으로 복호화해서 비디오 신호를 재생할 수 있도록 구성되어 있다.In the case of reproducing a recording medium on which a high-efficiency encoded video signal is recorded in this manner, the video signal can be reproduced by efficiently decoding the reproduced signal by inverse orthogonal transformation or the like.

데이타 다중화 회로(3)에 의해 오디오와 비디오가 다중화된 데이타는 DSM(Data Storage Memory ; 4)에 입력되어 일단 기억된다. 이상의 동작을 비디오 신호 및 오디오 신호의 입력이 종료할 때까지 계속한다. 일단 DSM(4)에 기억된 다중화 데이타는 복호화 시에 필요한 부가 정보와 함께 ECC(오류 정정 코드) 인코더(5)에 입력되고, 소정량의 용장 데이타(패리티)가 부가된 후에 변조 회로(6)에 입력된다. 변조 회로(6)에서 변조된 데이타는 기록 장치(7)에 의해 예를 들면 광 디스크 등의 기록 매체(8)에 기록된다.Data multiplexed with audio and video by the data multiplexing circuit 3 is input to a DSM (Data Storage Memory) 4 and stored once. The above operation is continued until the input of the video signal and the audio signal is completed. The multiplexed data, once stored in the DSM 4, is input to an ECC (error correction code) encoder 5 together with additional information necessary for decoding, and after a predetermined amount of redundant data (parity) is added, the modulation circuit 6 Is entered. Data modulated by the modulation circuit 6 is recorded by the recording device 7 on a recording medium 8 such as an optical disk.

제9도에서 기록 매체(9)에 기록된 다중화 데이타는 판독 장치(10)에 의해 재생되고, 복조 회로(11)에 입력된다. 복조 회로(11)에 의해 복조된 다중화 데이타는 ECC 디코더(12)에 입력되어 데이타의 오류 검출, 오류 정정이 행해진다. 오류 정정이 끝난 다중화 데이타는 일단 링 버퍼 장치(13)에 입력되어 기억된 후에 다시 판독되고, 데이타 분리 회로(14)에 입력된다. 입력된 다중화 데이타는 데이타 분리 회로(14)에 의해 오디오 데이타와 비디오 데이타로 분리되며, 오디오 데이타는 오디오 디코더(15)에 입력되고 복호화되어 음성 신호가 출력된다. 비디오 데이타는 비디오 디코더(16)에 입력되고 복호화되어 화상 신호가 출력된다.The multiplexed data recorded on the recording medium 9 in FIG. 9 is reproduced by the reading device 10 and input to the demodulation circuit 11. The multiplexed data demodulated by the demodulation circuit 11 is input to the ECC decoder 12 to perform error detection and error correction of the data. The error corrected multiplexed data is once input to the ring buffer device 13, stored, and read again, and then input to the data separation circuit 14. The input multiplexed data is separated into audio data and video data by the data separation circuit 14, and the audio data is input to the audio decoder 15, decoded, and an audio signal is output. The video data is input to the video decoder 16 and decoded to output an image signal.

그런데, 상기 MPEG 방식에서 다중화 비트 스트림 중에 압축을 행하지 않은 고음질 고화질의 데이타, 즉 비압축 데이타를 다중화 하고자 하는 요구가 있다. 이때, 비압축 데이타를 다중화 하는데 있어서 다중화된 비압축 데이타 프레임이 에러에 의해 탈락될 때의 에러 보정을 비압축 데이타 및 다중화의 특성을 고려해서 효율적으로 행할 필요가 있다. 종래의 부호화 장치, 복호화 장치에서는 이상의 요구를 실현할 수 없다는 문제가 있다.However, there is a need to multiplex high-quality, high-quality data that is not compressed in the multiplexed bit stream, that is, uncompressed data, in the MPEG method. At this time, in multiplexing uncompressed data, it is necessary to efficiently perform error correction when a multiplexed uncompressed data frame is dropped by an error in consideration of the characteristics of uncompressed data and multiplexing. The conventional coding apparatus and decoding apparatus have a problem that the above request cannot be realized.

본 발명의 신호 부호화 장치는 입력 신호를 프레임 단위의 부호화 신호로 부호화하는 부호화 수단, 상기 부호화 신호의 프레임 수를 카운트하는 카운트 수단, 상기 프레임 단위의 부호화 신호를 셔플링하는 셔플링 수단을 포함하고, 상기 부호화 수단은 상기 프레임 수를 상기 프레임 단위의 각 프레임 헤더에 기입한다.The signal encoding apparatus of the present invention includes encoding means for encoding an input signal into an encoded signal in units of frames, counting means for counting the number of frames of the encoded signal, and shuffling means for shuffling the encoded signals in frame units. The encoding means writes the number of frames in each frame header of the frame unit.

또한, 본 발명의 신호 부호화 장치는 입력 신호를 프레임 단위의 부호화 신호로 부호화하는 부호화 수단, 상기 프레임 단위의 부호화 신호를 셔플링하는 셔플링 수단을 포함하고, 상기 부호화 수단은 상기 셔플링에 사용하는 셔플링 파라미터를 상기 프레임 단위의 각 프레임 헤더에 기입한다.In addition, the signal encoding apparatus of the present invention includes encoding means for encoding an input signal into encoded signals in units of frames, and shuffling means for shuffling encoded signals in units of frames, wherein the encoding means is used for the shuffling. The shuffling parameter is written in each frame header of the frame unit.

또한, 본 발명의 상기 셔플링 수단은 어플리케이션의 종류에 따라 각각 고정된 셔플링 파라미터에 기초해서 상기 셔플링을 행하고, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함한다.Further, the shuffling means of the present invention performs the shuffling based on fixed shuffling parameters, respectively, according to the type of application, and the shuffling parameters include information indicating the size of one sample data of the coded signal and a delay size. And at least one of information indicating whether or not data of a sample point to be processed first is delayed, and information indicating the number of divisions when dividing the coded signal data into a plurality of frames.

또한, 본 발명의 상기 셔플링 수단은 상기 부호화 수단이 상기 입력 신호에 대해 비압축 부호화 또는 인접 샘플에서 보간 가능한 압축 부호화를 행할 때, 상기 셔플링을 행하고, 상기 프레임 헤더는 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드를 갖는다.In addition, the shuffling means of the present invention performs the shuffling when the encoding means performs uncompressed encoding or interpolation in an adjacent sample with respect to the input signal, and the frame header has a predetermined word size. It has a sync word formed by combining a negative maximum number and a positive maximum number.

또한, 본 발명의 상기 셔플링 수단은 상기 부호화 신호의 데이타의 분산이구조가 되도록 상기 셔플링을 행하고, 상기 부호화 신호의 복수 프레임분 데이타의 분산이 상기 복수 프레임에서 완결되도록 상기 셔플링을 행한다.In addition, the shuffling means of the present invention is that the dispersion of the data of the coded signal The shuffling is performed so as to have a structure, and the shuffling is performed so that the distribution of data for a plurality of frames of the coded signal is completed in the plurality of frames.

또한, 본 발명의 상기 셔플링 수단은 액세스 유니트의 선두와, 상기 완결된 복수 프레임의 선두가 일치하도록 상기 셔플링을 행한다.Further, the shuffling means of the present invention performs the shuffling so that the head of the access unit and the head of the completed plurality of frames coincide.

또한, 본 발명의 신호 복호화 장치는 프레임 단위의 부호화 신호를 복호화해서 복호화 신호를 생성하는 복호화 수단, 상기 복호화 신호에 대해 디셔플링을 행하는 디셔플링 수단, 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와 상기 복호화 수단에 의해 복호화된 프레임 수에 기초해서 에러 프레임을 검출하는 검출 수단 및 상기 디셔플링된 복호화 신호에서 상기 에러 프레임을 보간하는 보간 수단을 포함한다.In addition, the signal decoding apparatus of the present invention includes decoding means for decoding a coded signal in units of frames to generate a decoded signal, deshuffling means for deshuffling the decoded signal, and frame header for each coded signal in units of frames. Detection means for detecting an error frame based on the frame number included in the frame and the number of frames decoded by the decoding means, and interpolation means for interpolating the error frame in the deshuffled decoded signal.

또한, 본 발명의 신호 복호화 장치는 프레임 단위의 부호화 신호를 복호화해서 복호화 신호를 생성하는 복호화 수단, 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 셔플링 파라미터에 기초해서 상기 복호화 신호에 대해 디셔플링을 행하는 디셔플링 수단, 상기 디셔플링된 복호화 신호에서 에러 프레임을 보간하는 보간 수단을 포함한다.In addition, the signal decoding apparatus of the present invention decodes the decoded signal based on decoding means for decoding the coded signal on a frame basis to generate a decoded signal, and on the shuffling parameter included in each frame header of the coded signal on a frame basis. Deshuffling means for shuffling, and interpolation means for interpolating an error frame in the deshuffled decoded signal.

또한, 상기 디셔플링 수단은 어플리케이션의 종류에 따라 각각 고정된 셔플링 파라미터에 기초해서 상기 디셔플링을 행하는 것을 특징으로 하고, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하며, 상기 부호화 신호에 에러 정정을 행하는 에러 정정 수단을 포함하고, 상기 보간 수단은 상기 에러 정정 수단에서 정정 불능 에러가 발생한 데이타에 대해 상기 보간을 행한다.The deshuffling means may perform the deshuffling based on a fixed shuffling parameter according to the type of application, wherein the shuffling parameter is information indicating a size of one sample data of the coded signal. At least one of information indicating a delay size, information indicating whether data of a sample point to be processed first is delayed, and information indicating the number of divisions when dividing the data of the coded signal into a plurality of frames. Error correction means for performing error correction on the coded signal, wherein the interpolation means performs the interpolation on data in which an uncorrectable error has occurred in the error correction means.

또한, 본 발명의 신호 복호화 장치는 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와, 상기 복호화 수단에 의해 복호화된 프레임수에 기초해서 에러 프레임을 검출하는 검출 수단을 포함하고, 상기 보간 수단은 상기 검출 수단에 의해 검출된 상기 에러 프레임에 대해 상기 보간을 행한다.Further, the signal decoding apparatus of the present invention includes detection means for detecting an error frame based on the frame number included in each frame header of the frame-coded signal and the number of frames decoded by the decoding means. Interpolation means performs the interpolation on the error frame detected by the detection means.

또한, 본 발명의 신호 복호화 장치는 상기 복호화 수단이 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드에 의해 상기 각 프레임 헤더를 검출한다.Further, in the signal decoding apparatus of the present invention, the decoding means detects each of the frame headers by a sync word configured by combining a maximum number of negatives and a positive maximum number in a predetermined word size.

또한, 본 발명의 신호 부호화 방법은 입력 신호를 프레임 단위의 부호화 신호로 부호화하고, 상기 부호화 신호의 프레임 수를 카운트하며, 상기 프레임 단위의 부호화 신호를 셔플링하고, 상기 프레임 수를 상기 프레임 단위의 각 프레임 헤더에 기입한다.Further, the signal encoding method of the present invention encodes an input signal into an encoded signal in units of frames, counts the number of frames of the encoded signal, shuffles the encoded signal in units of frames, and sets the number of frames in units of frames. Write in each frame header.

또한, 본 발명의 신호 부호화 방법은 입력 신호를 프레임 단위의 부호화 신호로 부호화하고, 상기 프레임 단위의 부호화 신호를 셔플링하며, 상기 셔플링에 사용하는 셔플링 파라미터를 상기 프레임 단위의 각 프레임 헤더에 기입한다.In addition, the signal encoding method of the present invention encodes an input signal into a coded signal in units of frames, shuffles the coded signals in units of frames, and sets a shuffling parameter used for the shuffling to each frame header of the frames. Fill in.

또한, 본 발명의 신호 부호화 방법은 상기 셔플링은 어플리케이션의 종류에 따라 설정되고 각각 고정된 셔플링 파라미터에 기초해서 행해지는 것을 특징으로 하고, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하며, 상기 입력 신호에 대해 비압축 부호화 또는 인접 샘플에서 보간 가능한 압축 부호화를 행할 때 상기 셔플링을 행한다.The signal encoding method of the present invention is characterized in that the shuffling is set according to the type of application and is performed based on fixed shuffling parameters, respectively, wherein the shuffling parameter is the size of one sample data of the coded signal. At least one of information indicating a delay, information indicating a delay size, information indicating whether data of a sample point to be processed first is delayed, and information indicating a number of divisions when data of the encoded signal is divided into a plurality of frames. The shuffling is performed when uncompressed encoding or compression encoding that is interpolated in adjacent samples is performed on the input signal.

또한, 본 발명의 신호 부호화 방법은 상기 프레임 헤더는 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드를 갖고, 상기 부호화 신호의 데이타의 분산이 첩입 구조가 되도록 상기 셔플링을 행하는 것을 특징으로 하며, 상기 부호화 신호의 복수의 프레임분의 데이타의 분산이 상기 복수 프레임에서 완결되도록 상기 셔플링을 행한다.In the signal encoding method of the present invention, the frame header has a sync word formed by combining a maximum number of negative parts and a positive maximum number at a predetermined word size, and the shuffling is performed so that the distribution of data of the coded signal becomes an embedded structure. And the shuffling is performed so that distribution of data for a plurality of frames of the coded signal is completed in the plurality of frames.

또한, 본 발명의 신호 부호화 방법은 액세스 유니트의 선두와 상기 완결된 복수의 프레임의 선두가 일치하도록 상기 셔플링을 행한다.Further, the signal encoding method of the present invention performs the shuffling so that the head of the access unit and the head of the completed plurality of frames coincide.

본 발명의 신호 복호화 방법은 프레임 단위의 부호화 신호를 복호화해서 복호화 신호를 생성하고, 상기 복호화 신호에 대해 디셔플링을 행하며, 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와, 상기 복호화 수단에의해 복호화된 프레임 수에 기초해서 에러 프레임을 검출하고, 상기 디셔플링된 복호화 신호에서 상기 에러 프레임을 보간한다.The signal decoding method of the present invention generates a decoded signal by decoding a coded signal on a frame basis, deshuffles the decoded signal, and includes a frame number included in each frame header of the coded signal on a frame basis, and An error frame is detected based on the number of frames decoded by the decoding means, and the error frame is interpolated in the deshuffled decoded signal.

또한, 본 발명의 신호 복호화 방법은 프레임 단위의 부호화 신호를 복호화해서 복호화 신호를 생성하고, 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 셔플링 파라미터에 기초해서 상기 복호화 신호에 대해 디셔플링을 행하며, 상기 디셔플링된 복호화 신호에서 에러 프레임을 보간한다.In addition, the signal decoding method of the present invention decodes a coded signal on a frame basis to generate a decoded signal, and deshuffles the decoded signal on the basis of shuffling parameters included in each frame header of the coded signal on a frame basis. And interpolate an error frame in the deshuffled decoded signal.

또한, 본 발명의 신호 복호화 방법은 어플리케이션의 종류에 따라 각각 고정된 셔플링 파라미터에 기초해서 상기 디셔플링을 행하고, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하며, 상기 부호화 신호에 에러 정정을 행하고, 상기 에러 정정에서 정정 불능 에러가 발생한 데이타에 대해 상기 보간을 행한다.Further, the signal decoding method of the present invention performs the deshuffling based on fixed shuffling parameters, respectively, according to the type of application, wherein the shuffling parameters are information indicating a size of one sample data of the coded signal and a delay size. At least one of information indicating whether the data of the sample point to be processed first is delayed, and information indicating the number of divisions when dividing the data of the coded signal into a plurality of frames. Error correction is performed, and the interpolation is performed on data in which an uncorrectable error has occurred in the error correction.

또한, 본 발명의 신호 복호화 방법은 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와, 상기 복호화 수단에 의해 복호화된 프레임수에 기초해서 에러 프레임을 검출하고, 상기 검출 스텝에서, 검출된 상기 에러 프레임에 대해 상기 보간을 행한다.Further, the signal decoding method of the present invention detects an error frame based on the frame number included in each frame header of the coded signal in the frame unit and the number of frames decoded by the decoding means. The interpolation is performed on the error frame.

또한, 본 발명의 신호 복호화 방법은 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성되는 싱크 워드에 의해 상기 각 프레임 헤더를 검출한다.Further, the signal decoding method of the present invention detects each of the frame headers by a sync word formed by combining a negative maximum number and a positive maximum number at a predetermined word size.

본 발명의 부호화 방법에 따르면, 버스트 에러에 의한 프레임의 탈락을 검출해서 검출된 탈락 프레임에 대해 상기 디셔플링과 인접 샘플 데이타로부터의 보간에 의해 에러를 보정할 수 있게 된다. 또, 본 발명의 부호화 방법에 따르면 상기 셔플링 방법 그 자체를 전송할 수 있게 된다.According to the encoding method of the present invention, an error can be corrected by detecting the dropping of a frame due to a burst error and interpolating the detected dropping frame by the deshuffling and adjacent sample data. In addition, according to the encoding method of the present invention, the shuffling method itself can be transmitted.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링 시의 재배치의 최소 단위를 가변시킬 수 있게 된다. 또, 본 발명의 부호화 방법에 따르면 상기 셔플링 시에 재배치가 행해지는 데이타간의 거리를 가변시킬 수 있게 된다.In addition, according to the encoding method of the present invention, it is possible to vary the minimum unit of relocation during shuffling. Further, according to the encoding method of the present invention, the distance between the data to be rearranged at the time of shuffling can be varied.

본 발명에 의한 실시예에 관해 도면을 참조하면서 설명한다. 본 발명에서 기본적인 압축 부호화의 방법은 MPEG의 부호화 방법과 같다.Embodiments according to the present invention will be described with reference to the drawings. In the present invention, the basic compression encoding method is the same as the MPEG encoding method.

우선 제1 실시예에 관해 설명한다. 처음에 인코더를 설명하고, 다음으로 디코더를 설명한다. 마지막으로 비트 스트립 신텍스 및 셔플링, 디셔플링 동작을 설명한다.First, the first embodiment will be described. First, the encoder will be described, and then the decoder will be described. Finally, bit strip syntax, shuffling, and deshuffling operations are described.

제1도는 본 발명에서의 신호 부호화 장치의 제1 실시예를 도시한 것이다. 제1도 중에서 종레예에 도시한 제8도와 같이 참조 번호 부분에 관해서는 같은 것을 사용할 수 있으므로 상세한 설명은 생락한다. 제1도에서 오디오 신호는 오디오 인코더(28)에 입력된다. 동시에 오디오 신호를 압축 또는 비압축 증 어느 하나로 전송하는 것을 선택하는 신호와, 셔플링을 할 때의 파라미터가 셔플링 제어 회로(20)에 입력된다. 셔플링 제어 회로(20)는 입력 파라미터에 따라 오디오 인코더(28) 및 셔플링 회로(22)에 제어 신호를 입력한다. 또한, 본 실시예에서는 비압축 부호화가 선택된 경우 셔플링 회로(22)는 셔플링 동작을 행하는 것으로 한다.1 shows a first embodiment of a signal encoding apparatus according to the present invention. Since the same reference numerals can be used for the same reference numerals as in FIG. 8 shown in the example of Fig. 1, detailed descriptions are omitted. In FIG. 1 an audio signal is input to an audio encoder 28. At the same time, a signal for selecting to transmit the audio signal by either compression or uncompression increase, and a parameter at the time of shuffling are input to the shuffling control circuit 20. The shuffling control circuit 20 inputs a control signal to the audio encoder 28 and the shuffling circuit 22 according to the input parameter. In this embodiment, the shuffling circuit 22 performs a shuffling operation when uncompressed encoding is selected.

오디오 인로더(28)는 셔플링 제어 회로(20)로부터의 제어 입력에 따라 입력된 오디오 신호를 압축 또는 비압축해서 부호화한 데이타를 셔플링 회로(22)에 출력한다. 오디오 인코더(28)는 동시에 압축 부호화가 선택되었을 때에는 MPEG에 규정된 통상의 헤더 정보를 프레임 헤더에 기입하고, 비압축 부호화가 선택되었을 때에는 소정의 오디오 프레임이 부호화될 때마다 오디오 프레임 카운트(21)를 인크리먼트해서 그 카운트값과, 셔플링 파라미터를 프레임 헤더에 기입한다. 셔플링 회로(22)는 비압축 부호화가 선택된 경우에는 셔플링 제어 회로(20)로부터의 션플링 파라미터에 기초해서 오디오 인코더(28)로부터의 비트 스트림에 대해 셔플링을 행하고, 압축 부호화가 선택된 경우에는 비트 스트립을 그대로 출력한다.The audio inloader 28 compresses or decompresses the input audio signal according to the control input from the shuffling control circuit 20 and outputs the encoded data to the shuffling circuit 22. The audio encoder 28 simultaneously writes normal header information specified in MPEG into the frame header when compression encoding is selected, and audio frame count 21 whenever a predetermined audio frame is encoded when uncompressed encoding is selected. Increments and writes the count value and the shuffling parameter into the frame header. The shuffling circuit 22 shuffles the bit stream from the audio encoder 28 based on the shuffling parameter from the shuffling control circuit 20 when uncompressed encoding is selected, and when compressed encoding is selected. Outputs the strip as it is.

제1도에서 비디오 신호는 비디오 인코더(29)에 입력된다. 동시에 비디오 신호를 압축 또는 비압축의 어느 하나로 전송하는 것을 선택하는 신호와, 셔플링을 행할 때의 파라미터가 셔플링 제어 회로(23)에 입력된다. 셔플링 제어 회로(23)는 입력 파라미터에 따라 비디오 인코더(29) 및 셔플링 회로(25)에 제어 신호를 입력한다. 또한, 본 실시예에서는 비압축 부호화가 선택된 경우에는 셔플링 회로(25)는 셔플링 동작을 행하는 것으로 한다.In FIG. 1 the video signal is input to video encoder 29. At the same time, a signal for selecting whether to transmit the video signal either compressed or uncompressed, and a parameter for shuffling are input to the shuffling control circuit 23. The shuffling control circuit 23 inputs a control signal to the video encoder 29 and the shuffling circuit 25 according to the input parameter. In the present embodiment, when uncompressed encoding is selected, the shuffling circuit 25 is to perform a shuffling operation.

비디오 인코더(29)는 셔플링 제어 회로(23)로부터의 제어 입력에 따라 입력된 비디오 신호를 압축 또는 비압축해서 부호화한 데이타를 셔플링 회로(25)에 입력한다. 비디오 인코더(29)는 동시에 압축 부호화가 선택되었을 때에는 MPEG에 규정된 통상의 헤더 정보를 프레임 헤더에 기입하고, 비압축 부호화가 선택되었을 때에는 소정의 비디오 프레임이 부호화될 때마다 비디오 프레임 카운터(24)를 인크리먼트해서 그 카운트값과, 셔플링 파라미터를 프레임 헤더에 기입한다. 셔플링 회로(25)는 비압축 부호화가 선택된 경우에는 셔플링 제어 회로(23)로부터의 셔플링 파라미터에 기초해서 비디오 인코더(29)로부터의 비트 스트림에 대해 셔플링을 행하고, 압축 부호화가 선택된 경우에는 비트 스트림을 그대로 출력한다.The video encoder 29 inputs, to the shuffling circuit 25, data that is compressed or uncompressed and encoded by the video signal input in accordance with the control input from the shuffling control circuit 23. The video encoder 29 simultaneously writes normal header information specified in MPEG into the frame header when compression encoding is selected, and the video frame counter 24 whenever a predetermined video frame is encoded when uncompression encoding is selected. Increments and writes the count value and the shuffling parameter into the frame header. The shuffling circuit 25 shuffles the bit stream from the video encoder 29 based on the shuffling parameter from the shuffling control circuit 23 when uncompressed encoding is selected, and when compressed encoding is selected. Outputs the bit stream as it is.

셔플링 회로(22)에 의해 셔플링 또는 비셔플링된 오디오 데이타와, 셔플링 회로(25)에 의해 셔플링 또는 비셔플링된 비디오 데이타는 데이타 다중화 회로(3)에 입력된다.Audio data shuffled or unshuffled by the shuffling circuit 22 and video data shuffled or unshuffled by the shuffling circuit 25 are input to the data multiplexing circuit 3.

데이타 다중화 회로(3)에 의해 오디오와 비디오가 시분할 다중화된 데이타는 DSM(4)에 입력되어 일단 기억된다. 이상의 동작을 비디오 신호 및 오디오 신호의 입력이 종료할 때까지 계속한다. 일단 DSM(4)에 기억된 다중화 데이타는 복호화시에 필요한 부가 정보와 함께 ECC 인코더(5)에 입력되고, 소정량의 용장 데이타(패러티)가 부가된 후에 변조 회로(6)에 입력된다. 변조 회로(6)에서 변조된 데이타는 기록 장치(7)에 의해 기록 매체(8)에 기록된다.The data multiplexed by the data multiplexing circuit 3 on time-multiplexed audio and video is input to the DSM 4 and stored once. The above operation is continued until the input of the video signal and the audio signal is completed. The multiplexed data once stored in the DSM 4 is input to the ECC encoder 5 together with additional information necessary for decoding, and is then input to the modulation circuit 6 after a predetermined amount of redundant data (parity) is added. Data modulated by the modulation circuit 6 is recorded on the recording medium 8 by the recording apparatus 7.

제2도는 본 발명에서의 신호 복호화 장치의 제1 실시예를 도시한 것이다. 제2도 중에서 종래예에 도시한 제11도와 같은 참조 번호 부분에 관해서는 동일한 것을 사용할 수 있으므로 상세한 설명은 생략한다.2 shows a first embodiment of the signal decoding apparatus according to the present invention. In Fig. 2, the same reference numerals as those in Fig. 11 shown in the prior art can be used, and detailed description thereof will be omitted.

제2도에서, 기록 매체(9)에 기록된 다중화 데이타는 판독 장치(10)에 의해 재생되어 복조 회로(11)에 입력된다. 복조 회로(11)에 의해 복조된 다중화 데이타는 ECC 디코더(12)에 입력되어 데이타의 오류 검출, 오류 정정이 행해진다. 오류 정정이 끝난 다중화 데이타는 일단 링 버퍼 장치(13)에 입력되어 기억된 후에 다시판독되고, 데이타 분리 회로(14)에 입력된다. 입력된 다중화 데이타는 데이타 분리 회로(14)에 의해 오디오 데이타와 비디오 데이타로 분리되고, 오디오 데이타는 오디오 디코더(40)에 입력되어 복호화된다. 비디오 데이타는 비디오 디코더(41)에 입력되어 복호화된다. 오디오 디코더(40)는 입력된 비트 스트림의 프레임 헤더에서 대상 오디오 프레임이 압축 또는 비압축된 데이타인지를 판정하고, 비압축된 데이타인 경우에는 디셔플링 제어 회로(42)에 오디오 프레임 상에 기록된 셔플링 파라미터를 입력한다. 또, 오디오 디코더(40)는 최초의 프레임의 오디오 프레임 헤더에서 판독한 프레임 번호를 오디오 프레임 카운터(44)에 로드함과 동시에, 다음 오디오 프레임이 복호화될 때마다 오디오 프레임 카운터(44)를 인크리먼트한다. 오디오 프레임 카운터(44)의 계수치와 오디오 디코더(40)에 의해 오디오 프레임 헤더에서 판독한 프레임 번호는 비교 회로(46)에 입력된다.In FIG. 2, the multiplexed data recorded on the recording medium 9 is reproduced by the reading apparatus 10 and input to the demodulation circuit 11. The multiplexed data demodulated by the demodulation circuit 11 is input to the ECC decoder 12 to perform error detection and error correction of the data. The error corrected multiplexed data is once inputted to the ring buffer device 13, stored therein, then read again, and inputted to the data separation circuit 14. The input multiplexed data is separated into audio data and video data by the data separating circuit 14, and the audio data is input to the audio decoder 40 and decoded. The video data is input to the video decoder 41 and decoded. The audio decoder 40 determines whether the target audio frame is compressed or uncompressed data in the frame header of the input bit stream, and if it is uncompressed data, writes the deshuffling control circuit 42 on the audio frame. The completed shuffling parameters. In addition, the audio decoder 40 loads the frame number read from the audio frame header of the first frame into the audio frame counter 44, and increments the audio frame counter 44 whenever the next audio frame is decoded. I do it. The count value of the audio frame counter 44 and the frame number read out from the audio frame header by the audio decoder 40 are input to the comparison circuit 46.

오디오 디코더(40)에서 복호화된 데이타는 디셔플링 회로(48)에 입력된다. 디셔플링 회로(48)는 복호화된 데이타가 셔플링된 데이타인 경우 디셔플링 제어 회로(42)로부터의 제어 신호를 받아 디셔플링 동작을 행하고, 재배치가 끝난 데이타는 보간 회로(52)에 입력된다. 비교 회로(46)는 판독 프레임 번호와 오디오 프레임 카운터값을 비교해서, 이 값이 다른 경우에는 대상 오디오 프레임이 에러에 의해 탈락되었다고 판단해서 보간 회로(52)에 탈락 프레임 검출 신호를 입력한다.The data decoded by the audio decoder 40 is input to the deshuffling circuit 48. The deshuffling circuit 48 receives the control signal from the deshuffling control circuit 42 to perform the deshuffling operation when the decoded data is the shuffled data, and the rearranged data is sent to the interpolation circuit 52. Is entered. The comparison circuit 46 compares the read frame number with the audio frame counter value. When the value is different, the comparison circuit 46 determines that the target audio frame is dropped due to an error, and inputs the dropped frame detection signal to the interpolation circuit 52.

보간 회로(52)는 탈락 프레임 검출 신호를 받으면, 디셔플링 회로(48)에서 입력된 신호에서 탈락된 샘플에 인접하는 샘플로부터 보간 처리를 행하여 에러 보정을 행한 오디오 신호를 출력한다.When the interpolation circuit 52 receives the dropped frame detection signal, the interpolation circuit 52 performs interpolation processing from a sample adjacent to the sample dropped from the signal input from the deshuffling circuit 48 to output an audio signal with error correction.

비디오 디코더(41)는 입력된 비트 스트림의 프레임 헤더에서 대상 비디오 프레임이 압축 또는 비압축된 데이타인지를 판정하고, 비압축된 데이타인 경우에는 디셔플링 제어 회로(43)에 비디오 프레임 상에 기록된 셔플링 파라미터를 입력한다. 또, 비디오 디코더(41)는 최초의 프레임의 비디오 프레임 헤더에서 판독한 프레임 번호를 비디오 프레임 카운터(45)에 로드함과 동시에 다음 비디오 프레임이 복호화될 때마다 비디오 프레임 카운터(45)를 인크리먼트한다.The video decoder 41 determines in the frame header of the input bit stream whether the target video frame is compressed or uncompressed data, and if it is uncompressed data, writes the deshuffling control circuit 43 on the video frame. The completed shuffling parameters. In addition, the video decoder 41 loads the frame number read from the video frame header of the first frame into the video frame counter 45 and increments the video frame counter 45 each time the next video frame is decoded. do.

비디오 프레임 카운터(45)의 계수치와, 비디오 디코더(41)에 의해 비디오 프레임 헤더에서 판독한 프레임 번호는 비교 회로(47)에 입력된다. 비디오 디코더(41)에서 복호화된 데이타는 디셔플링 회로(49)에 입력된다. 디셔플링 회로(49)는 복호화된 데이타가 셔플링된 데이타인 경우, 디셔플링 제어 회로(43)로부터의 제어 신호를 받아 디셔플링 동작을 행한다. 재배치가 끝난 데이타는 보간 회로(53)에 입력된다.The count value of the video frame counter 45 and the frame number read out from the video frame header by the video decoder 41 are input to the comparison circuit 47. Data decoded by the video decoder 41 is input to the deshuffling circuit 49. The deshuffling circuit 49 receives the control signal from the deshuffling control circuit 43 and performs the deshuffling operation when the decoded data is the shuffled data. The rearranged data is input to the interpolation circuit 53.

비교 회로(47)는 판독 프레임 번호와 비디오 프레임 카운터값t을 비교해서 이 값이 다른 경우에는 대상 비디오 프레임이 에러에 의해 탈락되었다고 판단해서 보간 회로(53)에 탈락 프레임 검출 신호를 입력한다. 보간 회로(53)는 탈락 프레임 검출 신호를 받으면, 디셔플링 회로(49)로부터 입력된 신호에서 탈락된 샘플에 인접하는 샘플로부터 예를 들면 인접한 샘플의 중간값에 의한 보간 처리를 행하여 에러 보정을 행한 비디오 신호를 출력한다. 또한, 상술한 설명에서는 탈락 프레임 검출 신호는 비교 회로(46 및 47)에서 얻도록 하고 있으나, ECC 디코더에서 정정 불능 데이타가 발생한 경우에는 탈락 프레임 검출 신호를 출력하도록 해도 된다.The comparison circuit 47 compares the read frame number with the video frame counter value t and determines that the target video frame has dropped due to an error when the value is different, and inputs a drop frame detection signal to the interpolation circuit 53. When the interpolation circuit 53 receives the drop frame detection signal, the interpolation circuit 53 performs an interpolation process based on, for example, an intermediate value of adjacent samples from a sample adjacent to the dropped sample from the signal input from the deshuffling circuit 49 to correct an error. The output video signal is output. In the above description, the dropped frame detection signal is obtained by the comparison circuits 46 and 47. However, the dropped frame detection signal may be output when the uncorrectable data is generated by the ECC decoder.

본 실시예에서는 오디오 신호 및 비디오 신호의 2종류의 셔플링 회로가 도시되어 있으나, 양자는 알고리즘 및 하드웨어 구성상 실질적으로는 동일하고, 부여되는 셔플링 파라미터만 다르다. 따라서, 이하 오디오 데이타의 셔플링 방법을 예로 들어 설명한다. 즉, 이하의 설명은 오디오 신호 및 비디오 신호 또는 일반 신호에 적용할 수 있다.Although two types of shuffling circuits of an audio signal and a video signal are shown in this embodiment, both are substantially the same in terms of algorithm and hardware configuration, and differ only in the shuffling parameters to be given. Therefore, the following describes the method of shuffling audio data. That is, the following description can be applied to an audio signal and a video signal or a general signal.

제3도에서 본 발명에서의 셔플링 방법의 한 예를 설명한다. 제3도에서 오리지날 데이타 샘플열(60 ; 예를 들면 1샘플을 1워드로 함)을 10번 내지 49번으로 했을 때, 샘플열(61)은 인코드 시에 셔플링 회로(22)에 의해 재배치된 셔플링 데이타를 나타낸다. 입력 데이타 11, 13, 15, 17 등의 기수 번호의 샘플점은 셔플링 회로(22)내의 지연 회로(26)를 통과시킴으로써 10샘플 지연된다. 다른 데이타, 즉 우수 번호의 샘플점은 셔플링 회로(22)에서 지연 회로(26)를 통과시키지 않고 직접 출력된다. 여기서, 지연량 및 기수 샘플 데이타를 지연시키거나 우수 샘플 데이타를 지연시키는 플래그 및 1 샘플의 워드 사이즈 등의 셔플링 파라미터는 인코드 시에 지정되어 프레임 헤더 상에 기록된다. 또한, 프레임 헤더에 관해서는 지연 회로(26)를 통과시키지 않고 직접 출력된다.3 illustrates an example of the shuffling method in the present invention. In FIG. 3, when the original data sample string (60 (for example, one word is one word)) is set to 10 to 49, the sample string 61 is caused by the shuffling circuit 22 at the time of encoding. Relocated shuffling data is shown. Sample points of odd number, such as input data 11, 13, 15, 17, etc., are delayed 10 samples by passing through the delay circuit 26 in the shuffling circuit 22. The other data, that is, the sample number of the even number, is directly output from the shuffling circuit 22 without passing through the delay circuit 26. Here, the shuffling parameters such as the delay amount and the odd sample data or the flag for delaying even sample data and the word size of one sample are specified at the time of encoding and recorded on the frame header. In addition, the frame header is directly output without passing through the delay circuit 26.

다음으로 디코드 시의 디셔플링 방법의 한 예를 도시한다. 제3도 중에서 샘플열(62)은 셔플링 데이타를 나타내고, 인코드 시에 셔플링된 셔플링 데이타(61)와 같은 것이다. 단, 버스트 에러에 의해 샘플 데이타 번호 15, 26, 17, 28, 19번을 가진 프레임이 탈락했다고 가정하고 에러 보정의 설명을 하겠다.Next, an example of the deshuffling method at the time of decoding is shown. In FIG. 3, the sample string 62 represents shuffling data, and is the same as the shuffling data 61 shuffled at the time of encoding. However, assuming that a frame with sample data numbers 15, 26, 17, 28, and 19 was dropped due to a burst error, error correction will be described.

디셔플링된 데이타(63)는 입력 데이타(62)가 디셔플링 회로(48)에 의해 재배치된 신호이다. 디셔플링의 파라미터는 인코드 시에 프레임 헤더에 기록된 신호이지만, 셔플링 시에는 기수번의 데이타가 지연되어 재배치가 행해지는데 비해 역 패러티인 우수번째 데이타가 디셔플링 회로(48) 내의 지연 회로(50)를 통과하여 10샘플 지연되어 인코드 전의 샘플 데이타 순으로 재배치가 행해진다.The deshuffled data 63 is a signal whose input data 62 has been rearranged by the deshuffling circuitry 48. The deshuffling parameter is a signal recorded in the frame header at the time of encoding, but at the time of shuffling, the data of the odd number is delayed and repositioned, whereas the even-numbered data, which is inverse parity, is a delay circuit in the deshuffling circuit 48. 10 samples are delayed after passing through 50, and rearrangement is performed in order of sample data before encoding.

보간 데이타(64)는 버스트 에러에 의해 탈락된 데이타를 인접 데이타에서 보간한 신호를 포함한다. 셔플링 및 디셔플링에 의해 에러의 샘플점은 분산되어 있으므로, 인접 2샘플점으로부터의 보간이 가능해진다.The interpolation data 64 includes a signal interpolated from adjacent data of data dropped by the burst error. Since the sample points of errors are dispersed by shuffling and deshuffling, interpolation from two adjacent sample points becomes possible.

본 실시예에서는 오디오 신호 및 비디오 신호의 2종류의 셔플링 회로가 도시되어 있으나, 상술한 바와 같이 양자는 알고리즘 및 하드웨어 구성상 실질적으로 동일하므로, 부여되는 셔플링 파라미터만 다르기 때문에 종합해서 비압축 프레임이라는 형태로 설명하겠다. 즉, 이하의 설명은 오디오 신호 또는 비디오 신호 뿐만 아니라 계측 데이타나 텍스트 데이타 등의 신호에도 적응할 수 있다.In this embodiment, two types of shuffling circuits of an audio signal and a video signal are shown. However, as described above, since both are substantially the same in terms of algorithm and hardware configuration, since only the shuffling parameters given are different, the uncompressed frame is summed up. I will explain in the form of. That is, the following description can be adapted not only to audio signals or video signals but also to signals such as measurement data and text data.

제4도에 본 발명에서의 셔플링 파라미터 및 프레임 탈락을 검출하기 위한 연속 프레임 번호를 프레임 헤더에 기록하기 위한 비트 스트림 신텍스의 한 예를 도시한다.4 shows an example of a bit stream syntax for recording a shuffling parameter and a continuous frame number for detecting frame drop in the frame header in the present invention.

제4도에서 (a)는 비압축 데이타 프레임, 즉 「non_compressed_data_frame」의 비트 스트림 신텍스이다. 도면 중에서 「syncword」는 Ox80007fff(16진 ; 2진으로 나타내면 "1000 0000 0000 0000 0111 1111 1111 1111") 또는 Ox807f807f(16진 ; 2진으로 나타내면 "1000 0000 0111 1111 1000 0000 0111 1111") 중 어느 쪽인가가 검출되었을 때에 프레임 헤더인 것을 확인했다. 2개의 싱크 워드는 각각 16비트 단위에서의 부의 최대수(최소수)와 정의 최대수의 조합, 8비트 단위에서의 부의 최대수(최소수)와 정의 최대수의 조합이다. 부호화된 계수 중에 우연히 나타나 싱크 워드로 오인될 가능성이 적은 것을 특징으로 한다.In FIG. 4, (a) is a bit stream syntax of an uncompressed data frame, that is, "non_compressed_data_frame". In the figure, "syncword" indicates either Ox80007fff (hexadecimal; "1000 0000 0000 0000 0111 1111 1111 1111" in binary) or Ox807f807f (hexadecimal; "1000 0000 0111 1111 1000 0000 0111 1111" in binary). When the detection was detected, it was confirmed that it was a frame header. The two sync words are each a combination of the maximum number (minimum) and the maximum number of negatives in 16 bit units, and the maximum number (minimum) and the maximum number of negatives in 8-bit units. It is unlikely to be mistaken as a sync word by accident.

「flame_length」는 대상 비압축 프레임의 길이를 나타낸다. 「continuity_counter」은 탈락 프레임 검출용의 연속 프레임을 나타낸다. 「data_descriptor_flag」는 데이타 디스크립터의 유무를 나타내는 플래그이다. 「access_unlt_start_flag」는 액세스 유니트의 선두와 프레임의 선두가 일치하는 것을 나타내는 플래그이다."Flame_length" represents the length of the target uncompressed frame. "Continuity_counter" indicates a continuous frame for detecting dropped frames. "Data_descriptor_flag" is a flag indicating the presence or absence of a data descriptor. "Access_unlt_start_flag" is a flag indicating that the head of the access unit and the head of the frame match.

「interleave_parameter_flag」는 셔플링 파라미터의 유무를 나타낸다. 「data_descriptor」은 비압축 프레임의 디코드에 필요한 파라미터로 어플리케이션마다 다르다. 「interleave_unit_wordsize」는 셔플링을 행하는 최소 단위의 워드사이즈이다. 「interleave_delay」는 소정의 셔플링을 행하기 위해 필요한 지연량이다. 「delay_flag」는 프레임의 선두 데이타가 지연되어 전송되는지 지연되지 않고 전송되는지를 나타낸 플래그이다. 「data_bytes」는 셔플링의 대상이 되는 비압축 데이타열이다."Interleave_parameter_flag" indicates the presence or absence of a shuffling parameter. "Data_descriptor" is a parameter required for decoding an uncompressed frame and varies from application to application. "Interleave_unit_wordsize" is the minimum word size for shuffling. "Interleave_delay" is a delay amount necessary for performing a predetermined shuffling. "Delay_flag" is a flag indicating whether the leading data of the frame is delayed or transmitted without delay. "Data_bytes" is an uncompressed data string to be shuffled.

제4도에서 (b)에 도시하는 "L-PCM_descriptor"은 리니어 PCM 음성을 비압축으로 전송하는 경우의 제4(a)도의 「data_descriptor」의 상세한 것을 나타내는 비트스트림 신텍스의 한 예이다. 내용적으로는 「sampling_frequency」(샘플링 주파수) 2bits, 「copyright」(권리) 1bit, 「original/home」 1bit, 「emphasis」(엠파시스) 2bit, 「reserved」 2bit의 내용으로서 합계 8비트이다."L-PCM_descriptor" shown in (b) of FIG. 4 is an example of a bitstream syntax that shows the details of "data_descriptor" of FIG. 4 (a) when linear PCM audio is uncompressed. In terms of contents, the contents of "sampling_frequency" (sampling frequency) 2 bits, "copyright" (right) 1 bit, "original / home" 1 bit, "emphasis" (emphasis) 2 bits, and "reserved" 2 bits are 8 bits in total.

제1 실시예의 변형예로서 특정한 어플리케이션에 대해 셔플링의 파라미터를 어플리케이션마다 미리 고정해 두어 「interleave_parameter_flag」를 전송하지 않고 소정의 셔플링 처리를 실현할 수 있다. 또, 이 경우 디셔플링은 어플리케이션의 종별에 따른 고정된 셔플링 파라미터로 행해진다.As a modification of the first embodiment, the shuffling parameter is fixed in advance for a specific application for each application, and a predetermined shuffling process can be realized without transmitting "interleave_parameter_flag". In this case, deshuffling is performed with a fixed shuffling parameter according to the type of application.

다음으로 본 발명의 제2 실시예로서 다른 셔플링 방법에 관해 제5도를 이용해서 설명한다. 제2 실시예에서는 셔플링 회로로서 제1도에 도시한 제1 실시예의 셔플링 회로(22) 대신에 제6A도에 도시한 셔플링 회로(30)를 이용한다. 또, 디셔플링 회로로서 제2도에 도시한 제1 실시예의 디셔플링 회로(48) 대신에 제6A도에 도시한 셔플링 회로(30)와 같은 구성의 디셔플링 회로를 이용한다. 제5도에서 오리지날 샘플열(70 ; 예를 들면 1샘플을 1워드로 함)을 10번 내지 49번으로 했을 때, 샘플열(71)은 인코드 시에 셔플링 회로(30)에 의해 재배치된 셔플링 데이타를 도시한다. 입력 데이타 10, 12, 14, 16 등의 우수 번호의 샘플점은 셔플링 회로(30)에서 지연회로(32)를 통과시켜 10샘플 지연된다. 또, 입력 데이타11, 13, 15, 17, 19의 샘플점, 즉 제1 프레임 및 제2 프레임의 기수 번호의 샘플점은 셔플링 회로(30)에서 지연 회로(31)를 통과시켜 20샘플 지연된다. 또, 입력 데이타 21, 23, 25, 27, 29의 샘플점, 즉 제3 프레임 및 제4 프레임의 기수 번호의 샘플점은 셔플링 회로(30)에서 지연 회로(31) 및 지연 회로(32)를 통과시키지 않고 직접 출력된다. 한편 디코드 시에는 제5도의 샘플열(72)이 디셔플링 회로에 의해 샘플열(73)과 같이 재배치된다. 재배치의 방법은 인코드 시와 동일하고, 우수 번호의 샘플점에 관해서는 10샘플 지연되고, 기수 번호의 샘플점에 관해서는 제1 프레임 및 제2 프레임의 것이 20샘플 지연되며, 제3 프레임 및 제 4프레임의 것은 지연되지 않고 출력된다. 버스트 에러가 있는 경우에는 제3도와 같이 디셔플링된 샘플열(73)에 대해 보간 처리가 행해져서 샘플열(74)을 얻을 수 있다.Next, another shuffling method will be described with reference to FIG. 5 as a second embodiment of the present invention. In the second embodiment, the shuffling circuit 30 shown in Fig. 6A is used instead of the shuffling circuit 22 of the first embodiment shown in Fig. 1 as the shuffling circuit. As the deshuffling circuit, a deshuffling circuit having the same configuration as that of the shuffling circuit 30 shown in FIG. 6A is used instead of the deshuffling circuit 48 of the first embodiment shown in FIG. In FIG. 5, when the original sample sequence 70 (for example, one sample is 1 word) is set from 10 to 49, the sample sequence 71 is rearranged by the shuffling circuit 30 at the time of encoding. The shuffled data is shown. Sample points of even numbers, such as input data 10, 12, 14, 16, etc., are delayed 10 samples by passing through the delay circuit 32 in the shuffling circuit 30. In addition, the sample points of the input data 11, 13, 15, 17, and 19, that is, the sample points of the odd number of the first frame and the second frame, pass through the delay circuit 31 in the shuffling circuit 30 to delay 20 samples. do. In addition, the sample points of the input data 21, 23, 25, 27, 29, that is, the sample points of the odd number of the third frame and the fourth frame, are assigned to the delay circuit 31 and the delay circuit 32 by the shuffling circuit 30. Direct output without passing through In decoding, on the other hand, the sample string 72 of FIG. 5 is rearranged like the sample string 73 by the deshuffling circuit. The relocation method is the same as in encoding, and the sample number of the even number is delayed by 10 samples, the sample point of the odd number is delayed by 20 samples for the first frame and the second frame, and the third frame and The fourth frame is output without delay. When there is a burst error, interpolation processing is performed on the deshuffled sample string 73 as shown in FIG. 3 to obtain the sample string 74. FIG.

여기서, 제1 실시예와 제2 실시예를 비교해 보면 제1 실시예에 기재된 셔플링 방법(제3도)에 따르면 셔플링에 의해 복수 프레임으로 분산된 샘플 데이타는 이른바 첩입 구조로 되어 있고, 수 프레임에서 완결되는 구조로는 되지 않는다. 따라서, 랜덤 액세스 등에서 소정의 액세스 유니트에 액세스하고, 도중의 프레임에서 디코드하고자 했을 때에는 최초의 1프레임에서는 필요한 샘플점을 얻을 수 없으므로 반드시 보간 처리가 필요하다. 예를 들면, 제3도의 샘플열(62)의 30, 21, 32, 23, 34의 샘플점을 포함하는 프레임에서 디코드를 시작한 경우, 오리지날 샘플열(60)에서 샘플점 21, 23과 하나의 프레임을 구성한 샘플점 20, 22, 24는 데이타가 없기 때문에 보간 처리가 필요해진다.Here, comparing the first and second embodiments, according to the shuffling method (FIG. 3) described in the first embodiment, the sample data distributed in multiple frames by shuffling has a so-called embedded structure, It does not have a structure completed in the frame. Therefore, when a predetermined access unit is accessed by random access or the like and decoded in the middle frame, the required sample point cannot be obtained in the first frame, so interpolation processing is necessary. For example, when the decoding starts in a frame including the sample points 30, 21, 32, 23, and 34 of the sample sequence 62 in FIG. 3, one of the sample points 21, 23 and one in the original sample sequence 60 is obtained. Since the sample points 20, 22, and 24 that constitute the frame have no data, interpolation processing is required.

한편, 제2 실시예(제5도)에 따른 셔플링 방법에 의하면 오리지날 샘플열(70)은 샘플열(71)에 나타낸 바와 같이 셔플링되므로, 셔플링은 반드시 20샘플(4프레임)로 완결되어 있다. 따라서, 랜덤 액세스 시 등의 액세스 유니트의 선두와 상기 20 샘플의 선두가 일치하도록 셔플링을 행하면, 랜덤 액세스 등에 의해 도중의 프레임에서 디코드가 시작된 경우라도 액세스 유니트의 선두에서 보간하지 않고, 데이타를 출력할 수 있다. 예를 들면, 제5도의 샘플열(72)의 30, 41, 32, 43, 34의 샘플점을 포함하는 프레임에서 디코드를 시작한 경우에 그 프레임을 포함한 4프레임분의 데이타를 재생하면 오리지날 샘플열(70)의 4프레임분의 연속된 데이타(30번에서 49번)를 얻을 수 있기 때문에 보간 처리를 행하지 않고 데이타를 출력할 수 있다. 그 외의 구성에 관해서는 모두 제1 실시예와 같은 구성으로 할 수 있다.On the other hand, according to the shuffling method according to the second embodiment (FIG. 5), since the original sample sequence 70 is shuffled as shown in the sample sequence 71, the shuffling is necessarily completed with 20 samples (4 frames). It is. Therefore, if shuffling is performed so that the head of the access unit and the head of the 20 samples coincide with each other during random access, the data is output without interpolation from the head of the access unit even when decoding starts in the middle frame due to random access or the like. can do. For example, when decoding is started in a frame including sample points of 30, 41, 32, 43, and 34 of the sample string 72 of FIG. 5, the original sample string is reproduced when data for 4 frames including the frame is reproduced. Since the continuous data (No. 30 to No. 49) for four frames (70) can be obtained, data can be output without performing interpolation processing. All other configurations can be the same as the first embodiment.

다음으로 제6B도는 본 발명의 제3 실시예에 관해 셔플링 회로, 디셔플링 회로의 구성을 도시한 것이다. 여기서, 셔플링 회로, 디셔플링 회로는 같은 구성을 하고 있다. 제1 실시예에 따르면 셔플링 시에 1프레임의 샘플 데이타열은 지연의 유무에 따라 재배치되어 2개의 프레임으로 분산된다. 제3 실시예에서는 제6B도 중의 참조 번호(91, 93, 95)에 도시한 바와 같이 3개의 지연 회로를 갖고, 1프레임의 샘플 데이타는 4개의 프레임으로 분산될 수 있다. 출력 버퍼(92, 94, 96, 99)는 출력 데이타의 위상을 조정하기 위한 버퍼이다. 셔플링의 파라미터로서 분할 수를 프레임 헤더에 더하여 4분할 이내이면 임의의 분할 수의 셔플링을 실현할 수 있다. 또, 제6B도 중의 점선으로 도시한 지연 회로(97) 및 출력 버퍼(98)와 같이 지연 채널을 증가시킬 수도 있다. 이 경우 임의의 분할 수의 셔플링 및 디셔플링을 행할 수 있다.Next, Fig. 6B shows the configuration of the shuffling circuit and the deshuffling circuit in accordance with the third embodiment of the present invention. Here, the shuffling circuit and the deshuffling circuit have the same configuration. According to the first embodiment, when shuffling, the sample data string of one frame is rearranged and distributed into two frames depending on the presence or absence of a delay. In the third embodiment, as shown by reference numerals 91, 93, and 95 in FIG. 6B, three delay circuits are provided, and one frame of sample data can be distributed into four frames. The output buffers 92, 94, 96, and 99 are buffers for adjusting the phase of the output data. If the number of divisions is added to the frame header within 4 divisions as a parameter of shuffling, shuffling of any number of divisions can be realized. The delay channel can also be increased like the delay circuit 97 and the output buffer 98 shown by the dotted lines in FIG. 6B. In this case, arbitrary division number shuffling and deshuffling can be performed.

제7도에 따라 제3 실시예의 셔플링 방법을 설명하겠다. 오리지날 데이타 샘플(80)은 4샘플마다 셔플링되고, 4개의 프레임에 걸쳐 분산되어 있다(샘플열 81). 여기서, 참조 번호(82)에 도시한 바와 같이 데이타의 표현을 바꿔 보겠다. 즉, 제3 실시예는 래스터 형식의 데이타를 래스터 방향과 수직 방향으로 스캔하고, 셔플링순서를 변경하는 것과 같다. 따라서, 2차원 데이타의 셔플링에 적응할 수 있게 된다. 기타 구성에 관해서는 모두 제1 실시예와 같으므로 생략한다. 또한, 상술한 실시예에서는 비압축 데이타에 관해서만 셔플링을 행하도록 했으나, 인접 샘플에서보간이 가능한 압축 방법을 사용한 경우에는 압축 데이타에 관해서도 셔플링을 행하도록 해도 된다.The shuffling method of the third embodiment will be described according to FIG. The original data sample 80 is shuffled every four samples and distributed over four frames (sample sequence 81). Here, the representation of the data will be changed as shown by reference numeral 82. That is, the third embodiment is equivalent to scanning the raster format data in the direction perpendicular to the raster direction and changing the shuffling order. Thus, it is possible to adapt to shuffling of two-dimensional data. All other configurations are the same as those in the first embodiment and are omitted. In the above-described embodiment, the shuffling is performed only on the uncompressed data. However, when the compression method capable of interpolating between adjacent samples is used, the shuffling may also be performed on the compressed data.

본 발명의 부호화 방법에 따르면, 비압축 데이타에 대해 복수의 프레임 간에 걸친 샘플 데이타의 교체, 이른바 셔플링을 행한 데이타를 전송하고, 에러 발생시에 버스트 에러에 의해 탈락된 부분의 영향을 분산시키며, 복수의 인접 프레임에서 디셔플링된 데이타를 기초로 보간 처리를 행하는 부호화 방법에서 패킷 종류별로 각 프레임에 대해 연속값을 전송하는 헤더 정보를 준비하고, 전송 프레임 수를 계수하는 카운터를 준비해서 상기 연속값 헤더 정보와 카운터의 계수값을 비교하는 비교기를 준비하여 연속값이어야 할 헤더 정보의 불연속성을 검사하여 버스트 에러에 의한 프레임의 탈락을 검출해서 검출된 탈락 프레임에 대해 상기 디셔플링과 인접샘플 데이타로부터의 보간에 의해 에러를 보정할 수 있게 된다.According to the encoding method of the present invention, data that has been replaced by so-called shuffling of sample data over a plurality of frames with respect to uncompressed data is transmitted, and when an error occurs, the influence of a part dropped by a burst error is distributed, In the encoding method of performing interpolation processing on the basis of deshuffled data in adjacent frames of the apparatus, header information for transmitting a continuous value for each frame for each packet type is prepared, and a counter for counting the number of transmission frames is prepared for the continuous value. Prepare a comparator that compares the header information with the counter value and checks the discontinuity of the header information which should be a continuous value, detects the dropping of the frame due to a burst error, and detects the dropped frame from the deshuffling and By interpolation, the error can be corrected.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링에 의한 에러 보정에서 탈락 프레임의 검출을 상기 프레임의 불연속성 검출과 관계없이 ECC 디코더로부터의 제어 신호에 따라 제어할 수 있게 된다.In addition, according to the encoding method of the present invention, the detection of dropped frames in the error correction by the shuffling can be controlled according to a control signal from an ECC decoder regardless of the detection of the discontinuity of the frames.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링 조작에 필요한 파라미터를 부호화 시에 프레임 헤더에 기록하여 셔플링 방법 그 자체를 전송할 수 있게 된다.Further, according to the encoding method of the present invention, the shuffling method itself can be transmitted by recording the parameters necessary for the shuffling operation in the frame header at the time of encoding.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링 조작에 필요한 파라미터로서 1샘플 데이타의 사이즈를 전송하여 셔플링 시의 재배치의 최소 단위를 가변시킬 수 있게 된다.Further, according to the encoding method of the present invention, the minimum unit of relocation during shuffling can be changed by transmitting the size of one sample data as a parameter required for the shuffling operation.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링 조작에 필요한 파라미터로서 지연 사이즈를 전송하여 셔플링 시에 재배치가 행해지는 데이타 간의 거리를 가변시키는 것을 특징으로 한다.Further, according to the encoding method of the present invention, a delay size is transmitted as a parameter necessary for the shuffling operation to vary the distance between the data to be rearranged during shuffling.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링 조작에서 입력 샘플열에대해 어떤 지연을 행하고 난 뒤의 출력과, 지연을 행하지 않은 출력을 상호 전환시켜 처리되는 셔플링 처리가 행해지는 샘플링 데이타열에 대해 최초에 처리되는 샘플점 데이타가 지연을 행하고 나서 출력되는지 또는 지연을 행하지 않고 출력되는지를 설정하는 플래그를 전송하여 바른 디셔플링이 가능하게 한다.Further, according to the encoding method of the present invention, a sampling data string subjected to a shuffling process performed by switching between an output after performing a delay with respect to an input sample string in the shuffling operation and an output without delay is first performed. A flag for setting whether or not the sample point data to be processed is output after performing a delay or outputting without delay is transmitted to enable correct deshuffling.

또한, 본 발명의 부호화 방법에 따르면 복수 프레임에서 완결되는 셔플링을 행하는 모든 비압축 프레임에서 프레임 내의 데이타의 선두가 입력 데이타의 취급에 적합한 처리 단위 이른바 액세스 유니트의 선두에 항상 일치하도록 부호화시켜 랜덤 액세스 시에도 보간하지 않은 데이타를 출력할 수 있게 된다.Further, according to the encoding method of the present invention, in all uncompressed frames that are completed shuffling in a plurality of frames, a random access is performed by encoding so that the head of the data in the frame always coincides with the head of the processing unit so-called access unit suitable for handling the input data. Even if the data is not interpolated, data can be output.

또한, 본 발명의 부호화 방법에 따르면 상기 파라미터에 의한 셔플링 방법의 전송에 관해 셔플링의 대상을 특정한 응용 목적을 위해 한정해서 파라미터를 고정시켜 효율을 개선시킬 수 있게 되었다.In addition, according to the encoding method of the present invention, the transmission of the shuffling method by the above parameters can be limited for specific application purposes, thereby fixing the parameters to improve efficiency.

또한, 본 발명의 부호화 방법에 따르면 상기 비트 스트림에서 처리하고자 하는 데이타열이 프레임 헤더인 것을 확인하기 위한 싱크 워드로서 소정의 워드 사이즈에서 출현 가능성이 낮은 값의 조합을 이용해서 에뮬레이션의 발생 확립을 저감시켜 디코드 시에 확실히 프레임 헤더를 검출할 수 있고, 바른 디셔플링을 행할 수 있게 된다.In addition, according to the encoding method of the present invention, the establishment of emulation is reduced by using a combination of values that are unlikely to occur at a predetermined word size as a sync word for confirming that the data string to be processed in the bit stream is a frame header. In this case, the frame header can be reliably detected at the time of decoding, and correct deshuffling can be performed.

또한, 본 발명의 부호화 방법에 따르면 상기 셔플링 방법에서 연속된 입력샘플 데이타를 복수 프레임으로 분산시킬 때의 분할 수를 프레임 헤더에서 전송하여 셔플링 시의 분할 수를 가변시킬 수 있게 된다.In addition, according to the encoding method of the present invention, in the shuffling method, the number of divisions when shuffling can be varied by transmitting the number of divisions when distributing consecutive input sample data into a plurality of frames in a frame header.

제1도는 본 발명에 따른 인코더 장치의 구성예를 도시하는 블럭도.1 is a block diagram showing a configuration example of an encoder device according to the present invention.

제2도는 본 발명에 따른 디코더 장치의 구성예를 도시하는 블럭도.2 is a block diagram showing a configuration example of a decoder device according to the present invention.

제3도는 본 발명에서의 제1 실시예의 셔플링(shuffling) 방법을 도시하는 도면.3 is a diagram showing a shuffling method of a first embodiment in the present invention.

제4도는 본 발명에서의 비트 스트림 신텍스의 예를 도시하는 도면.4 is a diagram showing an example of a bit stream syntax in the present invention.

제5도는 본 발명에서의 제2 실시예의 셔플링 방법을 도시하는 도면.5 is a diagram showing a shuffling method of a second embodiment in the present invention.

제6도는 본 발명에서의 제3 실시예의 셔플링 회로를 도시하는 도면.FIG. 6 shows a shuffling circuit of a third embodiment in the present invention. FIG.

제7도는 본 발명에서의 제3 실시예의 셔플링 방법을 도시하는 도면,7 is a diagram showing a shuffling method of a third embodiment in the present invention;

제8도는 종래의 신호 부호화 장치의 구성을 도시하는 도면.8 is a diagram showing the configuration of a conventional signal encoding apparatus.

제9도는 종래의 신호 복호화 장치의 구성을 도시하는 도면.9 is a diagram showing a configuration of a conventional signal decoding apparatus.

도면의 주요 부분에 대한 부호의 설명Explanation of symbols for the main parts of the drawings

3 : 데이타 다중화 회로 4 : DSH3: data multiplexing circuit 4: DSH

5 : ECC 인코더 6 : 변조 회로5: ECC encoder 6: modulation circuit

7 : 기록 장치 8 : 기록 매체7: recording device 8: recording medium

20, 23 : 셔플링 제어 회로 21 : 오디오 프레임 카운터20, 23: shuffling control circuit 21: audio frame counter

22, 25 : 셔플링 회로 26, 27 : 지연 회로22, 25: shuffling circuit 26, 27: delay circuit

28 : 오디오 인코더 29 : 비디오 인코더28: Audio Encoder 29: Video Encoder

Claims (42)

입력 신호를 부호화하는 신호 부호화 장치에 있어서,In the signal encoding apparatus for encoding an input signal, 압축/비압축 선택 신호 및 셔플링 파라미터가 입력된 셔플링 제어 수단;Shuffling control means for inputting a compression / uncompression selection signal and a shuffling parameter; 상기 셔플링 제어 수단으로부터의 제어 입력에 따라 입력된 신호를 프레임 단위의 부호화 신호로 부호화하는 부호화 수단;Encoding means for encoding an input signal according to a control input from the shuffling control means into an encoded signal in units of frames; 상기 부호화 신호의 프레임 수를 카운트하는 카운트 수단; 및Counting means for counting the number of frames of the coded signal; And 상기 셔플링 파라미터에 기초하여, 상기 프레임 단위의 부호화 신호를 셔플링하는 셔플링 수단을 포함하되,A shuffling means for shuffling the coded signal in units of frames based on the shuffling parameter, 상기 부호화 수단은 상기 프레임 수를 상기 프레임 단위의 각 프레임 헤더에 기입하는 것을 특징으로 하는 신호 부호화 장치.And the encoding means writes the number of frames in each frame header of the frame unit. 입력 신호를 부호화하는 신호 부호화 장치에 있어서,In the signal encoding apparatus for encoding an input signal, 압축/비압축 선택 신호 및 셔플링 파라미터가 입력된 션플링 제어 수단;Suffling control means for inputting a compression / uncompression selection signal and shuffling parameters; 상기 셔플링 제어 수단으로부터의 제어 입력에 따라 입력된 신호를 프레임 단위의 부호화 신호로 부호화하는 부호화 수단, 및Encoding means for encoding an input signal according to a control input from the shuffling control means into an encoded signal in units of frames, and 상기 셔플링 파라미터에 기초하여, 상기 프레임 단위의 부호화 신호를 셔플링하는 셔플링 수단을 포함하되,A shuffling means for shuffling the coded signal in units of frames based on the shuffling parameter, 상기 부호화 수단은 상기 셔플링에 사용하는 셔플링 파라미터를 상기 프레임 단위의 각 프레임 헤더에 기입하는 것을 특징으로 하는 신호 부호화 장치.And the encoding means writes a shuffling parameter used for the shuffling into each frame header of the frame unit. 제1항에 있어서, 상기 셔플링 수단은 어플리케이션의 종류에 따라 각각 고정된 셔플링 파라미터에 기초해서 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.The signal encoding apparatus according to claim 1, wherein the shuffling means performs the shuffling based on fixed shuffling parameters according to the type of application. 제2항에 있어서, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하는 것을 특징으로 하는 신호 부호화 장치.The method according to claim 2, wherein the shuffling parameter includes information indicating a size of one sample data of the coded signal, information indicating a delay size, information indicating whether or not data of a sample point to be processed first is delayed, And at least one piece of information indicating the number of divisions when dividing the data into a plurality of frames. 제1항에 있어서, 상기 셔플링 수단은 상기 부호화 수단이 상기 입력 신호에 대해 비압축 부호화 또는 인접 샘플로부터 보간 가능한 압축 부호화를 행할 때, 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.The signal encoding apparatus according to claim 1, wherein the shuffling means performs the shuffling when the encoding means performs uncompressed encoding or compression encoding which can be interpolated from adjacent samples with respect to the input signal. 제1항에 있어서, 상기 프레임 헤더는 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드를 갖는 것을 특징으로 하는 신호 부호화 장치.2. The signal encoding apparatus of claim 1, wherein the frame header has a sync word configured by combining a maximum number of negatives and a maximum positive number at a predetermined word size. 제1항에 있어서, 상기 셔플링 수단은 상기 부호화 신호의 데이타의 분산이첩입 구조가 되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.The signal encoding apparatus according to claim 1, wherein the shuffling means performs the shuffling so that a distribution of data of the coded signal is embedded. 제1항에 있어서, 상기 셔플링 수단은 상기 부호화 신호의 복수 프레임분 데이타의 분산이 상기 복수 프레임에서 완결되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.The signal encoding apparatus according to claim 1, wherein the shuffling means performs the shuffling so that variance of plural frame data of the coded signal is completed in the plural frames. 제8항에 있어서, 상기 셔플링 수단은 억세스 유니트의 선두와, 상기 완결된 복수 프레임의 선두가 일치하도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.9. The signal encoding apparatus according to claim 8, wherein the shuffling means performs the shuffling so that a head of an access unit and a head of the completed plurality of frames coincide. 수신 신호를 복호화하는 신호 복호화 장치에 있어서,In the signal decoding apparatus for decoding a received signal, 프레임 단위의 부호화 신호를 복호화해서 복호화된 신호를 생성하는 복호화 수단;Decoding means for decoding a coded signal on a frame basis to generate a decoded signal; 상기 복호화 수단에서 복호화된 신호에 대해 디셔플링을 행하는 디셔플링 수단;Deshuffling means for deshuffling the signal decoded by the decoding means; 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와 상기 복호화 수단에 의해 복호화된 프레임 수에 기초해서 에러 프레임을 검출하는 검출 수단; 및Detection means for detecting an error frame based on a frame number included in each frame header of the coded signal in frame units and the number of frames decoded by the decoding means; And 상기 디셔플링된 복호화 신호로부터 상기 에러 프레임을 보간하는 보간 수단을 포함하는 것을 특징으로 하는 신호 복호화 장치.And interpolation means for interpolating the error frame from the deshuffled decoded signal. 수신 신호를 복호화하는 신호 복호화 장치에 있어서,In the signal decoding apparatus for decoding a received signal, 프레임 단위의 부호화 신호를 복호화해서 복호화된 신호를 생성하는 복호화 수단;Decoding means for decoding a coded signal on a frame basis to generate a decoded signal; 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 셔플링 파라미터에 기초해서 상기 복호화 수단에서 복호화된 신호에 대해 디셔플링을 행하는 디셔플링 수단; 및Deshuffling means for deshuffling the signal decoded by the decoding means based on a shuffling parameter included in each frame header of the coded signal in units of frames; And 상기 디셔플링된 복호화 신호로부터 상기 에러 프레임을 보간하는 보간 수단을 포함하는 것을 특징으로 하는 신호 복호화 장치.And interpolation means for interpolating the error frame from the deshuffled decoded signal. 제10항에 있어서, 상기 디셔플링 수단은 어플리케이션의 종류에 따라 각각 고정된 셔플링 파라미터에 기초해서 상기 디셔플링을 행하는 것을 특징으로 하는 신호 복호화 장치.11. The signal decoding apparatus according to claim 10, wherein the deshuffling means performs the deshuffling based on fixed shuffling parameters, respectively, according to the type of application. 제11항에 있어서, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하는 것을 특징으로 하는 신호 복호화 장치.The method according to claim 11, wherein the shuffling parameter includes information indicating a size of one sample data of the coded signal, information indicating a delay size, information indicating whether or not data of a sample point to be processed first is delayed, And at least one piece of information indicating the number of divisions when dividing data into a plurality of frames. 제11항에 있어서, 상기 부호화 신호에 에러 정정을 행하는 에러 정정 수단을 더 포함하고, 상기 보간 수단은 상기 에러 정정 수단에서 정정 불능한 에러가 발생한 데이타에 대해 상기 보간을 행하는 것을 특징으로 하는 신호 복호화 장치.12. The signal decoding according to claim 11, further comprising error correction means for performing error correction on said coded signal, wherein said interpolation means performs said interpolation on data in which an uncorrectable error has occurred in said error correction means. Device. 제11항에 있어서, 상기 보간 수단은 상기 검출 수단에 의해 검출된 상기 에러 프레임에 대해 상기 보간을 행하는 것을 특징으로 하는 신호 복호화 장치.The signal decoding apparatus according to claim 11, wherein the interpolation means performs the interpolation on the error frame detected by the detection means. 제10항에 있어서, 상기 복호화 수단은 소정의 워드 사이즈에서의 부의 최대 수와 정의 최대수를 조합시켜 구성된 싱크 워드에 의해 상기 각 프레임 헤더를 검출하는 것을 특징으로 하는 신호 복호화 장치.11. The signal decoding apparatus according to claim 10, wherein the decoding means detects each of the frame headers by a sync word configured by combining a maximum number of negatives and a positive maximum number of predetermined word sizes. 입력 신호를 부호화하는 신호 부호화 방법에 있어서,In the signal encoding method for encoding an input signal, 입력 신호를 프레임 단위의 부호화 신호로 부호화하는 단계,Encoding the input signal into a coded signal in units of frames, 상기 부호화 신호의 프레임 수를 카운트하는 단계,Counting the number of frames of the encoded signal; 상기 프레임 단위의 부호화 신호를 셔플링하는 단계, 및Shuffling the encoded signal in units of frames, and 상기 프레임 수를 상기 프레임 단위의 각 프레임 헤더에 기입하는 단계를 포함하는 것을 특징으로 하는 신호 부호화 방법.And writing the number of frames in each frame header of the frame unit. 입력 신호를 부호화하는 신호 부호화 방법에 있어서,In the signal encoding method for encoding an input signal, 입력 신호를 프레임 단위의 부호화 신호로 부호화하는 단계,Encoding the input signal into a coded signal in units of frames, 상기 프레임 단위의 부호화 신호를 셔플링하는 단계, 및Shuffling the encoded signal in units of frames, and 상기 셔플링에 사용하는 셔플링 파라미터를 상기 프레임 단위의 각 프레임 헤더에 기입하는 단계를 포함하는 것을 특징으로 하는 신호 부호화 방법.And writing a shuffling parameter used for the shuffling into each frame header of the frame unit. 제17항에 있어서, 상기 셔플링은 어플리케이션의 종류에 따라 설정되고 각각 고정된 셔플링 파라미터에 기초해서 행해지는 것을 특징으로 하는 신호 부호화 방법.18. The signal encoding method of claim 17, wherein the shuffling is set according to a type of application and is performed based on fixed shuffling parameters, respectively. 제18항에 있어서, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하는 것을 특징으로 하는 신호 부호화 방법.19. The method of claim 18, wherein the shuffling parameter includes information indicating a size of one sample data of the coded signal, information indicating a delay size, information indicating whether or not data of a sample point to be processed first is delayed, And at least one piece of information indicating the number of divisions when dividing the data into a plurality of frames. 제17항에 있어서, 상기 입력 신호에 대해 비압축 부호화 또는 인접 샘플로부터 보간 가능한 압축 부호화를 행할 때, 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.18. The signal encoding method according to claim 17, wherein the shuffling is performed when performing uncompressed encoding or compression encoding which can be interpolated from adjacent samples with respect to the input signal. 제17항에 있어서, 상기 프레임 헤더는 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드를 갖는 것을 특징으로 하는 신호부호화 방법.18. The method of claim 17, wherein the frame header has a sync word configured by combining a maximum number of negatives and a maximum number of positives at a predetermined word size. 제17항에 있어서, 상기 부호화 신호의 데이타의 분산이 첩입 구조가 되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.18. The signal encoding method according to claim 17, wherein the shuffling is performed so that the distribution of data of the encoded signal becomes an embedded structure. 제17항에 있어서, 상기 부호화 신호의 복수 프레임분의 데이타의 분산이 상기 복수의 프레임에서 완결되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.18. The signal encoding method according to claim 17, wherein the shuffling is performed so that distribution of data for a plurality of frames of the coded signal is completed in the plurality of frames. 제24항에 있어서, 억세스 유니트의 선두와 상기 완결된 복수의 프레임의 선두가 일치하도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.The signal encoding method according to claim 24, wherein the shuffling is performed such that a head of an access unit and a head of the plurality of completed frames coincide with each other. 수신 신호를 복호화하는 신호 복호화 방법에 있어서,In the signal decoding method for decoding a received signal, 프레임 단위의 부호화 신호를 복호화해서 복호화 신호를 생성하는 단계,Generating a decoded signal by decoding a coded signal on a frame basis; 상기 복호화 신호에 대해 디셔플링을 행하는 단계,Deshuffling the decoded signal; 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와, 상기 복호화 수단에 의해 복호화된 프레임 수에 기초해서 에러 프레임을 검출하는 단계, 및Detecting an error frame based on a frame number included in each frame header of the encoded signal in the frame unit and the number of frames decoded by the decoding means, and 상기 디셔플링된 복호화 신호로부터 상기 에러 프레임을 보간하는 단계를 포함하는 것을 특징으로 하는 신호 복호화 방법.Interpolating the error frame from the deshuffled decoded signal. 수신 신호를 복호화하는 신호 복호화 방법에 있어서,In the signal decoding method for decoding a received signal, 프레임 단위의 부호화 신호를 복호화해서 복호화 신호를 생성하는 단계,Generating a decoded signal by decoding a coded signal on a frame basis; 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 셔플링 파라미터에 기초해서 상기 복호화 신호에 대해 디셔플링을 행하는 단계, 및Deshuffling the decoded signal based on a shuffling parameter included in each frame header of the coded signal in units of frames; and 상기 디셔플링된 복호화 신호로부터 에러 프레임을 보간하는 단계를 포함하는 것을 특징으로 하는 신호 복호화 방법.Interpolating an error frame from the deshuffled decoded signal. 제26항에 있어서, 어플리케이션의 종류에 따라 각각 고정된 셔플링 파라미터에 기초해서 상기 디셔플링을 행하는 것을 특징으로 하는 신호 복호화 방법.27. The signal decoding method according to claim 26, wherein said deshuffling is performed based on fixed shuffling parameters, respectively, according to the type of application. 제27항에 있어서, 상기 셔플링 파라미터는 상기 부호화 신호의 1샘플 데이타의 사이즈를 나타내는 정보, 지연 사이즈를 나타내는 정보, 최초에 처리되는 샘플 점의 데이타가 지연되는지 여부를 나타내는 정보, 상기 부호화 신호의 데이타를 복수의 프레임으로 분할할 때의 분할 수를 나타내는 정보의 적어도 하나를 포함하는 것을 특징으로 하는 신호 복호화 방법.29. The method of claim 27, wherein the shuffling parameter includes information indicating a size of one sample data of the coded signal, information indicating a delay size, information indicating whether or not data of a sample point to be processed first is delayed, And at least one piece of information indicating the number of divisions when dividing data into a plurality of frames. 27항에 있어서, 상기 부호화 신호에 에러 정정을 행하고,The method of claim 27, wherein error correction is performed to the coded signal, 상기 에러 정정에서 정정 불능한 에러가 발생한 데이타에 대해 상기 보간을 행하는 것을 특징으로 하는 신호 복호화 방법.And the interpolation is performed on data in which an uncorrectable error has occurred in the error correction. 제27항에 있어서, 상기 프레임 단위의 부호화 신호의 각 프레임 헤더에 포함되는 프레임 번호와, 상기 복호화 수단에 의해 복호화된 프레임 수에 기초해서 에러 프레임을 검출하고,The method according to claim 27, wherein an error frame is detected based on a frame number included in each frame header of the coded signal in the frame unit and the number of frames decoded by the decoding means, 상기 검출 스텝에서, 검출된 상기 에러 프레임에 대해 상기 보간을 행하는 것을 특징으로 하는 신호 복호화 방법.And the interpolation is performed on the detected error frame in the detection step. 제26항에 있어서, 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성되는 싱크 워드에 의해 상기 각 프레임 헤더를 검출하는 것을 특징으로 하는 신호 복호화 방법.27. The signal decoding method according to claim 26, wherein each of said frame headers is detected by a sync word formed by combining a negative maximum number and a positive maximum number at a predetermined word size. 제2항에 있어서, 상기 셔플링 수단은 상기 부호화 수단이 상기 입력 신호에대해 비압축 부호화 또는 인접 샘플로부터 보간 가능한 압축 부호화를 행할 때, 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.3. The signal encoding apparatus according to claim 2, wherein the shuffling means performs the shuffling when the encoding means performs uncompressed encoding or compression encoding that can be interpolated from adjacent samples with respect to the input signal. 제2항에 있어서, 상기 프레임 헤더는 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드를 갖는 것을 특징으로 하는 신호 부호화 장치.The signal encoding apparatus according to claim 2, wherein the frame header has a sync word configured by combining a maximum number of negatives and a maximum positive number at a predetermined word size. 제2항에 있어서, 상기 셔플링 수단은 상기 부호화 신호의 데이타의 분산이첩입 구조가 되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.3. The signal encoding apparatus according to claim 2, wherein the shuffling means performs the shuffling so that a distribution of data of the coded signal is embedded. 제2항에 있이서, 상기 셔플링 수단은 상기 부호화 신호의 복수 프레임분 데이타의 분산이 상기 복수 프레임에서 완결되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 장치.3. The signal encoding apparatus according to claim 2, wherein the shuffling means performs the shuffling so that variance of data for a plurality of frames of the coded signal is completed in the plurality of frames. 제11항에 있어서, 상기 복호화 수단은 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드에 의해 상기 각 프레임 헤더를 검출하는 것을 특징으로 하는 신호 복호화 장치.12. The signal decoding apparatus according to claim 11, wherein the decoding means detects each of the frame headers by a sync word configured by combining a maximum number of negatives and a positive maximum number of predetermined word sizes. 제18항에 있어서, 상기 입력 신호에 대해 비압축 부호화 또는 인접 샘플로부터 보간 가능한 압축 부호화를 행할 때, 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.19. The signal encoding method according to claim 18, wherein the shuffling is performed when performing uncompressed encoding or compression encoding which can be interpolated from adjacent samples. 제18항에 있어서, 상기 프레임 헤더는 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성된 싱크 워드를 갖는 것을 특징으로 하는 신호 부호화 방법.19. The signal encoding method of claim 18, wherein the frame header has a sync word configured by combining a negative maximum number and a positive maximum number at a predetermined word size. 제18항에 있어서, 상기 부호화 신호의 데이타의 분산이 첩입 구조가 되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.19. The signal encoding method according to claim 18, wherein the shuffling is performed so that the distribution of data of the encoded signal becomes an embedded structure. 제18항에 있어서, 상기 부호화 신호의 복수 프레임분의 데이타의 분산이 상기 복수의 프레임에서 완결되도록 상기 셔플링을 행하는 것을 특징으로 하는 신호 부호화 방법.19. The signal encoding method according to claim 18, wherein the shuffling is performed so that distribution of data for a plurality of frames of the coded signal is completed in the plurality of frames. 제27항에 있어서, 소정의 워드 사이즈에서의 부의 최대수와 정의 최대수를 조합시켜 구성되는 싱크 워드에 의해 상기 각 프레임 헤더를 검출하는 것을 특징으로 하는 신호 복호화 방법.28. The signal decoding method according to claim 27, wherein each frame header is detected by a sync word formed by combining a negative maximum number and a positive maximum number at a predetermined word size.
KR1019940022223A 1993-09-06 1994-09-05 Signal Encoding Device, Signal Decoding Device, Signal Encoding Method, Signal Decoding Method KR100321300B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP22149293 1993-09-06
JP93-221492 1993-09-06

Publications (2)

Publication Number Publication Date
KR950009663A KR950009663A (en) 1995-04-24
KR100321300B1 true KR100321300B1 (en) 2002-06-20

Family

ID=66686980

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940022223A KR100321300B1 (en) 1993-09-06 1994-09-05 Signal Encoding Device, Signal Decoding Device, Signal Encoding Method, Signal Decoding Method

Country Status (1)

Country Link
KR (1) KR100321300B1 (en)

Also Published As

Publication number Publication date
KR950009663A (en) 1995-04-24

Similar Documents

Publication Publication Date Title
KR100811962B1 (en) Recording apparatus and method, reproducing apparatus and method, and recording media thereof
EP1995964B1 (en) Decoding variable-length encoded data
KR100251618B1 (en) Data transmission apparatus for transmitting code data
US5272528A (en) Information recording apparatus
JPH1131363A (en) Digital recording/reproducing device whose error correcting capability is improved and method therefor
RU2119269C1 (en) Television system for converting compressed data presenting images and placed in blocks into decompressed data and system for processing compressed video data transmitted in the form of blocks
US5444490A (en) Television system for transmitting pictures in a digital form
KR100296527B1 (en) Apparatus and method for variable length encoding and transmission of digital video signals
US5434673A (en) Digital information transferring apparatus capable of identifying the type of device supplied with the transferred information
JP2001169251A (en) Recording device and method, and reproducing device and method
KR100321300B1 (en) Signal Encoding Device, Signal Decoding Device, Signal Encoding Method, Signal Decoding Method
JPH07121999A (en) Signal encoder, signal decoder, signal encoding and decoding method
JP3003460B2 (en) Encoding and decoding device
JP3852114B2 (en) Compressed image data transmission method and apparatus
US6839385B1 (en) Signal processing apparatus
EP0578308B1 (en) Television system for transmitting pictures in a digital form
JP2697290B2 (en) Video signal recording device and playback device, recording method and processing device
JP3063675B2 (en) Video signal playback device
KR0139163B1 (en) Sync adapting apparatus applicating in a vlc process
EP0575086A2 (en) An information recording and reproducing apparatus
JPH11266456A (en) Processing unit for video signal
JP3275517B2 (en) Playback device
KR100525373B1 (en) Fast forward control method of video player and video player
JP2002171524A (en) Data processor and method
JP2002171241A (en) Stream transmitting device and its method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee