KR100215620B1 - System for transmitting and receiving video information - Google Patents

System for transmitting and receiving video information

Info

Publication number
KR100215620B1
KR100215620B1 KR1019960014380A KR19960014380A KR100215620B1 KR 100215620 B1 KR100215620 B1 KR 100215620B1 KR 1019960014380 A KR1019960014380 A KR 1019960014380A KR 19960014380 A KR19960014380 A KR 19960014380A KR 100215620 B1 KR100215620 B1 KR 100215620B1
Authority
KR
South Korea
Prior art keywords
sub
data
picture
sub information
unit
Prior art date
Application number
KR1019960014380A
Other languages
Korean (ko)
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
Priority claimed from KR1019960002855A external-priority patent/KR100253729B1/en
Application filed by 니시무로 타이죠, 가부시끼가이샤 도시바 filed Critical 니시무로 타이죠
Application granted granted Critical
Publication of KR100215620B1 publication Critical patent/KR100215620B1/en

Links

Abstract

부영상 데이타의 표시 공간적 및 표시 시간적인 낭비를 감소시킨다.It reduces display spatial and display time waste of sub-picture data.

부영상 패킷의 재생 개시시각을 표현한 타임 스탬프를 포함하는 패킷 헤더 정보(PH)와, 부영상을 구성하는 것으로서 소정의 방법으로 압축된 화소 데이타 (P×D)를 포함하는 부영상 정보(32)와, 부영상 정보(32)를 이용하여 부영상을 표시하는 순서를 제어하기 위한 1 이상의 표시제어 순서 DCSQT 를 포함하는 표시 제어 순서 정보(33)와, 부영상 패킷의 사이즈 및 표시제어 순서정보(33)의 위치를 포함하는 부영상 헤더 정보(SPUH)를 이용하여, 부영상 패킷을 인코드한다.Sub-picture information 32 including packet header information (PH) including a time stamp representing the reproduction start time of the sub-picture packet, and pixel data (P × D) compressed by a predetermined method as a sub-picture. And display control order information 33 including one or more display control order DCSQTs for controlling the order in which the sub-pictures are displayed using the sub-picture information 32, the size of the sub-picture packet and the display control order information ( The sub-picture packet is encoded using the sub-picture header information SPUH including the position of 33).

인코드된 부영상 패킷의 내용은 재생 시간에 디코드되어 표시 제어 순서(DCSQT)에 기초하여 표시된다.The content of the encoded sub-picture packet is decoded at the reproduction time and displayed based on the display control sequence DCSQT.

Description

화상 정보의 송수신 시스템Image information transmission and reception system

제 1 도는 본 발명을 적용할 수 있는 정보유지 매체의 일예로서의 광디스크의 기록 데이타 구조를 나타내는 도면.1 is a diagram showing a recording data structure of an optical disc as an example of an information holding medium to which the present invention can be applied.

제 2 도는 제 1 도의 광디스크에 기록되는 데이타의 논리 구조를 예시하는 도면.FIG. 2 is a diagram illustrating a logical structure of data recorded on the optical disc of FIG.

케 3 도는 제 2 도에서 예시한 데이타 구조중, 인코드(실행길이 압축, 표시제어 순서 테이블의 부가 등)되는 부영상 땍의 논리 구조를 예시하는 도면.FIG. 3 is a diagram illustrating a logic structure of a sub-picture 되는 that is encoded (execution length compression, addition of a display control order table, etc.) among the data structures illustrated in FIG.

제 4 도는 제 3 도에서 예시한 부영상 팩중, 본 발명의 일실시의 형태에 관한 인코드 방법이 적용되는 부영상 데이타 부분의 내용을 예시하는 도면.4 is a diagram illustrating the contents of a sub-picture data portion to which an encoding method according to an embodiment of the present invention is applied, of the sub-picture pack illustrated in FIG.

제 5 도는 제 4 도에서 예시한 부영상 데이타 부분을 구성하는 화소 데이타가 복수 비트(여기서는 2비트)로 구성되는 경우에 있어서, 본 발명의 일실시의 형태에 관한 인코드 방법으로 채용되는 압축 규칙 1∼6 을 설명하는 도면.5 is a compression rule employed as an encoding method according to an embodiment of the present invention in the case where pixel data constituting the sub-picture data portion illustrated in FIG. 4 is composed of a plurality of bits (here 2 bits). Drawings explaining 1-6.

제 6 도는 제 4 도에서 예시한 부영상 데이타 부분을 구성하는 화소데이타가 1비트로 구성되는 경우에 있어서, 본 발명의 다른 실시의 형태에 관한 인코드 방법으로 채용되는 압축 규칙 11∼15 를 설명하는 도면.6 illustrates compression rules 11 to 15 employed in the encoding method according to another embodiment of the present invention when the pixel data constituting the sub-picture data portion illustrated in FIG. 4 is composed of 1 bit. drawing.

제 7 도는 제 4 도에서 예시한 부영상 데이타 부분을 구성하는 화소 데이타가, 예컨대 제 1∼제 9 라인으로 구성되며, 각 라인상에 2비트 구성의 화소(최대 4종류)가 배열되어 있고, 각 라인상의 2비트 화소에 의해 문자 패턴 「A」 및 「B」 가 표현되어 있는 경우에 있어서, 각 라인의 화소 데이타가 어떻게 인코드(실행길이 압축)되는가를 구체적으로 설명하는 도면.FIG. 7 shows pixel data constituting the sub-picture data portion illustrated in FIG. 4, for example, comprising first to ninth lines, and two-bit pixels (up to four types) are arranged on each line. In the case where the character patterns "A" and "B" are represented by two-bit pixels on each line, a diagram specifically explaining how pixel data of each line is encoded (execution length compression).

제 8 도는 제 7 도의 예에서 인코드된 화소 데이타 (부영상 데이타)중, 문자 패턴 「A」 이 어떻게 디코드되는가를, 2예(넌인터레이스 표시 및 인터레이스 표시)설명하는 도면.FIG. 8 is a diagram illustrating two examples (non-interlaced display and interlaced display) of how the character pattern "A" is decoded among pixel data (sub-picture data) encoded in the example of FIG.

제 9 도는 제 4 도에서 예시한 부영상 데이타 부분을 구성하는 화소 데이타가 2비트로 구성되는 경우에 있어서, 본 발명의 일실시의 형태에 관한 인코드 방법으로 채용되는 압축 규칙 1∼6 을 구체적으로 설명하는 도면.FIG. 9 specifically shows compression rules 1 to 6 employed as an encoding method according to an embodiment of the present invention when the pixel data constituting the sub-picture data portion illustrated in FIG. 4 is composed of 2 bits. Drawing to explain.

제 10 도는 본 발명에 기초하여 인코드된 화상 정보를 가진 고밀도 광디스크의 대량 생산으로부터 이용자측에 있어서의 재생까지의 흐름을 설명하는 동시에 ; 본 발명에 기초하여 인코드된 화상 정보의 송/케이블 배신(配信)으로부터 이용자/가입자에 있어서의 수신/재생까지의 흐름을 설명하는 블록도.10 illustrates the flow from mass production of high density optical discs with encoded image information to reproduction on the user side, based on the present invention; Block diagram illustrating a flow from transmission / cable distribution of encoded image information to reception / reproduction by a user / subscriber based on the present invention.

제 11 도는 본 발명에 기초한 화상 디코드(실행길이 신장등)을 실행하는 디코더 하드웨어의 일실시 형태(넌인터레이스 규정)를 설명하는 블록도.Fig. 11 is a block diagram for explaining an embodiment (noninterlacing rule) of decoder hardware that executes image decoding (execution length extension, etc.) based on the present invention.

제 12 도는 본 발명에 기초한 화상 디코드(실행길이 신장 부분)를 실행하는 디코더 하드웨어의 다른 실시형태(인터레이스 규정)를 설명하는 블록도.12 is a block diagram for explaining another embodiment (interlacing specification) of decoder hardware for executing picture decoding (execution length decompression portion) based on the present invention.

제 13 도는 본 발명의 일실시의 형태에 관한 화상 인코드(실행길이 압축 부분)를 실행하는 것으로서, 예컨대 제 10 도의 인코더(200)에 의해 실행되는 소프트웨어를 설명하는 흐름도.FIG. 13 is a flowchart for explaining software executed by the encoder 200 of FIG. 10 as executing the image encoding (the execution length compression portion) according to the embodiment of the present invention.

제 14 도는 제 13 도의 소프트웨어로 사용되는 인코드 단계(ST806)의 내용의 일예를 설명하는 흐름도.FIG. 14 is a flowchart for explaining an example of the contents of the encoding step (ST806) used with the software of FIG.

제 15 도는 본 발명의 일실시의 형태에 관한 화상 디코드(실행길이 신장부분)를 실행하는 것으로서, 예컨대 제 11 도 또는 제 12 도의 MPU(112)에 의해 실행되는 소프트웨어를 설명하는 흐름도.FIG. 15 is a flowchart for explaining software executed by the MPU 112 of FIG. 11 or 12 as executing image decoding (execution length extension portion) according to an embodiment of the present invention.

제 16 도는 제 15 도의 소프트웨어로 사용되는 디코드 단계(STl0O5)의 내용의 일예를 설명하는 흐름도.FIG. 16 is a flowchart for explaining an example of the contents of the decoding step (ST10O5) used in the software of FIG.

제 17 도는 본 발명에 기초한 화상 디코드(실행길이 신장 등)를 실행하는 디코더 하드웨어의 다른 실시 형태를 설명하는 블록도.FIG. 17 is a block diagram for explaining another embodiment of decoder hardware that executes image decoding (execution length extension, etc.) based on the present invention. FIG.

제 18 도는 본 발명의 다른 실시의 형태에 관한 화상 디코드(실행길이 신장 부분)처리의 전반을 설명하는 흐름도.18 is a flowchart for explaining the first half of an image decoding (execution length decompression portion) process according to another embodiment of the present invention.

제 19 도는 본 발명의 다른 실시의 형태에 관한 화상 디코드(실행길이 신장부분)처리의 후반을 설명하는 흐름도.19 is a flowchart for explaining the second half of the image decode (execution length decompression portion) process according to another embodiment of the present invention.

제 20 도는 제 18 도의 부호화 헤더 검출 단계(ST205)의 내용의 일예를 설명하는 흐름도.20 is a flowchart for explaining an example of the contents of the encoding header detection step (ST205) in FIG.

제 2l 도는 디코드된 화상이 화면 이동되는 경우에 있어서, 본 발명의 화상 디코드처리가 어떻게 이루어지는가를 설명하는 흐름도.Fig. 2 is a flowchart for explaining how the image decoding process of the present invention is carried out when the decoded image is shifted the screen.

제 22 도는 본 발명에 기초하여 인코드된 화상 정보를 가진 고밀도 광디스크로부터 재생된 압축 데이타가 그대로 방송 또는 케이블 배신되고, 방송또는 케이블 배신된 압축 데이타가 이용자 또는 가입자측에서 디코드되는 경우를 설명하는 블록도.Fig. 22 is a block for explaining the case where compressed data reproduced from a high density optical disc having image information encoded based on the present invention is broadcast or cable-distributed as it is and broadcast or cable-distributed compressed data is decoded at the user or subscriber side. Degree.

제 23 도는 본 발명에 기초하여 인코드된 파상 정보가, 통신 네트워크 (인터네트 등)를 통하여, 임의의 2컴퓨터 이용자간에서 송수신되는 경우를 설명하는 블록도.Fig. 23 is a block diagram for explaining the case where the encoded wave information based on the present invention is transmitted and received between any two computer users via a communication network (internet, etc.).

제 24 도는 본 발명에 기초한 인코드 및 디코드가 실행되는 광디스크 기록재생 장치의 개요를 설명하는 블록도.Fig. 24 is a block diagram illustrating an outline of an optical disc recording / reproducing apparatus on which encoding and decoding are executed according to the present invention.

제 25 도는 본 발명에 기초한 인코더가 IC 화된 상태를 예시하는 도면.25 is a diagram illustrating a state in which an encoder based on the present invention is ICized.

제 26 도는 본 발명에 기초한 디코더가 IC 화된 상태를 예시하는 도면.26 illustrates a state in which a decoder based on the present invention is ICized.

제 27 도는 본 발명에 기초한 인코더 및 디코더가 IC 화된 상태를 예시하는 도면.27 is a diagram illustrating a state where an encoder and a decoder based on the present invention are ICized.

제 28 도는 부영상 데이타 블록내의 타임 스탬프(PTS)의 위치를 설명하는 도면.FIG. 28 is a diagram for explaining the position of a time stamp (PTS) in a subpicture data block. FIG.

제 29 도는 부영상 패킷의 데이타 구조를 설명하는 도면.29 is a diagram for explaining the data structure of a sub-picture packet.

제 30 도는 직렬로 배열된 부영상 유닛과, 그 중의 l유닛의 패킷 헤더에 기술된 타임 스탬프(PTS) 및 표시제어 순서(DCSQ)와의 대응 관계를 예시하는 도면.30 is a diagram illustrating a correspondence relationship between a serially arranged sub-picture unit and a time stamp (PTS) and a display control order (DCSQ) described in a packet header of one unit therein;

제 31 도는 제 3 도 또는 제 4 도의 부영상 유닛 헤더(SPUH)에 포함되는 파라미터중, 부영상 사이즈 및 표시제어 순서 테이블의 개시 어드레스(DCSQ의 상대 어드레스 포인터)를 설명하는 도면·31 is a diagram for explaining a sub picture size and a start address (relative address pointer of DCSQ) of the display control order table among parameters included in the sub picture unit header (SPUH) in FIG. 3 or FIG.

제 32 도는 부영상 표시제어 순서 테이블(SPDCSQT)의 구성을 설명하는 도면.32 is a diagram for explaining the configuration of a sub-picture display control procedure table (SPDCSQT).

제 33 도는 제 32 도의 테이블(SPDCSQT)을 구성하는 각 파라미터(DCSQ)의 내용을 설명하는 도면.33 is a view for explaining the contents of each parameter DCSQ constituting the table SPDCSQT in FIG. 32;

제 34 도는 부영상의 표시제어 명령(SPDCCMD)의 내용을 설명하는 도면.34 is a diagram for explaining the contents of a display control command (SPDCCMD) of a sub-picture.

제 35 도는 화소제어 데이타 (PCD)의 내용을 설명하는 도면.35 is a view for explaining the contents of the pixel control data (PCD).

제 36 도는 제 34 도에 예시된 명령 세트중, 부영상의 화소 데이타의 표시 개시 타이밍을 강제적으로 세트하는 명령 FSTADSP 의 비트 구성을 설명하는 도면.FIG. 36 is a view for explaining the bit structure of a command FSTADSP forcibly setting the display start timing of pixel data of a sub-picture among the command sets illustrated in FIG.

제 37 도는 제 34 도에 예시된 명령세트중, 부영상의 화소 데이타의 표시 개시 타이밍을 세트하는 명령 STADSP의 비트 구성을 설명하는 도면.FIG. 37 is a view for explaining the bit structure of an instruction STADSP for setting the display start timing of pixel data of a sub-picture among the instruction sets illustrated in FIG.

제 38 도는 제 34 도에 예시된 명령세트중, 부영상의 화소 데이타의 표시종료 타이밍을 세트하는 명령 STPDSP의 비트 구성을 설명하는 도면.FIG. 38 is a view for explaining the bit structure of the command STPDSP for setting the display end timing of the pixel data of the sub-picture among the instruction sets illustrated in FIG.

제 39 도는 제 34 도에 예시된 명령세트중, 부영상의 화소 데이타의 컬러코드를 세트하는 명령 SETCOLOR의 비트 구성을 설명하는 도면.FIG. 39 is a view for explaining the bit structure of the command SETCOLOR for setting the color code of the pixel data of the sub-picture among the command sets illustrated in FIG.

케 40 도는 부영상 데이타 프로세서(예컨대 제 11 도의 디코더(101)) 내부에서의 색데이타의 처리의 일예를 설명하는 도면.FIG. 40 is a diagram for explaining an example of processing of color data in a sub-picture data processor (for example, the decoder 101 of FIG. 11).

제 41 도는 제 34 도에 예시된 명령세트중, 부영상과 주영상과의 사이의 콘트라스트를 세트하는 명령 SETDAREA의 비트 구성을 설명하는 도면.FIG. 41 is a view for explaining the bit structure of the command SETDAREA for setting the contrast between the sub picture and the main picture among the command sets illustrated in FIG.

제 42 도는 제 34 도에 예시된 명령세트중, 부영상 화소 데이타의 표시 영역을 세트하는 명령 SETm皿λ 의 비트 구성을 설명하는 도면.FIG. 42 is a view for explaining the bit structure of the command SETm_ [lambda] for setting the display area of sub-picture pixel data among the instruction sets illustrated in FIG.

제 43 도는 제 34 도에 예시된 명령세트중, 부영상 화소 데이타의 표시개시 어드레스를 세트하는 명령 SETDSPXA의 비트 구성을 설명하는 도면.FIG. 43 is a view for explaining the bit structure of the command SETDSPXA for setting the display start address of sub-picture pixel data in the command set illustrated in FIG.

제 44 도는 제 34 도에 예시된 명령세트중, 부영상 화소 데이타의 컬러 및 콘트라스트를 전환하는 명령 CHGCOLCON의 비트 구성을 설명하는 도면.FIG. 44 is a view for explaining the bit structure of the command CHGCOLCON for switching the color and contrast of sub-picture pixel data in the command set illustrated in FIG.

제 45 도는 제 34 도에 예시된 명령명세트중, 부영상의 표시제어를 종료하는 명령 CMDEND 의 비트 구성을 설명하는 도면.45 is a view for explaining the bit structure of the command CMDEND for ending the display control of the sub-picture among the set of command names illustrated in FIG. 34;

제 46 도는 제 35 도에 예시된 화소제어 데이타 (PCD)의 파라미터중, 화소 라인의 라인제어 정보 LCINF 의 비트 구성을 설명하는 도면.FIG. 46 is a view for explaining the bit structure of the line control information LCINF of the pixel line among the parameters of the pixel control data (PCD) illustrated in FIG.

제 47 도는 제 35 도에 예시된 화소제어 데이타 (POD)의 파라미터중, 화소 제어 정보 PCINF 의 비트 구성을 설명하는 도면.FIG. 47 is a view for explaining the bit structure of the pixel control information PCINF among the parameters of the pixel control data (POD) illustrated in FIG. 35;

제 48 도는 부영상 표시 프레임의 구체예를 설명하는 도면.48 is a diagram for explaining a specific example of a sub-picture display frame.

제 49 도는 부영상 표시 프레임이 제 48 도에 도시된 바와 같이 되어 있는 경우에, 제 35 도의 화소제어 데이타(PCD)의 각 파라미터의 내용이 어떻게 되는가를 구체적으로 설명하는 도면.FIG. 49 is a diagram for explaining in detail what is the content of each parameter of the pixel control data (PCD) in FIG. 35 when the sub-picture display frame is as shown in FIG.

제 50 도는 본 발명을 이용하지 않고 부영상을 비트 맵 데이타 처리하는 경우의 문제점을 설명하는 도면.FIG. 50 is a diagram for explaining a problem in the case of processing bitmap data of a sub-picture without using the present invention. FIG.

제 51 도는 본 발명을 이용하지 않고 부영상을 처리하는 경우의 문제점을 다시 설명하는 도면.FIG. 51 is a diagram for describing the problem when the sub-image is processed without using the present invention. FIG.

제 52 도는 본 발명에 의해 부영상 데이타를 디코드하는 경우에 있어서, 부영상 데이타 블록의 버퍼링 상태가, 타임 스탬프(PTS)가 있는 부영상 채널에 의해서 어떻게 변화하는가를 설명하는 도면.FIG. 52 is a view for explaining how the buffering state of a sub-picture data block changes with a sub-picture channel having a time stamp (PTS) in the case of decoding the sub-picture data according to the present invention.

제 53 도는 표시제어 순서(DCSQ)의 처리를 중심으로 한, 본 발명의 부영상 인코드처리 순서의 일예를 설명하는 흐름도.53 is a flowchart for explaining an example of the sub-picture encoding processing procedure of the present invention centering on the processing of the display control procedure (DCSQ).

제 54 도는 제 53 도의 처리순서로 인코드된 부영상 데이타 스트림의 팩 분해 및 디코드를 병렬 처리하는 순서의 일예를 설명하는 흐름도.FIG. 54 is a flowchart for explaining an example of a procedure of parallel processing a pack decomposition and decoding of a sub-picture data stream encoded in the processing sequence of FIG. 53; FIG.

제 55 도는 제 54 도의 팩 분해처리의 일예를 설명하는 흐름도.55 is a flowchart for explaining an example of the pack decomposition process in FIG. 54;

제 56 도는 제 54 도의 부영상 디코드처리의 일예를 설명하는 흐름도.FIG. 56 is a flowchart for explaining an example of the sub-picture decoding process of FIG. 54; FIG.

제 57 도는 제 53 도의 처리순서로 인코드된 부영상 데이타스트림의 팩분해 및 디코드를 병렬 처리하는 순서의 다른 예를 설명하는 흐름도.FIG. 57 is a flowchart for explaining another example of a procedure of parallel processing a pack decomposition and a decoding of a sub-picture data stream encoded in the processing sequence of FIG. 53;

제 58 도는 부영상의 표시 모드가 인터레이스 모드인 경우의 부영상 데이타 (PXD)의 기록 방법을 설명하는 도면.Fig. 58 is a diagram explaining a recording method of sub-picture data (PXD) when the display mode of the sub-picture is the interlace mode.

제 59 도는 제 29 도에 도시하는 패킷내의 표시제어 순서 테이블의 구체예를 도시하는 도면.59 is a diagram showing a specific example of the display control procedure table in the packet shown in FIG. 29;

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

1 : 화일 관리 정보 2 : 영상용 데이타1: file management information 2: video data

PH : 패킷 헤더 30 : 부영상 유닛PH: packet header 30: sub-picture unit

31 : 부영상 유닛 헤더 SPUH 32 : 부영상의 화소 데이타 PXD31: Sub picture unit header SPUH 32: Pixel data PXD of sub picture

33 : 표시제어 순서 테이블 DCSQT 101 : 디코더33: Display control procedure table DCSQT 101: Decoder

102 : 데이타 I/0 103 : 인코드 데이타 절분부102: data I / 0 103: encoded data segment

104 : 화소 색출력부(FIFO 타입) 105 : 메모리 제어부104: pixel color output unit (FIFO type) 105: memory control unit

106 : 계속 코드길이 검지부 107 : 실행길이 설정부106: code length detection unit 107: execution length setting unit

108 : 메모리 109 : 어드레스 제어부108: memory 109: address control unit

110 : 표시 유효 허가부 111 : 부족 화소 색설정부110: display valid permission section 111: insufficient pixel color setting section

112 : 마이크로 컴퓨터(MPU 또는 CPU) 113 : 헤더 절분부112: microcomputer (MPU or CPU) 113: header slice

1l4 : 라인 메모리 115 : 셀렉터1l4: Line memory 115: Selector

118 : 선택신호 생성부 120 : 시스템 타이머118: selection signal generator 120: system timer

121 : 버퍼 메모리 1210 : 색 레지스터121: buffer memory 1210: color register

1220 : 변화색 레지스터 200 : 인크더1220 change color register 200

202 : 레이저 컷팅장치 204 : 광디스크 마스터202: laser cutting device 204: optical disk master

206 : 2매 첩합 고밀도 광디스크 양산 설비206: Two-piece high density optical disk mass production facility

202∼206 : 기록장치 210 : 변조기/송신기202 to 206: recording device 210: modulator / transmitter

212 : 방송부/케이블 출력부 300 : 디스크 플레이어(재생장치)212: broadcasting unit / cable output unit 300: disc player (playback device)

400 : 수신기/원상회복기(재생장치) 5001(50ON) : 퍼스널 컴퓨터400: Receiver / Regenerator (Playback Device) 5001 (50ON): Personal Computer

5011(501N) : 입출력기기류 5021(502N) : 외부 기억장치류5011 (501N): I / O devices 5021 (502N): External memory devices

5031(503N) : 인코더/디코더 및 모템 702 : 변조기/레이저 드라이버5031 (503N): Encoder / Decoder & Mortem 702: Modulator / Laser Driver

704 : 광헤드(기록 레이저) 706 : 광헤드(독취 레이저/레이저 믹업)704: optical head (recording laser) 706: optical head (read laser / laser mixup)

708 : 원상회복기/에러정정부708: Rejuvenation of the original phase / error administration

710 : 오디오/비디오 데이타처리부(부영상 데이타의 디코드처리부를 포함한다)710: audio / video data processing unit (including a decoding processing unit of sub-picture data)

OD : 2매 첩합 고밀도 광디스크(기록 매체)OD: 2 sheets high density optical disc (recording medium)

본 발명은 주영상과 함께 동시 재생되는 부영상등의 화상 정보를 인코드하여 디코드하는 시스템의 개량에 관한 것이다.The present invention relates to an improvement of a system for encoding and decoding image information such as sub-pictures which are reproduced simultaneously with a main image.

또한, 본 발명은 영상 데이타와 함께 공급되어 동시 재생되는 부영상 데이타의 예컨대 광디스크와 같은 기록매체로의 데이타 기록방법 및 기록매체 등에 관한 것이다.The present invention also relates to a data recording method, a recording medium, and the like, of a sub-image data supplied together with image data and simultaneously reproduced on a recording medium such as an optical disc.

영화의 자막이나 텔레비전 음량의 설정치로서 표시되는 이미지등 주영상에 중첩되는(superimpose) 부영상은 크게 나누어 캐릭터 코드방식 및 비트 맵 데이타 방식의 2 개의 방식으로 실현되고 있다.Superimpose sub-pictures, such as subtitles of movies and images displayed as set values of television volume, are largely realized by two methods, a character code method and a bitmap data method.

캐릭터 코드방식은 미리 등록·준비된 문자 또는 모양등의 캐릭터를 캐릭터 발생기의 캐릭터 기록영역에 유지해 두고, 케릭터에 할당된 코드를 캐릭터 발생기에 부여하여 원하는 캐릭터를 표현하는 것이다.In the character code method, a character, such as a character or a shape registered or prepared in advance, is kept in the character recording area of the character generator, and a code assigned to the character is given to the character generator to express a desired character.

이 방식에서는 캐릭터 발생기등의 전용 하드웨어가 필요하지만, 코드를 부여하여 캐릭터를 표시하므로, 캐릭터의 비트 맵 데이타를 그대로 표시계에 보내어 부영상을 표시하는 경우보다도, 표시계로 보내야 할 데이타의 양이 적어진다. 그러나, 미리 등록 준비된 캐릭터밖에 표시할 수 없기 때문에, 이 방식에 의한 부영상의 표시 용도는 한정된다.In this method, dedicated hardware such as a character generator is required. However, since the character is displayed by assigning a code, the amount of data to be sent to the display system is smaller than that of sending the character's bitmap data to the display system as it is and displaying a sub-picture. . However, since only the characters prepared in advance can be displayed, the display use of the sub-picture by this system is limited.

한편, 비트 맵 데이타 방식의 경우는 부영상의 비트 맵 데이타를 그대로 표시계에 보내므로, 부영상을 코드로부터 생정하는 전용 하드웨어는 필요로 하지 않는다. 표시할 수 있는 부영상의 형상에 제한이 없으므로 부영상의 표시 용도가 넓어진다.On the other hand, in the bitmap data system, since the bitmap data of the subpicture is sent to the display system as it is, no dedicated hardware for generating the subpicture from the code is required. Since there is no limitation on the shape of the sub-image that can be displayed, the display usage of the sub-image is expanded.

그러나, 이 방식에서는 부영상의 색 데이타와, 부영상을 주영상에 중첩시키는 경우에 필요한 부영상 윤곽의 색 데이타와, 주영상과 부영상의 중첩 혼합 비율 데이타를 1 화소마다 가지지 않으면 안되어, 표시계에 보내야 할 데이타의 양이 방대해진다.In this system, however, the color data of the sub-picture, the sub-data contour color data necessary for superimposing the sub-pictures, and the superimposition blend ratio data of the main and sub-pictures must be sent to the display system for each pixel. The amount of data to do is huge.

또, 일반적으로, 비트 맵 데이타 방식에서는 부영상의 크기에 관계없이 표시 화면(이하 프레임이라 한다) 전부의 화소에 관한 데이타가 표시계로 보내지기 때문에, 표시 공간적으로 쓸데없는 데이타가 많다(제 50 도 참조).In general, in the bitmap data system, since data about all pixels of the display screen (hereinafter referred to as a frame) is sent to the display system regardless of the size of the sub-picture, there is a lot of useless data in the display space (see FIG. 50). ).

또한, 캐릭터 코드방식·비트 맵 데이타 방식중 어느쪽의 방식이라도 표시하고 있는 부영상의 형에 변화0가 생기지 않더라도 기본적으로는 표시 프레임 주기마다 부영상 데이타를 계속해서 부여하지 않으면 안되어, 표시 시간적으로 쓸데없는 데이타가 많아진다(제 51 도 참조).In addition, even if either of the character code method or the bitmap data method does not change 0 in the type of the subpicture displayed, the subpicture data must be continuously provided at every display frame period, which is useful for display time. More data is missing (see Figure 51).

본 발명은 상술한 바와 같은 과제를 해결하기 위해서 이루어진 것으로, 부영상 데이타의 표시 공간적인 낭비 및 표시 시간적인 낭비를 대폭 줄일수 있으며, 또 부영상 표현의 자유성이 뛰어나고, 폭넓은 부영상 이용 용도를 확보할 수 있는 화상 정보의 인코드/디코드 시스템을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and can greatly reduce the display space waste and display time waste of sub-picture data, and has excellent freedom of expression of sub-pictures. An object of the present invention is to provide an encode / decode system for securing image information.

상기 목적을 달성하기 위해서, 제 1 발명에서는 주영상 데이타와 함께 동시 재생 가능한 부영상 데이타를 소정의 단위로 패킷화하여 기록매체에 기록하는 데이타 기록방법에 있어서, 적어도 기준 시각을 이용하여 표현한 상기 부영상 데이타 패킷의 재생 개시시각을 포함하는 패킷 헤더 정보(PH)와, 부영상의 표시 내용인 부영상 데이타(DPX)와, 이 부영상 데이타를 이용하여 상기 부영상을 표시하기 위한 제어순서를 나타내는 1 이상의 표시 제어순서 정보(DCSQT)와, 상기 부영상 데이타 패킷의 사이즈 및 상기 표시 제어순서 정보의 기록 위치를 포함하는 부영상 헤더 정보(SPUH)로, 상기 부영상 패킷을 구성하고 있다.In order to achieve the above object, in the first aspect of the present invention, there is provided a data recording method for packetizing a sub-picture data that can be simultaneously reproduced together with main video data in a predetermined unit and recording the data on a recording medium. A packet header information (PH) including a reproduction start time of a video data packet, a sub-picture data (DPX) which is a display content of a sub-picture, and a control procedure for displaying the sub-picture using this sub-picture data. The sub-picture packet is constituted by the above display control procedure information DCSQT and the sub-picture header information SPUH including the size of the sub-picture data packet and the recording position of the display control procedure information.

제 2 발명에서는 주영상 데이타와 함께 동시 재생 가능한 부영상 데이타를 소정의 단위로 패킷화하여 기록매체에 기록하는 데이타 기록방법에 있어서, 적어도 기준 시각을 이용하여 표현한 상기 부영상 데이타 패킷의 재생 개시 시각을 포함하는 패킷 헤더 정보(PH)와, 부영상의 표시 내용인 부영상 데이타 (PXD))와, 이 부영상 데이타를 이용하여 상기 부영상을 표시하기 위한 제어순서를 나타내는 1 이상의 표시 제어순서 정보(DCSQT)와, 상기 부영상 데이타 패킷의 사이즈 및 상기 표시 제어순서 정보의 기록 위치를 포함하는 부영상 헤더 정보(SPUH)로, 상기 부영상 패킷을 구성하며; 또한, 상기 패킷 헤더 정보내의 상기 부영상 데이타 패킷의 재생 시각(PTS)은 상기 부영상 데이타 블록내의 선두 부영상 데이타 패킷에 대해서만 기록하고 있다.In a second invention, a data recording method for packetizing sub-picture data that can be simultaneously reproduced together with main video data in predetermined units and recording them on a recording medium, wherein at least a reference time is used to reproduce playback time of the sub-picture data packet. One or more pieces of display control procedure information indicating a packet header information (PH) including the?, Sub-picture data (PXD) that is the display content of the sub-picture, and a control procedure for displaying the sub-picture using the sub-picture data. DCSQT) and sub-picture header information (SPUH) including a size of the sub-picture data packet and a recording position of the display control procedure information, to configure the sub-picture packet; The reproduction time PTS of the sub-picture data packet in the packet header information is recorded only for the first sub-picture data packet in the sub-picture data block.

제 3 발명에서는 제 1 또는 제 2 발명에 있어서, 적어도 부영상의 표시 개시 시각 및 표시 종료 시각과, 표시해야 할 상기 부영상 데이타의 기록 위치와, 이 기록 위치에 기록된 부영상 데이타에 대한 표시 제어 정보군으로, 상기 표시 제어순서 정보(제 33 도의 DCSQ)를 구성하고 있다.In the third invention, in the first or second invention, at least the display start time and the display end time of the sub-picture, the recording position of the sub-picture data to be displayed, and the display control for the sub-picture data recorded at this recording position. The information group constitutes the above display control procedure information (DCSQ in FIG. 33).

제 4 발명에서는 제 3 발명에 있어서, 상기 부영상의 표시 개시 시각 및 표시 종료 시각은 상기 부영상 데이타 패킷의 재생 개시 시각으로부터의 상대 시간으로 규정되어 있다.In the fourth invention, in the third invention, the display start time and the display end time of the sub-picture are defined as relative time from the playback start time of the sub-picture data packet.

제 5 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 표시제어 순서 정보에 포함되는 상기 표시 개시 시각을 기초로 상기 부영상 데이타의 표시를 개시하는 제어를 행하기 위한 표시 개시 제어 정보(제 34 도의 STADSP)가 기록된다.In the fifth aspect of the invention, display start control information (the thirty-fourth) is used as control of starting display of the sub-picture data based on the display start time included in the display control procedure information as the display control information of the third invention. STADSP) is recorded.

제 6 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 표시 제어순서 정보에 포함되는 상기 표시 종료 시각을 기초로 상기 부영상 데이타의 표시가 종료되는 제어를 행하기 위한 표시 종료 제어 정보(제 34 도의 STPDSP)가 기록된다.In the sixth invention, as the display control information of the third invention, display end control information for performing control to end the display of the sub-picture data based on the display end time included in the display control procedure information (Thirty-fourth) STPDSP) is recorded.

제 7 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 부영상 데이타의 화소 종별마다의 색을 설정하기 위한 색 설정 정보(제 34 도의 SETCOLOR)가 기록된다.In the seventh invention, color setting information (SETCOLOR in FIG. 34) for setting the color for each pixel type of the sub-picture data is recorded as the display control information of the third invention.

제 8 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 주영상에 대한 상기 부영상 데이타의 화소 종별마다의 혼합비를 설정하기 위한 혼합비 설정 정보(제 34 도의 SETCONTR)가 기록된다.In the eighth invention, as the display control information of the third invention, mixing ratio setting information (SETCONTR in FIG. 34) for setting the mixing ratio for each pixel type of the sub-picture data for the main image is recorded.

제 9 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 주영상상(上)의 상기 부영상 데이타의 표시 영역을 설정하기 위한 표시 영역 설정 정보(제 34 도의 SETDAREA)가 기록된다.In the ninth invention, display area setting information (SETDAREA in FIG. 34) for setting the display area of the sub-picture data on the main image is recorded as the display control information of the third invention.

제 10 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 부영상 데이타중의 표시에 사용해야 할 범위를 설정하기 위한 사용 범위 설정 정보(제 34 도의 SETDSPXA)가 기록된다.In the tenth invention, use range setting information (SETDSPXA in FIG. 34) for setting a range to be used for display in the sub-picture data is recorded as the display control information of the third invention.

제 11 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 부영상 데이타의 화소 종별마다의 색의 변화, 및 상기 주영상에 대한 상기 부영상 데이타의 화소 종별마다의 혼합비의 변화를 화소 단위로 설정하기 위한 색/혼합비 변화 설정 정보(제 34 도의 CHGCOLCON)가 기록된다.In the eleventh invention, as the display control information of the third invention, a change in color for each pixel type of the sub-picture data and a change in mixing ratio for each pixel type of the sub-picture data for the main image are set in units of pixels. Color / mixing ratio change setting information (CHGCOLCON in FIG. 34) for recording is recorded.

제 12 발명에서는 제 3 발명의 상기 표시 제어 정보로서, 상기 부영상 데이타의 표시 제어의 종료를 설정하기 위한 표시 제어 종료 설정 정보(제 34 도의 CMDEND)가 기록된다.In the twelfth invention, display control end setting information (CMDEND in FIG. 34) for setting the end of display control of the sub-picture data is recorded as the display control information of the third invention.

제 13 발명에서는 주영상 데이타와 함께 동시 재생 가능한 부영상 데이타가 소정의 단위로 패킷화되어 기록되는 기록매체에 있어서, 기록되는 데이타 패킷이, 적어도, 기준 시각을 이용하여 표현한 상기 부영상 데이타 패킷의 재생 개시 시각을 포함하는 패킷 헤더 정보(PH)와, 부영상의 표시 내용인 부영상 데이타 (PAD)와, 이 부영상 데이타를 이용하여 상기 부영상을 표시하기 위한 제어순서를 나타내는 1 이상의 표시 제어순서 정보(DCSQT)와, 상기 부영상 데이타 패킷의 사이즈 및 상기 표시 제어순서 정보의 기록 위치를 포함하는 부영상 헤더 정보 (SPUH)로 구성된다.In a thirteenth aspect of the present invention, in a recording medium in which sub-picture data that can be simultaneously reproduced together with main video data is packetized and recorded in predetermined units, at least one of the sub-picture data packets expressed by using a reference time is recorded. One or more display control procedures indicating a packet header information (PH) including a reproduction start time, a sub-picture data (PAD) which is the display content of the sub-picture, and a control procedure for displaying the sub-picture using this sub-picture data. Information DCSQT and sub-picture header information SPUH including the size of the sub-picture data packet and the recording position of the display control procedure information.

제 14 발명에서는 주영상 데이타와 함께 동시 재생 가능한 부영상 데이타가 소정의 단위로 패킷화되어 기록되는 기록매체에 있어서, 기록되는 데이타 패킷이, 적어도, 기준 시각을 이용하여 표현한 상기 부영상 데이타 패킷의 재생 개시 시각을 포함하는 패킷 헤더 정보(PH)와, 부영상의 표시 내용인 부영상 데이타 (PXD)와, 이 부영상 데이타를 이용하여 상기 부영상을 표시하기 위한 제어순서를 나타내는 1 이상의 표시 제어순서 정보(DCSQT)와, 상기 부영상 데이타 패킷의 사이즈 및 상기 표시 제어순서 정보의 기록 위치를 포함하는 부영상 헤더 정보(SPUH)로 구성되고, 또한, 상기 패킷 헤더 정보내의 상기 부영상 데이타 패킷의 재생 시각(PTS)이, 상기 부영상 데이타 블록내의 선두의 부영상 데이타 패킷에 대해서만 기록된다.In a fourteenth aspect of the present invention, in a recording medium in which sub-picture data that can be simultaneously reproduced together with main video data is packetized and recorded in predetermined units, at least one of the sub-picture data packets expressed using a reference time is recorded. One or more display control procedures indicating a packet header information (PH) including a reproduction start time, a sub-picture data (PXD) that is a display content of a sub-picture, and a control procedure for displaying the sub-picture using this sub-picture data. Information (DCSQT), sub-picture header information (SPUH) including the size of the sub-picture data packet and the recording position of the display control procedure information, and further reproduce the sub-picture data packet in the packet header information. The time PTS is recorded only for the first subpicture data packet in the subpicture data block.

본 발명에 있어서는 1 이상의 표시 제어순서 정보(DCSQT)를 이용하는 것으로 부영상 데이타의 표시 공간적인 낭비 및 표시 시간적인 낭비를 큰폭으로 삭감시킬 수 있는 동시에, 비트 맵 데이타 방식의 부영상 표현 자유성을 얻을 수 있으며, 폭넓은 부영상의 용도를 확보할 수 있다.In the present invention, by using one or more display control sequence information (DCSQT), the display space waste and display time waste of the sub-picture data can be greatly reduced, and the freedom of expression of the sub-picture in the bitmap data system can be obtained. It can secure a wide range of sub-pictures.

즉, 본 발명에서는 부영상 데이타중에서 표시에 사용해야 할 범위를 설정하는 사용 범위 설정 정보(SETDSPXA)를 마련해서, 그 사용 범위이외의 데이타를 표시하지 않도록 하는 것으로,1 프레임분 전부의 데이타를 표시계에 보내는 경우에 생기게 되는 데이타 양의 표시 공간적인 낭비를 큰폭으로 삭감시킬 수 있다.That is, in the present invention, use range setting information (SETDSPXA) for setting a range to be used for display among sub-picture data is provided so as not to display data outside the use range. It can greatly reduce the display spatial waste of the amount of data generated when sending.

즉, 본 발명에 있어서는 부영상 데이타의 패턴 화소, 가선 설치, 배경등의 화소 종류마다의 색설정 정보(SETCOL0R) 및 혼합비 설정 정보(SETCONTR)를 설치해서, 부영상 표시 데이타로서 부영상 이미지의 형상 정보만을 갖게 하는 것으로 화소마다 색정보 잊 혼합비 정보를 갖게 하는 종래 방식에 비하여, 같은 정도의 부영상 형상 표현성을 보다 적은 데이타량으로 보장할 수 있다.That is, in the present invention, the color setting information SETCOL0R and the mixing ratio setting information SETCONTR for each pixel type, such as pattern pixels, subsidiary lines, and background of the sub-picture data, are provided to form the sub-picture image as the sub-picture display data. As compared with the conventional method of having only the information and forgetting the mixing ratio information of the color information for each pixel, it is possible to guarantee the same degree of sub-image shape representation with a smaller data amount.

또 본 발명에서는 부영상 데이타의 화소 종류마다의 색 변화 및 주영상에 대한 부영상 데이타의 화소 종류마다의 혼합비의 변화를 화소 단위로 설정하는 색/혼합비 변화 설정 정보(CHGCOLCON)를 설치하였으므로, 부영상의 동적인 표시를 종래의 비트 맵 데이타 방식과 동등한 정밀도로, 더욱이 비트 맵 데이타방식보다도 적은 데이타량으로 실현할 수 있다.Further, in the present invention, color / mixing ratio change setting information (CHGCOLCON) is set for setting the color change of each subtype of the sub-picture data and the mixing ratio of the sub-picture data for each pixel type of the main image in pixel units. The dynamic display of the image can be realized with the same precision as that of the conventional bitmap data method, and with a smaller data amount than the bitmap data method.

또, 부영상은 1 화소마다 색정보가 변화하는 것은 희박하며, 색/혼합비 변화 설정 정보 자체의 데이타량이 과도해질 염려는 없다.In addition, the sub-picture is rarely changed in color information for each pixel, and there is no fear of excessive data amount of the color / mixing ratio change setting information itself.

또 본 발명에서는 부영상 이미지의 색이 변화하였다고 하더라도 그 형상이 변화하지 않는 한 같은 부영상 데이타를 이용하여 복수 프레임의 표시 시간에 걸쳐 부영상을 표시할 수 있다. 따라서, 색형의 변화 여부에 관계없이 프레임 주기로 부영상 데이타를 표시계에 계속해서 부여하지 않으면 안되는 종래 방식에 비하여, 부영상 데이타의 표시 시간적인 낭비를 대폭 삭감시킬 수 있다.In the present invention, even if the color of the sub-image is changed, the sub-image can be displayed over the display time of a plurality of frames using the same sub-image data as long as the shape does not change. Therefore, the display time waste of the sub-picture data can be greatly reduced as compared with the conventional method in which the sub-picture data must be continuously given to the display system at the frame period regardless of whether the color is changed.

[실시예]EXAMPLE

이하, 도면을 참조하여 본 발명의 제 1 실시 형태에 관한 화상 정보의 인코드/디코드 시스템읕 설명한다. 또, 중북 설명을 피하기 위하여, 복수의 도면에 걸친 기능상 공통된 부분에는 공통의 참조부호를 이용하고 있다.EMBODIMENT OF THE INVENTION Hereinafter, with reference to drawings, the encoding / decoding system of image information which concerns on 1st Embodiment of this invention is demonstrated. In addition, in order to avoid description of the north-south, common reference numerals are used for functionally common parts across a plurality of drawings.

제 1 도∼제 59 도는 본 발명의 1 실시 형태에 관한 화상 정보의 인코드/디코드 시스템을 설명하기 위한 도면이다.1 through 59 are diagrams for explaining an encoding / decoding system of image information according to an embodiment of the present invention.

제 1 도는 본 발명을 적용할 수 있는 정보유지 매체의 일예로서의 광디스크(OD)의 기록 데이타 구조를 도시하고 있다.1 shows a recording data structure of an optical disc OD as an example of an information holding medium to which the present invention can be applied.

이 광디스크(OD)는 예컨대 한 면 약 5G 바이트의 기억 중량을 갖는 양면첩합(貼合) 디스크로서, 디스크 내주측의 리드인 영역으로부터 디스크 외주측의 리드아웃 영역까지의 사이에 다수의 기록 트랙이 배치되어 있다. 각 트랙은 다수의 논리 색터로 구성되어 있고, 각각의 색터에 각종 정보(적당 압축된 디지탈데이타)가 격납되어 있다.The optical disk OD is, for example, a double-sided bonded disk having a storage weight of about 5G bytes on one side, and a plurality of recording tracks are arranged between the lead-in area on the inner circumferential side of the disk and the lead-out area on the outer circumferential side of the disk. It is arranged. Each track is composed of a plurality of logical colors, and various pieces of information (appropriate compressed digital data) are stored in each color.

제 2 도는 제 1 도의 광디스크(OD)에 기록된 영상(비디오)용 화일의 데이타 구조를 예시하고 있다.FIG. 2 illustrates a data structure of a file for video (video) recorded on the optical disc OD of FIG.

제 2 도에 도시된 바와 같이, 이 영상용 화일은 화일 관리 정보(1) 및 영상용 데이타(2)를 포함하고 있다. 영상용 데이타(2)는 비디오 데이타 블록, 오디오 데이타 블록, 부영상 데이타 블록, 그리고 이들의 데이타 재생을 제어하기 위해 필요한 정보(DSI; Disk Search Information)를 기록한 DSI 블록으로 구성되어 있다. 각 블록은 예컨대 데이타의 종류마다 일성한 데이타 사이즈의 패킷으로 각각 분할된다. 비디오 데이타 블록, 오디오 데이타 블록 및 부영상 데이타 블록은 이들 블록군의 바로 앞에 배치된 DSI를 기초로, 각각 동기를 취하여 재생된다.As shown in FIG. 2, this video file includes file management information 1 and video data 2. The video data 2 is composed of a video data block, an audio data block, a sub-picture data block, and a DSI block in which information (DSI: Disk Search Information) necessary for controlling their data reproduction is recorded. Each block is divided into, for example, packets of one data size for each type of data. The video data blocks, audio data blocks and sub-picture data blocks are reproduced in synchronization with each other based on the DSI placed immediately before these block groups.

즉, 제 1 도의 복수논리 색터의 집합체중에 디스크(OD)에서 사용되는 시스템 데이타를 격납하는 시스템 영역과, 불륨관리 정보영역과 복수 화일 영역이 형성된다.That is, a system area for storing system data used in the disk OD, a volume management information area and a plurality of file areas are formed in the aggregate of the plurality of logical color vectors in FIG.

상기 복수의 화일 영역중, 예컨대 화일(1)은 주영상 정보(도면중의 VIDEO), 주영상에 대하여 보조적인 내용을 가지는 부영상 정보(도면중의 SUB-PICTURE), 음성 정보(도면중의 AUDIO), 재생 정보(도면중의 PLAYBACK INFO.) 등을 포함하고 있다.Among the plurality of file areas, for example, the file 1 includes main video information (VIDEO in the drawing), sub-picture information (SUB-PICTURE in the drawing), and audio information (in the drawing) having contents supplementary to the main video. AUDIO), playback information (PLAYBACK INFO. In the drawing), and the like.

제 3 도는 제 2 도에서 예시한 데이타 구조중, 인코드(실행 길이 압축)된 부영상 정보의 팩의 논리구조룹 예시하고 있다.FIG. 3 illustrates a logical structure of a pack of sub-picture information encoded (execution length compression) of the data structure illustrated in FIG.

제 3 도의 상부에 도시된 바와 같이, 비디오 데이타에 포함되는 부영상 정보의 l 팩은 예컨대 2048 바이트(2kB)로 구성된다. 이 부영상 정보의 1팩은 선두의 팩의 헤더 뒤에 1 이상의 부영상 패킷을 포함하고 있다. 제 1 부영상 패킷은 그 패킷의 헤더뒤에, 실행길이 압축된 부영상 데이타(SP DATA1)를 포함하고 있다. 동일하게, 제 2 부영상 패킷은 그 패킷의 헤더뒤에 실행길이 압축된 부영상 데이타(SP DATA2)를 포함하고 있다.As shown in the upper part of Fig. 3, one pack of sub-picture information included in the video data is composed of, for example, 2048 bytes (2kB). One pack of this sub-picture information includes one or more sub-picture packets after the header of the first pack. The first sub-picture packet includes the execution length-compressed sub-picture data SP DATA1 after the header of the packet. Similarly, the second sub-picture packet includes the sub-length video data SP DATA2 compressed with execution length after the header of the packet.

이러한 복수의 부영상 데이타(SP DATA1, SP DATA2,···)를 실행길이 압축의 1 유닛(1 단위)분 모은 것, 즉 부영상 데이타 유닛(30)에, 부영상 유닛 헤더(31)가 부여된다. 이 부영상 유닛 헤더(31) 뒤에, 1 유닛분의 영상 데이타 (예컨대 2차원 표시 화면의 1 수평 라인분의 데이타)를 실행길이 압축된 화소데이타(32) 및 각 부영상 팩의 표시제어 순서 정보를 포함하는 테이블(33)이 계속된다.The plurality of sub-picture data (SP DATA1, SP DATA2, ...) is collected for one unit (1 unit) of execution length compression, that is, the sub-picture unit header 31 is stored in the sub-picture data unit 30. Is given. After this sub-picture unit header 31, pixel data 32 of execution length-compressed image data (e.g., data for one horizontal line of a two-dimensional display screen) and display control procedure information of each sub-picture pack The table 33 containing continues.

환언하면,1 유닛분의 실행길이 압축 데이타(30)는 1 이상의 부영상 패킷의 부영상 데이타 부분(SP DATA1, SP DATA2,···)의 집합으로 형성되어 있다. 이부영상 데이타 유닛(3o)은 부영상 표시용 각종 파라미터가 기록되어 있는 부영상 유닛 헤더 SPUH31)와, 실행길이 부호로 이루어지는 표시 데이타(압축된 화소데이타)PXD(32)와, 표시 제어 순서 테이블 DCSQT(33)로 구성되어 있다.In other words, the execution length compressed data 30 for one unit is formed of a set of sub-picture data portions (SP DATA1, SP DATA2, ...) of one or more sub-picture packets. The sub-picture data unit 3o includes a sub-picture unit header SPUH31 in which various parameters for sub-picture display are recorded, display data (compressed pixel data) PXD 32 composed of execution length codes, and a display control procedure table DCSQT. It consists of 33.

제 4 도는 제 3 도에 예시한 1유닛분의 실행길이 압축 데이타(30)중, 부영상 유닛 헤더(31)의 내용의 일부를 예시하고 있다(SPUH31)의 다른 부분에 관해서는 제 31 도 참조). 여기서는 주영상(예컨대 영화의 영상 본체)과 동시에 기록·전송 (통신)되는 부영상(예컨대 주영상의 영화의 장면에 대응한 자막)의 데이타에 관하여 설명한다.4 shows a part of the contents of the sub-picture unit header 31 among the execution length compressed data 30 for one unit shown in FIG. 3 (see FIG. 31 for other parts of SPUH31). ). Here, the data of the sub-picture (e.g., the subtitle corresponding to the scene of the movie of the main picture) which is recorded and transmitted (communicated) simultaneously with the main picture (e.g. the video main body of the movie) will be described.

제 4 도에 도시된 바와 같이, 부영상 유닛 헤더 SPUH(31)에는 부영상의 화소 데이타(표시 데이타)(32)의 개시 어드레스 SPDDADR 와, 화소 데이타(32)의 종료 어드레스 SPEDADR 와, 화소 데이타(32)의 TV 화면상에서의 표시 사이즈 즉 표시 개시 위치 및 표시 범위(폭과 높이) SPDSZ 와, 부영상 데이타 패킷내의 표시 제어 순서 테이블(33)의 기록 개시위치 SPDCSQTA 가 기록되어 있다.As shown in FIG. 4, the sub-picture unit header SPUH 31 includes the start address SPDDADR of the pixel data (display data) 32 of the sub-picture, the end address SPEDADR of the pixel data 32, and the pixel data 32. The display size on the TV screen, i.e., the display start position and display range (width and height) SPDSZ, and the recording start position SPDCSQTA of the display control procedure table 33 in the sub-picture data packet are recorded.

또, 경우에 따라서는 SPUH(31)에, 시스템으로부터 지정된 배경색(SPCHI)과, 시스템으로부터 지정된 부영상색(SPCINFlO)과, 시스템으로부터 지정된 강조색의 팰릿 색번호(SPADJINFO)와, 부영상 화소 데이타(32)의 수식 정보 (SPMOD)와, 주영상(MP)에 대한 부영상(SP)의 혼합비(SPCONT)와, 부영상의 개시 타이밍 (주영상의 프레임번호에 대응) (SPDST)과, 각 라인 간격의 디코드 데이타의 개시 어드레스(SPLine1∼SPlineN)가 기록되 어 있어도 좋다.In some cases, the SPUH 31 has a background color (SPCHI) designated by the system, a sub-picture color (SPCINFlO) designated by the system, a pallet color number (SPADJINFO) of an emphasis color designated by the system, and sub-picture pixel data ( 32), the mixing information SPCONT of the sub-picture SP with respect to the main video MP, the start timing of the sub-picture (corresponding to the frame number of the main video) (SPDST), and each line interval. The start addresses (SPLine1 to SPlineN) of the decode data may be recorded.

또, 각 라인 간격의 디코드 데이타의 개시 어드레스(SPLine1∼SPlineN)은 본 발명의 바람직한 실시 형태로서는 SPUH(31)에 포함시키는 것이 아니라, 복수의 부영상 필드마다 설치된다.The start addresses (SPLine1 to SPlineN) of the decode data for each line interval are not included in the SPUH 31 in the preferred embodiment of the present invention, but are provided for a plurality of sub-picture fields.

좀더 구체적으로는 부영상 유닛 헤더 SPUH(31)에는 제 4 도에 도시된 바와 같이, 이하의 내용을 가지는 여러가지의 파라미터(SPDDADR 등)가 기록되어 있다 : (1) 이 헤더에 계속되는 표시 데이타(부영상의 화소 데이타)의 개시 어드레스 정보(SPDDADR : 헤더의 선두로부터의 상대 어드레스)와;More specifically, in the sub-picture unit header SPUH 31, various parameters (such as SPDDADR) having the following contents are recorded as shown in FIG. 4: (1) Display data (sub-zero) following this header Start address information (SPDDADR: relative address from the beginning of the header) of the pixel data on the image;

(2) 이 표시 데이타의 종료 어드레스 정보(SPEDADR : 헤더의 선두로부터의 상대 어드레스)와;(2) end address information (SPEDADR: relative address from the head of the header) of this display data;

(3) 이 표시 데이타의 모니터 화면상에 있어서의 표시 개시위치 및 표시범위 (폭 및 높이)를 나타내는 정보(SPDSZ)와;(3) information SPDSZ indicating a display start position and a display range (width and height) of the display data on the monitor screen;

(4) 패킷내의 표시 제어 순서 테이블(33)의 기록개시 위치정보(부영상의 표시 제어 순서 테이블 개시 어드레스(SPDCSQTA)).(4) Recording start position information (display control procedure table start address (SPDCSQTA) of the sub-picture) of the display control procedure table 33 in the packet.

또한, 여러가지 생각할 수 있는 본 발명의 실시 형태의 하나에 있어서, 부영상 유닛 헤더 SPUH(31)가 이하의 것을 포함하는 경우도 있을 수 있다 :In addition, in one of various conceivable embodiments of the present invention, the sub-picture unit header SPUH 31 may include the followings:

(5) 시스템에 의해 지정된 배경색(스토리 정보 테이블 또는 표시 제어 순서 테이블로 설정한 16색 컬러 팰릿의 번호)를 나타내는 정보(SPCHI)와;(5) information SPCHI indicating a background color designated by the system (number of 16 color pallets set in the story information table or the display control procedure table);

(6) 시스템에 의해 지정된 부영상색(스토리 정보 테이블 또는 표시 제어 순서 테이블로 설정한 16색 컬러 팰릿의 번호)를 나타내는 정보(SPCINFO)와;(6) information (SPCINFO) indicating a sub-picture color designated by the system (number of the 16-color color pallet set in the story information table or the display control procedure table);

(7) 시스템에 의해 지정된 부영상 강조색(스토리 정보 테이블 또는 표시 제어 순서 테이블로 설정한 컬러 팰릿의 번호)를 나타대는 정보(SPAJDNFO)와;(7) information (SPAJDNFO) indicating the sub-image emphasis color (number of the color pallet set in the story information table or the display control procedure table) designated by the system;

(8) 시스템에 의해 지정되고, 넌인터레이스의 필드 모드가 인터레이스의 프레임 모드인지 등을 나타내는 부영상 화상모드 정보(SPMOD)와 (압축 대상의 화소 데이타가 여러가지의 비트수로 구성될 때는 화소 데이타가 몇 비트 구성인지를 이 모드 정보의 내용으로 특정할 수 있다.);(8) Sub-picture image mode information (SPMOD) designated by the system and indicating whether the non-interlaced field mode is an interlaced frame mode or the like, and (when pixel data to be compressed consists of various bits, pixel data The number of bits may be specified by the content of this mode information.);

(9) 시스템에 의해 지정된 부영상과 주영상의 혼합비를 나타내는 정보 (SPCONT) 와;(9) information (SPCONT) indicating a mixing ratio of a sub-image and a main image designated by the system;

(l0) 부영상의 표시 개시 타이밍을, 주영상의 프레임번호(예컨대 MPEG의 1 픽쳐 프레인번호)에 의해 나타내는 정보(SPDST)와;(10) information SPDST indicating the display start timing of the sub-picture by the frame number (e.g., one picture plane number in MPEG) of the main video;

(11) 부영상의 1라인째∼N 라인째의 인코드 데이타의 개시 어드레스(부영상 유닛 헤더의 선두로부터의 상대 어드레스)를 나타내는 정보(SPlin1∼SPlinN).(11) Information (SPlin1 to SPlinN) indicating the start address (relative address from the head of the sub-picture unit header) of the encoded data on the first to the N-th lines of the sub-picture.

또, 상기 부영상과 주영상의 혼합비를 나타내는 정보 SPCONT 는 예컨대, (시스템 설정치)/16 또는(시스템 설정치)/255에 의해 부영상의 혼합비를 나타내고, (16-설정치)/16 또는(255-설정치)/255에 의해 부영상의 혼합비를 나타내도록 되어 있다.Further, the information SPCONT indicating the mixing ratio of the sub-image and the main image indicates the mixing ratio of the sub-image, for example, by (system set value) / 16 or (system set value) / 255, and (16-set value) / 16 or (255-set value). ) / 255 to indicate the mixing ratio of the sub-pictures.

이 부영상 유닛 헤더(31)(또는 각 부영상 필드)에는 각 라인 간격의 디코드 데이타의 개시 어드레스(SPLine1∼SPlineN)가 존재한다. 이 때문에, 디코드 개시 라인의 지정을 디코더측의 마이크로 컴퓨터(MPU 또는 CPU)등으로부터의 지시로 변경시킴으로써, 표시 화면에 있어서의 부영상만의 확면 이동(scroll)을 실현할 수 있다. (이 화면 이동에 관해서는 제 21 도를 참조하여 후술한다.)In this sub-picture unit header 31 (or each sub-picture field), start addresses SPLine1 to SPlineN of decode data of each line interval exist. For this reason, by changing the designation of the decoding start line to an instruction from the microcomputer (MPU or CPU) on the decoder side, it is possible to realize a scroll of only the sub-picture on the display screen. (This screen movement will be described later with reference to FIG. 21.)

그런데, 본 발명의 실시의 형태에 의해서는 부영상 유닛 헤더(31)에는 부영상이 NTSC 방식의 TV 필드/프레임에 어떻게 대응하는가를 나타내는 필드/프레임 모드(SPMOD)를 기록할 수 있게 되어 있다.By the way, according to the embodiment of the present invention, the sub-picture unit header 31 can record the field / frame mode (SPMOD) indicating how the sub-picture corresponds to the NTSC-type TV field / frame.

통상, 이 필드/프레임 모드 기록부(SPMOD)에는 비트 0이 기록되어 있다.Normally, bit 0 is recorded in this field / frame mode recording unit (SPMOD).

이러한 부영상 데이타 유닛(30)을 수신한 디코더측에서는 이 비트 0에 의해 프레임 모드(넌인터레이스 모드)임이 판정되고, 수신한 부호 데이타는 라인마다 디코드된다. 그렇게 하면, 제 8 도의 좌측 아래에 예시된 바와 같은 디코드한 상태에서의 화상이 디코더로부터 출력되며, 이것이 모니터 또는 텔레비전(TV)과 같은 표시 화면에 표시된다.On the decoder side receiving such sub-picture data unit 30, it is determined by this bit 0 that the frame mode (non-interlace mode) is received, and the received code data is decoded for each line. By doing so, an image in a decoded state as illustrated at the bottom left of FIG. 8 is output from the decoder, which is displayed on a display screen such as a monitor or television (TV).

한편, 필드/프레임 모드 기록부(SPMOD)에 비트 1이 기록되어 있는 경우는 디코더측은 필드 모드(인터레이스 모드)로 판정한다. 이 경우는 부호 데이타가 라인마다 디코드된 후, 제 8 도의 우측 아래에 예시된 바와 같이, 같은 데이타가 2라인분 연속 출력된다. 그렇게 하면, TV의 인터레이스 모드에 대응한 화면을 얻을 수 있다. 이것에 의해, 프레임 모드(넌인터레이스 모드)보다도 화질은 거칠지만, 프레임 모드와 같은 데이타량으로 그 2 배의 양의 화상을 표시할 수 있게 된다.On the other hand, when bit 1 is recorded in the field / frame mode recording unit SPMOD, the decoder determines that the field mode (interlace mode) is present. In this case, after the sign data is decoded line by line, the same data is continuously output for two lines as illustrated in the lower right of FIG. By doing so, a screen corresponding to the interlace mode of the TV can be obtained. As a result, the image quality is rougher than that of the frame mode (non-interlaced mode), but it is possible to display an image of twice that amount with the same data amount as the frame mode.

제 3 도 또는 제 4 도에 도시된 부영상의 화소 데이타(실행길이 데이타) (32)는 제 5 도 또는 제 6 도에 도시된 실행길이 압축 규칙 1∼6 또는 실행길이 압축 규칙 11∼15 중 어느 하나의 규칙이 적용되는 것에 따라 그 1 단위의 데이타길이(가변장)가 결정된다. 그리고, 결정된 데이타길이로 인코드(실행길이 압축) 및 디코드(실행길이 신장)가 행해진다.The pixel data (execution length data) 32 of the sub-picture shown in FIG. 3 or 4 is any of the execution length compression rules 1 to 6 or the execution length compression rules 11 to 15 shown in FIG. As a rule is applied, the data length (variable length) of that unit is determined. Then, encoding (execution length compression) and decoding (execution length extension) are performed at the determined data length.

제 5 도의 규칙 1∼6 은 압축 대상의 화소 데이타가 복수 비트 구성(여기서는 2비트)인 경우에 사용되며, 제 6 도의 규칙 11∼15 은 압축 대상의 화소 데이타가 1비트 구성인 경우에 사용된다.Rules 1 to 6 of FIG. 5 are used when the pixel data to be compressed have a multi-bit configuration (2 bits here), and rules 11 to 15 of FIG. 6 are used when the pixel data to be compressed are 1-bit configuration. .

실행길이 압축 규칙 1∼6 또는 실행길이 압축 규칙 11∼15 의 어느것이 사용될지는 부영상 유닛 헤더(31)내의 파라미터 SPMOD(제 4 도의 하부의 표의 중앙부근 참조)의 내용(비트폭 플래그등)에 의해서 정할 수 있다. 예컨대, 파라미터 SPMOD의 비트폭 플래그가 1인 경우는 실행길이 압축대상의 화소 데이타가 2비트 데이타이고, 제 5 도의 규칙 1∼6 이 사용된다. 한편, 파라미터 SPMOD 의 비트폭 플래그가 0인 경우는 실행길이 압축대상의 화소 데이타가 1비트 데이타이고, 제 6 도의 규칙 11∼15 이 사용된다.Which of the execution length compression rules 1 to 6 or the execution length compression rules 11 to 15 is used depends on the contents (bit width flags, etc.) of the parameter SPMOD (see near the center of the table at the bottom of FIG. 4) in the sub-picture unit header 31. It can be decided by. For example, when the bit width flag of the parameter SPMOD is 1, the pixel data of the execution length compression target is 2-bit data, and the rules 1 to 6 in Fig. 5 are used. On the other hand, when the bit width flag of the parameter SPMOD is 0, the pixel data of the execution length compression target is 1 bit data, and the rules 11 to 15 in Fig. 6 are used.

지금, 화소 데이타가 1, 2, 3 또는 4비트 구성을 취할 수 있는 경우에 있어서, 이들의 비트 구성치에 대응하여 4종류의 압축 규칙군 A, B, C, D 가 준비 되어 있다고 가정한다. 이 경우, 파라미터 SPMOD 를 2비트 플래그로 하고, 플래그 0으로 규칙군 A 를 사용하는 1비트 화소 데이타를 특정하며, 플래그 1로 규칙군 B 를 사용하는 2비트 화소 데이타를 특정하고, 플래그 10으로 규칙군 C 를 사용하는 3비트 화소 데이타를 특정하며, 플래그 11 로 규칙군 D 를 사용하는 4비트 화소 데이타를 특정할 수 있다. 여기서, 압축 규칙군 A에는 제 6 도의 규칙 11∼15 를 이용할 수 있고, 압축 규칙 B에는 제 5 도의 규칙 1∼6 을 이용할 수 있다. 압축 규칙군 C 및 D 는 제 5 도의 부호화 헤더, 계속화소수 및 화소 데이타의 구성 비트치 및 규칙수를 적절히 변경하여 얻어진다.Now, in the case where the pixel data can take 1, 2, 3 or 4 bit configurations, it is assumed that four types of compression rule groups A, B, C, and D are prepared corresponding to these bit configuration values. In this case, the parameter SPMOD is a 2-bit flag, the flag 0 specifies 1-bit pixel data using the rule group A, the flag 1 specifies 2-bit pixel data using the rule group B, and the flag 10 is ruled. 3-bit pixel data using the group C is specified, and 4-bit pixel data using the regular group D can be specified with the flag 11. Here, the rules 11-15 of FIG. 6 can be used for the compression rule group A, and the rules 1-6 of FIG. 5 can be used for the compression rule B. FIG. The compression rule groups C and D are obtained by appropriately changing the configuration header values and the number of rules of the encoding header, the number of continuous pixels, and the pixel data in FIG.

제 5 도는 제 4 도에서 예시한 부영상 화소 데이타(실행길이 데이타)(32) 부분이 복수 비트(여기서는 2비트)의 화소 데이타로 구성되는 경우에 있어서, 본 발명의 일실시의 형태에 관한 인코드 방법으로 채용되는 실행길이 압축 규칙 l∼6 을 설명하는 것이다.FIG. 5 is a diagram illustrating an embodiment of the present invention in the case where the portion of the sub-picture pixel data (execution length data) 32 illustrated in FIG. 4 is composed of a plurality of bits of pixel data (here 2 bits). The execution length compression rules 1 to 6 employed in the code method are explained.

또한, 제 9 도는 제 4 도로 예시한 부영상 화소 데이타(실행길이 데이타)(32) 부분이 2비트의 화소 데이타로 구성되는 경우에 있어서, 상기 압축 규칙 1∼6 을 구체적으로 설명하기 위한 도면이다.9 is a diagram for specifically explaining the compression rules 1 to 6 in the case where the portion of the sub-picture pixel data (execution length data) 32 illustrated in FIG. 4 is composed of 2-bit pixel data. .

제 5 도의 1열째에 도시된 규칙 1 에서는 동일 화소가 1∼3개 계속되는 경우, 4비트 데이타로 인코드(실행길이 압축)의 데이타 1단위를 구성한다. 이 경우, 최초의 2비트로 계속 화소수를 나타내며, 계속되는 2비트로 화소 데이타 (화소의 색정보 등)을 나타낸다.In Rule 1 shown in the first column of Fig. 5, when 1 to 3 identical pixels are continued, one unit of data of encoding (execution length compression) is composed of 4-bit data. In this case, the number of pixels continues to be represented by the first two bits, and the pixel data (such as color information of a pixel) is represented by two consecutive bits.

예컨대, 제 9 도의 상부에 도시되는 압축전의 영상데이타 PMXD 의 최초의 압축 데이타 단위 CU01 는 2개의 2비트 화소 데이타 d0, d1=(0000)b 를 포함하고 있다(b는 2진임을 가리킴). 이 예에서는 동일 2비트 화소 데이타(00)b 가 2개 연속하고 있다.For example, the first compressed data unit CU01 of the video data PMXD before compression shown in the upper part of FIG. 9 includes two 2-bit pixel data d0, d1 = (0000) b (b indicates that it is binary). In this example, two identical two-bit pixel data 00b are consecutive.

이 경우, 제 9 도의 하부에 도시된 바와 같이, 계속수 「2」 의 2비트 표시 (10)b 와 화소 데이타의 내용 (00)b 을 연결할 수 있는 d0, d1=(1000)b 가, 압축후의 영상 데이타 PXD 의 데이타 단위 CUO1* 가 된다.In this case, as shown in the lower part of FIG. 9, d0 and d1 = (1000) b which can connect the 2-bit display 10b of the continuation number "2" and the content (00) b of the pixel data are compressed. It becomes the data unit CUO1 * of subsequent video data PXD.

바꾸어 말하면, 규칙 1 에 의해서 데이타 단위 CU01 의 (0000)b 가 데이타단위 CU01*의 (1000)b 로 변환된다. 이 예에서는 실질적인 비트길이의 압축은 얻어지지 않지만, 예컨대 동일 화소 (00)b 가 3개 연속하는 CU01=(000000)b이면, 압축후는 CU01*=(1100)b 가 되며, 2비트의 압축 효과를 얻을 수 있다.In other words, the rule 1 converts (0000) b of the data unit CU01 to (1000) b of the data unit CU01 *. In this example, no substantial bit length compression is obtained. For example, if the same pixel (00) b is three consecutive CU01 = (000000) b, after compression, CU01 * = (1100) b, and two-bit compression is performed. The effect can be obtained.

제 5 도의 2열째에 도시된 규칙 2에서는 동일 화소가 4∼15개 계속되는 경우, 8비트 데이타로 인코드의 데이타 1단위를 구성한다. 이 경우, 최초의 2비트로 규칙 2에 기초한 것을 나타낸 부호화 헤더를 나타내며, 계속되는 4비트로 계속 화소수를 나타내고, 그후의 2비트로 화소 데이타를 나타낸다.In Rule 2 shown in the second column of FIG. 5, when 4 to 15 identical pixels are continued, 8-bit data constitutes one unit of encoded data. In this case, the first two bits represent an encoding header indicating the basis of Rule 2, the subsequent four bits represent the number of pixels, and the subsequent two bits represent pixel data.

예컨대, 제 9 도의 상부에 도시되는 압축전의 영상 데이타 PXD 의 2번째의 압축 데이타 단위 CU02 는 5개의 2비트 화소 데이타 d2, d3, d4, d5, d6= (0101010101)b 를 포함하고 있다. 이 예에서는 동일 2비트 화소 데이타 (01)b가 5개 연속하고 있다.For example, the second compressed data unit CU02 of the video data PXD before compression shown in the upper part of FIG. 9 includes five two-bit pixel data d2, d3, d4, d5, and d6 = (0101010101) b. In this example, five identical two-bit pixel data (01) are contiguous.

이 경우, 제 9 도의 하부에 도시된 바와 같이, 부호화 헤더 (00)b 와, 계속수「5」 의 4비트 표시 (0101)b 와 화소 데이타의 내용 (01)b 을 연결한 d2∼d6= (00010101)b 가, 압축후의 영상 데이타 PXD 의 데이타 단위 CU02*가 된다.In this case, as shown in the lower part of Fig. 9, d2 to d6 = the concatenation of the encoding header (00b), the 4-bit display (0101) b of the continuation number "5", and the content (01) b of the pixel data = B is the data unit CU02 * of the compressed video data PXD.

바꾸어 말하면, 규칙 2 에 의해서 데이타 단위 CU02의 (0101010101)b(10비트길이)가 데이타 단위 CU02*의(00010101)b(8 비트길이)로 변환된다. 이 예에서는 실질적인 비트길이 압축분은 10비트로부터 8비트로의 2비트밖에 없지만, 계속수가 예컨대 15(CU02의 01이 15개 연속되므로 30 비트길이)인 경우는 이것이 8비트의 압축 데이타(CU02*=00111101)가 되고, 30 비트에 대하여 22비트의 압축 효과를 얻을 수 있다. 즉, 규칙 2 에 기초한 비트 압축 효과는 규칙 1 인 것보다도 크다. 그러나, 해상도가 높은 미세한 화상의 실행길이압축에 대응하기 위해서는 규칙 1 도 필요하다.In other words, according to rule 2, (0101010101) b (10-bit length) of the data unit CU02 is converted into (00010101) b (8-bit length) of the data unit CU02 *. In this example, the actual bit length compression is only 2 bits from 10 bits to 8 bits, but if the continuation number is 15 (30 bits long since 15 01 of CU02 is continuous), this is 8 bits of compressed data (CU02 * = 00111101), and a compression effect of 22 bits can be obtained for 30 bits. That is, the bit compression effect based on rule 2 is larger than that of rule 1. However, Rule 1 is also required to cope with the execution length compression of fine images having high resolution.

제 5 도의 3열째에 도시된 규칙 3 에서는 동일 화소가 16∼63개 계속되는경우,12비트 데이타로 인코드의 데이타 1단위를 구성한다. 이 경우, 최초의 4비트로 규칙 3 에 기초한 것을 나타낸 부호화 헤더를 나타내며, 계속되는 6비트로 계속 화소수를 나타내고, 그 후의 2비트로 화소 데이타를 나타낸다.In Rule 3 shown in the third column of FIG. 5, when 16 to 63 identical pixels are continued, 12-bit data constitutes one unit of encoded data. In this case, the first 4 bits represent an encoding header indicating the basis of the rule 3, the subsequent 6 bits represent the number of pixels, and the subsequent 2 bits represent pixel data.

예컨대, 제 9 도의 상부에 도시되는 압축전의 영상 데이타 PXD의 3번째의 압축 데이타 단위 CU03 는 16개의 2비트 화소 데이타 d7∼d22=(101010·····‥·· 1010)b 를 포함하고 있다. 이 예에서는 동일 2비트 화소 데이타(10)b가 16개 연속하고 있다.For example, the third compressed data unit CU03 of the video data PXD before compression shown in FIG. 9 includes 16 two-bit pixel data d7 to d22 = (101010 ... 1010) b. . In this example, 16 identical 2-bit pixel data 10b are contiguous.

이 경우, 제 9 도의 하부에 도시된 바와 같이, 부호화 헤더 (0000)b 와, 계속수「16」의 6비트 표시(010000)b 와 화소 데이타의 내용 (10)b 를 연결할 수 있는 d7∼d22=(000001000010) b 가, 압축후의 영상 데이타 PXD 의 데이타 단위CU03* 가 된다.In this case, as shown in the lower part of Fig. 9, d7 to d22 which can connect the encoding header (0000) b, the 6-bit display (010000) b of the continuation number "16", and the content (10) b of the pixel data. = (000001000010) b becomes the data unit CU03 * of the compressed video data PXD.

바꾸어 말하면, 규칙 3 에 의해서 데이타 단위 CU03의 (101010··‥·‥··10101) b(32 비트길이)가 데이타 단위 CU03*의 (000001000010) b(12 비트길이)로 변환된다. 이 예에서는 실질적인 비트길이 압축분은 32비트에서 12비트의 20비트이지만, 계속수가 예컨대 63(CU03의 10 이 63개 연속되므로 126 비트 길이)의 경우는 이것이 12 비트의 압축 데이타(CU03*=000011111110)가 되고, 126 비트에 대하여 114 비트의 압축 효과를 얻을 수 있다. 즉, 규칙 3 에 기초한 비트 압축효과는 규칙 2 인 것보다도 크다.In other words, according to rule 3, (101010 ...) 10101) b (32-bit length) of the data unit CU03 is converted into (000001000010) b (12-bit length) of the data unit CU03 *. In this example, the actual bit length compression is 20 bits from 32 bits to 12 bits, but if the continuation number is 63 (126 bits long because 63 of CU03 is 63 consecutive), this is 12 bits of compressed data (CU03 * = 000011111110). ), A compression effect of 114 bits can be obtained for 126 bits. That is, the bit compression effect based on rule 3 is larger than that of rule 2.

제 5 도의 4열째에 도시된 규칙 4 에서는 동일 화소가 64∼255개 계속되는 경우, 16비트 데이타로 인코드 데이타 1단위를 구성한다. 이 경우, 최초의 6비트로 규칙 4 에 기초한 것을 나타낸 부호화 헤더를 나타내며, 계속되는 8비트로 계속 화소수를 나타내고, 그 후의 2비트로 화소 데이타를 나타낸다.In Rule 4 shown in the fourth column of Fig. 5, when 64 to 255 identical pixels are continued, 16-bit data constitutes one unit of encoded data. In this case, the first 6 bits indicate an encoding header indicating the basis of rule 4, the subsequent 8 bits indicate the number of pixels, and the subsequent 2 bits indicate pixel data.

예컨대, 제 9 도의 상부에 도시되는 압축전의 영상 데이타 PXD의 4번째의 압축 데이타 단위 CU04 는 69개의 2비트 화소 데이타 d23∼d91=(111111········· 1111)b를 포함하고 있다. 이 예에서는 동일 2비트 화소 데이타(11)b가 69개 연속하고 있다,For example, the fourth compressed data unit CU04 of the video data PXD before compression shown in the upper part of FIG. 9 includes 69 two-bit pixel data d23 to d91 = (111111 ... 1111) b. have. In this example, 69 identical 2-bit pixel data 11b are contiguous.

이 경우, 제 9 도의 하부에 도시된 바와 같이, 부호화 헤더 (000000)b와, 계속수 「69」의 8비트 표시(00100101)b와 화소 데이타의 내용(11)b를 연결할 수 있는 d23∼d91=(0000000010010111)b가, 압축후의 영상 데이타 PXD의 데이타 단위 CU04* 가 된다.In this case, as shown in the lower part of FIG. 9, d23 to d91 which can connect the encoding header (000000) b, the 8-bit display (00100101) b of the continuation number "69", and the content 11b of the pixel data. = (0000000010010111) b becomes the data unit CU04 * of the compressed video data PXD.

바꾸어 말하면, 규칙 4 에 의해서 데이타 단위 CU04의(111111··‥··1111) b(138 비트길이)가 데이타 단위 CU04*의 (0000000010010111)b(16비트길이)로 변환된다. 이 예에서는 실질적인 비트길이 압축분은 138 비트로부터 16비트로의 122비트이지만, 계속수가 예컨대 255(CU01의 11이 255개 연속하므로 510 비트길이)의 경우는 이것이 16비트의 압축 데이타(CU04*=0000001111111111)가 되고, 510 비트에 대하여 494 비트의 압축 효과를 얻욜 수 있다. 즉, 규칙 4 에 기초한 비트 압축 효과는 규칙 3 인 것보다도 크다.In other words, according to rule 4, b (138 bit length) of the data unit CU04 (111111 ... 1111) is converted into (0000000010010111) b (16 bit length) of the data unit CU04 *. In this example, the actual bit length compression is 122 bits from 138 bits to 16 bits, but in the case of continuity numbers, for example, 255 (510 bits long since 11 of CU01 are 255 consecutive), this is 16 bits of compressed data (CU04 * = 0000001111111111 ), And a compression effect of 494 bits can be obtained for 510 bits. That is, the bit compression effect based on rule 4 is larger than that of rule 3.

제 5 도의 5열째에 도시된 규칙 5 에서는 인코드 데이타 단위의 전환점에서 라인끝까지 동일 화소가 계속되는 경우에, 16비트 데이타로 인코드의 데이타 1단위를 구성한다. 이 경우, 최초의 14비트로 규칙 5에 기초한 것을 나타낸 부호화 헤더를 나타내며, 계속되는 2비트로 화소 데이타를 나타낸다.In Rule 5 shown in the fifth column of Fig. 5, when the same pixel continues from the switching point of the encoded data unit to the end of the line, 16-bit data constitutes one unit of encoded data. In this case, the first 14 bits represent an encoding header indicating the basis of Rule 5, and the subsequent two bits represent pixel data.

예컨대, 제 9 도의 상부에 도시되는 압축전의 영상 데이타 PXD의 5번째의 압축 데이타 단위 CU05는 1개 이상의 2비트 화소 데이타 d92∼dn=(000000·········0000)b 를 포함하고 있다. 이 예에서는 동일의 2비트 화소 데이타 (00)b가 일정 개수로 연속하고 있지만, 규칙 5 에서는 계속 화소수가 1이상 몇개라도 좋다.For example, the fifth compressed data unit CU05 of the video data PXD before compression shown in the upper part of FIG. 9 includes one or more two-bit pixel data d92 to dn = (000000 ·········· 0000) b Doing. In this example, the same two-bit pixel data (00) is continuous in a fixed number, but in rule 5, the number of pixels may be one or more.

이 경우, 제 9 도의 하부에 도시된 바와 같이, 부호화 헤더 (00000000000000 ) b와, 화소 데이타의 내용(00)b를 연결할 수 있는 d92∼dn=(0000000000000000 )b가, 압축후의 영상 데이타 PXD의 데이타 단위 CU05* 가 된다.In this case, as shown in the lower part of FIG. 9, the encoding header (00000000000000) b and d92 to dn = (0000000000000000) b which can connect the content (00) b of the pixel data are the data of the compressed video data PXD. Unit CU05 *.

바꾸어 말하면, 규칙 5 에 의해서 데이타 단위 CU05의(000000······0000)b (불특정 비트길이)가 데이타 단위 CU05*의 (0000000000000000)b(16 비트길이) 로 변환된다. 규칙 5 에서는 라인 증료까지의 동일 화소 계속수가 16비트길이 이상 있으면 압축효과를 얻을 수 있다.In other words, the rule 5 converts (000000 ... b) (unspecified bit length) of the data unit CU05 into (0000000000000000) b (16 bit length) of the data unit CU05 *. In Rule 5, the compression effect can be obtained when the same number of pixels continuing up to the line increment is longer than 16 bits.

제 5 도의 6열째에 도시된 규칙 6 에서는 인코드 대상 데이타가 배열된 화소 라인이 1라인 종료한 시점에서, 1라인분의 압축 데이타 PXD의 길이가 8비트의 정수배가 아닌(즉 바이트 정렬이 아닌) 경우에, 4 비트의 더미 데이 타를 추가하여 1라인분의 압축 데이타 PXD가 바이트 단위가 되도록(즉 바이트 정렬되도록) 하고 있다.In Rule 6 shown in the sixth column of FIG. 5, the length of the compressed data PXD for one line is not an integer multiple of 8 bits (i.e., no byte alignment) when the pixel line on which the encoding target data is arranged ends one line. In this case, 4 bits of dummy data are added so that one line of compressed data PXD is in bytes (that is, byte aligned).

예컨대, 제 9 도의 하부에 도시되는 압축후의 영상 데이타 PXD의 데이타 단위 CU이*∼CU05*의 합계 비트길이는 반드시 4비트의 정수배로는 되어 있지만, 반드시 8비트의 정수배로 되어 있다고는 한정되지 않는다.For example, the total bit length of the data units CU of * -CU05 * of the compressed video data PXD shown in the lower part of FIG. 9 is necessarily an integer multiple of 4 bits, but is not necessarily limited to an integer multiple of 8 bits. .

예컨대 데이타 단위 CU01*∼CU05* 의 합계 비트길이가 1020 비트이고 바이트 정렬로 하기 위해서 4비트 부족되어 있으면, 제 9 도의 하부에 도시된 바와 같이, 4비트의 더미 데이타 CU06*=(0000)b 를 1020 비트의 말미에 부가하여, 바이트 정렬된 1024 비트의 데이타 단위 CU01*∼CU06*를 출력한다.For example, if the total bit length of the data units CU01 * to CU05 * is 1020 bits and four bits are insufficient for the byte alignment, the four-bit dummy data CU06 * = (0000) b is replaced as shown in the lower part of FIG. In addition to the end of 1020 bits, the byte-aligned data units CU01 * to CU06 * of 1024 bits are output.

또, 2비트 화소 데이타는 반드시 4종류의 화소색을 표시하는 것으로 한정되지는 않는다. 예컨대, 화소 데이타 (00)b에서 부영상의 배경 화소를 나타내며, 화소 데이타 (01)b에서 부영상의 패턴 화소를 나타내고, 화소 데이타 (10)b에서 부영상의 제 1 강조 화소를 나타내며, 화소 데이타 (11)b 에서 부영상의 제 2 강조 화소를 나타내도록 해도 좋다.In addition, 2-bit pixel data is not necessarily limited to displaying four types of pixel colors. For example, the pixel data 00b represents the background pixel of the sub-image, the pixel data 01b represents the pattern pixel of the sub-image, and the pixel data 10b represents the first emphasis pixel of the sub-image, and the pixel data 11 b) may represent the second emphasis pixel of the sub-picture.

화소 데이타의 구성 비트수가 더 많으면, 보다 다른 종류의 부영상 화소를 지정할 수 있다. 예컨대 화소 데이타가 3비트의 (000)b∼(111)b 로 구성되어 있을 때는 실행길이 인코드/디코드되는 부영상 데이타에 있어서, 최대 8종류의 화소색 + 화소 종류(강조 효과)를 지정할 수 있게 된다 .If the number of constituent bits of the pixel data is larger, different types of sub-picture pixels can be designated. For example, when the pixel data is composed of three bits (000) b to (111) b, up to eight types of pixel colors + pixel types (emphasis effect) can be specified for the execution length encoded / decoded sub-picture data. Will be.

제 6 도는 제 4 도에 예시한 부영상 화소 데이타 (실행길이 데이타)(32) 부분이 1비트의 화소 데이타로 구성되는 경우에 있어서, 본 발명의 다른 실시의 형태에 관한 인코드 방법으로 채용되는 실행길이 압축 규칙 11∼15 을 설명하는 것이다.FIG. 6 is used as an encoding method according to another embodiment of the present invention when the sub-picture pixel data (execution length data) 32 illustrated in FIG. 4 is composed of 1-bit pixel data. The execution length compression rules 11 to 15 are described.

제 6 도의 1열째에 도시된 규칙 11 에서는 동일 화소가 1∼7개 계속되는 경우,4비트 데이타로 인코드(실행길이 압축)의 데이타 1단위를 구성한다. 이 경우, 최초의 3비트로 계속 화소수를 나타내며, 계속되는 1비트로 화소 데이타 (화소 종류의 정보 등 )을 나타낸다. 예컨대 1비트 화소 데이타가 0 이면 부영상의 배경 화소를 나타내고, 그것이 1 이면 부영상의 패턴 화소를 나타낸다.In Rule 11 shown in the first column of FIG. 6, when 1 to 7 identical pixels are continued, one unit of data (encoding of execution length compression) is encoded into 4-bit data. In this case, the number of pixels continues to be represented by the first three bits, and the pixel data (such as pixel type information) is represented by one subsequent bit. For example, if 1-bit pixel data is 0, it represents the background pixel of the sub-image, and if it is 1, it represents the pattern pixel of the sub-image.

제 6 도의 2열째에 도시된 규칙 12에서는 동일 화소가 8∼15개 계속되는 경우,8비트 데이타로 인코드의 데이타 1단위를 구성한다. 이 경우, 최초의 3비트로 규칙 12 에 기초한 것을 나타낸 부호와 헤더(예컨대 000)를 나타내며, 계속되는 4비트로 계속 화소수를 나타내고, 그 후의 1비트로 화소 데이타를 나타낸다.In Rule 12 shown in the second column of FIG. 6, when 8 to 15 identical pixels are continued, 8-bit data constitutes one unit of encoded data. In this case, the first three bits represent a code and a header (for example, 000) indicating the basis of the rule 12, the number of pixels continues to be represented by four consecutive bits, and the pixel data is represented by one subsequent bit.

제 6 도의 3열째에 도시된 규칙 13에서는 동일 화소가 16∼127개 계속되는 경우, 12비트 데이타로 인코드 데이타 1단위를 구성한다. 이 경우, 최초의 4비트로 규칙 13에 기초한 것을 나타낸 부호화 헤더(예컨대 0000)를 나타내며, 계속되는 7비트로 계속 화소수를 나타내고, 그 후의 1비트로 화소 데이타를 나타낸다.In Rule 13 shown in the third column of Fig. 6, when 16 to 127 identical pixels are continued, one unit of encoded data is composed of 12-bit data. In this case, the first 4 bits represent an encoding header (e.g., 0000) indicating that the rule 13 is based on Rule 13, the number of pixels continues in 7 bits, and the pixel data in 1 bit thereafter.

제 6 도의 4열째에 도시된 규칙 14에서는 인코드 데이타 단위의 전환점으로부터 라인의 끝까지 동일 화소가 계속되는 경우에, 8비트 데이타로 인코드의 데이타 1단위를 구성한다. 이 경우, 최초의 7비트로 규칙 14에 기초한 것을 나타낸 부호화 헤더(예컨대 0000000)를 나타내며, 계속되는 1비트로 화소 데이타를 나타낸다.In Rule 14 shown in the fourth column of Fig. 6, when the same pixel continues from the switching point of the encoded data unit to the end of the line, 8-bit data constitutes one unit of encoded data. In this case, an encoding header (e.g., 0000000) indicating that the first 7 bits are based on the rule 14 is shown, and pixel data is represented by one subsequent bit.

제 6 도의 5열째에 도시된 규칙 15에서는 인코드 대상 데이타가 배열된 화소 라인이 1라인 종료한 시점에서, 1라인분의 압축 데이타 PXD의 길이가 8비트의 정수배가 아닌(즉 바이트 정렬이 아닌) 경우에, 4비트의 더미 데이타를 추가하여 1라인분의 압축 데이타 PXD가 바이트 단위가 되도록(즉 바이트 정렬되도록) 하고 있다.In Rule 15 shown in the fifth column of FIG. 6, the length of the compressed data PXD for one line is not an integer multiple of 8 bits (i.e., no byte alignment) when the pixel line on which the encoding target data is arranged ends one line. In this case, 4-bit dummy data is added so that the compressed data PXD for one line is in bytes (that is, byte aligned).

다음에, 제 7 도를 참조하여 화상 인코드방법(실행길이 압축 인코드를 이용한 인코드 방법)을 구체적으로 설명한다.Next, an image encoding method (encoding method using execution length compression encoding) will be described in detail with reference to FIG.

제 7 도는 제 4 도에서 예시한 부영상 화소 데이타 (실행길이 데이타)(32)를 구성하는 화소 데이타가, 예컨대 제 1∼제 9 라인으로 구성되며, 각 라인상에 2비트 구성의 화소(최대 4 종류의 내용을 가진다)가 배열되어 있고, 각 라인상의 2비트 화소에 의해 문자 패턴 「A」 및 「B」 가 표현되어 있는 경우를 도시하고 있다. 이 경우에 있어서, 각 라인의 화소 데이타가, 어떻게 인코드(실행길이 압축)되는가를 구체적으로 설명한다.7 shows pixel data constituting the sub-picture pixel data (execution length data) 32 illustrated in FIG. 4, for example, comprising first to ninth lines, each pixel having a 2-bit configuration (maximum). It has a case where four types of contents) are arranged, and the character patterns "A" and "B" are represented by 2-bit pixels on each line. In this case, how pixel data of each line is encoded (execution length compression) will be specifically described.

제 7 도의 상부에 예시된 바와 같이, 소스가 되는 화상은 3종류(최대 4종류)의 화소 데이타로 구성되어 있다. 즉, 2비트 화상 데이타 (00)b에서 부영상의 배경의 화소색이 도시되고, 2비트화 상 데이타 (01)b에서 부영상내의 문자 「A」 및 「B」 의 화소색이 도시되며, 2비트 화상 데이타 (10)b에서 부영상 문자 「A」 및 「B」 에 대한 강조 화소색이 도시되어 있다.As illustrated at the top of Fig. 7, the image serving as the source is composed of three types (up to four kinds) of pixel data. That is, the pixel color of the background of the sub-picture is shown in the 2-bit image data (00), and the pixel color of the characters "A" and "B" in the sub-picture is shown in the 2-bit image data (01), and 2 In the bit image data 10b, the emphasis pixel colors for the sub-picture characters "A" and "B" are shown.

문자 A」및「B」를 포함하는 원화상이 스캐너 등에 의해 주사되면, 이들의 문자 패턴은 주사 라인마다 좌측으로부터 우측을 향하여, 1화소 단위로 판독된다.When the original images including the letters A " and " B " are scanned by a scanner or the like, these character patterns are read in units of one pixel from left to right for each scanning line.

이렇게 해서 판독된 영상 데이타는 본 발명에 기초한 실행길이 압축을 행하는 인코더(후술하는 제 10 도의 실시 형태에서는 200)에 입력된다.The video data read in this way is input to an encoder (200 in the embodiment of FIG. 10 described later) which performs execution length compression based on the present invention.

이 인코더는 제 5 도에서 설명한 규칙 1∼규칙 6에 기초한 실행길이 압축을 실행하는 소프트웨어가 동작하는 마이크로 컴퓨터(MPU 또는 CPU)로 구성할 수 있다. 이 인코더 소프트웨어에 관해서는 제 13 도 및 제 14 도의 흐름도를 참조하여 후술한다.The encoder can be configured as a microcomputer (MPU or CPU) on which software for executing execution length compression based on the rules 1 to 6 described in FIG. 5 is operated. This encoder software will be described later with reference to the flowcharts of FIGS. 13 and 14.

이하 1화소 단위로 판독된 문자 패턴「A」 및 「B」 의 순서(sequential) 비트열을 실행길이 압축하는 인코드처리에 관해서 설명한다.An encoding process of execution length compression of the sequential bit strings of the character patterns "A" and "B" read in units of one pixel will be described below.

제 7 도의 예에서는 소스 화상의 화소색이 3개인 경우를 상정하고 있으므로, 인코드처리 대상의 영상 데이타 (문자 패턴 「A」 및 「B」 의 순차 비트열)은 배경 화소색 「0」 을 2비트 화소 데이타 (00)b로 나타내고, 문자 화소색 「#」 을 2비트 화소 데이타 (01)b 로 나타내며, 강조 화소색 「o」 를 2비트 화소 데이타 (10)b로 나타내고 있다. 이 화소 데이타 (00,01 등)의 비트수(=2)는 화소폭으로 불리기도 한다.In the example of FIG. 7, it is assumed that there are three pixel colors of the source image, so that the image data (sequential bit strings of the character patterns "A" and "B") to be encoded has a background pixel color of "0". The bit pixel data (00) b is represented, the character pixel color "#" is represented by two-bit pixel data (01) b, and the emphasis pixel color "o" is represented by the two-bit pixel data 10b. The number of bits (= 2) of this pixel data (00,01, etc.) may be referred to as pixel width.

또, 단순화를 위해, 제 7 도의 예에서는 인코드처리 대상 영상 데이타 (부영상 데이타)의 표시폭을 16 화소로 하고, 주사 라인수(표시의 높이)는 9라인으로 하고 있다.For the sake of simplicity, in the example of FIG. 7, the display width of the encoded video data (sub-picture data) is 16 pixels, and the number of scanning lines (the height of the display) is 9 lines.

먼저, 스캐너로부터 얻어진 화소 데이타(부영상 데이타)는 마이크로 컴퓨터에 의해, 일단 압축전의 실행길이치로 변환된다.First, the pixel data (sub picture data) obtained from the scanner is first converted into an execution length value before compression by a microcomputer.

즉, 제 7 도의 상부의 1라인째를 예로 취하면,3개의 연상(連像) 「···」 은 (·*3) 으로 변환되고, 그 후의 1개의 「0」 는 (0*1)로 변환되며, 그 후의 1개의 「#」 는 (#*1)로 변환되고, 그 후의 1개의 「o」 는 (0*1)로 변환되며, 그 후의 3연상 「‥」 은 (·*3)로 변환되고, 그 후의 1개의 「o」 는 (0*1)로 변환되며, 그 후의 4연상 「####」 은 (#*4)로 변환되고, 그 후의 1개의 「o」 는 (0*1)로 변환되며, 최후의 1개의 「·」 는 (·*1)로 변환된다.That is, taking the first line of the upper part of FIG. 7 as an example, three associations "..." are converted into (* 3), and one subsequent "0" is (0 * 1). Is converted to (# * 1), the subsequent one "o" is converted to (0 * 1), and the subsequent three consecutive "‥" are (** 3). ), The subsequent one "o" is converted to (0 * 1), the subsequent four consecutive "####" is converted to (# * 4), and the next one "o" is Is converted to (0 * 1), and the last one "·" is converted to (** 1).

그 결과, 제 7 도의 중앙에 도시된 바와 같이, 1라인째의 압축전 실행길이 데이 타는 「·*3/0*1/#·1/0*1/·*3/0*1/#*4/0*1/·*1」 과 같이 된다. 이 데이타는 문자 화소색 등의 화상 정보와, 그 연속수를 나타낸 계속 화소수와의 조합에 의해 구성되어 있다.As a result, as shown in the center of Fig. 7, the pre-compression execution length data of the first line is " * 3/0 * 1 / # · 1/0 * 1 / * 3/0 * 1 / # * 4/0 * 1 / * 1 ". This data is constituted by a combination of image information such as a character pixel color and the number of continuous pixels indicating the number of consecutive pixels.

이하 동일하게, 제 7 도 상부의 2라인∼9라인째의 화소 데이타열은 제 7 도 중간 부분의 2라인∼9라인째에 도시된 바와 같은 압축전 실행길이 데이타열이 된다.Similarly, the pixel data strings in the second to ninth lines of the upper part of FIG. 7 become the precompression execution length data strings as shown in the second to ninth lines of the middle part of FIG.

여기서, 1라인째의 데이타에 주목하면, 라인 개시로터 배경 화소색 「ㆍ」이 3개 계속되고 있으므로, 제 5 도의 압축 규칙 1 이 적용된다. 그결과, 1라인째의 최초의 「‥·」 즉 (·*3)은 「3」을 나타내는 2비트(11)와 배경 화소색 「ㆍ」 을 나타내는 (00)를 조합시킨 (1100)으로 인코드된다.If attention is paid to the data of the first line, the compression rule 1 of Fig. 5 is applied since the line start rotor background pixel colors " 3 " are continued. As a result, the first "..." of the first line, i.e., (* 3), is set to (1100) in which two bits 11 representing "3" and (00) representing a background pixel color "..." are combined. Is coded.

1라인째의 다음 데이타는 「o」이 1개이므로 역시 규칙 1 이 적용된다. 그 결과, 1라인째의 다음 「o」 즉 (0*1)은 「1」 을 나타내는 2비트(01)와 강조 화소색 「o」 을 나타내는 (10)를 조합시킨 (0110)로 인코드된다.The next data on the first line is also rule 1 because there is one "o". As a result, the next "o" of the first line, i.e., (0 * 1), is encoded by combining (0110) a combination of two bits (01) representing "1" and (10) representing the emphasis pixel color "o". .

또, 다음 데이타는 「#」이 1개이므로 역시 규칙 1 이 적용된다. 그 결과, 1라인째의 다음 「#」 즉 (#*1)은 「1」 을 나타내는 2비트(01)와 문자 화소색 「#」 을 나타내는 (01)를 조합시킨 (0101)로 인코드된다.(이 # 에 관한 부분은 제 7 도의 중앙부 및 하부에서는 절선으로 둘러싸여 도시되어 있다.)In addition, rule 1 is also applied to the following data because there is one "#". As a result, the next "#" of the first line, that is, (# * 1), is encoded as (0101) in which two bits (01) representing "1" and (01) representing the character pixel color "#" are combined. (The part about this # is shown in the middle and lower part of Fig. 7, surrounded by broken lines.)

이하 동일하게,(0*1)는 (0110)로 인코드되고, (·*3)는 (1100)로 인코드되며, (0*1)는 (0110)로 인코드된다.Likewise below, (0 * 1) is encoded as (0110), (** 3) is encoded as (1100), and (0 * 1) is encoded as (0110).

1라인째의 그 후의 데이타는 「#」이 4개이므로, 제 5 도의 압축 규칙 2가 적용된다. 그 결과, 1라인째의 이 「#」 즉 (#*4)는 규칙 2가 적용된 것을 나타낸 2비트 헤더 (00)와, 계속 화소수 「4」를 나타내는 4비트 (0100)와, 문자 화소색 「#」 을 나타대는 (01)을 조함시킨 (00010001)로 인코드된다.(이 #에 관한 부분은 절선으로 둘러싸여 도시되어 있다.)Since the data after the first line has four "#", the compression rule 2 of FIG. 5 is applied. As a result, this "# "(# * 4) of the first line is a 2-bit header (00) indicating that rule 2 is applied, a 4-bit (0100) indicating the number of pixels "4", and a character pixel color. It is encoded as (00010001), which combines (01) representing "#". (The part about # is shown surrounded by broken lines.)

1라인째의 다시 그 후의 데이타는 「o」가 1개이므로 규칙 1이 적용된다. 그 결과, 이 「o」 즉 (0*1)은 「1」을 나타내는 2비트(01)와 강조 화소색 「o」 를 나타대는 (10)을 조합시킨 (0110)로 인코드된다.Rule 1 is applied to the subsequent data on the first line because "o" is one. As a result, this "o", i.e., (0 * 1), is encoded with (0110) in which two bits (01) representing "1" and (10) representing the emphasis pixel color "o" are combined.

1라인째 최후의 데이타는 「ㆍ」이 1개이므로 규칙 1 이 적용된다, 그 결과, 이 「」 즉 (·*1)은 「1」디을 나타내는 2비트(01)와 배경 화소색 「ㆍ」을 나타내는 (00)을 조합시킨 (0100)로 인코드된다.As the last data of the first line, "1" is one, rule 1 is applied. As a result, this "" (** 1) is a two-bit (01) representing "1" di and a background pixel color "." It is encoded as (0100) combining (00) representing.

이상과 같이하여, 1라인째의 압축전 실행길이 데이타 「·*3/0*1/#*1/0*1/·*3/0*1/#*4/0*1/·*1」 는 (1100)(0110)(0101)(0110)(1100)(0110) (00010001) (0110)(0100)과 같이 실행길이 압축되고, 1라인째의 인코드가 종료된다.As described above, the execution length data of the first line before compression "* 3/0 * 1 / # * 1/0 * 1 / * 3/0 * 1 / # * 4/0 * 1 / * 1" Execution length is compressed as in (1100) (0110) (0101) (0110) (1100) (0110) (00010001) (0110) (0100), and the encoding of the first line ends.

이하 동일하게 하여,8라인째까지 인코드가 진행된다. 9라인째에서는 1라인 전부가 동일 배경 화소색 「·」 으로 점유되어 있다. 이 경우는 제 5 도의 압축 규칙 5 가 적용된다. 그 결과, 9라인째의 압축전 실행길이 데이타 「·*16」 는 동일 배경 화소색 「ㆍ」 이 라인 끝까지 계속되고 있는 것을 나타낸 14비트의 헤더(00000000000000)와, 배경 화소색 「·」 을 나타낸 2비트 화소 데이타 (00) 를 조합시킨, 16비트의 (0000000000000000)로 인코드된 다.In the same manner below, encoding proceeds to the eighth line. In the ninth line, all one line is occupied by the same background pixel color ". &Quot; In this case, compression rule 5 of FIG. 5 is applied. As a result, the precompression execution length data "* 16" of the 9th line shows the 14-bit header (00000000000000) which shows that the same background pixel color "..." continues to the end of a line, and the background pixel color "*". It is encoded with 16 bits (0000000000000000) which combines two bits of pixel data (00).

또, 상기 규칙 5 에 기초한 인코드는 압축 대상 데이타가 라인의 도중에서 시작라인 종료까지 계속하고 있는 경우에도 적용된다.The encoding based on Rule 5 also applies to the case where the data to be compressed continues from the middle of the line to the end of the start line.

제 10 도는 본 발명에 기초하여 인코드된 화상 정보(제 3 도의 31+32+33)를 가진 고밀도 광디스크의, 양산으로부터 이용자 측에 있어서의 재생까지의 흐름을 설명하는 동시에 ; 본 발명에 기초하여 인코드된 화상 정보의, 방송/케이블 배신(配信)으로부터 이용자/가입자에 있어서의 수신/재생까지의 흐름을 설명하는 블록도이다.FIG. 10 explains the flow from mass production to reproduction on the user side of a high-density optical disc having encoded image information (31 + 32 + 33 in FIG. 3) based on the present invention; It is a block diagram explaining the flow from broadcast / cable distribution to reception / reproduction by a user / subscriber of encoded image information based on the present invention.

예컨대 제 7 도의 중간 부분에 도시된 바와 같은 압축전 실행길이 데이타가 제 10 도의 인코더(200)에 입력되면, 인코더(200)는 예컨대 제 5 도의 압축 규칙 1∼6 에 기초한 소프트웨어 처리에 의해 입력된 데이타가 실행길이 압축 (인코드)된다.For example, if the pre-compression execution length data as shown in the middle part of FIG. 7 is input to the encoder 200 of FIG. 10, the encoder 200 is input by software processing based on the compression rules 1 to 6 of FIG. Data is run-length compressed (encoded).

제 1 도에 도시된 바와 같은 광디스크(OD)에 제 2 도에 도시된 바와 같은 논리 구성의 데이타가 기록되는 경우는 제 10 도의 인코더(200)에 의한 실행길이 압축처리(인코드처리)는 제 3 도의 부영상 데이타에 대하여 실시된다.When data having a logical configuration as shown in FIG. 2 is recorded on the optical disc OD as shown in FIG. 1, the execution length compression process (encoding process) by the encoder 200 of FIG. 3 degrees of sub-image data are performed.

제 10 도의 인코더(200)에는 상기 광디스크(OD)를 완성시키는 것에 필요한 여러가지의 데이타도 입력된다. 이들의 데이타는 예컨대 MPEG(Mortion Picture Expert Group)의 규격에 기초하여 압축되고, 압축후의 디지탈 데이타가 레이저 컷팅 머신(202) 또는 변조기/송신기(210)에 보내어진다.The encoder 200 of FIG. 10 also receives various data necessary for completing the optical disc OD. These data are compressed, for example, based on the specification of the Motion Picture Expert Group (MPEG), and the digital data after compression is sent to the laser cutting machine 202 or the modulator / transmitter 210.

레이저 컷팅 머신(202)에 있어서, 도시생략한 머더 디스크에 인코더 (200)로부터의 MPEG 압축 데이타가 컷팅되어 광디스크 마스터(204)가 제조된다.In the laser cutting machine 202, MPEG compressed data from the encoder 200 is cut into a mother disk, not shown, to produce an optical disk master 204.

2매 첩합 고밀도 광디스크 양산 설비(200)에서는 이 마스터(204)를 이형으로 하여, 예컨대 두께 0.6 밀리의 폴리카보네이트 기판상의 레이저광 반사막에 마스터의 정보가 전사된다. 각각 별도의 마스터 정보가 전사된 대량 2매의 폴리카보네이트 기판은 첩합되어 두께 1.2 밀리의 양면 광디스크(혹은 한쪽면 판독형 양면 디스크)가 된다.In the two-pack high-density optical disk mass production facility 200, the master 204 is released, and the master information is transferred to a laser light reflecting film on a polycarbonate substrate having a thickness of 0.6 mm, for example. A large quantity of two polycarbonate substrates on which separate master information has been transferred are bonded together to form a double-sided optical disc (or single-sided double-sided disc) of 1.2 millimeters in thickness.

설비(206)에서 양산된 첩합 고밀도 광디스크(OD)는 각종 시장에 반포되어 이용자의 가까이에 있다.The bonded high-density optical disc OD produced at the facility 206 is distributed to various markets and is near the user.

반포된 디스크 OD는 이용자의 재생장치(300)로 재생된다. 이 장치(300)는 인코더(200)로 인코드된 데이타를 원래의 정보로 복원하는 디코더(101)를 구비하고 있다. 디코더(101)로 디코드된 정보는 예컨대 이용자의 모니터 TV 에 보내어져서 영상화된다. 이렇게 해서, 마지막 이용자는 대량 반포된 디스크(OD)로부터 원래의 영상 정보를 볼 수 있게 된다.The distributed disk OD is reproduced by the playback device 300 of the user. The apparatus 300 includes a decoder 101 for restoring data encoded by the encoder 200 to original information. The decoded information by the decoder 101 is sent to the user's monitor TV and imaged, for example. In this way, the last user can see the original video information from the mass distributed disc OD.

한편, 인코더(200)로부터 변조기/송신기(210)에 보내어진 압축 정보는 소정의 규격에 따라서 변조되어 송신된다. 예컨대, 인코더(200)로부터의 압축 영상 정보는 대응하는 음성 정보와 동시에 위성방송(212)된다. 또는, 인크더(200)로부터의 압축 영상 정보는 대응하는 음성 정보와 동시에 케이블 전승(212)된다.On the other hand, the compressed information sent from the encoder 200 to the modulator / transmitter 210 is modulated and transmitted according to a predetermined standard. For example, the compressed image information from the encoder 200 is satellite broadcasted 212 simultaneously with the corresponding audio information. Alternatively, the compressed image information from the encoder 200 is cabled 212 simultaneously with the corresponding audio information.

방송 또는 케이블 전송된 압축 영상/음성 정보는 이용자 또는 가입자의 수신기/원상회복기(400)로 수신된다. 이 수신기/원상회북기(400)는 인코더(200)로 인코드된 데이타를 원래의 정보에 복원하는 디코더(101)를 구비하고 있다. 디코더(101)로 디코드된 정보는 예컨대 이용자의 모니터 TV 에 보내어지고 영상화된다. 이렇게 해서, 마지막 이용자는 방송 또는 케이블 전송된 압축 영상 정보로부터 원래의 영상 정보를 볼 수 있게 된다.Broadcast or cabled compressed video / audio information is received by the receiver / recovery unit 400 of the user or subscriber. The receiver / circular norther 400 has a decoder 101 for restoring the data encoded by the encoder 200 to the original information. The decoded information by the decoder 101 is sent to the user's monitor TV and imaged, for example. In this way, the last user can view the original video information from the compressed video information transmitted by the broadcast or cable transmission.

제 11 도는 본 발명에 기초한 화상디코드(실행길이 신장)을 실행하는 디코더 하드웨어의 일실시 형태(넌인터레이스 규정)를 도시한 블록도이다. 실행길이 압축된 부영상 데이타 SPD(제 3 도의 데이타(32) 상당)를 디코드하는 디코더(101)(제 10 도참조)는 제 11 도와 같이 구성할 수 있다.FIG. 11 is a block diagram showing one embodiment (noninterlacing rule) of decoder hardware for executing image decoding (execution length extension) based on the present invention. The decoder 101 (see FIG. 10) which decodes the execution length compressed sub-picture data SPD (equivalent to the data 32 of FIG. 3) can be configured as shown in FIG.

이하, 제 11 도를 참조하면서, 제 4 도에 도시된 바와 같은 포맷의 실행길이 압축된 화소 데이타를 포함하는 신호를 실행길이 신장하는 부영상 데이타디코더에 관해서 설명한다.Hereinafter, with reference to FIG. 11, a sub-picture data decoder for extending the execution length of a signal including the execution length compressed pixel data in the format as shown in FIG. 4 will be described.

제 11 도에 도시된 바와 같이, 이 부영상 디코더(101)는 부영상 데이타 SPD 가 입력되는 데이타 I/0(102)와 ; 부영상 데이타 SPD 를 보존하는 메모리(108)와; 이 메모리(108)의 판독/기록 동작을 제어하는 메모리 제어부(105)와; 메모리 (108)로부터 독출된 부호 데이타 (실행길이 압축된 화소 데이타)의 실행정보로부터 1단위(1블록)의 계속 코드길이(부호화 헤더)를 검지하고, 그 계속 코드길이의 잘린 정보를 출력하는 계속 코드길이 검지부(106)와; 이 계속 코드길이 검지부(106)로부터의 정보에 따라서 1블록분의 부호 데이타를 취출하며 부호 데이타 절분부(103)와; 이 부호 데이타 절분부(103)로부터 출력되는 것으로서 1압축 단위의 실행 정보를 도시한 신호와, 계속 코드길이 검지부(106)로부터 출력되는 것으로서 데이타 비트의 「0」이 1블록분의 부호 데이타의 선두로부터 몇개 연속하고 있는지라는 「0」비트 연속수를 도시한 신호(기간신호)를 수취하고, 이들의 신호로부터 1블록의 계속 화소수를 계산하는 실행길이 설정부(107)와; 부호 데이타 절분부(103)로부터의 화소색 정보와 실행길이 설정부(107)로부터 출력된 기간 신호를 수취하며, 그 기간만큼 색정보를 출력하는 화소색 출력부 (104)(Fast-in/Fast-out 타입)과; 메모리(108)로부터 독출된 부영상 데이타 SPD 증의 헤더 데이타(제 4 도 참조)를 판독하고, 판독한 데이타에 기초하여 각종 처리 설정 및 제어를 행하는 마이크로 컴퓨터(112)와; 메모리(108)의 판독/기록 어드레스를 제어하는 어드레스 제어부(109)와; 실행 정보가 존재하지 않은 라인에 대한 색 정보가 마이크로 컴퓨터(112)에 의해 설정되는 부족 화소색 설정부(111)와; TV 화면 등에 부영상을 표시할 때의 표시 영역을 결정하는 표시 유효 허가부(110)등으로 구성되어 있다.As shown in Fig. 11, this sub-picture decoder 101 includes data I / 0 102 to which sub-picture data SPD is inputted; A memory 108 for storing sub-picture data SPD; A memory control section 105 which controls the read / write operation of the memory 108; From the execution information of the code data (execution length compressed pixel data) read out from the memory 108, a continuous code length (encoding header) of one unit (one block) is detected, and the continuation of outputting the truncated information of the code length is continued. A code length detection unit 106; A code data cutting unit 103 for extracting code data for one block in accordance with the information from the code length detecting unit 106; A signal showing execution information in units of one compression unit as output from the code data splitting section 103 and a "0" of the data bit as the output from the code length detection section 106 are the heads of the code data for one block. An execution length setting unit 107 which receives a signal (period signal) showing the number of consecutive "0" bits from the number of continuous lines, and calculates the number of continuous pixels of one block from these signals; A pixel color output unit 104 (Fast-in / Fast) that receives pixel color information from the code data cutting unit 103 and a period signal output from the execution length setting unit 107, and outputs color information for that period. -out type); A microcomputer 112 that reads the header data (see FIG. 4) of the sub-picture data SPD data read out from the memory 108, and performs various processing settings and control based on the read data; An address control unit 109 for controlling the read / write address of the memory 108; An insufficient pixel color setting unit 111 in which color information on a line where execution information does not exist is set by the microcomputer 112; And a display valid permission unit 110 for determining a display area when displaying a sub-picture on a TV screen or the like.

또, 제 53 도∼제 57 도의 설명에서 언급되지만, 디코더(101)의 MPU(112)에는 시스템 타이머(120) 및 버퍼(121)가 접속되어 있다.In addition, although mentioned in the description of FIGS. 53-57, the system timer 120 and the buffer 121 are connected to the MPU 112 of the decoder 101. As shown in FIG.

상기 설명을 별도의 설명으로 다시 설명하면 다음과 같다. 즉, 제 11 도에 도시된 바와 같이, 실행길이 압축된 부영상 데이타 SPD 는 데이타 I/0(102)를 통하여, 디코더(101) 내부의 버스에 보내어진다. 버스에 보내진 데이타 SPD 는 메모리 제어부(105)를 통하여 메모리(108)로 보내어지고, 이곳에 기억된다.The above description will be described again as a separate description as follows. That is, as shown in FIG. 11, the execution length compressed sub-picture data SPD is sent to the bus inside the decoder 101 through the data I / 0 102. As shown in FIG. The data SPD sent to the bus is sent to the memory 108 through the memory control section 105 and stored there.

또한, 디코더(101)의 내부 버스는 부호 데이타 절분부(103)와, 계속 코드길이 검지부(106)와, 마이크로 컴퓨터(MPU 또는 CPU)(112)에 접속되어 있다.In addition, the internal bus of the decoder 101 is connected to the code data cutting unit 103, the code length detection unit 106, and the microcomputer (MPU or CPU) 112.

메모리(108)로부터 독출된 부영상 데이타의 부영상 유닛 헤더(31)는 마이크로 컴퓨터(112)에 의해 판독된다. 마이크로 컴퓨터(112)는 독출한 헤더(31)로부터, 제 4 도에 도시된 각종 파라미터에 기초하여, 어드레스 제어부(109)에 디코드 개시 어드레스(SPDDADR)를 설정하며, 표시 유효 허가부(110)에 부영상의 표시 개시위치와 표시폭과 표시 높이의 정보(SPDSIZE)를 설정하고, 부호 데이타 절분부(103)에 부영상의 표시폭(라인상의 도트수)를 설정한다. 설정된 각종 정보는 각부(109,110,103)의 내부 레지스터에 보존된다. 그 이후, 레지스터에 보존된 각종 정보는 마이크로 컴퓨터(112)에 의해 액섶幟할 수 있게 된다.The sub picture unit header 31 of the sub picture data read out from the memory 108 is read by the microcomputer 112. The microcomputer 112 sets the decoding start address SPDDADR in the address control unit 109 based on the various parameters shown in FIG. 4 from the read header 31 and in the display valid permission unit 110. The display start position of the sub-picture, the display width and the information (SPDSIZE) of the display height are set, and the display width (the number of dots on a line) of the sub-picture is set in the code data interceptor 103. The set various pieces of information are stored in the internal registers of the units 109, 110, and 103. After that, the various information stored in the register can be accessed by the microcomputer 112.

어드레스 제어부(109)는 레지스터에 설정된 디코드 개시 어드레스(SPDDADR)에 기초하여, 메모리 제어부(105)를 통하여 메모리(108)에 액섶幟하고, 디코드하고자 하는 부영상 데이타의 독출을 개시한다. 이렇게 해서 메모리(108)로부터 독출된 부영상 데이타는 부호 데이타 절출부(103) 및 계속 코드길이 검지부(106)에 부여된다.The address control unit 109 accesses the memory 108 via the memory control unit 105 based on the decoding start address SPDDADR set in the register, and starts reading the sub-picture data to be decoded. In this way, the sub-picture data read out from the memory 108 is provided to the code data cutting section 103 and the continuation code length detecting section 106.

실행길이 압축된 부영상 데이타 SPD의 부호화 헤더(제 5 도의 규칙 2∼5 에서는 2∼14 비트)는 계속 코드길이 검지부(106)에 의해 검출되며, 데이타 SPD 내에서의 동일 화소 데이타의 계속 화소수가 계속 코드길이 검지부(106)로부터의 신호를 기초로 실행길이 설정부(107)에 의해 검출된다,The encoding header (2 to 14 bits in the rules 2 to 5 in FIG. 5) of the execution length compressed sub-picture data SPD is continuously detected by the code length detection unit 106, and the number of continuous pixels of the same pixel data in the data SPD is determined. The execution length setting unit 107 is detected based on the signal from the continuation code length detection unit 106,

즉, 계속 코드길이 검지부(106)는 몌모리(108)로부터 판독한 데이타의 0 비트의 수를 세어 부호와 헤더(제 5 도 참조)를 검지한다. 이 검지부(106)는 검지한 부호와 헤더의 값에 따라서, 부호 데이타 절분부(103)에 절분 정보 SEP. INFO. 를 부여한다.In other words, the code length detection unit 106 counts the number of zero bits of data read from the memory 108 and detects the code and the header (see FIG. 5). The detecting unit 106 sends the segment information SEP. To the code data cutting unit 103 according to the detected code and the value of the header. INFO. To give.

부호 데이타 절분부(103)는 부여된 절분 정보 SEP.INFO. 에 따라서, 계속 화소수(실행 정보)를 실행길이 설정부(107)에 설정하는 동시에, 화소 데이타 (SERARATED DATA; 여기서는 화소색)을 FIFO 타입의 화소색 출력부(104)에 설정한다.The code data cutoff section 103 is assigned cutoff information SEP.INFO. According to this, the number of pixels (execution information) is continuously set in the execution length setting unit 107, and the pixel data (SERARATED DATA (here, pixel color)) is set in the pixel color output unit 104 of the FIFO type.

그 때, 부호 데이타 절분부(103)는 부영상 데이타의 화소수를 카운트하고, 화소수 카운트치와 부영상의 표시폭(1라인의 화소수)를 비교하고 있다.At that time, the code data cutting unit 103 counts the number of pixels of the sub-picture data, and compares the pixel count count value with the display width (number of pixels on one line) of the sub-picture.

1라인분의 디코드가 종료된 시점에서 바이트 정렬되어 있지 않은(즉 1라인분의 데이타 비트길이가 8의 배수가 아닌) 경우는 부호 데이타 절분부(103)는 그 라인상의 말미 4비트 데이타를 인코드할 때 부가된 더미 데이타로 간주하여 잘라버린다.If the decode of one line is not byte aligned (that is, the data bit length of one line is not a multiple of 8), the sign data interceptor 103 reads the last four bits of data on that line. When you code, it is regarded as appended dummy data and truncated.

실행길이 설정부(107)는 상기 계속 화소수(실행 정보)와 화소 도트 클록 (DOTCLK)과 수평/수직동기신호(H-SYNC/V-SYNC)에 기초하여, 화소색 출력부(104)에, 화소 데이타를 출력시키기 위한 신호(PERIODSIGNAL)를 부여한다. 그렇게 하면, 화소색 출력부(104)는 화소 데이타 출력신호(PERIODSIGNAL)가 액티브한 동안(즉 같은 화소색을 출력하는 기간중), 부호 데이타 절분부(103)로부터의 화소 데이타를 디코드된 표시 데이타로서 출력한다.The execution length setting unit 107 transmits to the pixel color output unit 104 on the basis of the number of continuous pixels (execution information), the pixel dot clock DOTCLK, and the horizontal / vertical synchronization signal H-SYNC / V-SYNC. And a signal PERIODSIGNAL for outputting pixel data. Then, the pixel color output unit 104 decodes the pixel data from the code data cutting unit 103 while the pixel data output signal PERIODSIGNAL is active (that is, during the period of outputting the same pixel color). Output as.

그 때, 마이크로 컴퓨터(112)로부터의 지시에 의해 디코드 개시 라인이 변경되어 있는 경우에는 실행 정보가 없는 라인이 존재하는 일이 있다. 그 경우에는 부족 화소색 설정부(111)가 미리 설정된 부족 화소색의 데이타 (COLOR INFO.)를 화소색 출력부(104)에 부여한다, 그렇게 하면, 실행 정보가 없는 라인 데이타가 부호 데이타 절분부(103)에 부여되고 있는 동안, 화소색 출력부(104)는 부족 화소색 설정부(111)로부터의 부족 화소색 데이타 (COLOR INFO.)를 출력한다.At that time, when the decoding start line is changed by the instruction from the microcomputer 112, a line without execution information may exist. In that case, the insufficient pixel color setting unit 111 gives the pixel color output unit 104 data of the preset insufficient pixel color to the pixel color output unit 104. Then, the line data without the execution information becomes the code data intercepting unit. While being given to 103, the pixel color output unit 104 outputs the insufficient pixel color data (COLOR INFO.) From the insufficient pixel color setting unit 111.

즉, 제 11 도의 디코더(101)의 경우, 입력된 부영상 데이타 SPD 중에 화상 데이타가 없으면, 마이크로 컴퓨터(112)는 그만큼 부족한 화소색 정보를 부촉 화소색 설정부(111)에 설정하게 되어 있다.That is, in the case of the decoder 101 of FIG. 11, if there is no image data in the inputted sub-picture data SPD, the microcomputer 112 sets the insufficient pixel color information in the auxiliary pixel color setting section 111.

이 화소색 출력부(104)로는 도시생략한 모니터 화면상의 어떤 위치에 디코드된 부영상을 표시시키는가를 결정하는 표시 허가(Display Enable) 신호가, 부영상 화상의 수평/수직 동기신호에 동기하여 표시 유효 허가부(Display Activator)(110)로부터 부여된다. 또안, 마이크로 컴퓨터(112)로부터의 색 정보 지시에 기초하여, 허가부(110)로부터 출력부(104)로 색전환신호가 보내어진다.The pixel color output unit 104 displays a display enable signal for determining which position on the monitor screen, not shown, to display the decoded sub-picture in synchronization with the horizontal / vertical synchronization signal of the sub-picture. It is provided from the display activator 110. In addition, a color conversion signal is sent from the permission unit 110 to the output unit 104 based on the color information instruction from the microcomputer 112.

어드레스 제어부(109)는 마이크로 컴퓨더(112)에 의한 처리 설정후, 메모리 제어부(105), 계속 코드길이 검지부(106), 부호 데이타 절분부(103) 및 실행길이 설정부(107)에 대하여, 어드레스 데이타 및 각종 타이밍신호를 송출한다.The address control unit 109 is configured to process the memory control unit 105, the code length detection unit 106, the code data cutting unit 103, and the execution length setting unit 107 after the processing is set by the microcomputer 112. Address data and various timing signals are sent.

데이타 I/O 부(l02)를 통하여 부영상 데이타 SPD 의 팩이 입력되고, 그것이 메모리(108)에 격납될 때, 이 데이타 SPD 의 팩 헤더의 내용(디코드 개시 어드레스, 디코드 종료 어드레스, 표시 개시위치, 표시폭, 표시 높이 등)이 마이크로 컴퓨터(112)에 의해 판독된다. 마이크로 컴퓨터(112)는 판독한 내용에 기초하여, 표시 유효 허가부(110)에 디코드 개시 어드레스, 디코드 종료 어드레스, 표시 개시위치, 표시폭, 표시 높이 등을 설정한다. 이 때, 압축된 화소 데이타가 몇 비트 구성인지(여기서는 화소 데이타 2비트로 하고 있다)는 제 4 도의 부영상 유닛 헤더(31)의 내용으로 결성할 수 있도록 구성할 수 있다.When the pack of sub-picture data SPD is input via the data I / O section 110, and it is stored in the memory 108, the contents (decode start address, decode end address, display start position) of the pack header of this data SPD , Display width, display height, etc.) are read by the microcomputer 112. The microcomputer 112 sets the decode start address, the decode end address, the display start position, the display width, the display height, and the like in the display valid permission unit 110 based on the read contents. At this time, the number of bits of compressed pixel data (in this case, 2 bits of pixel data) can be configured to form the contents of the sub-picture unit header 31 of FIG.

이하, 압축된 화소 데이타가 2비트 구성(사용 규칙은 제 5 도의 규칙 1∼6)인 경우에 관해서, 제 11도의 디코더(101)의 동작을 설명한다.The operation of the decoder 101 of FIG. 11 will be described below in the case where the compressed pixel data has a 2-bit configuration (the usage rule is the rules 1 to 6 in FIG. 5).

마이크로 컴퓨터(112)에 의해 디코드 개시 어드레스가 설정되면, 어드레스 제어부(109)는 메모리 제어부(1o5)에 대응하는 어드레스 데이타를 보내는 동시에, 계속 코드길이 검지부(106)에 판독 개시신호를 보낸다.When the decoding start address is set by the microcomputer 112, the address control unit 109 sends address data corresponding to the memory control unit 1o5, and continuously sends a read start signal to the code length detection unit 106. FIG.

계속 코드길이 검지부(106)는 보내어져 온 판독 개시신호에 응답하여 메모리 제어부(105)에 판독신호를 보내어 부호화 데이타(압축된 부영상 데이타(32))를 판독한다. 그리고, 이 검지부(106)에 있어서, 판독한 데이타중 상위 2비트 전부가 「0」 인지 아닌지가 체크된다.The code length detection unit 106 then sends a read signal to the memory control unit 105 in response to the read start signal that has been sent to read the encoded data (compressed sub-picture data 32). In the detection unit 106, it is checked whether all of the upper two bits of the read data are "0".

그것이 「0」 이 아닌 경우는 압축 단위의 블록길이가 4비트라고 판정된다 (제 5 도의 규칙 1 참조).If it is not "0", it is determined that the block length of the compression unit is 4 bits (see Rule 1 in Fig. 5).

그것(상위 2비트)이 「0」 이면, 또 계속되는 2비트(상위 4비트)가 체크된다.If it (the upper two bits) is "0", the next two bits (the upper four bits) are checked.

그것이 「0」 이 아닌 경우는 압축 단위의 블록길이가 8비트로 판정된다(제 5 도의 규칙 2 참조).If it is not "0", the block length of the compression unit is determined to be 8 bits (see Rule 2 in Fig. 5).

그것(상위 4비트)이 「어 이면, 또 계속되는 2비트(상위 6비트)가 체크된다.If it (upper 4 bits) is "uh", then the following 2 bits (upper 6 bits) are checked.

그것이 「0」 이 아닌 경우는 압축단위의 블록길이가 l2비트로 판정된다(제 5 도의 규칙 3 참조).If it is not "0", the block length of the compression unit is determined to be l2 bits (see Rule 3 in Fig. 5).

그것(상위 6비트)이 「0」이면, 또 계속되는 8비트(상위 14비트)가 체크된다.If it (the upper six bits) is "0", the next eight bits (upper 14 bits) are checked.

그것이 「0」 이 아닌 경우는 압축단위의 블록길이가 16비트로 판정된다(제 5 도의 규칙 4 참조).If it is not "0", the block length of the compression unit is determined to be 16 bits (see Rule 4 in Fig. 5).

그것(상위 14비트)이 「0」 이면, 압축단위의 블록길이가 16비트인 동시에, 라인 끝까지 같은 화소 데이타가 연속하고 있다고 판정된다(제 5 도의 규칙 5 참조).If it (the upper 14 bits) is "0", it is determined that the block length of the compression unit is 16 bits and the same pixel data continues to the end of the line (see Rule 5 in Fig. 5).

또한, 라인 끝까지 판독한 화소 데이타의 비트수가 8의 정수배이면 그 상태대로 하고, 8의 정수배가 아니면, 바이트 정렬을 실현하기 위해서, 판독한 데이타의 말미에 4비트의 더미 데이타가 필요하다고 판정성된다(제 5 도의 규칙 6 참조).If the number of bits of the pixel data read to the end of the line is an integer multiple of 8, the state is left as it is, and if it is not an integer multiple of 8, it is determined that 4 bits of dummy data are required at the end of the read data in order to realize byte alignment. (See Rule 6 in Figure 5).

부호 데이타 절분부(103)는 계속 코드길이 검지부(106)에 의한 상기 판정 결과에 기초하여, 메모리(108)로부터 부영상 데이타(32)의 1블록분(1압축단위)을 취출한다. 그리고, 절분부(l03)에 있어서, 추출된 1블록분 데이타가, 계속 화소수와 화소 데이타 (화소의 색 정보등)로 절분된다. 절분된 계슥 화소수의 데이타 (RUNINFO.)는 실행길이 설정부(107)에 보내어지고, 절분된 화소 데이타 (SEPARATEDDATA)는 화소색 출력부(104)에 보내어진다.The code data cutting unit 103 continuously extracts one block (one compression unit) of the sub-picture data 32 from the memory 108 on the basis of the determination result by the code length detection unit 106. In the dividing section 03, the extracted one-block data is further divided into the number of pixels and the pixel data (such as pixel color information). The data of the number of segmented successive pixels (RUNINFO.) Is sent to the execution length setting section 107, and the segmented pixel data (SEPARATEDDATA) is sent to the pixel color output section 104.

한편, 표시 유효 허가부(110)는 마이크로 컴퓨터(112)로부터 수취한 표시개시 위치정보, 표시폭 정보 및 표시 높이 정보에 따라서, 장치 외부로부터 공급되는 화소 도트 클록(PIXEL-DOT CLK), 수평 동기신호(H-SYNC) 및 수직 동기신호(V-SYNC)에 동기하여, 부영상 표시 기간을 지정하는 표시 허가신호(이네이블 신호)를 생성한다. 이 표시 허가신호는 실행길이 설정부 (107)에 출력된다.On the other hand, the display valid permission unit 110, in accordance with the display start position information, the display width information and the display height information received from the microcomputer 112, the pixel dot clock (PIXEL-DOT CLK) and horizontal synchronization supplied from the outside of the apparatus. In synchronism with the signal H-SYNC and the vertical synchronizing signal V-SYNC, a display enable signal (enable signal) specifying a sub-picture display period is generated. This display permission signal is output to the execution length setting unit 107.

실행길이 설정부(107)에는 계속 코드길이 검지부(106)로부터 출력되는 것으로서 현재의 블록 데이타가 라인 종료까지 연속하는지 어떤지를 나타낸 신호와, 부호 데이타 절분부(103)로부터의 계속 화소 데이타 (RUN INFO.)가 보내어진다. 실행길이 설정부(107)는 검지부(106)로부터의 신호 및 절분부(103)로부터의 데이타에 기초하여, 디코드중의 블록이 담당하는 화소 도트수를 결정하고, 이 도트수에 대응하는 기간중, 화소색 출력부(104)로 표시허가신호 (출력 이네이블신호)를 출력하도록 구성되어 있다.The execution length setting unit 107 outputs a signal indicating whether or not the current block data continues to the end of the line as output from the code length detection unit 106, and the continuation pixel data (RUN INFO) from the code data cutting unit 103. .) Is sent. The execution length setting unit 107 determines the number of pixel dots that the block in decoding is responsible for based on the signal from the detecting unit 106 and the data from the cutting unit 103, and during the period corresponding to the number of dots. And the display permission signal (output enable signal) to the pixel color output unit 104.

화소색 출력부(104)는 실행길이 설정부(107)로부터의 기간신호 수신중 이네이블이 되고, 그 기간중, 부호 데이타 절분부(103)로부터 수취한 화소색정보를 화소 도트 클록(PIXEL-DOT CLK)에 동기하여, 디코드된 표시 데이타로서, 도시생략한 표시장치 등으로 송출한다. 즉, 디코드중 블록의 화소 패턴 연속도트수분과 같은 표시 데이타가 화소색 출력부(104)로부터 출력된다.The pixel color output unit 104 is enabled during the reception of the period signal from the execution length setting unit 107, and during this period, the pixel color information received from the code data cutting unit 103 is converted into the pixel dot clock PIXEL-. In synchronization with the DOT CLK), the decoded display data is sent to a display device or the like not shown. That is, display data such as the pixel pattern continuous dot number of blocks during decoding is output from the pixel color output unit 104.

또한, 계속 코드길이 검지부(106)는 인코드 데이타가 라인 종료까지 같은 화소색 데이타로 판정하면, 부호 데이타 절분부(103)로 계속 코드길이 16비트용의 신호를 출력하고, 실행길이 설정부(107)에는 라인 종료까지 같은 화소색 데이타임을 나타낸 신호를 출력한다.In addition, when the code length detection unit 106 determines that the encoded data is the same pixel color data until the end of the line, the code length detection unit 106 continuously outputs a signal for 16-bit code length to the code data cutting unit 103, and executes the execution length setting unit ( 107) outputs a signal indicating the same pixel color data until the end of the line.

실행길이 설정부(107)는 검지부(106)로부터 상기 신호를 수취하면, 수평 동기신호 H-SYNC 가 비액티브하게 될 때까지 인코드 데이타의 색 정보가 이네이블 상태를 계속 유지하도록, 화소색 출력부(104)로 출력 이네이블신호(기간 신호)를 출력한다.When the execution length setting unit 107 receives the signal from the detection unit 106, it outputs the pixel color such that the color information of the encoded data continues to be enabled until the horizontal synchronizing signal H-SYNC becomes inactive. The output 104 outputs an output enable signal (period signal).

또, 마이크로 컴퓨터(112)가 부영상의 표시 내용을 화면 이동시키기 위해서 디코드 개시 라인을 변경한 경우는 미리 설정되어 있는 표시 영역내에 디코드 사용으로 하는 데이타 라인이 존재하지 않을(즉 디코드 라인이 부족한) 가능성이 있다.In addition, when the microcomputer 112 changes the decoding start line to shift the display contents of the sub-picture, there is a possibility that no data line for decoding use exists in the preset display area (that is, the decode line is insufficient). There is this.

제 11 도의 디코더(101)는 이러한 경우에 대처하기 위해서, 부촉한 라인을 메우는 화소색 데이타를 미리 준비하고 있다. 그리고, 실제로 라인 부족이 검지되면, 부족 화소색 데이타의 표시모드로 전환된다. 구체적으로 말하면,데이타 종료신호가 어드레스 제어부(109)로부터 표시 유효 허가부(110)에 부여되면, 허가부(110)는 화소색 출력부(104)에 색전환신호(COLOR SW SIGNAL)를 보낸다. 화소색 출력부(104)는 이 전환신호에 응답하여, 부호 데이타로부터의 화소색데이타의 디코드 출력을, 부족 화소색 설정부(110)로부터의 색 정보(COLOR INF0.)의 디코드 출력으로 전환한다. 이 전환 상태는 부족 라인의 표시기간중(DISPLAY ENABLE=액티브) 유지된다.In order to cope with such a case, the decoder 101 of Fig. 11 prepares in advance pixel color data which fills up an enumerated line. When the line shortage is actually detected, the display mode of the insufficient pixel color data is switched. Specifically, when the data end signal is provided from the address control unit 109 to the display valid permission unit 110, the permission unit 110 sends a color switching signal COLOR SW SIGNAL to the pixel color output unit 104. In response to this switching signal, the pixel color output unit 104 switches the decode output of the pixel color data from the code data to the decode output of the color information (COLOR INF0.) From the insufficient pixel color setting unit 110. . This switching state is maintained during the display period of the under line (DISPLAY ENABLE = active).

또, 상기 라인 부족이 생긴 경우, 부족 화소색 데이타를 이용하는 대신에, 그 동안, 디코드 처리 동작을 중지할 수도 있다.When the line shortage occurs, instead of using the insufficient pixel color data, the decoding processing operation can be stopped during that time.

구체적으로는 예컨대 데이타 종료신호가 어드레스 제어부(109)로부터 표시유효 허가부(110)로 입력되었을 때에, 허가부(110)로부터 화소색 출력부(104)로 표시 중지를 지정하는 색전환신호를 출력하면 된다. 그렇게 하면, 화소색출력부(104)는 이 표시 중지 지정색 전환신호가 액티브 기간중, 부영상의 표시를 중지하게 된다.Specifically, for example, when a data end signal is input from the address control unit 109 to the display valid permission unit 110, a color conversion signal for designating a stop of display from the permission unit 110 to the pixel color output unit 104 is output. Just do it. In such a case, the pixel color output unit 104 stops displaying the sub-image during the active display period designation color change signal.

제 8 도는 제 7 도의 예로 인코드된 화소 데이타 (부영상 데이타)중, 문자패턴 「A」 가 어떻게 디코드되는지를, 2예(넌인터레이스 표시 및 인터레이스 표시)를 들어 설명하는 것이다.8 illustrates two examples (non-interlaced display and interlaced display) of how the character pattern "A" is decoded among pixel data (sub-picture data) encoded as an example of FIG.

제 11 도의 디코더(101)는 제 8 도의 상부에 도시된 바와 같은 압축 데이타를제 8 도의 좌측 하부에 도시된 바와 같은 넌인터레이스 표시 데이타에 디코드하는 경우에 이용할 수 있다.The decoder 101 of FIG. 11 can be used in the case of decoding compressed data as shown in the upper part of FIG. 8 into non-interlaced display data as shown in the lower left of FIG.

이것에 대하여, 제 8 도의 상부에 도시된 바와 같은 압축 데이타를 제 8 도의 우측 하부에 도시된 바와 같은 인터레이스 표시 데이타에 디코드하는 경우는 동일 화소 라인을 2번 스캔하는 라인 더블러(doubler)(예컨대, 홀수 필드의 라인 #1과 같은 내용의 라인 #10을, 짝수 필드에 있어서 재스캔한다; V-SYNC 단위의 전환)이 필요해진다.On the other hand, in the case of decoding the compressed data as shown in the upper part of FIG. 8 into the interlace display data as shown in the lower right of FIG. 8, a line doubler (for example, scanning the same pixel line twice) (for example, Line # 10 having the same content as line # 1 of the odd field is rescanned in the even field; V-SYNC unit switching) is required.

또한, 인터레이스 표시와 동등한 화상 표시량을 넌인터레이스 표시하는 경우는 별도의 라인 더블러(예컨대, 제 8 도 우측 하부의 라인 #1과 같은 내용을 가진 라인 #10을 라인 #1에 연속시킨다; H-SYNC 단위의 전환)가 필요하게 된다.In the case of non-interlaced display of an image display amount equivalent to interlace display, another line doubler (e.g., line # 10 having the same content as line # 1 in the lower right of FIG. 8 is continued to line # 1; H- SYNC unit switching).

제 12 도는 상기 라인 더블러의 기능을 가진 디코더 하드웨어의 실시 형태(인터레이스 규정)를 설명하는 블록도이다. 제 10 도의 디코더(101)는 제 12 도의 구성의 디코더로 구성할 수도 있다.Fig. 12 is a block diagram illustrating an embodiment (interlacing rule) of decoder hardware having the function of the above line doubler. The decoder 101 of FIG. 10 can also be configured as a decoder of FIG.

제 12 도의 구성에 있어서, 마이크로 컴퓨터(112)는 부영상의 수평/수직 동기신호에 기초하여, 인터레이스 표시의 홀수 필드와 짝수 필드의 발생 타이밍을 검지하고 있다.In the structure of FIG. 12, the microcomputer 112 detects the generation timing of the odd field and even field of the interlace display based on the horizontal / vertical synchronization signal of the sub-picture.

홀수 필드를 검지하면, 마이크로 컴퓨터(112)는 선택신호 생성부(118)에 「현재 홀수 필드임」 을 나타낸 모드 신호를 부여한다. 그렇게 하면, 선택신호 생성부(118)로부터 셀렉터(115)로, 디코더(101)로부터의 디코드 데이타를 선택시키는 신호가 출력된다. 그렇게 하면, 홀수 필드의 라인 #1∼#9의 화소 데이타 (제 8 도의 우측 하부 참조)가, 디코더(101)로부터 셀렉터(115)를 통하여, 비디오 출력으로서 외부로 송출된다. 이 때, 이들 홀수 필드의 라인 #1∼#9 의 화소 데이타는 일단, 라인 메모리(114)에 격납된다.When the odd field is detected, the microcomputer 112 gives the selection signal generation unit 118 a mode signal indicating "current odd field". By doing so, a signal for selecting the decoded data from the decoder 101 is output from the selection signal generator 118 to the selector 115. Then, pixel data (see lower right in FIG. 8) of the odd field lines # 1 to # 9 is sent out from the decoder 101 through the selector 115 to the outside as a video output. At this time, the pixel data of the lines # 1 to # 9 of these odd fields are stored in the line memory 114 once.

짝수 필드로 이동된 것을 검지하면, 마이크로 컴퓨터(112)는 선택신호 생성부(118)에 「현재 짝수 필드임」을 나타낸 모드신호를 부여한다. 그렇게 하면, 선택신호 생성부(118)로부터 셀렉터(115)로, 라인 메모리(114)에 격납된 것을 선택시키는 신호가 출력된다. 그렇게 하면, 짝수 필드의 라인 #10∼#18의 화소 데이타 (제 8 도의 우측 하부 참조)가, 라인 메모리(114)로부터 셀렉터 (115)를 통하여 비디오 출력으로서 외부로 송출된다.Upon detecting the shift to the even field, the microcomputer 112 gives the selection signal generation unit 118 a mode signal indicating "is the current even field". By doing so, a signal for selecting the one stored in the line memory 114 is output from the selection signal generator 118 to the selector 115. Then, pixel data (see lower right in FIG. 8) of lines # 10 to # 18 of even fields is sent out from the line memory 114 to the outside as a video output via the selector 115.

이렇게 하여, 홀수 필드의 라인 #1∼#9의 부영상 화상(제 8 도의 예에서는 문자「A」)과, 짝수 필드의 라인 #10∼#18의 부영상 화상(제 8 도의 문자 「A」 )이 합성되어 인터레이스 표시가 실현된다.In this way, the sub-picture image of the lines # 1 to # 9 of the odd field (character "A" in the example of FIG. 8) and the sub-picture image of the lines # 10-# 18 of the even field (character "A" in FIG. 8). ) Is combined to realize interlace display.

그런데, 제 4 도에 도시한 부영상 데이타의 부영상 유닛 헤더(31)에는 TV 화면의 프레임 표시 모드/필드 표시 모드를 나타낸 파라미터 비트(SPMOD)가 설치되어 있다.By the way, in the sub-picture unit header 31 of the sub-picture data shown in FIG. 4, parameter bits SPMOD indicating the frame display mode / field display mode of the TV screen are provided.

인터레이스 표시와 동등한 화상 표시량을 넌인터레이스 표시하는 경우는 예컨대 아래와 같다.A noninterlaced display of an image display amount equivalent to interlaced display is, for example, as follows.

제 12 도의 마이크로 컴퓨터(l12)는 부영상 유닛 헤더(31)를 판독할 때, 상기 파라미터 SPMOD의 설정치(엑티브= 「1」; 비액티브= 「0」으로부터, 인터레이스 모드(액티브 「1」인지 넌인터레이스 모드인지(비액디브 「0」를 판단할 수 있다.When the microcomputer 11 of FIG. 12 reads the sub-picture unit header 31, it is determined whether the interlaced mode (active "1") is set from the set value (active = "1"; inactive = "0") of the parameter SPMOD. Whether it is in interlace mode (non-active "0" can be determined.

제 12 도의 구성에 있어서, 파라미터 SPMOD 가 액티브= 「1」 이면, 마이크로 컴퓨터(112)는 인터레이스 모드인 것을 검지하고, 인터레이스 모드를 나타낸 모드신호를 선택신호 생성부(118)에 보낸다. 이 모드신호를 받은 생성부(118)는 수평 동기신호 H-SYNC의 발생마다, 전환신호를 셀렉터(115)에 부여한다. 그렇게 하면, 셀렉터(115)는 부영상 디코더(101)로부터의 현재 필드의 디코드 출력 (DECODEDMTA)과 라인 메모리(114)에 일시 기억된 현재 필드의 디코드 출력을 수평 동기신호 H-SYNC 의 발생마다 번갈아 전환하여 비디오 출력을 외부 TV 등에 송출한다.In the configuration of FIG. 12, when the parameter SPMOD is active = " 1 ", the microcomputer 112 detects that it is in the interlaced mode, and sends the mode signal indicating the interlaced mode to the selection signal generator 118. The generation unit 118 receiving this mode signal gives the selector 115 a switching signal for each occurrence of the horizontal synchronizing signal H-SYNC. The selector 115 then alternates between the decode output (DECODEDMTA) of the current field from the sub-picture decoder 101 and the decode output of the current field temporarily stored in the line memory 114 for each occurrence of the horizontal synchronization signal H-SYNC. Switch and send the video output to an external TV.

이상과 같이하여, 현재의 디코드 데이타와 라인 메모리(114)내의 디코드 데이타가 H-SYNC 마다 전환하여 출력되면, TV 화면상에는 원래의 화상(디코드된 데이타)의 2배의 밀도(수평 주사선이 2배)를 가진 영상이 인터레이스 모드로 표시된다.As described above, when the current decoded data and the decoded data in the line memory 114 are switched for each H-SYNC and outputted, twice the density (horizontal scanning line is twice the original image (decoded data)) on the TV screen. The image with) is displayed in interlaced mode.

이러한 구성의 부영상 디코더(101)에서는 데이타가 1라인분 판독되고 나서 디코드 처리되는 것은 아니고, 순서 입력되는 비트 데이타가 디코드 데이타 단위 블록의 처음으로부터 1비트씩 카운트되면서 2∼16 비트 판독되어 디코드 처리된다. 이 경우, 디코드 데이타 1단위의 비트길이(4비트, 8비트, 12비트, 16비트 등)는 디코드 직전에 검지된다. 그리고, 검지된 데이타길이 단위로 압축된 화소 데이타가 예컨대 3종류의 화소(제 7 도의 예에서는 「·」 , 「o」 , 「#」 )로 실시간으로 복원(재생)된다.In the sub-picture decoder 101 having such a configuration, data is not decoded after being read for one line, but the bit data inputted sequentially is read out from 2 to 16 bits while being counted one bit from the beginning of the decode data unit block to decode. do. In this case, the bit length (4 bits, 8 bits, 12 bits, 16 bits, etc.) of one unit of decode data is detected immediately before decoding. Then, the pixel data compressed in the detected data length unit is reconstructed (reproduced) in real time into three types of pixels ("*", "o", "#" in the example of FIG. 7, for example).

예컨대 제 5 도의 규칙 1∼규칙 6 에 따라서 인코드된 화소 데이타를 디코드함에 있어서, 부영상 디코더(101)는 비트 카운터와 비교적 소용량의 데이타 버퍼(라인 메모리(114)등)을 구비하고 있으면 좋다. 바꾸어 말하면, 부영상 디코더(101)의 회로 구성은 비교적 단순한 것으로 할 수 있으며, 이 인코더를 포함하는 장치 전체를 소형화할 수 있다.For example, in decoding pixel data encoded according to the rules 1 to 6 of FIG. 5, the sub-picture decoder 101 may include a bit counter and a relatively small data buffer (line memory 114, etc.). In other words, the circuit configuration of the sub-picture decoder 101 can be made relatively simple, and the whole apparatus including this encoder can be miniaturized.

즉, 본 발명 인코더는 종래의 MH 부호화 방법과 같이 디코더내에 대규모인 코드표를 필요로 하지 않으며, 또한 산술인코드 방법과 같이 인코드시간에 데이타를 2번 읽을 필요도 없어진다. 또 , 본 발명의 디코더는 승산기와 같은 비교적 복잡한 하드웨어를 필요로 하지 않으며, 카운터 및 소용량 버퍼 등이 간단한 회로의 추가로 구현될 수 있다.That is, the encoder of the present invention does not require a large code table in the decoder as in the conventional MH coding method, and also eliminates the need to read data twice at the encoding time as in the arithmetic encoding method. In addition, the decoder of the present invention does not require relatively complicated hardware such as a multiplier, and a counter and a small buffer can be implemented by addition of a simple circuit.

본 발명에 의하면, 다종류의 화소 데이타 (2 비트 구성으로는 최대 4종류)의 실행길이 압축/인코드 및 그 실행길이 신장/디코드를 비교적 간단한 구성으로 실현할 수 있게 된다.According to the present invention, the execution length compression / encoding and the execution length extension / decoding of various kinds of pixel data (up to four types in a 2-bit configuration) can be realized with a relatively simple configuration.

제 13 도는 본 발명의 일실시의 형태에 관한 화상 인코드(실행길이 압축)를 실행하는 것으로서, 예컨대 제 10 도의 인코더(200)에 의해 실행되는 소프트웨어를 설명하는 흐름도이다.FIG. 13 is a flowchart for explaining the software executed by the encoder 200 of FIG. 10 as executing the image encoding (the execution length compression) according to the embodiment of the present invention.

제 5 도의 실행이 압축 규칙 1∼6 에 기초한 일련의 인코드처리는 제 10 도에 도시된 인코더(200) 대부의 마이크로 컴퓨터에 의해 소프트웨어 처리로서 실행된다. 인코더(200)에 의한 인코드 전체의 처리는 제 13 도의 흐름에 따라서 행할수 있으며, 부영상 데이타중의 화소 데이타의 실행길이 압축은 제 14 도의 흐름에 따라서 행할수 있다.(여기서는 제 3 도의 표시제어 순서 테이블 DCSQT (33)부분의 인코드에 관해서는 언급하지 않는다. ∞S어(33) 부분의 인코드에 관해서는 제 53 도를 참조하여 후술한다.)A series of encoding processes in which the execution of FIG. 5 is based on the compression rules 1 to 6 is executed as software processing by a microcomputer of the encoder 200 shown in FIG. The entire encoding process by the encoder 200 can be performed in accordance with the flow of FIG. 13, and the execution length compression of the pixel data in the sub-picture data can be performed in accordance with the flow of FIG. 14. (In this case, the display of FIG. The encoding of the control sequence table DCSQT 33 is not referred to. The encoding of the ∞S 33 portion will be described later with reference to FIG. 53.)

이 경우, 인코더(200) 내부의 컴퓨터는 먼저, 키입력 등에 의해서 화상 데이타의 라인수와 도트수가 지정되면(단계 ST801), 부영상 데이타의 헤더 영역을 준비하고, 라인 카운트수를 「0」 으로 초기화한다(단계 ST802).In this case, the computer inside the encoder 200 first prepares the header area of the sub-picture data when the line number and the dot number of the image data are designated by key input or the like (step ST801), and sets the line count number to "0". Initialize (step ST802).

그리고 화소 패턴이 1화소씩 순서 입력되면, 인코더(200) 내부의 컴퓨터는 최초의 1화소분의 화소 데이타(여기서는 2비트)를 취득하고, 그 화소 데이타를 보존하며, 화소 카운트를 「1」로 설정하는 동시에, 도트 카운트수를 「1」 로 설정한다(단계 ST803).When the pixel patterns are input one by one, the computer inside the encoder 200 acquires the pixel data of the first one pixel (two bits in this case), saves the pixel data, and sets the pixel count to "1". At the same time, the dot count number is set to "1" (step ST803).

계속해서, 인코더(200)의 내부 컴퓨터는 다음 화소 패턴의 화소 데이타 (2비트)를 취득하고,1개 전에 입력된 보존중의 화소 데이타와 비교한다(단계ST804).Subsequently, the internal computer of the encoder 200 acquires the pixel data (two bits) of the next pixel pattern and compares it with the pixel data in storage which has been input before one (step ST804).

이 비교 결과, 화소 데이타가 같지 않은 경우는 (단계 ST805의 아니오), 인코드 변환처리 1 이 행해져서(단계 ST806), 현재의 화소 데이타가 보존된다 (단계l ST807). 그리고 화소 카운트수가 +1 증가되고, 이것에 대응하여 도트 카운트수도 +1 증가된다(단계 ST808).As a result of this comparison, if the pixel data is not the same (NO in step ST805), the encoding conversion process 1 is performed (step ST806), and the current pixel data is stored (step ST807). The pixel count number is increased by +1, and the dot count number is also increased by +1 in correspondence with this (step ST808).

또, 단계 ST804 에서의 비교 결과, 화소 데이타가 같은 경우는(단계 ST805 예), 단계 ST8O6의 인코드 변환처리 1 은 스킵되어 단계 ST808로 진행한다.If the pixel data is the same as a result of the comparison in step ST804 (YES in step ST805), the encoding conversion processing 1 in step ST8O6 is skipped and the process proceeds to step ST808.

화소 카운트수 및 도트 카운트수의 증가(단계 ST808) 후, 인크더(200)의 내부 컴퓨터는 현재 인코드중인 화소 라인이 종단인지 어떤지 체크한다(단계 ST809). 라인 종료이면(단계 ST809 예), 인코드 변환처리 2가 행해진다(단계 ST810). 라인 종료가 아니면(단계 ST809 아니오) 단계 ST804로 되돌아가고, 단계 ST804∼단계 ST808의 처가 반복된다.After the increase in the pixel count number and the dot count number (step ST808), the internal computer of the encoder 200 checks whether the pixel line currently being encoded is the end (step ST809). If the line is terminated (YES in step ST809), encoding conversion processing 2 is performed (step ST810). If the line is not terminated (NO in step ST809), the process returns to step ST804, and the processing of steps ST804 to ST808 is repeated.

단계 ST810의 인코드 변환처리 2 가 끝나면, 인코더(200) 내부의 컴퓨터는 인코드후의 비트열이 8비트의 정수배(바이트 정렬된 상태)인지 어떤지 체크한다 (단계 ST81lA). 바이트 정렬되어 있지 않으면(단계 ST811A 아니오), 인코드후의 비트열의 말미에 4비트의 더미 데이타 (0000)가 추가된다(단계 ST811B). 이 더미 추가 처리후, 혹은 인코드후의 비트열이 바이트 정렬되어 있으면(단계 ST811A 예), 인코더내 컴퓨터의 라인 카운터(마이크로 컴퓨터 내부의 범용 레지스터 등)가 +1 증가된다(단계 ST812).After the encoding conversion processing 2 of step ST810 is finished, the computer inside the encoder 200 checks whether the bit string after encoding is an integer multiple of 8 bits (byte aligned) (step ST81lA). If the bytes are not aligned (NO in step ST811A), 4-bit dummy data 0000 is added to the end of the bit string after encoding (step ST811B). After the dummy addition process or after the encoded bit string is byte aligned (YES in step ST811A), the line counter of the computer in the encoder (such as a general register in the microcomputer) is increased by +1 (step ST812).

라인 카운터의 증가후, 최종 라인에 도달하고 있지 않으면(단계 ST813 아니오), 단계 ST803로 되돌아가고, 단계 ST803∼단계 ST812의 처리가 반복된다.If the last line is not reached after the line counter is incremented (NO in step ST813), the process returns to step ST803, and the processes of steps ST803 to ST812 are repeated.

라인 카운터의 증가후, 최종 라인에 도달하고 있으면(단계 ST813 예), 인코드 처리(여기서는 2비트 화소 데이타의 비트열의 실행길이 압축)가 종료한다.If the last line is reached after the line counter is incremented (YES in step ST813), the encoding process (here, execution length compression of the bit string of the 2-bit pixel data) ends.

제 14 도는 제 l3 도의 인코드 변환처리 1 의 내용의 일예를 설명하는 흐름도이다.14 is a flowchart for explaining an example of the contents of the encode conversion process 1 in FIG.

제 13 도의 인코드 변환처리 1(단계 ST806)에서는, 인코드 대상 화소 데이타가 2비트폭인 것을 상정하고 있으므로, 제 5 도의 실행길이 압축 규칙 1∼6 이 적용된다.In the encoding conversion process 1 (step ST806) in FIG. 13, since the encoding target pixel data is 2 bits wide, the execution length compression rules 1 to 6 in FIG. 5 are applied.

이들의 규칙 1∼6 에 대응하여, 화소 카운트수가 0(단계 ST901)인지, 화소 카운트수가 1∼3(단계 ST902)인지, 화소 카운트수가 4∼15(단계1 ST903)인지, 화소 카운트수가 16∼63(단계 ST904)인지, 화소 카운트수가 64∼255(단계 ST905)인지, 화소 카운트치가 라인 종료(단계 ST906)를 나타내고 있는지, 화소 카운트수가 256 이상인지(단계 ST907)의 판단이 컴퓨터 소프트웨어에 의해 행해진다.Corresponding to these rules 1 to 6, the pixel count number is 0 (step ST901), the pixel count number is 1 to 3 (step ST902), the pixel count number is 4 to 15 (step 1 ST903), and the pixel count number is 16 to Determination is made by computer software to determine whether it is 63 (step ST904), the pixel count number is 64 to 255 (step ST905), the pixel count value indicates the end of the line (step ST906), or the pixel count is 256 or more (step ST907). All.

인코더(200)의 내부 컴퓨터는 상기 판단 결과에 기초하여, 실행 필드의 비트수(동일 종류의 화소 데이타의 1단위 길이)를 결정하고(단계 ST908∼단계 ST913), 부영상 유닛 헤더(31) 후에, 이 실행 필드 비트수만큼의 영역을 확보한다. 이렇게 해서 확보된 실행 필드에 계속 화소수가 출력되고, 화소 필드에 화소 데이타가 출력되어, 인코더(200) 내부의 기억장치(도시생략)에 기록된다(단계 ST914).The internal computer of the encoder 200 determines the number of bits (one unit length of pixel data of the same type) of the execution field based on the determination result (step ST908 to ST913), after the sub-picture unit header 31. The number of bits of this execution field bit is reserved. The number of pixels continues to be output to the execution field secured in this way, the pixel data is output to the pixel field, and recorded in the storage device (not shown) inside the encoder 200 (step ST914).

제 15 도는 본 발명의 일실시의 형태에 관한 화상 디코드(실탱길이 신장)를 실행하는 것으로서, 예컨대 제 11 도 혹은 제 12 도 마이크로 컴퓨터(112)에 의해 실행되는 소프트웨어를 설명하는 흐름도이다.(여기서는 제 3 도의 표시제어 순서 테이블DCSQT(33)의 디코드에 관해서는 언급하지 않는다. DCSQT(33) 부분의 디코드에 관해서는 제 54 도∼제 57 도를 참조하여 후술한다.)FIG. 15 is a flowchart for explaining software executed by the microcomputer 112 of FIG. 11 or FIG. 12, which executes image decoding (mounting length extension) according to an embodiment of the present invention. The decoding of the display control procedure table DCSQT 33 in Fig. 3 is not mentioned. The decoding of the DCSQT 33 portion will be described later with reference to Figs. 54 to 57.)

또한, 제 16 도는 제 15 도의 소프트웨어로 사용되는 디코드 단계(STl005)의 내용의 일예를 설명하는 흐름도이다.FIG. 16 is a flowchart for explaining an example of the contents of the decode step STl005 used in the software of FIG.

즉, 마이크로 컴퓨터(112)는 실행길이 압축된 부영상 데이타(화소 데이타는 2비트 구성)의 처음의 헤더(31) 부분을 판독하여, 그 내용(제 4 도 참조)을 해석한다. 그리고, 해석된 헤더의 내용에 기초하여 디코드되지만 그렇게 데이타의 라인수 및 도트수가 지정된다. 이들 라인수 및 도트수가 지정되면(단계 ST1001), 라인 카운트수 및 도트 카운트수가 「0」으로 초기화된다(단계 ST1002 ∼단계 ST1003).In other words, the microcomputer 112 reads the first header 31 portion of the execution length-compressed sub-picture data (pixel data has a 2-bit configuration), and interprets the contents (see FIG. 4). And based on the contents of the parsed header, the data is decoded based on the number of lines and dots. If the number of lines and the number of dots are specified (step ST1001), the line count number and dot count number are initialized to "0" (step ST1002 to step ST1003).

마이크로 컴퓨터(112)는 부영상 유닛 헤더(31) 우에 계속되는 데이타 비트열을 순서 입력하여 행하고, 도트수 및 도트 카운트수를 계수한다. 그리고 도트수로부터 도트 카운트수를 뺄셈하여, 계속 화소수를 산출한다(단계 ST1004).The microcomputer 112 sequentially executes a data bit string subsequent to the sub-picture unit header 31, and counts the number of dots and the number of dot counts. Then, the number of dots is subtracted from the number of dots, and the number of pixels is continuously calculated (step ST1004).

이렇게 해서 계속 화소수가 산출되면, 마이크로 컴퓨터(112)는 이 계속 화소수의 값에 따라서 디코드처리를 실행한다(단계 ST1005).When the number of pixels continues to be calculated in this way, the microcomputer 112 performs decoding processing in accordance with the value of the number of pixels continued (step ST1005).

단계 ST1005의 디코드처리후, 마이크로 컴퓨터(112)는 도트 카운트수와 계속 화소수를 가산하고, 이것을 새로운 도트 카운트수로 한다(단계 ST1006).After the decoding process of step ST1005, the microcomputer 112 adds the dot count number and the continuing pixel number, and makes this the new dot count number (step ST1006).

그리고, 마이크로 컴퓨터(112)는 데이타를 순서 입력하는 것으로는 단계 ST1005의 디코드처리를 실행하고, 누적된 도트 카운트수가 처음에 설정한 라인종료수(라인 종료의 위치)와 일치할 때, 1라인분의 데이타에 관하여 디코드처리를 종료한다(단계 ST1007 예).Then, the microcomputer 112 executes the decoding process of step ST1005 by sequentially inputting data, and when the accumulated dot count number coincides with the line end number (position of end of line) initially set, one line is used. The decoding process is terminated with respect to the data of (step ST1007 example).

다음에, 디코드된 데이타가 바이트 정렬되어 있으면(단계 ST1008A 예), 더미 데이타분을 제거한다(단계 ST1008B). 그리고 라인 카운트수를 +1 증가하여 (단계 ST1009), 최종 라인에 도달할 때까지(단계 ST1010 아니오), 단계 ST1002∼단계 ST1009의 처리를 반복한다. 최종 라인에 도달하면(단계 ST1010 예) 디코드는 종료한다.Next, if the decoded data is byte aligned (YES in step ST1008A), the dummy data portion is removed (step ST1008B). The number of line counts is increased by +1 (step ST1009), and the processes of steps ST1002 to ST1009 are repeated until the final line is reached (NO in step ST1010). When the last line is reached (YES in step ST1010), the decoding ends.

제 15 도의 디코드처리 단계 ST1005의 처리 내용은 예컨대 제 16 도에 도시되어 있다.The processing contents of the decoding processing step ST1005 of FIG. 15 are shown in FIG. 16, for example.

이 처리에서는 처음으로부터 2비트를 취득해서는 그 비트가 「0」 인지의 여부의 판정을 반복한다(단계 ST1101∼단계 ST1109). 이것에 의해, 제 5 도의 실행길이 압축 규칙 1∼6 에 대응한 계속 화소수, 즉 실행 연속수가 결성된다(단계 ST1110∼단계 ST1113).In this process, two bits are acquired from the beginning, and the determination as to whether or not the bit is "0" is repeated (steps ST1101 to ST1109). As a result, the number of continuous pixels corresponding to the execution length compression rules 1 to 6 of FIG. 5, that is, the number of continuous executions is formed (steps ST1110 to ST1113).

그리고 실행 연속수가 결정된 후, 그 후에 계속하여 판독한 2비트가 화소 패턴(화소 데이타; 화소의 색정보)이 된다(단계 ST1114).After the execution continuation number is determined, two bits subsequently read into the pixel pattern (pixel data; color information of the pixel) (step ST1114).

화소 데이타(화소의 색정보)가 결정되면, 인덱스 파라미터 「i」 를 0으로 하고(단계 ST1115), 파라미터 「i」가 실행 연속수와 일치할 때까지(단계 ST1116), 2비트 화소 패턴을 출력해서는(단계 ST1117) 파라미터 「i」를 +1 증가시켜(단계 ST1118), 동일한 화소 데이타의 1단위분의 출력을 중단해서 디코드처리를 종료한다.When the pixel data (color information of the pixel) is determined, the index parameter "i" is set to 0 (step ST1115), and the 2-bit pixel pattern is output until the parameter "i" matches the number of execution consecutive numbers (step ST1116). (Step ST1117), the parameter " i " is increased by +1 (step ST1118) to stop the output of one unit of the same pixel data and end the decoding process.

이와 같이, 이 부영상 데이타의 디코드 방법에 의하면, 부영상 데이타의 디코드처리가 수비트의 판정처리와 데이타 블록의 절분 처리와 데이타 비트의 계수처리라는 간단한 처리로 끝난다. 이 때문에, 종래의 MH 인코드 방법등에서 사용되는 대규모인 코드표는 필요하지 않으며, 인코드된 비트 데이타를 원래의 화소 정보에 디코드하는 처리·구성이 간단해진다.As described above, according to the decoding method of the sub-picture data, the decoding processing of the sub-picture data ends with simple processing of determination processing of several bits, segmentation processing of data blocks, and counting processing of data bits. For this reason, a large code table used in the conventional MH encoding method or the like is not necessary, and the processing and configuration for decoding the encoded bit data into the original pixel information are simplified.

또, 상기 실시의 형태에서는 데이타 디코드시에 최대 16비트의 비트 데이타를 판독하면, 같은 화소의 1단위분의 부호 비트길이를 결정할 수 있는 것으로 하였지만, 이 부호 비트길이는 이것에 한정되지 않는다. 예컨대 이 부호 비트길이는 32비트 또는 64비트라도 좋다. 다만 비트길이가 증가하면 그만큼 용량이 큰 데이타 버퍼가 필요해진다.In the above embodiment, the code bit length for one unit of the same pixel can be determined by reading up to 16 bits of bit data during data decoding, but this code bit length is not limited to this. For example, this code bit length may be 32 bits or 64 bits. However, as the bit length increases, a larger data buffer is required.

또한, 상기 실시의 형태에서는 화소 데이타 (화소의 색정보)를 예컨대 16색의 컬러 팰릿으로부터 선택된 3색의 색정보로 하였지만, 이 이외에 색의 3원색 (빨간색 성분 R, 초록색 성분 G, 파랑색 성분 B; 또는 휘도신호 성분 Y, 크로마 적신호 성분 Cr, 크로마 청신호 성분 Cb 등)각각의 진폭 정보를 2비트의 화소 데이타로 표현할 수도 있다. 즉, 화소 데이타는 특정 종류의 색 정보에 한정되는 것은 아니다.Further, in the above embodiment, the pixel data (pixel color information) is set to three color information selected from, for example, sixteen color palettes. In addition, three primary colors (red component R, green component G, and blue component) B; or luminance signal component Y, chroma red signal component Cr, chroma blue signal component Cb, and the like, respectively, amplitude information may be represented by 2-bit pixel data. That is, the pixel data is not limited to a specific kind of color information.

제 l7 도는 제 11 도의 변형예를 도시한다. 제 11 도에서는 마이크로 컴퓨터(112)가 헤더를 잘라 내는 조작을 소프트웨어적으로 행하고 있지만, 제 17 도에서는 헤더의 절출 조작을 디코더(101)의 내부에서 하드웨어적으로 행하고 있다.FIG. 17 shows a modification of FIG. In FIG. 11, the microcomputer 112 cuts out the header in software. In FIG. 17, the header cutting out is performed in hardware inside the decoder 101. In FIG.

즉, 제 17 도에 도시된 바와 같이, 실행길이 압축된 부영상 데이타 SPD 는 데이타 I/OC102)를 통하여 디코더(101) 내부의 버스에 보내어진다. 버스에 보내어진 데이타 SPD 는 메모리 제어부(105)를 통하여 메모리(108)로 보내져서 기억된다. 또한, 디코더(101)의 대부 버스는 부호 데이타 절분부(103)와, 계속 코드길이 검지부(106)와, 마이크로 컴퓨터(MPU 또는 CPU)(112)에 연결된 헤더 절출부(113)에 접속되어 있다.That is, as shown in FIG. 17, the execution length compressed sub-picture data SPD is sent to the bus inside the decoder 101 via the data I / OC102. The data SPD sent to the bus is sent to and stored in the memory 108 through the memory control section 105. The majority bus of the decoder 101 is connected to a code data cutting unit 103, a continuation code length detecting unit 106, and a header cutting unit 113 connected to a microcomputer (MPU or CPU) 112. .

메모리(108)로부터 독출된 부영상 데이타의 부영상 유닛 헤더(31)는 헤더 절출부(113)에 의해 판독된다. 절출부(l13)는 독출한 헤더(31)로부터 제 4 도에 도시된 각종 파라미터에 기초하여, 어드레스 제어부(109)에 디코드 개시 어드레스(SPDDADR)를 설정하고, 표시 유효 허가부(11O)에 부영상의 표시개시 위치와 표시폭과 표시높이와의 정보(SPDSZ)를 설정하고, 부호 데이타 절분부(103)에 부영상의 표시폭(라인상의 도트수)를 설정한다. 설정된 각종 정보는 각부(l09,l10,103)의 내부 레지스터에 보존된다. 그 이후, 레지스터에 보존된 각종 정보는 마이크로 컴퓨터(112)에 의해 액섶幟할 수 있다.The sub-picture unit header 31 of the sub-picture data read out from the memory 108 is read by the header cutting section 113. The cutout part 1313 sets the decoding start address SPDDADR in the address control part 109 based on the various parameters shown in FIG. 4 from the read header 31, and adds it to the display valid permission part 110. The display start position of the image, the information (SPDSZ) of the display width and the display height are set, and the display width (number of dots on a line) of the sub-picture is set in the code data interceptor 103. The set various pieces of information are stored in the internal registers of the respective parts l09, l10, 103. After that, the various information stored in the register can be accessed by the microcomputer 112.

어드레스 제어부(109)는 레지스터에 설정된 디코드 개시 어드레스(SPDDADR)에 기초하여, 메모리 제어부(105)를 통하여 메모리(108)에 액섶幟해서, 디코드하고자 하는 부영상 데이타의 독출을 개시한다. 이렇게 해서 메모리(108)로부터 독출된 부영상 데이타는 부호 데이타 절출부(103) 및 계속 코드길이 검지부(106)에 부여된다.The address control unit 109 accesses the memory 108 via the memory control unit 105 based on the decoding start address SPDDADR set in the register and starts reading the sub-picture data to be decoded. In this way, the sub-picture data read out from the memory 108 is provided to the code data cutting section 103 and the continuation code length detecting section 106.

실행길이 압축된 부영상 데이타 SPD의 부호화 헤더(제 5 도의 규칙 2∼5 에서는 2∼ 14비트)는 계속 코드길이 검지부(106)에 의해 검출되고, 데이타 SPD 내에 있어서의 동일 화소 데이타의 계속 화소수가 계속 코드길이 검지부 (106)로부터의 신호를 기초로 실행길이 설정부(107)에 의해 검출된다.The encoding header (2-14 bits in the rules 2-5 of FIG. 5) of the execution length-compressed sub-picture data SPD is continuously detected by the code length detection unit 106, and the number of continuous pixels of the same pixel data in the data SPD is obtained. The execution length setting unit 107 is detected based on the signal from the continuation code length detection unit 106.

이하, 제 17 도∼제 21 도를 참조하면서, 제 15 도 및 제 16 도를 이용하여 설명한 디코드 방법과는 별도의 디코드방법을 설명한다.A decoding method other than the decoding method described with reference to FIGS. 15 and 16 will now be described with reference to FIGS. 17 to 21.

제 18 도는 본 발명의 다른 실시의 형태에 관한 화상 디코드(실행길이 신장)처리의 전반을 설명하는 흐름도이다.18 is a flowchart for explaining the first half of an image decode (execution length extension) process according to another embodiment of the present invention.

디코드를 개시하는 경우, 제 17 도의 디코더(101) 내부의 각 블록은 초기화(레지스터의 클리어, 카운터의 리세트 등)된다. 그 후, 부영상 유닛 헤더(31)가 판독되고, 그 내용(제 4 도의 각종 파라미터)이 헤더 절분부(113)의 내부 레지스터에 세트된다(단계 ST1200).When starting decoding, each block inside the decoder 101 of FIG. 17 is initialized (clearing the register, resetting the counter, etc.). Thereafter, the sub-picture unit header 31 is read, and the contents (various parameters in FIG. 4) are set in an internal register of the header segmentation section 113 (step ST1200).

헤더 절분부(113)의 레지스터에 헤더(31)의 각종 파라미터가 세트되면, 헤더(31)의 판독이 종료한 상태가 마이크로 컴퓨터(112)에 통지된다(단계 ST1201).When various parameters of the header 31 are set in the register of the header segmentation section 113, the microcomputer 112 is notified of the state that the reading of the header 31 is complete (step ST1201).

마이크로 컴퓨터(112)는 헤더 독취 종료 상태를 받으면, 디코드 개시 라인 (예컨대 제 4 도의 SPLine1)을 지정하고, 그 개시 라인을 헤더 절분부(113)에 통지한다(단계 ST1202).When the microcomputer 112 receives the header read end state, it designates a decoding start line (for example, SPLine1 in FIG. 4), and notifies the header segmentation section 113 of the start line (step ST1202).

헤더 절분부(113)는 지정된 디코드 개시 라인의 통지를 받으면, 자신의 레지스터에 세트되어 있는 헤더(31)의 각종 파라미터에 기초하여, 지정된 디코드 개시 라인의 어드레스(제 4 도의 SPDDADR) 및 디코드 종료 어드레스(제 4 도의 SPEDADR; 개시 라인 어드레스로부터 상대적으로 1라인분 시프트한 어드레스)가 어드레스 제어부(109)에 세트되고, 디코드된 부영상의 표시개시 위치와 표시폭과 표시높이와(제 4 도의 SPDSIZE)가 표시 유효 허가부(110)에 세트되며, 표시폭의 값CLNEPIX; 제 4 도에서는 도시되어 있지 않지만 SPDSIZE 에 포함되어 있는 1라인분의 화소수)이 부호 데이타 절분부(103)에 세트된다(단계 ST1203).When receiving the notification of the designated decode start line, the header segmentation section 113, based on various parameters of the header 31 set in its own register, the address (SPDDADR in FIG. 4) and the decode end address of the designated decode start line. (SPEDADR in FIG. 4; an address shifted by one line relative to the starting line address) is set in the address control section 109, and the display start position, display width, display height and (SPDSIZE in FIG. 4) of the decoded sub-picture are Set in the display valid permission unit 110, the value of the display width CLNEPIX; Although not shown in FIG. 4, the number of pixels for one line included in the SPDSIZE) is set in the code data splitting section 103 (step ST1203).

어드레스 제어부(109)는 디코드 어드레스를 메모리 제어부(105)에 보낸다.The address control unit 109 sends the decode address to the memory control unit 105.

그렇게 하면, 디코드하고자 하는 데이타 (압축된 부영상 데이타 SPD)가 메모리 제어부(105)를 통하여, 메모리(108)로부터 인코드 데이타 절분부(103) 및 계속 코드길이 검지부(106)에 독출된다. 그 때, 독출된 데이타는 바이트 단위로 절분부(103) 및 검지부(106) 각각의 대부 레지스터에 세트된다(단계 ST1204).In doing so, the data to be decoded (compressed sub-picture data SPD) is read out from the memory 108 to the encoded data segment 103 and the code length detection section 106 via the memory control section 105. At that time, the read data is set in each of the loan registers of the cutting section 103 and the detecting section 106 in units of bytes (step ST1204).

계속 코드길이 검지부(106)는 메모리(108)로부터 독출되어 온 데이타의 0 비트의 수를 카운트하며, 그 카운트치로부터 제 5 도의 규칙 1∼5중 어느 하나에 해당하는 부호화 헤더를 검지한다(단계 ST1205). 이 부호화 헤더 검지의 상세는 제 20 도를 참조하여 후술한다.The code length detection unit 106 continues to count the number of 0 bits of data read out from the memory 108, and detects an encoding header corresponding to any one of the rules 1 to 5 in FIG. ST1205). Details of this encoding header detection will be described later with reference to FIG.

계속 코드길이 검지부(106)는 검지한 부호와 헤더의 값에 따라서, 제 5 도의 규칙 1∼5중 어느 하나의 규칙에 대응한 절분 정보 SEP.INF0.를 생성한다(단계 ST1206).Then, the code length detection unit 106 generates the segment information SEP.INF0. Corresponding to any one of the rules 1 to 5 in FIG. 5 according to the detected code and the value of the header (step ST1206).

예컨대, 메모리(108)로부터 독출되어 온 데이타의 0 비트의 카운트치 가 제로이면 규칙 l 을 나타낸 절분 정보 SEP.INFO. 가 생성되고, 이 카운트치가 2 이면 규칙 2를 나타낸 절분 정보 SER. INF0. 가 생성되머, 이 카운트치가 4 이면 규칙 3을 나타낸 절분 정보 SEP.INFO. 가 생성되고, 이 카운트치가 6 이면 규칙 4를 나타낸 절분 정보 SEP.INF0. 가 생성되며, 이 카운트치가 14 이면 규칙 5를 나타낸 절분 정보 SEP.INFO. 가 생성된다. 이렇게 해서 생성된 절분 정보 SEP.INFO. 는 인코드 데이타 절분부(103)에 전송된다.For example, if the count value of the 0 bit of the data read out from the memory 108 is zero, the slice information SEP.INFO. Is generated, and this count value is 2, the interstitial information SER. INF0. Is generated, and if this count is 4, the slice information indicating rule 3 is SEP.INFO. Is generated, and if this count is 6, the cutoff information SEP.INF0. Is generated, and if this count is 14, the cutoff information indicating Rule 5 is SEP.INFO. Is generated. The cut information generated in this way SEP.INFO. Is transmitted to the encoded data slicer 103.

부호화 데이타 절분부(l03)는 계속 코드길이 검지부(106)로부터의 절분 정보 SEP.INFO. 의 내용에 따라서, 계속 화소수(PIXCNT; 실행 정보)를 실행길이 설정부(107)에 세트하는 동시에, 계속 화소수 데이타의 후에 계속되는 2비트 화소 데이타(화소색 데이타; 부영상 데이타 패킷으로부터 절분된 데이타)를 화소색 출력부(100)에 세트한다. 이 때, 절분부(103)의 내부에서는 화소 카운터 (도시생략)의 현카운트치 NOWPIX 가, 계속 화소수 PIXCNT 분만큼 증가된다(단계 ST1207).The coded data cut-out section 03 is divided into pieces of cut-off information SEP.INFO. In accordance with the contents of the above, the number of pixels PIXCNT (execution information) is set in the execution length setting unit 107, and the 2-bit pixel data (pixel data; Data) is set in the pixel color output unit 100. At this time, inside the cutting section 103, the current count value NOWPIX of the pixel counter (not shown) is continuously increased by the number of pixels PIXCNT (step ST1207).

제 19 도는 본 발명의 다른 실시의 형태에 관한 화상 디코드(실행길이 신장)처리의 후반(제 18 도의 노드 A 이후)을 설명하는 흐름도이다.19 is a flowchart for explaining the second half (after node A in FIG. 18) of the image decode (execution length extension) process according to another embodiment of the present invention.

선행 단계 ST1203에 있어서, 인코드 데이타 절분부(103)에는 헤더 절분부 (1l3)로부터 부영상의 표시폭에 대응한 1라인분의 화소 데이타수(도트수)LNEPIX 가 통지되어 있다. 인코드 데이타 절분부(103)에서는 그 내부 화소 카운터의 값 NOWPIX가 통지된 1라인분 화소 데이타수 LNEPIX 를 초과하고 있는지 체크된다 (단계 ST1208).In the preceding step ST1203, the encoded data segmentation section 103 is informed of the number of pixel data (dots) LNEPIX for one line corresponding to the display width of the sub-picture from the header segmentation section 1113. The encoded data splitting section 103 checks whether the value NOWPIX of the internal pixel counter exceeds the number LNEPIX for the notified one-line pixel data (step ST1208).

이 단계에 있어서, 화소 카운터치 NOWPIX 가 1라인분 화소 데이타수 LNEPIX 이상으로 되어 있을 때는(단계 ST1208 아니오),1바이트분의 데이타가 세트되어 있던 절분부(103)의 내부 레지스터가 클리어되며, 화소 카운터치 NOWPIX가 제로가 된다(단계 ST1209). 이 때, 바이트 정렬되어 있는 경우예는 4비트의 데이타를 잘라 버리게 된다. 화소 카운터치 NOWPIX가 1라인분 화소 데이타수 LNEPIX 보다도 작을 때는(단계 ST1208 예), 절분부(103)의 내부 레지스터는 클리어되지 않고 그대로 유지된다.In this step, when the pixel counter value NOWPIX is equal to or larger than the number of pixel data LNEPIX for one line (NO in step ST1208), the internal register of the segmentation section 103 in which one-byte data is set is cleared, and the pixel is clear. The counter value NOWPIX becomes zero (step ST1209). At this time, in the case of byte alignment, the 4-bit data is truncated. When the pixel counter value NOWPIX is smaller than the number of pixel data LNEPIX for one line (YES in step ST1208), the internal register of the segmentation section 103 is not cleared and remains as it is.

실행길이 설정부(107)는 선행 단계 ST1207에서 세트된 계속 화소수 PIXCNT (실행 정보)와, 화소 도트의 전송 속도를 정하는 도트 클록 DOTCLK 과, 부영상을 주영상의 표시 화면에 동기시키는 수평 및 수직 동기신호 H-SYNC 및 V-SYNC 로부터, 화소색 출력부(104)에 세트된 화소 데이타를 필요한 기간 출력시키기 위한 표시 기간신호(PERIOD SIGNAL)를 생성한다. 생성된 표시 기간신호는 화소색 출력부(104)에 부여된다(단계 ST1210).The execution length setting unit 107 includes the number of continuous pixels PIXCNT (execution information) set in the preceding step ST1207, the dot clock DOTCLK for determining the transfer speed of the pixel dots, and the horizontal and vertical for synchronizing the sub-image to the display screen of the main image. From the synchronization signals H-SYNC and V-SYNC, a display period signal PERIOD SIGNAL for outputting the pixel data set in the pixel color output unit 104 for a necessary period is generated. The generated display period signal is provided to the pixel color output unit 104 (step ST1210).

화소색 출력부(104)는 실행길이 설정부(107)로부터 표시 기간신호가 부여되고 있는 동안, 선행 단계 ST1207 에 있어서 세트된 절분 데이타(예컨대 화소색을 나타낸 화소 데이타)를, 디코드된 부영상의 표시 데이타로서 출력한다(단계 ST121l).The pixel color output unit 104 displays the decoded data (e.g., pixel data representing the pixel color) set in the preceding step ST1207 while the display period signal is given from the execution length setting unit 107. Output as data (step ST121l).

이렇게 해서 출력된 부영상 표시 데이타는 후에, 도시생략한 회로 부분에 있어서 적절한 주영상의 화상에 합성되고, 도시생략한 TV 모니터에 표시되게 된다.The sub-picture display data output in this way is later synthesized with the image of the main video appropriate for the circuit portion, not shown, and displayed on the TV monitor, not shown.

단계 ST1211의 화소 데이타 출력처리후, 디코드 데이타가 종료하고 있지 않으면, 제 18 도의 단계 ST1204로 되돌아간다(단계 ST1212 아니오). 디코드 데이타가 종료하고 있는지의 여부는 헤더 절분부(113)에 의해 세트된 부영상 표시 데이타의 종료 어드레스(SPEDADR)까지의 데이타가 인코드 데이타 절분부 (103)에 있어서 처리되어 종료되었는지 어떤지로 판정할 수 있다.If the decoded data has not finished after the pixel data output processing in step ST1211, the process returns to step ST1204 in FIG. 18 (NO in step ST1212). Whether or not the decoded data is finished is determined whether or not the data up to the end address (SPEDADR) of the sub-picture display data set by the header segmentation section 113 has been processed and finished in the encoding data segmentation section 103. can do.

데이타의 디코드가 종료되었으면(단계 ST1212 예), 표시유효 허가부 (110)로부터의 표시 허가신호(DISPLAYENABLE)가 액티브한지 어떤지 체크된다. 표시유효 허가부(110)는 어드레스 제어부(109)로부터 데이타 종료신호(DATA END SIGNAL)가 보내져 을 때까지는 액티브 상태(예컨대 하이 레벨)의 표시 허가신호를 발생시키고 있다.If the decoding of the data has ended (YES in step ST1212), it is checked whether or not the display permission signal DISPLAYENABLE from the display valid permission unit 110 is active. The display valid permission unit 110 generates a display permission signal in an active state (for example, a high level) until the data end signal DATA END SIGNAL is sent from the address control unit 109.

표시 허가신호가 액티브하면, 데이타 디코드가 종료하고 있음에도 뷸구하고 아직 표시기간중으로 관정된다(단계 ST1213 예). 이 경우는 표시유효 허가부 (110)는 실행길이 설정부(107) 및 화소색 출력부(104)로 색전환신호를 보낸다 (단계 ST1214).If the display permission signal is active, it is determined that the data decode has ended and is still in the display period (YES in step ST1213). In this case, the display valid permission unit 110 sends a color conversion signal to the execution length setting unit 107 and the pixel color output unit 104 (step ST1214).

이 때, 화소 색출력부(104)는 부족 화소 색설정부(111)로부터 부족 화소 색데이타를 수취하고 있다. 표시 유효 허가부(110)로부터 색전환신호를 수신한 파소 색술력부(104)는 츱력하는 화소 색데이타를 부족 화소 색설정부 (111)로부터의 부족 화소 색데이타로 전환시킨다(단계 ST1215). 그렇게 하면, 표시 허가신호가 엑티브한 동안(단계 ST1213∼계 ST1215의 루프), 디코드 데이타가 존재하지 않는 부영상의 표시 기간중에는 부족 화소 색설정부(l11)로부터 제공하는 부족 화소색으로 부영상의 표시 영역이 메워진다.At this time, the pixel color output unit 104 receives the insufficient pixel color data from the insufficient pixel color setting unit 111. Upon receiving the color conversion signal from the display valid permission unit 110, the parsing color power unit 104 converts the output pixel color data into the under pixel color data from the under pixel color setting unit 111 (step ST1215). Then, while the display permission signal is active (loop of steps ST1213 to ST1215), the display area of the sub-picture is displayed in the under-pixel color provided by the under-pixel color setting unit 1111 during the display period of the sub-picture without decode data. Is filled.

표시 허가신호가 비액티브이면, 디코드된 부영상의 표시기간이 종료되었다고 판정된다(단계 ST12l3 아니오). 그렇게 되면, 표시 유효허가부(110)는 l프레임분의 부영상 디코드가 종료한 것을 나타낸 종료 상태를 마이크로 컴퓨터(112)에 전송한다(단계 ST1216). 이렇게 해서,1화면(1프레임)분의 부영상 디코드처 리가 종료한다.If the display permission signal is inactive, it is determined that the display period of the decoded sub-picture has ended (NO in step ST12l3). If so, the display valid permission unit 110 transmits to the microcomputer 112 an end state indicating that the subpicture decode for one frame has finished (step ST1216). In this way, sub-picture decoding processing for one screen (one frame) is completed.

제 20 도는 제 18 도의 부호화 헤더 검출 단계(ST1205)의 내용의 일예를 설명하는 흐름도이다. 이 부호화 헤더 검출처리는 제 17 도(또는 제 11 도)의 계속 코드길이 검지부(106)에 의해 실행된다.20 is a flowchart for explaining an example of the contents of the encoding header detection step ST1205 in FIG. This coded header detection process is executed by the continuation code length detection unit 106 of FIG. 17 (or FIG. 11).

먼저, 계속 코드길이 검지부(106)가 초기화되어 그 대부의 상태 카운터 (STSCNT)가 제로로 세트된다(단계 ST1301). 그 후, 메모리(108)로부터 바이트 단위로 검지부(106)에 판독되고 있는 데이타의 후슥 2비트분의 내용이 제크된다. 이 2비트의 내용이 0 이먼(단계 ST1302 예), 카운터 STSCNT가 1개 증가된다(단계 ST1303). 체크한 2비트가 검지부(1O6)에 판독되고 있는 1바이트의 마지막에 달하고 있지 않으면(단계 ST13야 아니오), 다시 후속 2비트분의 내용이 체크된다. 이 2비트의 내용이 0O이면(단계 ST1302 예), 카운터 STSCNT가 또 1개 증가된다(단계 ST1303).First, the code length detection unit 106 is initialized and the state counter STSCNT of most of them is set to zero (step ST1301). After that, the contents of the second two bits of the data being read from the memory 108 to the detection unit 106 in byte units are checked. The contents of these two bits are zero daemon (YES in step ST1302), and the counter STSCNT is increased by one (step ST1303). If the checked two bits do not reach the end of one byte being read by the detection unit 106 (NO in step ST13), the contents of the subsequent two bits are checked again. If the contents of these two bits are 0 (YES in step ST1302), the counter STSCNT is incremented by one again (step ST1303).

단계 ST1302∼단계 ST1304의 루프가 반복된 결과, 단계 ST1302에서 체크한 후속 2비트가 검지부(106)에 판독되어 있는 1바이트의 마지막에 달하고 있을 때는(단계 ST13야 예), 제 5 도의 부호화 헤더가 6비트보다 커진다. 이 경우는 메모리(108)로부터 검지부(106)에 다음 데이타 바이트가 판독되며(단계 ST13∞), 상태 카운터 STSCNT가 4로 세트된다(단계 ST1307). 이 때 동시에, 인코드 데이타 절분부(l03)에도 같은 데이타가 1바이트 판독된다.As a result of the repeated loops of steps ST1302 to ST1304, when the next two bits checked in step ST1302 reach the end of one byte read out by the detection unit 106 (YES in step ST13), the encoding header of FIG. It is larger than 6 bits. In this case, the next data byte is read from the memory 108 to the detection unit 106 (step ST13∞), and the status counter STSCNT is set to 4 (step ST1307). At the same time, the same data is also read one byte into the encoded data fragment section 03.

상태 카운터 STSCNT가 4에 세트된 후, 혹은 선행단계 ST13O2에 있어서 체크 된 2비트분의 내용이 0O이 아니면(단계 ST1302 아니오), 상태 카운터 STSCNT의 내용이 확정되고, 그 내용이 제 5 도의 부호화 헤더의 내용으로서 출력된다(단계 ST1307).After the status counter STSCNT is set to 4 or if the contents of the two bits checked in the preceding step ST13O2 are not 0O (NO in step ST1302), the contents of the status counter STSCNT are confirmed, and the content is the encoding header of FIG. Is outputted as the content of (step ST1307).

즉, 상태 카운터 STSCMlr=∝ 이면 제 5 도의 규칙 1 을 나다낸 부호화 헤더가 검출되며, 상태 카운터 STSCNT=1 이면 제 5 도의 규칙 2 를 나타낸 부호와 헤더가 검출되고, 상태 카운터 STSCNT=2 이면 제 5 도의 규칙 3 을 나타낸 부호화 헤더가 검출되며, 상태 카운터 STSCNT=3이면 제 5 도의 규칙 4 를 나타낸 부호화 헤더가 검출되고, 상태 카운터 STSCNT=4이면 제 5 도의 규칙 5(라인의 끝까지 동일 화소 데이타가 연속하는 경우)를 나타낸 부호화 헤더가 검출된다.That is, if the status counter STSCMlr = ∝, the encoded header that exits Rule 1 of FIG. 5 is detected. If the status counter STSCNT = 1, the code and header representing Rule 2 of FIG. 5 are detected, and if the status counter STSCNT = 2, The encoding header showing the rule 3 of FIG. 3 is detected, and if the state counter STSCNT = 3, the encoding header showing the rule 4 of FIG. 5 is detected, and if the state counter STSCNT = 4, the rule 5 of FIG. Coded header) is detected.

제 21 도는 디코드된 화상이 화면 이동되는 경우에 있어서, 본 발명의 화상 디코드처리가 어떻게 이루어지는가를 설명하는 흐름도이다.21 is a flowchart for explaining how the image decoding process of the present invention is carried out when the decoded image is moved to the screen.

먼저, 제 11 도 또는 제 17 도의 디코더(101) 대부의 각 블록이 초기화되고, 도시생략한 라인 카운터 LINCNT가 제로로 클리어된다(단계 ST1401). 다음에, 마이크로 컴퓨터(l12)(제 11 도) 또는 헤더 절분부(113)(제 17 도)는 제 18 도의 단계 ST1201로 송출된 헤더 독취 종료 상태를 수신한다(단계 ST1402).First, each block of the decoder 101 of Fig. 11 or 17 is initialized, and the line counter LINCNT, not shown, is cleared to zero (step ST1401). Next, the microcomputer 11 (FIG. 11) or the header cutting part 113 (FIG. 17) receives the header read end state sent to step ST1201 in FIG. 18 (step ST1402).

라인 카운터 LINCNT의 내용(처음은 제로)은 마이크로 컴퓨터(112)(제 1l 도) 또는 헤더 절분부(113)(제 17 도)에 전송된다(단계 STl4O3). 마이크로 컴퓨터(112) 또는 헤더 절분부(113)는 수신안 상태가 1프레임(1화면)의 종료 상태(단계 ST1206)인지 어떤지 체크한다(단계 ST1404).The contents (firstly zero) of the line counter LINCNT are transmitted to the microcomputer 112 (FIG. 1L) or the header cutout 113 (FIG. 17) (step STl4O3). The microcomputer 112 or the header slicer 113 checks whether the received state is the end state (step ST1206) of one frame (one screen) (step ST1404).

수신한 상태가 1프레임의 종료 상태가 아니면(단계 ST1405 아니오), 이 종료 상태가 을 때까지 대기한다. 수신한 상태가 1프레임의 종료 상태이면(단계 ST1405 예), 라인 카운터 LINCNT가 1개 증가된다(단계 ST1406).If the received state is not the end state of one frame (NO in step ST1405), it waits until this end state is reached. If the received state is the end state of one frame (YES in step ST1405), the line counter LINCNT is increased by one (step ST1406).

증가된 라인 카운터 LINCNT의 내용이 라인의 마지막에 달하고 있지 않으면(단계 ST1407 아니오), 제 l5 도∼제 16 도의 디코드처리, 또는 제 18 도∼게 19 도의 디코드처리가 재개되며(단계 ST1408), 단계 ST14∞로 되돌아간다.If the contents of the incremented line counter LINCNT do not reach the end of the line (NO in step ST1407), the decoding processing of FIGS. 15 to 16, or the decoding processing of FIGS. 18 to 19 is resumed (step ST1408). Return to ST14∞.

이 디코드의 반복 루프(단계 ST1403∼단계 ST1408)가 반복됨으로써, 실행길이 압축된 부영상이 디코드되면서 화면 이동된다.By repeating the decoding loop (steps ST1403 to ST1408), the sub-length compressed video having the execution length is decoded and the screen is shifted.

한편, 증가된 라인 카운터 LINCNT의 내용이 라인의 마지막에 달하고 있을 때는(단계 ST1407 예), 화면 이동을 수반하는 부영상 데이타의 디코드처리는 종료한다.On the other hand, when the content of the incremented line counter LINCNT reaches the end of the line (YES in step ST1407), the decoding processing of the sub-picture data accompanying the screen shift ends.

제 22 도는 본 발명에 기초한 인코드(제 3 도의 SPUH + PXD + DCSQT의 인코드) 및 디코드(SPUH + Dm + ∝SQT의 디코드)가 실행되는 광디스크 기록재생 장치의 개요를 설명하는 블록도이다.FIG. 22 is a block diagram illustrating an outline of an optical disc recording / reproducing apparatus on which encoding (SPUH + PXD + DCSQT encoding in FIG. 3) and decoding (SPUH + Dm + SQT decoding) based on the present invention is executed.

제 22 도에 있어서, 광디스크 플레이어(3∞)는 기븐적으로는 종래의 광디스크 재생장치(콤팩 디스크 플레이어 또는 레이저 디스크 플레이어)와 동일한 구성을 가진다. 다만, 이 광디스크 플레이어(300)는 삽입된 광디스크(OD)(본 발명에 기초하여 실행길이 압축된 부영상 데이타를 포함하는 화상 정보가 기록된 것)로부터, 실행길이 압축된 화상 정보를 디코드하기 전의 디지탈신호 (인코드된 채로의 디지탈신호)를 출력할 수 있게 되어 있다. 이 인코드된 채로의 디지탈신호는 압축되어 있으므로, 필요한 전송 대역폭은 비압축 데이타를 전송하는 경우에 비하여·적어도 좋다.In FIG. 22, the optical disc player 3∞ has the same configuration as the conventional optical disc player (compact disc player or laser disc player). The optical disc player 300, however, is adapted to decode the execution length compressed image information from the inserted optical disc OD (the image information including the execution length compressed sub-picture data based on the present invention). A digital signal (digital signal while encoded) can be output. Since the digital signal while being encoded is compressed, the required transmission bandwidth may be less than that of the case of transmitting uncompressed data.

광디스크 플레이 어(300)로부터의 압축 디지탈신호는 변조기/송신기(210)를 통하여 은 에어되며, 또는 통신 케이블에 송출된다.The compressed digital signal from the optical disc player 300 is aired through the modulator / transmitter 210 or is sent out to the communication cable.

은 에어된 압축 디지탈신호, 또는 케이블 송신된 압축 디지탈신호는 수신자 또는 케이블 가입자의 수신기/원상회복기(4o0)에 의해 수신된다. 이 수신기 (400)는 예컨대 제 11 도 또는 제 17 도에 도시된 바와 같은 구성의 디코더 (101)를 구비하고 있다. 수신기(400)의 디코더(101)는 수신하여 복조한 압축 디지탑신호를 디코드하고, 인코드되기 전의 원래 부영상 데이타를 포함하는 화상 정보를 출력한다.The compressed digital signal, which is aired, or the compressed digital signal transmitted by the cable, is received by the receiver / recovery receiver 4o0 of the receiver or cable subscriber. This receiver 400 is provided with a decoder 101 of the configuration as shown, for example, in FIGS. 11 or 17. The decoder 101 of the receiver 400 decodes the received and demodulated compressed digital signal, and outputs image information including original sub-picture data before being encoded.

제 22 도의 구성에 있어서, 송수신의 전송계가 대개 5Mㅂ1트/초 이상의 명균 비트속도를 가진 것이면, 고품위인 멀티미디어 영상·음성 정보의 방송을 할 수 있다.In the configuration of Fig. 22, if the transmission / reception system of transmission / reception usually has an average bit rate of 5M ㅂ 1t / sec or more, it is possible to broadcast high-quality multimedia video and audio information.

제 23 도는 본 발명에 기초하여 인코드된 화상 정보가, 통신 네트워크 (인터네트 등)를 통하여 임의의 2 컴퓨터 이용자간에서 송수신되는 경우를 설명하는 블록도이다.23 is a block diagram illustrating a case where encoded image information based on the present invention is transmitted and received between any two computer users via a communication network (internet, etc.).

도시생략한 호스트 컴퓨터로 관리하는 자기정보 #1를 가진 이용자 #1는 퍼스널 컴퓨터(5∞1)를 소유하고 있고, 이 퍼스널 컴퓨터(5001)에는 여러가지의 입출력기기(5011) 및 여러가지의 외부기억장치(5o21)가 접속되어 있다. 또한, 이 퍼스널 컴퓨터(5001)의 내부 슬롯(도시생략)에는 본 발명에 기초한 인코더 및 디코더가 내장되어, 통신에 필요한 기능을 가진 모탬 카드(∞31)가 장착되어 있다.User # 1 having magnetic information # 1 managed by a host computer, not shown, owns a personal computer 5∞1, and this personal computer 5001 includes various input / output devices 5011 and various external storage devices. 5o21 is connected. In addition, an internal slot (not shown) of this personal computer 5001 incorporates an encoder and decoder based on the present invention, and is equipped with a mother card ∞31 having a function necessary for communication.

동일하게, 별도의 자기정보 #N룹 가진 이용자 #N는 퍼스널 컴퓨터(50ON)클 소유하고 있고, 이 퍼스널 컴퓨터(50ON)에는 여러가지의 입출력기기(501N) 및 여러가지의 외부기억장치(502N)가 접슥되어 있다. 또한, 이 퍼스널 컴퓨터 (50ON)의 대부 슬룻(도시생략)에는 본 발명에 기초한 인코더 및 디코더가 내장되어, 통신에 필요한 기능을 가진 모뎀 카드(5O3N)가 장착되어 있다.Similarly, user #N having a separate magnetic information #N group is owned by a personal computer 50ON, and various personal input / output devices 501N and various external storage devices 502N are connected to the personal computer 50ON. It is. In addition, a large slot (not shown) of the personal computer 50ON incorporates an encoder and a decoder based on the present invention, and is equipped with a modem card 503N having a function necessary for communication.

지금, 어떤 이용자 #1가 컴퓨터(5∞1)를 조작하여, 인터네트등의 회선(6∞)을 통하여 별도의 이용자 #N의 컴퓨터(50ON)와 통신을 행하는 경우를 상정해 본다.Now, suppose a user # 1 operates a computer 5∞1 to communicate with another computer 50ON of user #N via a line 6∞ such as the Internet.

이 경우, 이용자 #1 및 이용자 #N는 쌍방 함께 인고더 및 디코더가 내장된 모뎀 카드(5031) 및 (∞3N)을 가지고 있으므로, 본 발명에 의해 효율좋게 압축된 화상 데이타를 단시간에 교환할 수 있다.In this case, since user # 1 and user #N both have modem cards 5031 and (∞3N) in which an encoder and a decoder are built in together, image data compressed by the present invention can be exchanged efficiently in a short time. have.

제 24 도는 본 발명에 기초하여 인코드된 화상 정보(제 3 도의 SPtm + PXD+ ∞SQT)를 광디스크(∞)에 기록하여, 기록된 정보(SPUH + Dm + ∞SQT)를 본 발명에 기초하여 디코드하는 기록재생 장치의 개요를 도시하고 있다.FIG. 24 records recorded image information (SPtm + PXD + ∞SQT of FIG. 3) on the optical disc ∞, and decodes the recorded information (SPUH + Dm + ∞SQT) on the basis of the present invention. The outline of the recording / playback apparatus is shown.

제 24 도의 인코더(2∞)는 제 10 도의 인코더(2∞)와 같은 인코드처리(제 13 도∼제 14 도에 대응하는 처리)룔 소프트웨어 또는 하드웨어(펌 웨어 또는 와이어드 로직 회로룹 포함한다)로 실행하도록구성되어 있다.Encoder 2∞ in FIG. 24 is an encoding process (process corresponding to FIGS. 13-14), such as encoder 2∞ in FIG. 10, or software or hardware (including firmware or wired logic circuitry). Is configured to run.

인크더(2∞)로 인코드된 부영상 데이타 그의를 포함하는 기록신호는 번조기/ 레이저 드라이버(702)에서, 예컨대 (2,7)RLL 변조된다. 변조된 기록신호는 레이저 드라이버(702)로부터 광헤드(7야)의 고출력 테이저 다이오드에 보내어진다.The recording signal including the sub-picture data encoded by the encoder 2∞ is modulated by, for example, (2,7) RLL in the frequency converter / laser driver 702. The modulated recording signal is sent from the laser driver 702 to the high output taper diode of the optical head 7 field.

이 광헤드(704)로부터의 기록용 레이저에 의해, 기록신호에 대응한 패턴이 광자기 기록 디스크 또는 상변화 광디스크(OD)에 기록된다.By the recording laser from the optical head 704, a pattern corresponding to the recording signal is recorded on the magneto-optical recording disk or the phase change optical disk OD.

디스크(OD)에 기록된 정보는 광헤드(706)의 레이저 믹업에 의해 판독되고, 원상회복기/에러성정부(708)에 있어서 복조되고, 또한 필요에 따라서 에러성성 처리를 받는다. 복조되어 에러정정된 신호는 음성/영상용 데이타처리부(710)에 있어서 여러가지의 데이타처리를 받아 기록전의 정보가 재생된다.The information recorded on the disc OD is read by laser mixing up of the optical head 706, demodulated in the original reconstructor / error correction unit 708, and subjected to error generation processing as necessary. The demodulated error corrected signal is subjected to various data processing in the audio / video data processing unit 710 to reproduce the information before recording.

이 데이타처리부(710)는 제 11 도의 디코더(101)에 대응하는 디코드처리부를 포함하고 있다. 이 디코드처리부에 의해, 제 15 도∼제 16 도에 대응하는 디코드처리(압축된 부영상 데이타의 신장)가 실행된다.This data processing unit 710 includes a decoding processing unit corresponding to the decoder 101 of FIG. By this decoding processing section, decoding processing (decompression of the compressed sub-picture data) corresponding to FIGS. 15 to 16 is executed.

제 25 도는 본 발명에 기초한 인코더가 그 주변 회로와 동시에 IC 확된 상태를 예시하고 있다.Fig. 25 illustrates a state in which an encoder based on the present invention is IC confirmed simultaneously with its peripheral circuit.

제 26 도는 본 발명에 기초한 디코더가 그 주변회로와 동시에 IC 화된 상태룹 예시하고 있다.Fig. 26 illustrates a state in which a decoder based on the present invention is ICized simultaneously with its peripheral circuit.

제 27 도는 본 발명에 기초한 인코더 및 디코더가 그 주변회로와 함께 IC 화된 상태를 예시하고 있다.Figure 27 illustrates a state in which an encoder and a decoder based on the present invention are ICized together with their peripheral circuits.

즉, 본 발명예 기초한 인코더 또는 디코더는 필요한 주변회로와 함께 IC화함 수 있으며, 이 Ic는 여러가지의 기기에 대장되어 본 발명을 실시할 수 있다.That is, the encoder or decoder based on the present invention can be integrated with the necessary peripheral circuits, and this IC can be implemented in various devices to implement the present invention.

또, 제 9 도에 예시한 바와 같은 압축후의 데이타 (PXD)의 비트열이 실린 데이타 라인은 통상은 TV 표시 화면의 수평 주사선의 1개분의 화상 정보를 포함하도록 구성된다. 그러나, 이 데이타 라인은 TV 촤면의 수평 주사선의 복수개분의 화상 정보를 포함하도록 구성되며, 또는 TV 확면의 1화면분의 수평In addition, the data line on which the bit string of the compressed data PXD as shown in FIG. 9 is loaded is usually configured to include image information of one horizontal scanning line of the TV display screen. However, this data line is configured to contain a plurality of pieces of image information of the horizontal scanning line on the rear surface of the TV, or one horizontal line on the TV expansion surface.

주사선 모두(즉 1프레임분)의 화상 정보를 포함하도록 구성할 수도 있다.It may be configured to include image information of all the scanning lines (that is, one frame).

본 발명의 압축 규칙에 기초한 데이타 인코드의 대상은 명세서 설명에서 이용한 부영상 데이타 (3∼4색의 색정보)에 한정되지 않는다. 부영상 데이타를 구성하는 쫘소 데이타 부분을 다비트화하고, 그래서 여러가지의 정보를 채워넣어도 종다. 예컨대, 화소 데이타를 화소 1도트당 8비트 구성으로 하면, 부영상만으로 256색의 컬러 영상을(주영상의에) 전송할 수 있다.The object of data encoding based on the compression rule of the present invention is not limited to the sub-picture data (color information of 3 to 4 colors) used in the specification. The pixel data portion constituting the sub-picture data is multi-bitted, so that various kinds of information can be filled. For example, if the pixel data has an 8-bit configuration per dot, the 256-color color image can be transmitted only to the sub-image.

여기서, 제 2 도 또는 제 3 도에 도시되는 부영상 데이타는 제 52 도에 도시된 바와 같이 복수 채널로 구성되어 있다. 부영상 데이타 블록은 이들 복수 채널중에서 임의로 선택된 채널의, 복수 부영상 데이타 패킷으로 구성된다.Here, the sub-picture data shown in FIG. 2 or FIG. 3 is composed of a plurality of channels as shown in FIG. The sub-picture data block is composed of a plurality of sub-picture data packets of a channel arbitrarily selected from these multiple channels.

여기서의 부영상은 문자 또는 도형등의 정보를 가지며, 비디오 데이타나 오디오 데이타와 동시에 재생처리되고, 비디오 데이타의 재생 화면상에 중첩되어 표시된다.The sub-picture here has information such as text or graphics, and is reproduced simultaneously with video data or audio data, and superimposed on the reproduction screen of video data.

제 29 도는 부영상 패킷의 데이타 구조를 도시한다. 제 29 도에 도시된 바와 같이, 부영상의 패킷 데이타는 패킷 헤더(3)와, 부영상 헤더(31)와, 부영상 데이타(32)와, 표시제어 순서 테이블(33)로 구성되어 있다.29 shows a data structure of a subpicture packet. As shown in FIG. 29, the packet data of a sub-picture is composed of a packet header 3, a sub-picture header 31, a sub-picture data 32, and a display control procedure table 33. As shown in FIG.

패킷 헤더(3)에는 재생 시스템이 그 부영상 데이타 블록의 표시 제어를 개시해야 할 시각이 프리젠테이선 타임 스탬프(PTS;Presentation Time Stamp) 로서 기록되어 있다. 다만, 이 PTS는 제 ∞ 도에 도시된 바와 같이, 각 부영상 데이타 블록(Y, W)내의 선두의 부영상 데이타 패킷의 헤더(3)에만 기록되어 있다.In the packet header 3, the time at which the playback system should start display control of the sub-picture data block is recorded as a presentation time stamp (PTS). However, this PTS is recorded only in the header 3 of the head subpicture data packet in each subpicture data block Y and W, as shown in FIG.

제 30 도는 1 이상의 부영상 패킷으로 구성되는 부영상 유닛(제 3 도의 30 참조)의 직렬 배열 상태(n, n+1)와, 그 중의 1유닛(n+1)의 패킷 헤더에 기술된 타임 스탬프 PTS 와, 이 PTS 에 대응한 유닛(n+1)의 표시제어의 상태(그 이전의 부영상의 표시 클리어와, 이제부터 표시하는 부영상의 표시제어 순서의 지정)를 예시하고 있다.FIG. 30 shows the serial arrangement state (n, n + 1) of a sub-picture unit (see 30 in FIG. 3) composed of one or more sub-picture packets, and the time described in the packet header of one unit (n + 1) therein. The stamp PTS and the state of display control of the unit (n + 1) corresponding to this PTS (clear display of the previous subpicture and designation of the display control procedure of the subpicture to be displayed) are illustrated.

부영상 헤더(31)에는 부영상 데이타 패킷의 사이즈(2바이트의 SPCsZ)와, 패킷내의 표시제어 순서 테이블(33)의 기록 개시위치(2바이트의 SPDCSQTA)가 기록되어 있다.The sub-picture header 31 records the size of the sub-picture data packet (2 bytes of SPCsZ) and the recording start position (2-byte SPDCSQTA) of the display control procedure table 33 in the packet.

표시제어 순서 테이블(33)에는 유증(遺贈) 데이타의 표시 개시 시각/표시 종료 시각을 나타낸 부영상 표시제어 타임 스탬프(SPDCTS;Sub-Picture Display Control TiIne Stamp)와, 표시해야 함 부영상 데이타(PXD)(32)의 기록위치 (SPNDCS얘;Sub-Picture Next Display Control Sequence Address)와, 부영상데이타의 표시제어 명령(C0m쓰m)을 1그룹으로 하는 표시제어 순서 정보(DCSQT; Display Control Sequence Table)가 l 이상 기록된다.In the display control procedure table 33, a sub-picture display control time stamp (SPDCTS) indicating the start time / end time of display of the existence data and the sub-picture data (PXD) Display control sequence information (DCSQT) in which the recording position (SPNDCS) (32) of Sub-Picture Next Display Control Sequence Address (32) and the display control command (C0m smm) of sub-picture data are used as one group. ) Is written more than l.

여기서, 패킷 헤더(3)내의 타임 스탬프 PTS 는 에컨대 화일(제 2 도) 선두의 재생개시 시각과 같은 퐈일 전체의 재생음 뭉하여 기준이 되는 시각(SCR;System C1ock Reference)으로부터의 상대 시간으로 규정되어 있다. 한편, 표시제어 순서 테이블(33)내의 각 타임 스탬프 SPDCTS 는 상기 PTS 로부터의 상대 시간으로 규정된다.Here, the time stamp PTS in the packet header 3 is defined as the relative time from the reference time (SCR; System C1ock Reference), which is the reference for the whole playback sound, such as the playback start time at the beginning of the file (FIG. 2). It is. On the other hand, each time stamp SPDCTS in the display control procedure table 33 is defined by the relative time from the PTS.

다음에, 재생 시스템에 있어서의 부영상 데이타 패킷의 타임 스탬프 PTS 처리에 관해서 설명한다. 여기서는 재생 시스템내의 부영상 프로세서(예컨대 제 11 도의 MPU(112) 및 그 주변회로)에서 이 PTS 처리가 실행되는 것으로 한다.Next, time stamp PTS processing of sub-picture data packets in the reproduction system will be described. It is assumed here that this PTS process is executed in the sub-picture processor (for example, the MPU 112 and its peripheral circuit of FIG. 11) in the reproduction system.

제 52 도는 부영상 데이타를 디코드하는 경우에 있어서, 부영상 데이타 블록의 버퍼링 상태가, 타임 스탬프 PTS 가 있는 부영상 채널에 의해서 어떻게 변화하는가를 설명하기 위한 도면이다.FIG. 52 is a diagram for explaining how a buffering state of a sub-picture data block changes with a sub-picture channel having a time stamp PTS when decoding sub-picture data.

(1) 부영상 프로세서(제 11 도, 제 17 도 기타)는 외부(광디스크 또는 방송국 등)로부터 보내져 오는 부영상 데이타 패킷중에서, 미리 선택된 채널의 부영상 데이타 패킷을 디코드하고, 그 패킷내에 PTS 가 있는지 어떤지를 조사한다.(1) The sub-picture processor (FIGS. 11, 17, etc.) decodes a sub-video data packet of a preselected channel among sub-video data packets sent from the outside (optical disk or broadcasting station, etc.), and the PTS in the packet decodes. Check if there is any.

예컨대 게 52 도의 채널 ♠4f 에 도시된 바와 같이 PTS 가 존재하는 경우는 그 PTS 가 패킷 헤더(3)로부터 분리된다. 그 후, 예컨대 제 28 도에 도시된 바와 같이 부영상 데이타의 머리에 PTS 가 붙여지고, PTS 헤더 부착의 부영상 데이타가 부영상 버퍼(예컨대 제 11 도의 버퍼(121))에 버퍼링(격납)된다.If a PTS is present, for example, as shown in channel < RTI ID = 0.0 > 4F < / RTI > Then, for example, as shown in FIG. 28, the PTS is attached to the head of the sub-picture data, and the sub-picture data with the PTS header is buffered (stored) in the sub-picture buffer (e.g., buffer 121 in FIG. 11). .

또, 제 52 도의 그래프는 PTS 부착 채널 ◆4f 의 부영상 데이타 패킷이 버퍼링 됨에 따라서 부영상 버퍼(121)로의 버퍼링량이 누적되어 가는 모습을 예시하고 있다.The graph of FIG. 52 exemplifies how the buffering amount to the sub-picture buffer 121 accumulates as the sub-picture data packet of the PTS attached channel ◆ 4f is buffered.

(2) 시스템 리세트후, 부영상 프로세서는 PTS 를 포함한 최초의 패킷올 수취한 직후의 수직 블랭킹 기간중(어떤 표시화면 프레임/필드로부터 다음 표시화면 프레임/필드로의 전환기간중)에 이 PTS 를 입력하고, 입력된 PTS 를 기준 타임 카운터 STC 의 카운트치와 비교한다. 이 기준 타임 카운터 STC 는 예컨대 화일 선두의 재생개시 시간 등 화일 전체의 재생을 통하여 기준이 되는 시각 SCR 으로부터의 경과 시간을 예측하는 부영상 프로세서내의 카운터(예컨대 제 11 도의 타이머(120)의 일부)에서 구성된다.(2) After the system reset, the sub-picture processor performs this PTS during the vertical blanking period (during the transition from one display screen frame / field to the next display screen frame / field) immediately after receiving the first packet including the PTS. Input and compare the input PTS with the count value of the reference time counter STC. This reference time counter STC is used by a counter in the sub-picture processor (for example, part of timer 120 in FIG. 11) that predicts the elapsed time from the reference time SCR, for example, by playing the entire file such as the start time of playback of the file head. It is composed.

(3) 상기 PTS 와 STC 와의 비교 결과, STC가 PTS 보다 큰 경우에는 그 부영상 데이타는 즉시 표시 처리된다. 한편, STC 가 玎S 보다 작은 경우에는 아무런 처리도 행해지지 않는다. 이 비교는 다음 수직 불행킹 기간중에 다시 실행된다.(3) As a result of the comparison between the PTS and STC, when the STC is larger than the PTS, the sub-picture data is immediately displayed. On the other hand, when STC is smaller than 玎 S, no processing is performed. This comparison is run again during the next vertical misfortune period.

(4) 부영상 데이타의 처리에 들어가면, 같은 수직 블랭킹 기간중에, 그 부영상 데이타 패킷 내의 표시제어 순서 테이블(33)에 기록되어 있는 최초의 부영상 표시제어 타임 스탬프 SPDCTS 가 부영상 프로세서내의 서브 기준 타임 카운터(서브 STC)의 카운트치와 비교된다. 이 서브 STC는 부영상 데이타 블록의 재생개시 시각으로부터의 경과 시간을 예측한다. 부영상 프로세서 내의 서브 기준 타임 카운터(예컨대 제 11 도의 타이머(120)의 외부)로 구성된다, 따라서, 이 서브 STC는 다음 부영상 데이타 블록에 표시가 바뀔 때에, 모든 비트가 ∝으로 클리어되고, 그 후 다시 증가(타임 카운트)를 개시한다.(4) Entering the processing of the sub-picture data, during the same vertical blanking period, the first sub-picture display control time stamp SPDCTS recorded in the display control procedure table 33 in the sub-picture data packet is the sub-reference in the sub-picture processor. The count value of the time counter (sub STC) is compared. This sub-STC predicts the elapsed time from the reproduction start time of the sub-picture data block. It consists of a sub-reference time counter (e.g., outside the timer 120 in FIG. 11) in the sub-picture processor. Therefore, when the display changes to the next sub-picture data block, all the bits are cleared to ,, After that, the increment (time count) is started again.

(5) 서브 STC 와 부영상 표시제어 타임 스탬프 SPDCTS 와의 비교 결과, 서브 STC 가 SPDCTS 보다도 큰 경우는 표시제어 순서 테이블(33)의 선두의 표시제어 순서의 제어 데이타 (DCSQT;예컨대 제 29 도의 DCSQTO)가 즉시 실행되며, 부영상의 표시처리가 개시된다.(5) As a result of comparing the sub-STC with the sub-picture display control time stamp SPDCTS, when the sub-STC is larger than the SPDCTS, control data (DCSQT) of the head of the display control procedure of the display control procedure table 33 (for example, DCSQTO in FIG. Is executed immediately, and the display processing of the sub-picture is started.

(6)일단 표시처리가 개시되면, 수직 븀행킹 기간마다 현재 표시하고 있는 부영상 데이타 블록의 다음 부영상 데이타 블록의 선두 때것에 부가되어 있는 PTS 가 판독되고, 이 판독된 PTS와 기준 타임 카운터 STC 의 카운트치가 비교된다.(6) Once the display processing is started, the PTS added at the beginning of the next sub-picture data block of the sub-picture data block currently displayed for each vertical bleaching period is read out, and the read-out PTS and reference time counter STC are read. The count value of is compared.

이 비교 결과, STC 가 PTS 보다도 크면, 제 29 도의 채널 포인터가 다음 부영상 데이타 블록의 PTS의 어드레스치로 설정되며, 처리해야 할 부영상 데이타 블록이 다음의 것으로 전환된다. 예컨대, 제 28 도를 예로 들면, 상기 채널 포인터의 설정 변경에 의해, 부영상 데이타 블록 Y 로부터 다음 부영상 데이타 블록 W 로 전환된다. 이 시점에서, 부영상 데이타 블록 Y 의 데이타는 이제 · 필요없으므로, 부영상 버퍼(예컨대 제 11 도에서는 메모리(108))에는 데이타블록 Y 의 크기의 빈 영역이 생긴다. 이 때문에, 새롭게 부영상 데이타 패킷을 이 빈 영역에 전송할 수 있다.As a result of this comparison, if the STC is larger than the PTS, the channel pointer of FIG. 29 is set to the address value of the PTS of the next sub-picture data block, and the sub-picture data block to be processed is switched to the next. For example, referring to FIG. 28, by changing the setting of the channel pointer, the sub-picture data block Y is switched to the next sub-picture data block W. FIG. At this point, since the data of the sub-picture data block Y is no longer necessary, an empty area of the size of the data block Y is created in the sub-picture buffer (for example, the memory 108 in FIG. 11). For this reason, the sub-picture data packet can be newly transferred to this empty area.

이것에 의해서, 부영상 데이타 블록(예컨대 제 28 도의 블록 W)의 사이즈 및 그 전환시각(블록 Y 로부터 블록 W 로의 전환 시각)으로부터, 부영상 데이타 패킷의 버퍼링 상태(제 52 도 참조)를 (블록 W 의)부영상 데이타의 인코드 시점에서 사전에 한결같이 규정함 수 있게 된다. 따라서, 영상·음성·부영상의 패킷을 직렬 전송했을 때에, 각각의 디코더부의 버피(부영상 디코더의 경우는 제 11 도의의 메모리(l08))에 있어서 오버플로 또는 언더플로가 생기지 않는 비트 스트림의 생성이 가능하다.As a result, the buffering state (see FIG. 52) of the sub-picture data packet is determined from the size of the sub-picture data block (e.g., block W in FIG. 28) and its switching time (block Y to block W). At the time of encoding the sub-picture data, it is possible to uniformly define in advance. Therefore, when serially transmitting packets of video, audio, and sub-pictures, generation of a bit stream in which the overflow of each decoder unit (in the case of the sub-picture decoder, memory 11 of FIG. 11) does not occur or overflow occurs. This is possible.

또한, 상기 PTS 와 STC 와의 비교 결과, STC 가 PTS 보다도 크지 않은 경우는 부영상 데이타 블록의 전환은 행해지지 않고, 표시제어 순서 테이블 포인터(제 29 도의 DCSQT 포인터)가 다음 표시제어 순서 테이블 DCSQT의 어드레스치에 설정된다. 그리고, 현재의 부영상 데이타 패킷내의 다음 DCSQT의 부영상 표시제어 타임 스탬프 SPDCTS 와 서브 STC 가 비교된다. 이 비교 결과를 기초로, 다음 DCS어 를 실행하는지의 여부가 판정된다. 이 동작에 관해서는 후에 상세히 기술한다.Further, as a result of the comparison between the PTS and STC, if the STC is not larger than the PTS, the sub-picture data block is not switched, and the display control procedure table pointer (DCSQT pointer of FIG. 29) is the address of the next display control procedure table DCSQT. Value is set. The sub-picture display control time stamp SPDCTS of the next DCSQT in the current sub-picture data packet is compared with the sub-STC. Based on this comparison result, it is determined whether or not the next DCS word is executed. This operation will be described later in detail.

또, 부영상 데이타 패킷 내의 최후의 DCSQT는 다음 표시제어 순서 테이블 DCS어 로서 스스로를 지시하고 있으므로, 상기 (5)의 ∞SQT 처리는 기본적으로는 변하지 않는다.Also, since the last DCSQT in the sub-picture data packet instructs itself as the next display control procedure table DCS word, the ∞ SQT process of (5) is basically unchanged.

(7) 통상 재생에서는 상기 (4),(5),(6)의 처리가 반복된다.(7) In the normal reproduction, the processes of (4), (5) and (6) are repeated.

또, 상기 (6)의 처리에 있어서, 다음 부영상 데이타 블록의 I玎S 를 판독함 때에 그 PTS 룹 지시하는 채널 포인터(제 29 도 참조)의 값은 면재의 부영상 데이타 뷸록 내의 패킷 사이즈(SPCSZ)를 이용하는 것으로 구해진다.In the process of (6), when reading I 玎 S of the next sub-picture data block, the value of the channel pointer (see FIG. 29) indicating the PTS group is determined by the packet size (the size of the sub-picture data block of the face). SPCSZ).

마찬가지로 표시 제어 순서 테이블(33)내에서 다음 DCSQT의 부영상 표시 제어 타임 스탬프 SPDCTS 를 지시하는 DCSQT 포인터의 값은 이 테이블(33)내에 기술되어 있는 ∞SQT 의 사이즈 정보(다음 부영상 표시 제어 순서의 어드레스 SPNDCSQTA)를 이용하여 구해진다.Similarly, the value of the DCSQT pointer indicating the sub-picture display control time stamp SPDCTS of the next DCSQT in the display control procedure table 33 is determined by the size information of ∞ SQT described in this table 33 (the next sub-picture display control procedure). Address is obtained using the address SPNDCSQTA).

다음에, 부영상 헤더(31), 부영상 데이타 (32) 및 표시제어 순서 테이블(33) 각각의 상세에 관해서 설명한다.Next, details of each of the sub-picture header 31, the sub-picture data 32, and the display control procedure table 33 will be described.

제 31 도는 부영상 유닛 헤더(SPUH)(31)의 구조를 도시한다. 부영상 유닛 헤더 SPUH 는 부영상 데이타 패킷의 사이즈(SPDSZ) 및 패킷내의 표시제어 순서 테이블(33)의 기록개시 위치정보(부영상의 표시제어 순서 테이블 개시 어드레스 SPDCSQT;DCSQ의 상대 어드레스 포인터)를 포함하고 있다.31 shows the structure of the sub-picture unit header (SPUH) 31. As shown in FIG. The sub-picture unit header SPUH includes the size (SPDSZ) of the sub-picture data packet and recording start position information (display control procedure table start address SPDCSQT of the sub-picture; relative address pointer of the DCSQ) of the display control procedure table 33 in the packet. have.

또, 어드레스 SPDCSQTA 에서 지시되는 부영상 표시제어 순서 테이블 SPDCSQT 의 내용은 제 32 도에 도시된 바와 같이, 복수의 표시제어 순서 DCSQ1∼DCSQn로 구성되어 있다.The contents of the sub-picture display control procedure table SPDCSQT indicated by the address SPDCSQTA are composed of a plurality of display control procedures DCSQ1 to DCSQn, as shown in FIG.

또한, 각 표시 제어 순서 DCS아l∼n)는 제 33 도에 도시된 바와 같이, 부영상의 표시제어 개시 시간을 나타낸 부영상 표시제어 타임 스탬프 SPDCTS 와, 다음 표시제어 순서의 위치를 나타낸 어드레스 SPNDCS야 와,1이상의 부영상 표시제어 명령 SPDCCMD 를 포함하고 있다.In addition, each display control sequence DCSl to n) is a sub-picture display control time stamp SPDCTS indicating the display control start time of the sub-picture and an address SPNDCS indicating the position of the next display control sequence, as shown in FIG. And one or more sub-picture display control commands SPDCCMD.

부영상 데이타(32)는 개개의 부영상 데이타 패킷과 1 대 1로 대응하는 데이타 영역(PXD 영역)의 집합으로 구성되어 있다.The sub picture data 32 is composed of a set of data areas (PXD areas) corresponding to individual sub picture data packets one-to-one.

여기서, 부영상 데이타 블록이 전환될 때 까지는 같은 데이타 영역중의 임의의 어드레스의 부영상 화소 데이타 PXD 를 독출할 수 있게 되어 있다. 이것에 의해, 1개의 부영상 표시 이미지로 고정되지 않는, 임의의 부영상 표시(예컨대 부영상의 화면 이동 표시)가 가능하다. 이 임의의 어드레스는 부영상 데이타(화소 데이타 PXD)의 표시 개시 어드레스를 설정하는 명령(제 34 도의 명령 테이블중의 SETDSP)2)에 의해 설정된다.Here, the sub picture pixel data PXD of any address in the same data area can be read out until the sub picture data block is switched. Thereby, arbitrary sub-picture display (for example, screen movement display of a sub-picture) which is not fixed to one sub-picture display image is possible. This arbitrary address is set by an instruction (SETDSP in the instruction table of FIG. 34) that sets the display start address of the sub-picture data (pixel data PXD).

제 43 도는 제 34 도에 예시된 명령 세트중, 부영상 화소 데이타의 표시 개시 어드레스를 세트하는 명령 SET DSPV노 의 비트 구성을 도시한다. 이하, 이 명령의 구성의 의의에 관해서 설명한다.FIG. 43 shows the bit structure of the instruction SET DSPV furnace for setting the display start address of the sub-picture pixel data among the instruction sets illustrated in FIG. The meaning of the structure of this command is explained below.

부영상 데이타(32)에 포함되는 부영상 라인의 라인 데이타 사이즈가 다른 경우, 바로 앞의 라인 데이타를 디코드한 우에 다음 라인의 선두 어드레스를 판별할 수밖에 없다. 따라서, 종래와 같이 라인번호 순서대로 화상 데이타가 배열되어 있으면, 인터테이스 모드시에 1라인분 스킵하면서 부영상 화소 데이타(PXD)를 버퍼(메모리(l08))로부터 독출하는 것이 매우 곤란해진다.If the line data size of the sub-picture line included in the sub-picture data 32 is different, the head address of the next line is inevitably determined after the previous line data is decoded. Therefore, when the image data is arranged in line number order as in the prior art, it becomes very difficult to read the sub-pixel pixel data PXD from the buffer (memory 08) while skipping for one line in the interlace mode. .

그래서, 제 ∞ 도에 도시된 바와 같이, 개개의 부영상 데이타 패킷에 대응하는 데이타 영역마다, 부영상 데이타 (32)를 최초 필드용 영역(61)과 최종 필드용 영역(62)으로 나누어 기록하도록 하고 있다. 그리고, 인터레이스 모드시는 최초 필드 및 최종 필드의 2개의 선두 어드레스를 설정할 수 있도록 하기 위해서, 명령 SETDSDn에, 최초 필드용 개시 어드레스 영역(63)과 최종(저부)필드용 개시 어드레스 영역(64)을 설치하고 있다.Thus, as shown in FIG. ∞, for each data area corresponding to each sub-picture data packet, the sub-picture data 32 is divided into the first field area 61 and the last field area 62 for recording. Doing. In order to be able to set two head addresses of the first field and the last field in the interlace mode, the start address area 63 for the first field and the start address area 64 for the last (bottom) field are set in the instruction SETDSDn. I install it.

또, 넌인터레이스 모드의 경우는 1필드분의 부영상 데이타만을 기록해 두고, 최초 필드용 개시 어드레스 영역(∞) 및 최종 필드용 개시 어드레스 영역(64)의 2영역에 같은 어드레스를 기록해 두면 좋다.In the non-interlaced mode, only one field of sub-picture data may be recorded, and the same address may be recorded in two areas of the start address area ∞ for the first field and the start address area 64 for the last field.

제 59 도는 표시제어 순서 테이블(33)의 구체예를 도시한다. 전술한 바와 같이, 표시제어 순서 테이블(33)내의 1개의 표시제어 순서 정보(DCSQT)에는 부영상 표시제어 타임 스탬프(SPDCTS) 및 부영상 데이타 기록위치(SPNDCSQA) 후에, 복수의 표시제어 명령(COmlAND3, COMMAND4 등)과 그 명령에 의해 설정되는 각종 파라미터 데이타가 배치되어 있다. 그리고, 표시제어의 종료를 나타낸 종료 명령(종료 코드)이 최후에 부가되어 있다.59 shows a specific example of the display control procedure table 33. As shown in FIG. As described above, one display control sequence information DCSQT in the display control sequence table 33 includes a plurality of display control instructions COmlAND3 after the sub-image display control time stamp SPDCTS and the sub-image data recording position SPNDCSQA. , COMMAND4, etc.) and various parameter data set by the instruction are arranged. Then, an end instruction (end code) indicating the end of display control is added last.

다음에, 표시제어 순서 테이블(33)의 처리 순서를 설명한다.Next, the processing procedure of the display control procedure table 33 will be described.

(1) 먼저, 표시제어 순서 테이블(33)의 최초의 DCS이(케 29 도에서는 DCSQTO) 에 기록되어 있는 타임 스탬프(SPDCTS)가, 부영상/프로세서의 서브 STC(예컨대 제 11 도의 타이머(120)의 하나의 기능)와 비교된다.(1) First, the time stamp SPDCTS recorded in the first DCS of the display control procedure table 33 (DCSQTO in Fig. 29) is the sub-STC of the sub-picture / processor (e.g., timer 120 in Fig. 11). Is one function).

(2) 비교 결과, 서브 STC가 타임 스탬프 SPDCTS 보다도 큰 경우에는 표시제어 순서 테이블(33) 내의 모든 표시제어 명령 C아mmD 이, 표시제어 종료 명령 CMDEblI)(제 잇 도)이 나타날 때까지 실행된다.(2) As a result of the comparison, when the sub-STC is larger than the time stamp SPDCTS, all the display control commands C mmD in the display control procedure table 33 are executed until the display control termination command CMDEblI (degree diagram) appears. .

(3) 표시제어가 개시된 후는 일정시간마다(예컨대 수직 블랭킹 기간마다)에, 다음 표시제어 순서 테이블 DCSQT 에 기록되어 있는 부영상 표시제어 타임 스탬프 SPDCTS 와 서브 STC 를 비교함으로써, 다음 DCSQT에 갱신할지(즉 제 29 도의 DCSQT 포인터를 다음 DCS이 로 옮길지)의 여부가 판정된다.(3) After the display control starts, whether or not to update the next DCSQT by comparing the sub-image display control time stamp SPDCTS recorded in the next display control procedure table DCSQT with the sub-STC at a predetermined time (for example, every vertical blanking period). (I.e., move the DCSQT pointer of FIG. 29 to the next DCS) is determined.

여기서, 표시제어 순서 테이블(33)내의 타임 스탬프 SPDCTS 는 PTS 가 갱신된 후(즉 부영상 데이타 블록이 갱신된 후)의 상대시간으로 기록되어 있으므로, 부영상 데이타 패킷의 PTS 가 변하더라도 SPDCTS 를 고쳐 쓸 필요는 없다. 따라서, 같은 부영상 데이타(32)를 복수의 다른 시각으로 표시하는 경우라도 완전히 같은 표시제어 순서 테이블 DCS인 을 이용할 수 있다. 즉, 표시제어 순서 테이블 DCSQT 을 재배치 가능하게 할 수 있다.Here, since the time stamp SPDCTS in the display control procedure table 33 is recorded at a relative time after the PTS is updated (that is, after the sub-picture data block is updated), the SPDCTS is corrected even if the PTS of the sub-picture data packet changes. There is no need to write. Therefore, even when the same sub-picture data 32 is displayed at a plurality of different times, the same display control procedure table DCS can be used. That is, the display control procedure table DCSQT can be rearranged.

다음에, 부영상의 표시제어 명령의 상세에 관해서 설명한다. 제 34 도는 부영상 표시제어 명령 SPDCCMD 의 일람을 나타낸다. 주된 부영상 표시제어 명령에서는 다음과 같은 것이 있다.Next, the details of the display control command of the sub-picture will be described. 34 shows a list of sub-image display control commands SPDCCMD. The main sub-image display control commands include the following.

(1)부영상 화소 데이타의 표시개시 타이밍을 세트하는 명령 STADSP 제 37 도는 이 명령 STADSP 의 구성을 도시한다. 이것은 부영상 데이타 (32)의 표시개시 제어를 실행하는 명령이다. 즉, 어떤 ∞S아 에서 이 명령 STADSP 를 포함하는 ∞SQTNI 전환되었을 때에, 부영상 데이타 (32)의 표시가 이 명령을 포함하는 ∞S어의 타임 스탬프 SPDCTS 에서 나타낸 시각으로부터 개시되게 된다.(1) Command STADSP for Setting Display Start Timing of Sub-Video Pixel Data FIG. 37 shows the configuration of this command STADSP. This is a command to execute display start control of the sub-picture data 32. In other words, when the ∞SQTNI that includes this command STADSP is switched in any ∞S, the display of the sub-picture data 32 is started from the time indicated by the time stamp SPDCTS of the ∞S word including this command.

부영상 프로세서(예컨대 제 l1 도의 MPU(112))는 이 명령읍 디코드하먼, (이 명령을 엑섶幟한 시점에서는 이 명령이 속하는 DCSQT의 SPDCTS에서 나다낸 시각은 지나고 있으므로)즉시, 부영상 프로세서 내부의 표시제어계의 이네이블 비트를 액티브 상태로 한다.The sub-picture processor (e.g., MPU 112 in FIG. 1) decodes this command, immediately after the command exits (since the time passed by SPDCTS of the DCSQT to which this command belongs) passes. Enable bit in the display control system.

(2) 부영상 화소 데이타의 표시종료 타이밍을 세트하는 명령 STPDSP 제 38 도는 이 명령 STPDSP의 구성을 도시한다. 이것은 부영상 데이타(32)의 표시 종료 제어를 실행하기 위한 명령이다. 부영상 프로세서는 이 명령을 디코드 하면,(이 명령을 엑섶幟한 시점에서는 이 명령이 속하는 ∞SQT의 SPDCTS 에서 나타낸 시각은 지나고 있으므로)즉시, 부영상 프로세서 내부의 표시제어계의 이네이블 비트를 액티브 상태로 한다.(2) Command STPDSP for Setting Display End Timing of Sub-Video Pixel Data FIG. 38 shows the configuration of this command STPDSP. This is a command for executing display end control of the sub-picture data 32. When the sub-picture processor decodes this command, it immediately activates the enable bit of the display control system inside the sub-picture processor (since it has passed the time indicated by SPDCTS of the ∞SQT to which it belongs). Shall be.

(3) 부영상 화소 데이타의 컬러 코드를 세트하는 명령 SETCOLOR 제 39 도는 이 명령 SETCOLOR 의 구성을 도시한다. 이것은 부영상 화소 데이타의 색코드를 설정하기 위한 명령이다. 이 명령에 의해서, 부영상은 문자 또는 모양 등의 패턴 화소와, 패턴 화소의 가선 설치 등의 강조 화소와, 부영상이 표시되는 범위 영역에서 패턴 화소 및 강조 화소이외의 영역의 화소인 배경 꽈소로 나누어 색 정보를 설정할 수 있다.(3) Command SETCOLOR for setting the color code of sub-picture pixel data FIG. 39 shows the configuration of this command SETCOLOR. This is a command for setting the color code of the sub-picture pixel data. With this command, the sub-image is a background pixel which is a pixel of a pattern pixel such as a character or a shape, an emphasis pixel such as the provision of wires of the pattern pixel, and a pixel of a region other than the pattern pixel and the emphasis pixel in the region where the sub-image is displayed. Color information can be set separately.

부영상 프로세서는 제 40 도에 도시된 바와 같이, 이 명령 SETCOUm 에 의해서 색코드를 설정할 수 있는 색레지스터(1210)를 내장하고 있다. 레지스터(1210)는 일단 색코드가 설정되면, 같은 명령으로 재설정이 이루어질 때까지, 이 색코드 데이타를 유지한다. 부영상 데이타(32)로 나타내는 화소 종별(예컨대 제 5 도의 2비트 화소 데이타에 의해 특성되는 종별)에 따른 색데이타가 색레지스터 (1210)로부터 선 택 (SELO)된 다.As shown in FIG. 40, the sub-picture processor has a color register 1210 capable of setting a color code by this command SETCOUm. Once the color code is set, the register 1210 holds this color code data until a reset is made with the same command. Color data corresponding to the pixel type (e.g., the type characterized by the 2-bit pixel data in FIG. 5) represented by the sub-picture data 32 is selected from the color register 1210.

부영상 프로세서는 또, 부영상 화소 데이타의 색변확 및 콘트라스트 변화를 설정하는 명령(C甘GCOl£ON)에 의하여 설정되는 변화 색 데이타 레지스터(1220)를 구비하고 있다. 이 레지스터(1220)로부터 선택(SELO)된 데이타 출력이 액티브한 경우는 레지스터(121D)에 있어서의 선택 출력보다도 레지스터(1220)로부터의 선택 출력쪽이 우선하여 선택(SEL1)되고 그 선택 결과가 색데이타로서 출력된다.The sub-picture processor also includes a change color data register 1220 set by a command C_GCO_ON to set the color change and contrast change of the sub-picture pixel data. When the data output selected from the register 1220 is active, the selection output from the register 1220 is given priority over the selection output in the register 121D (SEL1), and the result of the selection is colored. It is output as data.

(4) 주영상에 대한 부영상 화소 데이타의 콘트라스트를 세트하는 명령 SETCONTR 게 4l 도는 이 명령 SETCONTR의 구성을 도시한다. 이것은 명령 SETCOlOR 와 같으며, 제 40 도에서 예시한 4종류의 화소에 대하여 색크드 데이타클 대신해서 콘트라스트 데이타를 설정하기 위안 명령이다.(4) Command SETCONTR for setting the contrast of sub-picture pixel data with respect to the main video [0058] FIG. 4 shows a configuration of this command SETCONTR. This is the same as the command SETCOlOR, which is a comfort command for setting contrast data for the four types of pixels illustrated in FIG.

(5) 주영상상(上)에 있어셔의 부영상 화소 데이타의 표시 영역을 세트하는 명 형 SETDAREA 제 쉰 도는 이 명령 SETDAREA 의 구성을 도시한다. 이것은 부영상 화소 데이타(32)를 표시하는 위치를 지성하기 위한 명령이다.(5) The model type SETDAREA, which sets the display area of the sub-picture pixel data on the main image, shows the structure of this command SETDAREA. This is an instruction for identifying the position at which the sub-picture pixel data 32 is displayed.

(6) 부영상 쫘소 데이타의 표시 케시 어드레스를 세트하는 명령 SETDSPXA 제 43 도는 이 명령 SETDSPM 의 구성을 도시한다. 이것은 부영상 화소 데이타(32)의 표시 개시 어드테스를 설정하기 위한 명령이다.(6) Command SETDSPXA for setting the display cache address of sub-picture pixel data FIG. 43 shows the configuration of this command SETDSPM. This is a command for setting the display start address of the sub-picture pixel data 32.

(7) 부영상 화소 데이타의 컬러 코드 및 주영상에 대한 부영상 화소 데이타의 콘트라스트의 전환을 세트하는 명령 CHGCOLCON 제 44 도는 이 명령 CHGCOLCON의 구성을 도시한다. 이것은 부영상화 및 주영상에 대한 부영상 화소 데이타(32)의 콘트라스트를 표시중으로 변경하기 위한 명령이다.(7) Command CHGCOLCON 44 for setting the color code of the sub-picture pixel data and the contrast switching of the sub-picture pixel data with respect to the main video. FIG. 44 shows the configuration of this command CHGCOLCON. This is a command for changing the contrast of the sub-image pixel data 32 for the sub-image and the main image during display.

이 명령 CHGCOLCON 은 제 44 도에 도시된 바와 같이, 화소 제어 데이타의 사이즈(확장 필드 사이즈) 및 화소 제어 데이타(PCD)를 포함하고 있다. 또, 제 34 도의 명령 테이블은 상술한 명령 의에, 부영상 화소 데이타의 표시 개시 다이밍음 강제적으로 세트하는 명령 FSTADSP 과(제 36 도 참조), 및 부영상의 표시 제어를 종료하는 명령 CMDEND(제 45 도 참조)를 포함하고 있다.This command CHGCOLCON, as shown in FIG. 44, contains the size (extended field size) of the pixel control data and the pixel control data (PCD). In addition, the instruction table of FIG. 34 includes a command FSTADSP for forcibly setting the display start dimming sound of the sub-picture pixel data (see FIG. 36), and a command CMDEND for terminating display control of the sub-picture. See also).

제 35 도, 제 46 도 및 제 47 도는 화소 제어 데이타 PCD 의 구성을 설명하는 도면이다. 제 35 도에 도 된 바와 같이, 화소 제어 데이타 PCD 는 라인 제어정보 LCINF, 화소제어 정보 PCI旴 및 화소제어 데이타의 종료를 나타낸 종료 고드로 구성되어 있다.35, 46, and 47 are views for explaining the configuration of the pixel control data PCD. As shown in Fig. 35, the pixel control data PCD is composed of the line control information LCINF, the pixel control information PCI ', and an end hod indicating the end of the pixel control data.

여기서, 라인제어 정보 LCINF 는 제 46 도에 도시된 바와 같이, 변경(변화) 개시 라인번호, 변경수(변화점수), 변경(변화) 종료 라인번호(또는 계속 라인수) 로 구성되어 있다. 즉, 윤곽 보정색, 부영상색, 주영상에 대한 부영상의 콘트라스트 제어를 표시 프레임상의 어띤 라인으로부터 개시하고, 그것의 라인상에서 및회, 윤곽 보정색, 부영상색, 콘트라스트가 변경되며(또는 변화하며), 또 그것에 공통된 변경(변화)이 어띤 라인까지 계속될지가 라인 제어정보 LCINF 에 의해 도시된다.Here, the line control information LCINF is composed of a change (change) start line number, a change number (change score), and a change (change) end line number (or the number of continuous lines) as shown in FIG. That is, the contrast control of the outline correction color, the sub picture color, and the sub picture with respect to the main picture is started from any line on the display frame, and the outline correction color, the sub picture color, the contrast is changed (or changes) on the line, In addition, it is shown by the line control information LCINF whether a change (change) common to it continues to any line.

또한, 화소 제어 정보 PCINF 는 라인 제어 정보 LCINF 에 의해서 나타내는 라인상에 있어서, 윤곽 보정색, 부영상색 및 콘트라스트를·변경(변화)시키는 화소 위치와, 변경(변좌) 후의 윤곽 보정색, 부영상색 및 콘트라스트 등의 변겅 (변확) 내용을 나타내고·있다.The pixel control information PCINF is a pixel position for changing (changing) the contour correction color, the sub-image color, and the contrast on the line indicated by the line control information LCINF, the contour correction color after the change (the toilet seat), the sub-picture color, and the like. The contents of variations such as contrast are shown.

이 라인 제어 정보 LCI旴 및 화소 제어 정보 PCINF 로 이루어지는 화소 제어 데이타 PCD 는 부영상 표시 프레임에 대하여 필요한 수로 설정된다.The pixel control data PCD consisting of this line control information LCI 'and the pixel control information PCINF is set to the required number of sub-picture display frames.

예컨대 제 48 도에 도시된 바와 같은 부영상 표시 프레임의 이미지에 대하여 설정되는 화소 표시 데이타 PCD 는 제 49 도에 도시된 바와 같다.For example, the pixel display data PCD set for the image of the sub-picture display frame as shown in FIG. 48 is as shown in FIG.

즉, 이 구체예에 있어서, 변경(변확)이 시작되고 있는 라인은「라인 4」 이므로, 변경(변화) 개시 라인번호는「4」가 되며, 화소가 변경(변화)하고 있는 위치는 「위치 A」 , 「위치 B」 , 「위치 C」 의 3개소에 있는 것으로, 화소 변경수(화소 변화점수)는 「3」 이 되며, 이 화소의 공통 변화 상태가 「라인 11」 까지 계속되므로, 계속 라인수는 「7」 이 된다.That is, in this specific example, since the line where the change (change) is started is "line 4", the change (change) start line number is "4", and the position where the pixel is changed (change) is "position". A "," Position B ", and" Position C "are located at three positions, and the pixel change number (pixel change score) becomes" 3 ", and the common change state of this pixel continues to" Line 11 ". The number of lines becomes "7".

또한, 「라인 12」 는 화소 변화 상태가 그때까지와 다른 것으로, 다음 「라인 13」 은 화소 변화가 없기 때문에, 변확 개시 라인번호를 「l2」 로 하고, 변화 점수룰 「2」 로 하며, 계속 라인수를 「디 로 하는 별도의 라인 제어 정보 LCINF 가 설정된다.In addition, "line 12" is different from the pixel change state until then, and since "line 13" has no pixel change, the change start line number is "l2" and the change score rule is "2". A separate line control information LCINF is set that sets the number of lines.

또, 「라인 14」 는 4개소의 화소 변화룹 포함하며, 다음 「라인 15」 는 화소 변화가 없기 때문에, 변확 개시 라인번호를 「14」 로 하고, 변화 점수(点數)를 「4」 로 하며, 계속 라인수를 「1」 로 하는 별도의 라인제어 정보 l£INF 가 설정된다.In addition, since "line 14" includes four pixel change groups, the next "line 15" has no pixel change, and the change start line number is "14", and the change score is "4". In addition, another line control information l_INF is set in which the number of lines continues to be "1".

그리고, 최후에 종료 코드가 설정된다.Finally, an end code is set.

다음에, 상기 라인제어 정보 LCINF 및 화소제어 정보 PCINF 를 이용한 표시 제어의 순서에 관해서 설명한다.Next, the procedure of display control using the line control information LCINF and the pixel control information PCINF will be described.

(1) 부영상의 표시제어는 표시제어 순서 테이블(33)(제 29 도의 DCSQT1∼ DCSQnl)에 포함되는 제어 명령(COMMAND1∼)을 부영상 표시 펄드마다 반복 실행하는 것으로 이루어진다. 이 제어명령의 내용은 제 앳 도의 부영상 표시제어 명령 SPDCCMD 의 테이블로 도시되어 있다.(1) The display control of the sub-picture consists of repeatedly executing the control commands COMMAND1 to the sub-picture display pulse included in the display control procedure table 33 (DCSQT1 to DCSQnl in FIG. 29). The contents of this control command are shown in a table of the sub-image display control command SPDCCMD of FIG.

어떤 표시제어 순서(DCSQT1∼DCSQTN)의 명령(제 34 도의 각종 명령)이 실행될지는 제 29 도의 ∞SQT 포인터에 의해 결정된다.Which display control order DCSQT1 to DCSQTN is executed by the ∞ SQT pointer in FIG. 29 is executed.

(2) 제 34 도에 도시되는 각 표시제어 명령(STADSP, STPDSP, SETCOLOR, SETCONTR, SETDARE/노, SETDSPXA, CHGCOLCON 등) 에 의 해 실 성 된 각종 파라미 터 는 같은 명령에 의해 재기록되지 않는 한, 부영상 정보의 디코드중, 부영상 프로세서 (예컨대 제 1l 도의 MPU(112))의 내부 레지스터에 유지된다. 그러나, 이 내부 레지스터에 유지된 각종 파라미터는 부영상 데이타 블록이 전환되는(예컨대 제 28 도의 블록 Y 로부터 블록 W 로의 전환시) 것과, 일부의 파라미터(LCINl↖ PCINF)를 제외하고 모두 클리어된다.(2) The various parameters implemented by each display control command (STADSP, STPDSP, SETCOLOR, SETCONTR, SETDARE / NO, SETDSPXA, CHGCOLCON, etc.) shown in FIG. 34 are not rewritten by the same command. In the decoding of the sub-picture information, the sub-picture processor is held in an internal register of the sub-picture processor (for example, the MPU 112 of FIG. 1L). However, the various parameters held in this internal register are all cleared except for the sub-picture data block switching (for example, when switching from block Y to block W in FIG. 28) and some parameters (LCINl # PCINF).

또, 제 35 도의 화소제어 데이타 PCD의 파라미터(LCINF, PCINF)는 제 34 도의 명령 CHGC0l£ON이 재실행될 매까지, MPU(112)의 내부 레지스터에 유지되도록 되어 있다.Incidentally, the parameters LCINF and PCINF of the pixel control data PCD of FIG. 35 are held in the internal register of the MPU 112 until every instruction CHGC10_ON of FIG. 34 is re-executed.

(3) 하이라이트 모드가 되면, 시스템 MPU(112)에 의해서 설정된 파라미터 LCINF 및 PCINF 에 의해서 표시제어가 행해지며, 부영상 채널 데이타의 LCINF 및 Pcn『 는 일체 무시된다. 설정된 이들의 파라미터는 하이라이트 모드중에 다시 시스템 MPU(112)에 의해서 재설정될지, 노멀 모드로 되어 부영상 데이타중의 LCINF 및 PCI旴 가 재설정될 때까지는 MPU 내부에서 유지되며, 그것의 파라미터에 의한 부영상 표시가 계속된다.(3) In the highlight mode, display control is performed by the parameters LCINF and PCINF set by the system MPU 112, and LCINF and Pcn " of sub-picture channel data are all ignored. These set parameters are reset by the system MPU 112 again during the highlight mode, or are maintained in the MPU until the LCINF and PCI 중 in the sub-picture data are reset to the normal mode, and the sub-picture by the parameters thereof. The display continues.

(4) 표시 영역은 수평방향·수직방향 모두, 개시와 종료로 지정된 번호의 라인 및 도트로 설정된다. 따라서,1라인만을 표시하는 경우는 표시 개시 라인과 표시 종료 라인의 번호는 동일해진다. 또한, 표시시키지 않은 경우에는 표시 종료 명령으로 표시를 정지시킨다.(4) The display area is set by lines and dots of the number designated by start and end in both the horizontal direction and the vertical direction. Therefore, when only one line is displayed, the numbers of the display start line and the display end line become the same. In addition, when it does not display, display is stopped by the display end instruction.

제 53 도는 제 3 도에 도시뒨 바와 같은 부영상 유닛(30)을 생정하는 방법의 일예를 설명하는 흐름도이다.53 is a flowchart for explaining an example of a method of generating a sub-picture unit 30 as shown in FIG.

부영상으로서, 예컨대 비디오(주영상)의 대사에 대응한 자막 및/또는 이미지가 사용되는 경우, 이 대사 자막/이미지가 비트 맵 데이타확된다(단계 STlO).For example, when a subtitle and / or image corresponding to the dialogue of the video (main video) is used as the sub-picture, the dialogue caption / image is bitmap data expanded (step ST10).

이 비트 맵데이타를 작성할 때에는 자막 부분을 비디오 화면의 어떤 위치의 어떤 영역에 표시솎지를 결정하지 않으면 안된다. 그 때문에, 표시제어 명령 SETDAREA(제 34 도 참조)의 파라미터가 결정된다(단계 ST12).When creating this bitmap data, it is necessary to determine in which area of the video screen the subtitle part is displayed. Therefore, the parameter of the display control command SETDAREA (see FIG. 34) is determined (step ST12).

부영상의 표시위치(공간적 파라미터)가 결성되면, 부영상을 구성하는 화소 데이타 PXD의 인코드로 옮긴다(주영상 전체를 인코드하는 것은 아니다;이 PXD 인코드의 상세는 제 5 도∼제 14 도를 참조하여 다른 곳에서 설명되어 있다) .When the display position (spatial parameter) of the sub-picture is formed, it is transferred to the encoding of the pixel data PXD constituting the sub-picture (not the entire main video is encoded; details of the PXD encoding are shown in FIGS. 5 to 14). It is described elsewhere with reference).

그 매, 자막(부영상)의 색, 자막 영역의 배경색, 자막색·배경색의 비디오 주영상에 대한 혼합비가 결성된다. 그 때문에, 표시제어 명령 SETCOLOR 및 SETCONTR(제 34 도 참조)의 파라미터가 결정된다(단계 ST14).For each of them, a blending ratio for the video main picture of the color of the subtitle (sub picture), the background color of the subtitle area, and the subtitle color and background color is formed. Therefore, the parameters of the display control commands SETCOLOR and SETCONTR (see FIG. 34) are determined (step ST14).

다음에, 작성한 비트 멥 데이타를 비디오의 대사에 맞춰서 표시솎 타이밍이 결성된다. 이 타이밍 결성은 부영상 타임 스탬프 PTS 에 의해 랭해진다. 그 때, 타임 스탬프 H↘ 의 최대한도 시각과, 표시제어 명령 STADSP, STPDSP 및 CHGCOLCON(제 34 도 참조)의 각 파라미터(시간적 파라미터)가 결정된다(단계 ST16).Next, the displayed bit timing data is formed in accordance with video dialogue. This timing formation is cooled by the sub-picture time stamp PTS. At that time, the maximum time of the time stamp H 'and the parameters (temporal parameters) of the display control commands STADSP, STPDSP and CHGCOLCON (see FIG. 34) are determined (step ST16).

여기서, 부영상 타임 스탬프 PTS는 MPEG2 시스템 레이어의 타깃 디코더 버퍼의 소비 모델로부터 최종적으로 결정된다. 여기서는 자막의 표시를 개시하는 시각이 부영상 타임 스탬프 PTS 의 최대한도 시각으로서 결정된다.Here, the sub-picture time stamp PTS is finally determined from the consumption model of the target decoder buffer of the MPEG2 system layer. Here, the time at which the display of the subtitles is started is determined as the maximum time of the sub-picture time stamp PTS.

표시제어 명령 STADSP 및 STPDSP 는 부영상 타임 스탬프 PTS 로부터의 상대 시각으로서 기록된다. 그 때문에, PTS 가 결정될 때까지는 명령 STADSP 및 STPDSP 를 결정함 수는 없다. 그래서, 이 실시 형태에서는 절대 시각을 정해 두고, PTS의 절대 시간이 결성된 후, 그 상대치를 결성하도록 하고 있다.The display control commands STADSP and STPDSP are recorded as relative time from the sub picture time stamp PTS. Therefore, the commands STADSP and STPDSP cannot be determined until the PTS is determined. Therefore, in this embodiment, the absolute time is determined and the relative value is formed after the absolute time of the PTS is formed.

또한, 작성한 자막에 대하여 공간적·시간적으로 표시색이나 표시 영역을 변화시키고 싶은 경우에는 그 변화에 기초를 둔 명령 CHGCOLCON 의 파라미터가 결성된다.When the display color and display area are to be changed spatially and temporally with respect to the created subtitle, a parameter of the command CHGCOLCON based on the change is formed.

부영상의 표시위치(공간적 파라미터) 및 표시 다이밍(시간적 파라u1터)이 결정되면, 부영상 표시제어 순서 테이블 DCSQT 의 내용(DCSQ)이 작성된다(단계 ST18). 구체적으로는 표시제어 순서 테이블 ∞SQ 의 표시제어 개시 시간 SPDCTS (제 33 도 참조)의 값은 표시제어 명령 STADSP(표시 개시 타이밍)의 발효 시각 및 표시제어 명령 snⓙsP(포시 종료 타이밍)의 발효 시각에 준거하여 결정된다.When the display position (spatial parameter) and display dimming (temporal parameter) of the sub-picture are determined, the content (DCSQ) of the sub-picture display control procedure table DCSQT is created (step ST18). Specifically, the value of the display control start time SPDCTS (see FIG. 33) of the display control procedure table ∞ SQ is the fermentation time of the display control command STADSP (display start timing) and the fermentation of the display control command sn_sP (posh end timing). It is decided based on time.

작성된 화소 데이타 PM)(32) 및 표시제어 순서 테이블 DCSQT(33)를 맞추면, 부영상 데이타 유닛(30)(제 3 도 참조)의 사이즈를 결정할 수 있다. 그래서, 그 사이즈를 바탕으로 부영상 유닛 헤더 SPUH∽1)의 파라미터 SPDSZ(부영상 사이즈 제 31 도 참조) 및 SPDCSQTA(표시제어 순서 테이블의 개시 어드레스;제 31 도 참조)를 결정하여, 부영상 유닛 헤더 SPUH(31)를 작성한다. 그 후, SPUH(31)와 PM×32)와 ∞S어(33)를 결함함으로서,1개의 자막에 대한 부영상 유닛이 작성된다 (단계 ST20).By matching the created pixel data PM) 32 and the display control procedure table DCSQT 33, the size of the sub-picture data unit 30 (see FIG. 3) can be determined. Thus, based on the size, the parameters SPDSZ (see FIG. 31) and SPDCSQTA (start address of the display control procedure table; see FIG. 31) of the sub-picture unit header SPUH # 1 are determined to determine the sub-picture unit. The header SPUH 31 is created. Thereafter, by subtracting the SPUH 31, PM x 32, and ∞ S language 33, a sub-picture unit for one subtitle is created (step ST20).

작성된 부영상 유닛(30)의 사이즈가 소정치(2048 바이트 또는 2k 바이트)를 초과하는 경우는(단계 ST22 예),2k 바이트 단위로 복수 패킷으로 분함된다 (단계 ST24)이 경우, 타임 스템프 PTS 는 부영상 유닛(30)의 선두가 되는 패킷에만 기록된다(단계 ST26). 작성된 부영상 유닛(30)의 사이즈가 소정치(2k바이트) 이대인 경우는(단계 ST22 아니오),1개만 패킷이 생성되고(단계 ST23), 타임 스탬프 PTS 는 그 패킷의 선두에 기록뒨다(단계 ST26).If the size of the created sub-picture unit 30 exceeds a predetermined value (2048 bytes or 2k bytes) (YES in step ST22), it is divided into a plurality of packets in units of 2k bytes (step ST24). In this case, the time stamp PTS is Only the packet leading to the sub-picture unit 30 is recorded (step ST26). If the size of the created sub-picture unit 30 is equal to or larger than a predetermined value (2k bytes) (NO in step ST22), only one packet is generated (step ST23), and the time stamp PTS is recorded at the head of the packet (step ST26).

이렇게 해서 완성된 1이상의 패킷은 패킷화되고, 비디오의의 팩과 합쳐져서, 1개의 데이타 스트림이 완성된다(단계 ST28).One or more packets thus completed are packetized and combined with the video pack to complete one data stream (step ST28).

이 때, 각 팩의 배열순은 MPEG2 시스템 레이어의 타깃 디코더 버퍼의 소비 모델로부터, 그 순서 기록코드 SRC 와 부영상 타임 스탬프 PTS 를 기초로 결정된다.At this time, the arrangement order of each pack is determined based on the sequence record code SRC and the sub picture time stamp PTS from the consumption model of the target decoder buffer of the MPEG2 system layer.

여기서 비로소 PTS가 확정되며, 이것에 의해 제 33 도의 각 파라미터(SPDCTS 등)가 최종적으로 결정된다. 제 딧 도는 제 53 도의 처리 순서에 따라서 생성된 부영상 데이타 스트림의 팩 분해 및 디코드를 병렬처리하는 순서의 일예를 설명하는 흐름도이다.Here, the PTS is finally determined, thereby finally determining each parameter (SPDCTS, etc.) in FIG. 33. FIG. 18 is a flowchart for explaining an example of a procedure of parallel processing a pack decomposition and decoding of a sub-picture data stream generated in accordance with the processing sequence of FIG. 53. FIG.

먼저, 디코드 시스템은 전송되어 오는 스트림의 ID 를 판독하여, 선택된 부영상 팩(데이타 스트림으로부터 분리된 것)만을 부영상 디코더(예컨대 제 11 도 또는 제 17 도의 부영상 디코더(101))에 전송한다(단계 ST40).First, the decoding system reads the ID of the stream to be transmitted, and transmits only the selected subpicture pack (one separated from the data stream) to the subpicture decoder (e.g., the subpicture decoder 101 of FIG. 11 or 17). (Step ST40).

최초의 떽전송이 행해지면, 인멕스 꽈라ul터 r가 「1」 에 세트되고(단계 ST⑿), 것번째의 부영상 맥의 분해처리(단계 ST44;제 55 도룹 참조하여 우술한다) 가 실행된다.When the first Z-transfer is performed, the Inmex filter r is set to "1" (step ST #), and the decomposition process of the first sub-picture mac (step ST44; described with reference to 55th group) is executed. .

분해된 팩(제 9 도 하부에 도시된 바와 같은 압축된 부영상 데이타 PXD 를 포함한다)은 부영상 버퍼(제 11 도 또는 제 17 도에서는 메모리(108))에 일시 격납되고(단계 ST46), 인덱스 파라미터 r가 1개 증가된다(단계 ST50).The decomposed pack (including the compressed subpicture data PXD as shown below in FIG. 9) is temporarily stored in the subpicture buffer (memory 108 in FIG. 11 or 17) (step ST46), The index parameter r is increased by one (step ST50).

증가된 i 번째의 팩이 존재하면, 즉 단계 ST44에서 분해처리한 팩이 최종 팩이 아니면(단계 ST52 아니오), 증가된 i 번째의 부영상 팩에 대한 분해처리 (단겨l ST44)가 실행된다.If there is an increased i-th pack, that is, if the pack decomposed in step ST44 is not the last pack (NO in step ST52), a decomposition process (simple ST44) is performed for the increased i-th sub-picture pack.

분해된 i 번째의 부영상 팩(여기서는 2번째의 팩)은 1번째에서 분해된 팩과 같이 부영상 버퍼(메모리(108))에 일시 격납되고(단계 ST46), 인덱스 파라미터 r가 또 1개 증가된다(단겨「1 ST50).The disassembled i-th sub-picture pack (here, the second pack) is temporarily stored in the sub-picture buffer (memory 108) like the disassembled pack at the first (step ST46), and the index parameter r is further increased by one. (Only "1 ST50").

이상과 같이하여, 인덱스 파라미터 i를 증가하면서 복수의 부영상 떽이 연속적으로 분해되며(단계 ST44), 부영상 버피(메모리(108))에 격 납된 다(단계 ST46).As described above, the plurality of sub-pictures are successively decomposed (step ST44) while the index parameter i is increased (step ST44) and stored in the sub-picture buoy (memory 108) (step ST46).

연속하여 증가된 i 번째의 땍이 존재하지 않으며, 즉 단계 ST44에서 분해처리한 땍이 최종 팩이면(단계 ST52 예), 디코드하고자 하는 스트림의 부영상 멕 분해처리가 종료한다.If there is no successively increased i-th shock, i.e., when the shock processed in step ST44 is the final pack (YES in step ST52), the sub-picture mech decomposition processing of the stream to be decoded ends.

상기 부영상 팩 분해처리(단계 ST44∼ST52)가 연속적으로 실행되고 있는 중에, 이 부영상 팩 분해처리와 독립·명행하여, 부영상 버퍼(메모리(108))에 일시 격납된 부영상 팩의 디코드처리가 행해진다.Decoding of the sub-picture pack temporarily stored in the sub-picture buffer (memory 108) while executing the sub-picture pack decomposition processing (steps ST44 to ST52) continuously and independently of the sub-picture pack decomposition processing. The process is performed.

즉, 인덱스 파라미터 r가 「디 에 세트되면(단계 ST60), 것번째의 부영상 팩을 부영상 버퍼(메모리(108))로부터 독출하는 동작으로 들어간다(단계 ST62). 이 시점에서, 아직 메모리(108)에 것번째의 부영상 땍이 격납되어 있지 않으면(단계 ST63 아니오;단계 ST46의 처리가 아직 행해져 있지 않을 때), 독출 대상의 팩 데이타가 메모리(108)에 격납될 때까지, 디코드처리는 팩 독출 동작의 빈 루프(단계 ST62∼ST63)를 실행하고 있다.That is, when the index parameter r is set to "D" (step ST60), the operation enters the operation of reading the first sub-picture pack from the sub-picture buffer (memory 108) (step ST62). At this point, if the first sub-picture 아직 has not yet been stored in the memory 108 (NO in step ST63; when the process of step ST46 has not yet been performed), the pack data to be read is stored in the memory 108. Until that time, the decoding process executes an empty loop (steps ST62 to ST63) of the pack read operation.

메모리(108)에 것번째의 부영상 땍이 격납되어 있으면(단계 ST63 여l), 그 부영상 땍이 독출되고 디코드처리된다(단계 ST64;디코드처리의 구체예는 제 53 도∼제 57 도룹 참조하여 후술한다).If the first sub-picture 격 is stored in the memory 108 (step ST63), the sub-picture 땍 is read out and decoded (step ST64; see FIGS. 53 to 57 for a specific example of the decoding process). To be described later).

이 디코드처리 결과(예컨대 제 9 도 상부에 도시된 바와 같은 압축전의 부영상 데이타 PXD 를 포함하는)는 디코드 처리중에 제 11 도 또는 제 17 도 부영상 디코더(101)로부터 표시계(도시생략)로 보내어지고, 디코드 데이타에 대응하는 부영상의 표시가 이루어진다.The decoding process result (e.g., including the sub-picture data PXD before compression as shown in FIG. 9 above) is sent from the FIG. 11 or FIG. 17 sub-picture decoder 101 to the display system (not shown) during the decoding process. Then, the sub-picture corresponding to the decode data is displayed.

상기 디코드처리에 있어서 표시제어 종료 명령(제 34 도의 CMDEbD)이 실행되고 있지 않으면(단계 ST66 아니오), 인텍스 파라미터 r가 1개 증가된다(단계 ST67).If the display control end instruction (CMDEbD in FIG. 34) is not executed in the decoding processing (NO in step ST66), one index parameter r is increased (step ST67).

증가된 i 번째의 팩(여기서는 2번째)이 메모리(108)에 존재하면, 그 팩이 메모리(108)로부터 독출되고 디코드된다(단계 ST랴). 디코드된 j 번째의 부영상팩(여기서는 2번째의 팩)은 칫번째로 디코드된 팩과 같이 표시계에 보내어지고, 인덱스 파라미터 r가 또 1개 증가된다(단계 ST67).If the incremented i-th pack (here 2) is present in the memory 108, the pack is read from the memory 108 and decoded (step ST). The decoded j-th sub-picture pack (here, the second pack) is sent to the display system like the decoded pack, and the index parameter r is further increased by one (step ST67).

이상과 같이하여, 인덱스 파라미터 j를 증가시키면서(단계 ST67), 메모리(108)에 격납되어 있는 1 이상의 부영상 떽이 연속적으로 디코드되고(단계잇64), 디코드된 부영상 데이타 (P¢)에 대응하는 부영상의 화상 표시가 실행된다.As described above, while increasing the index parameter j (step ST67), one or more sub-pictures stored in the memory 108 are successively decoded (step 64), and the decoded sub-picture data P # is decoded. Image display of the corresponding sub-image is executed.

상기 디코드처리에 있어서 표시제어 종료 명령(제 34 도의 CMDEbm)이 실행되면(단계 ST66 예), 부영상 버퍼(메모리(108))내의 부영상 데이타의 디코드처리가 종료된다.When the display control end command (CMDEbm in FIG. 34) is executed in the decoding process (YES in step ST66), the decoding process of the sub-picture data in the sub-picture buffer (memory 108) is finished.

이상의 디코드치리(단계 ST62∼ST64)는 종료 명령 CMDE皿 이 실행되지 않는 한(단계 ST66 아니오) 반복된다. 이 실시의 형태에서는 디코드처리는 종료 명령 CMDEND 의 실행(단계 ST66 예)으로써 종료하게 되어 있다.The above decode values (steps ST62 to ST64) are repeated unless the end instruction CMDE 'is executed (NO in step ST66). In this embodiment, the decoding process ends by executing the end instruction CMDEND (YES in step ST66).

제 55 도는 제 되 도의 팩 분해처리의 일예를 설명하는 흐름도이다. 부영상 디코더(101)는 전송되어 오는 떽으로부터 떽 헤더(제 3 도 참조)를 스킵하여, 패킷을 얻는다(단계 ST442). 이 패킷에 타임 스탬프 PTS 가 없을 매는 (단계. ST444 아니오), 패킷 헤더(PH)를 삭제하고, 부영상 유닛 데이타(P¢)만을 부영상디코더의 버퍼(예컨대 121)에 격납한다(단겨1 ST446).55 is a flowchart for explaining an example of the pack decomposition process of FIG. The sub-picture decoder 101 skips the header (see FIG. 3) from the transmitted packet and obtains a packet (step ST442). If there is no time stamp PTS in this packet (step ST444), the packet header PH is deleted, and only the sub-picture unit data P 'is stored in the sub-picture decoder's buffer (e.g., 121). ).

상기 패킷에 타임 스탬프 PTS 가 있을 때는 (단겨l ST444 예), 패킷 헤더(PH) 로부터 PTS 만이 빼내어지고, 빼대어진 γB 가 부영상 유닛 데이타 (3O)에 접속되며, 부영상 디코더(101)의 버퍼(121)에 격납된다(단계 ST448).When the packet has a time stamp PTS (only ST444), only the PTS is extracted from the packet header PH, and the extracted? B is connected to the sub-picture unit data 3O, and the buffer of the sub-picture decoder 101 is used. It is stored in 121 (step ST448).

제 56 도는 제 54 도의 부영상 디코드처리의 일예를 설명하는 흐름도이다.56 is a flowchart for explaining an example of the sub-picture decoding process of FIG. 54. FIG.

부영상 디코더(lO1)는 시스템 다이머(12O)의 시각 SCR 과 버피(121)에 격납된 타임 스탬프 PTS 를 비교한다(단계 ST640). 그것이 일치하먼(단겨1 ST642 여l), 그 부영상 유닛(30)의 디코드처리가 개시된다. 이 디코드처리중, 예컨대 제 9 도의 하부에 도시된 압축 데이타 PXD 를 제 9 도의 상부에 도시된 비압축데이타 PXD 로 되돌리는 처리에 관해서는 제 15 도, 제 16 도 기타를 참조하여 설명한다.The sub-picture decoder 101 compares the time SCR of the system dimer 12O with the time stamp PTS stored in buffy 121 (step ST640). When it matches (only ST1 642), the decoding process of the sub-picture unit 30 is started. During this decode process, for example, the process of returning the compressed data PXD shown in the lower part of FIG. 9 to the uncompressed data PXD shown in the upper part of FIG. 9 will be described with reference to FIGS. 15, 16 and others.

이 디코드처리에 있어서, 표시제어 순서 DCSQ 의 각 명령이 실행된다.In this decoding process, each instruction of the display control procedure DCSQ is executed.

즉, 명령 SETDAREA 에 의해 부영상의 표시위치 및 표시 영역이 설정되고, 명령 SETCOLOR에 의해 부영상의 표시색이 설정되며, 명령 SETCONTR에 의해 비디오주영상에 대한 부영상의 콘트라스트가 설정된다(단계 STM4).That is, the display position and display area of the subpicture are set by the command SETDAREA, the display color of the subpicture is set by the command SETCOLOR, and the contrast of the subpicture with respect to the video main picture is set by the command SETCONTR (step STM4).

그리고, 표시 개시 타이밍 명령 STADSP 을 실행한 후 별도의 표시제어 순서 DCSQ 에서 표시 종료 타이밍 명령 STPDSP 이 실행될 때까지, 전환 명령 CHGCOLCON에 준거한 표시제어를 텡하면서, 실행길이 압축되어 있는 화소 데이타 PXD(32)의 디코드가 랭해진다(단계 ST646).After execution of the display start timing command STADSP, the display data in accordance with the switching command CHGCOLCON is changed while the display end timing command STPDSP is executed in a separate display control procedure DCSQ. ) Is quenched (step ST646).

또, 상기 처리단계 ST644 및 ST646 은 시스템 타이머(l2O)의 시각 SCR 과 버피(121)에 격납된 타임 스탬프 PTS 가 일치하지 않읍 때는(단계 ST642 아니오)스킵된다.The processing steps ST644 and ST646 are skipped when the time SCR of the system timer l20 and the time stamp PTS stored in the buffy 121 do not match (NO in step ST642).

제 57 도는 제 53 도의 순서에 따라서 한정된 데이타 스트림을 디코드하는 방법의 일예를·설명하는 흐름도이다. 제 54 도의 처리는 부영상 맥의 분해와 부영상 디코드가 시간적으로 독립된 병렬처리이지만, 제 57 도의 처리는 부영상 팩의 분해와 부영상 디코드가 시간적으로 링크되는 병렬처리이다. 즉, 제 57 도에서는 부영상 팩의 분해처리 및 부영상 디코드처리가 같은 페이스로 동시 진랭하는 경우를 상정하고 있다.FIG. 57 is a flowchart for explaining an example of a method for decoding a limited data stream in the order of FIG. 53; While the processing of FIG. 54 is parallel processing in which the decomposition of the sub-picture mac and the sub-picture decoding are independent in time, the processing of FIG. 57 is the parallel processing in which the decomposition of the sub-picture pack and the sub-picture decoding are linked in time. That is, FIG. 57 assumes a case where the decomposition processing and the sub-picture decoding processing of the sub-picture pack simultaneously co-treat at the same pace.

제 57 도의 처리에 있어서, 디코드 시스템은 먼저, 전송되어 오는 스트림의 ID 를 판독하여, 선택된 부영상 팩(데이타 스트림으로부터 분리된 것)만을 부영상 디고더(제 11 도 또는 제 17 도의 부영상 디코더(101))에 전송한다(단계 ST40).In the processing of FIG. 57, the decoding system first reads the ID of the stream to be transmitted, so that only the selected subpicture pack (one separated from the data stream) is a subpicture decoder (Fig. 11 or 17). (101) (step ST40).

최초의 팩 전송이 랭해지면, 인덱스 파라미터 r가 「1」 에 세트되고(단계 ST42), 것번째의 부영상 떽의 분해처리(단계 ST44)가 실행된다.When the first pack transfer is slow, the index parameter r is set to "1" (step ST42), and the decomposition process of the first sub-picture 떽 (step ST44) is executed.

분해된 맥은 부영상 버피(메모리(108))에 일시 격납된다(단계 ST46). 그 후 인덱스 파라미터 f에 인덱스 꽈라ul터 r가 세트되고(단계 ST48), 인덱스 꽈라ul터 i가 1개 증가된다(단계 ST50).The disassembled mac is temporarily stored in the sub-video buffy (memory 108) (step ST46). After that, the index filter r is set in the index parameter f (step ST48), and the index filter i is increased by one (step ST50).

증가된 i 번째의 팩이 존재하먼, 즉 단계 ST44에서 분해처리한 떽이 최종맥이 아니면(단계 ST52 아니오), 증가된 i 번째의 부영상 멕에 대안 분해처리(단계ST44)가 실행된다.If there is an increased i-th pack, i.e., the shot decomposed in step ST44 is not the final mac (NO in step ST52), an alternative decomposition process (step ST44) is performed on the increased i-th sub-image mec.

분해된 i 번째의 부영상 땍(여기서는 2번째의 팩)은 첫번째로 분해된 팩과 같이 부영상 버퍼(메모리(108))에 일시 격납되며(단계 ST46), 인덱스 파라미터 i이 또 1개 증가된다(단계 ST50).The disassembled i-th subpicture 땍 (here, the second pack) is temporarily stored in the subpicture buffer (memory 108) like the first disassembled pack (step ST46), and the index parameter i is further increased by one. (Step ST50).

이상과 같이하여, 인덱스 파라미터 i를 증가하면서 복수의 부영상 팩이 연속적으로 분해되고(단계 ST44), 부영상 버퍼(메모리(108))에 격납뒨다(단계 ST46).As described above, the plurality of sub-picture packs are successively decomposed (step ST44), and stored in the sub-picture buffer (memory 108) while increasing the index parameter i (step ST46).

연속하여 증가된 i 번째의 팩이 존재하지 않게 되면, 즉 단계 ST44에서 분해처리한 팩이 최종 맥이면(단계 ST52 예), 디코드하고자 하는 스트림의 부영상팩 분해처리가 종료한다.If the i-th pack that has been continuously increased does not exist, that is, if the pack processed in step ST44 is the final mac (YES in step ST52), the sub-picture pack decomposition processing of the stream to be decoded ends.

상기 부영상 맥 분해처리(단계 ST44∼訂52)가 연속적으로 실행되고 있는 중에, 이 부영상 떽 분해처리와 명행하여 부영상 버퍼(메모리(108))에 일시 격납된부영상 땍의 디코드처리가 행해진다.While the sub-picture pulse decomposition processing (steps ST44 to # 52) is continuously executed, the sub-image decoding processing is executed in parallel with the sub-image shock decomposition processing and temporarily stored in the sub-picture buffer (memory 108). Is done.

즉, 인덱스 꽈라t디터 r에 인덱스 꽈라I디터 i=1이 세트되먼(단계 ST48), j=칫번째의 부영상 멕이 메모리(108)로부터 독출되고(단계 ST62), j=젓번째의 부영상 맥의 디코드처리가 랭해진다(단겨l ST64).That is, the index filter indicator i = 1 is set in the index filter editor r (step ST48), j = the sub-image mech of the tooth is read out from the memory 108 (step ST62), and j = the negative part of the first row. The decoding process of the video Mac is slowed (only ST64).

이 j=것번째의 부영상 팩의 디코드처리(단계 ST64)중에, 단계 ST50에서 l개 증가된 i=2 번째의 부영상 맥의 분해처리(단계 ST44)가 병렬처리된다.During this j = decoding process of the first sub-picture pack (step ST64), the decomposition processing of the i = second sub-picture mac (step ST44) increased by one in step ST50 is performed in parallel.

이상의 디코드처리(단계 ST62∼ST64)는 종료 명령 CMD, END 가 실행되지 않을 뿐(단계 SrI166 아니오) 반복된다. 디코드처리는 종료 명령 CMDEbm 의 실뎅으로써 종료한다(단계 ST66 여l).The above decoding process (steps ST62 to ST64) is repeated only when the end instructions CMD and END are not executed (NO in step SrI166). The decoding process ends with the thread of the end instruction CMDEbm (step ST66).

이상 설명한 바와 같이, 본 발명에 의하면, 부영상 데이타의 표시 시간적인 낭비와 표시 시간적인 낭비를 대폭 삭감할 수 있는 동시에, 비트 맵 데이타 방식 등의 부영상 표헌의 자유성을 달성함 수 있으며, 폭넓은 부영상의 용도를 확보할 수 있다.As described above, according to the present invention, it is possible to drastically reduce display time waste and display time waste of sub-picture data, and achieve freedom of sub-picture clarity such as a bitmap data method. The use of sub-pictures can be secured.

즉, 본 발명에 있어서는 부영상 데이타중의 표시에 사용해야 할 범위를 설정하기 위한 사용범위 설정 정보를 설치하고, 그 사용범위 이외의 데이타를 표시하지 않도록 하는 것으로,1포레임분 모든 데이타를 표시계에 보내는 경우에 생기는 데이타량의 표시 공간적인 낭비를 대폭 삭감합 수 있다.That is, in the present invention, use range setting information for setting a range to be used for display in the sub-picture data is provided so that data other than the use range is not displayed, and all data for one frame is sent to the display system. It is possible to significantly reduce the display spatial waste of the amount of data generated in the case.

또한, 본 발명에 있어서는 부영상 데이타의 패턴 화소, 가선 설치, 배겅 등, 화소 종별마다의 색설정 정보 및 부영상의 혼합비 설정 정보를 설치하고, 부영상 표시 데이타로서 부영상 이미지의 형상 정보만을 갖게 하는 것으로, 화소마다 색 정보 및 혼합비 정보를 갗게 하는 종래 방식과 같은 정도의 부영상In addition, in the present invention, color setting information for each pixel type, such as pattern pixels of sub-picture data, line installation, bugs, etc., and mixing ratio setting information of sub-pictures are provided, so that only sub-picture image shape information is provided as sub-picture display data. The sub-picture of the same degree as the conventional method of subtracting the color information and the mixing ratio information for each pixel.

형상 표현성을 보다 적은 데이타량으로 보증함 수 있다.Shape representation can be guaranteed with a smaller data amount.

또 본 발명에 있어서는 부영상 데이타의 화소종별마다의 색 및 주영상에 대한 부영상 데이타의 화소 종별마다의 혼합비의 변화를, 화소 단위로 설정하기 위해서 색/혼합비 변화 설정 정보를 설치하였으므로, 부영상의 동적인 표시를, 종래의 비트 맵 데이타 방식과 동등한 정밀도로, 또 비트 멥 데이타 방식보다도 적은 데이타량으로 실현할 수 있다.In the present invention, color / mixing ratio change setting information is provided to set the change in the color of each subpixel of the subpicture data and the blend ratio of each pixel type of the subpicture data for the main video in pixel units. Dynamic display can be realized with the same accuracy as that of the conventional bitmap data system and with a smaller data amount than the bit-bit data system.

또, 부영상은 1화소마다 색 정보가 변화하는 것은 드물며, 색/혼합비 변화 설정 정보자체의 데이타량이 과도하게 될 걱정은 없다.In addition, in the sub-image, color information rarely changes from one pixel to another, and there is no fear that the data amount of the color / mixing ratio change setting information itself becomes excessive.

또 , 본 발명에 있어서는 부영상 이미지의 색이 변화하였다고 해도, 그 형상이 변화하지 않을 뿐, 같은 부영상 데이타를 이용하여 북수 프레임 시간에 걸쳐서 부영상을 표시솎 수 있다. 따라서, 색체가 변화하지 않음에도 불구하고 프레임 주기로 부영상 데이타를 표시계에 부여하는 것을 계속하지 않으면 안되는 종래 방식에 비하여, 부영상 데이타의 표시 시간적인 낭비를 대폭 삭감할 수 있다.In addition, in the present invention, even if the color of the sub-image is changed, the shape does not change, and the sub-image can be displayed over the number of frames using the same sub-image data. Therefore, the display time waste of the sub-picture data can be greatly reduced as compared with the conventional method in which the sub-picture data must be continued to be given to the display system at the frame period even though the color is not changed.

Claims (4)

주영상과 함께 재생가능한 부영상을 소정의 단위로 패킷학하고, 그후 패킷화된 정보를 통신하는 시스템어ト쨌어서, 상기 부영상의 내용을 비트 맵 데이타화하는 수단과; 상기 주영상의 표시 영역상에 있어서 상기 부영상의 표시 영역을 설정하기 위한 공간적 파라미터(SET-A)를 작정하는 수단과; 상기 비트 맵 데이타화된 부영상의 내용을 소정의 방법으로 압축한 데이타 (PXD)를 작정하는 수단과; 상기 부영상의 표시 개시 타이밍 및 표시 종료 타이밍을 특정하기 위한 시간적 파라미 터(STADSP/STPDSP)를 작성 하는 수단과; 상기 부영상을 표시하는 순서를 제어하기 위한 1 또는 그 이상의 표시 제어 시퀀스 테이블(DCSQT)을 작정하는 수단과; 상기 부영상 패킷의 사이즈(SPDSZ) 및 상기 표시 제어 시퀀스 테이블(DCSQT)의 위치(SPDCSQTA)를 포함하는 부영상 유닛 헤더(SPUH)를 작성하고, 이 부영상 유닛 헤더(SPUH)에 상기 압축된 데이타(RXD) 및 상기 표시 제어 시퀀스 테이블 (DCSQT)을 부가하는 것으로, 부영상 유닛을 작정하는 수단과; 작성된 부영상 유닛의 사이즈가 소정치 이상이면, 작성된 부영상 유닛을 패킷촤하는 수단과; 상기 소정치 이상의 사이즈인 부영상 유닛의 패킷, 또는 상기 소정치 이내의 사이즈인 부영상 유닛에, 상기 부영상의 재생개시 시각을 표현한 타임 스탬프 (PTS)를 기록하는 수단과; 상기 타임 스탬프(PTS)가 기록된 부영상 유닛의 패킷 또는 상기 타임 스탬프 (PTS)가 기록된 부영상 유닛을 팩화하고, 팩화된 부영상 유닛의 데이타를 다른 데이타와 함께 스트림화하는 수단과; 상기 스트림화된 데이타를 송신하는 송신 수단과; 상기 송신 수단에 의해 승신된 스트림화 데이타를 수신하는 수신 수단과; 상기 수신 수단예 의해 수신된 상기 스트림와 데이타로부터 상기 팩화된 부영상 유닛의 데이타를 분리하는 수단과; 상기 분리된 부영상 유닛의 땍을 분해하는 수단과; 분해된 팩에 상기 타이밍 스탬프(PTS)가 기록되어 있는 경우에는, 이 타임 스탬프(γド)를 추출하는 수단과; 소정의 시스템 타이머가 나타내는 시간을 상기 추출된 타임 스탬프의 내용과 비교하여, 양쪽이 일치할 때에 l 또는 그 이상의 상기 표시 제어 시퀀스 테이블(DCSQT)의 내용에 기초하여 상기 압축된 데이타(PXD)를 신장시켜 인코드되기 전의 상기 부영상을 생정하는 수단을 구비한 것을 특징으로 하는 화상 정보의 송수신 시스템.Means for packetizing a sub-picture reproducible with the main picture in predetermined units, and then communicating the packetized information; means for bitmap data content of the sub-picture; Means for determining a spatial parameter (SET-A) for setting a display area of the sub-image on the display area of the main image; Means for determining data (PXD) obtained by compressing the contents of the bitmap data subpicture by a predetermined method; Means for creating temporal parameters (STADSP / STPDSP) for specifying display start timing and display end timing of the sub-picture; Means for determining one or more display control sequence tables (DCSQTs) for controlling the order of displaying the sub-pictures; A sub-picture unit header (SPUH) including a size (SPDSZ) of the sub-picture packet and a position (SPDCSQTA) of the display control sequence table (DCSQT) is created, and the compressed data is stored in this sub-picture unit header (SPUH). Means for determining a sub-picture unit by adding (RXD) and the display control sequence table (DCSQT); Means for packetizing the created sub-picture unit if the size of the created sub-picture unit is equal to or larger than a predetermined value; Means for recording a time stamp (PTS) representing a playback start time of the sub-picture in a packet of the sub-picture unit having a size greater than or equal to the predetermined value or a sub-picture unit having a size within the predetermined value; Means for packing a packet of a sub-picture unit in which the time stamp (PTS) is recorded or a sub-picture unit in which the time stamp (PTS) is recorded, and streaming data of the packed sub-picture unit together with other data; Transmitting means for transmitting the streamed data; Receiving means for receiving the streamed data transmitted by the transmitting means; Means for separating data of said packed sub-picture unit from said stream and data received by said receiving means; Means for decomposing the zoom of the separated sub-picture unit; Means for extracting this time stamp when the timing stamp PTS is recorded in the decomposed pack; Compare the time indicated by the predetermined system timer with the contents of the extracted time stamp to expand the compressed data PXD based on one or more contents of the display control sequence table DCSQT when both match. And means for generating the sub-video before being encoded by encoding the image information. 주정보와 함께 재생가능한 부정보를 소정의 단위로 패킷학하고, 그후 패킷화된 정보를 통신하는 시스템에 있어서, 상기 부정보의 내용을 소정의 방법으로 압축한 데이타(Dm)를 작정하는 수단과; 상기 부정보의 표시 개시 다이잉 및 표시 종료 다이밍을 득정하기 위한 시간적 파라ul터(STADSP/STPDSP)룹 작정하는 수단파; 상기 부정보를 표시하는 순서룹 제어하기 위해 1 또는 그 이상의 표시 제어 시퀀스 테이블(DCSQT)을 작정하는 수단과; 상기 부정보 패킷의 사이즈(SPDSZ) 및 상기 표시 제어 시퀀스 테이블(DCSQT)의 위치(SPDCSQTA)를 포함하는 부정보 유닛 헤더(SPUH)를 작성하고, 이 부정보 유닛 헤더(SPUH)에 상기 압축된 데이타(PXD) 및 상기 표시 제어 시퀀스 테이블(DCSQT)을 부가하는 것으로 부정보 유닛을 작정하는 수단과; 작성된 부정보 유닛의 사이즈가 소정치 이상이면, 작성된 부정보 유닛을 패킷화하는 수단과; 상기 소정치 이상의 사이즈인 부정보 유닛의 패킷, 또는 상기 소정치 이내의 사이즈인 부정보 유닛에 상기 부정보의 재생개시 시각을 표현한 타임 스탬프(PTS)를 기록하는 수단과; 상기 타임 스탬프(PTS)가 기록된 부정보 유닛의 패킷, 또는 상기 타임 스탬프 (PTS)가 기록된 부정보 유닛을 팩화하고, 팩화된 부정보 유닛의 데이타를 스트린包하는 수단과; 상기 스트림화된 데이타를 송신하는 송신 수단파; 상기 승신 수단에 의해 송신된 스트림화 데이타를 수신하는 수신수단과; 상기 수신 수단에 의해 수신된 상기 스트림와 데이타로부터 상기 맥화된 부정보 유닛의 데이타를 분리하는 수단과; 상기 분리된 부정보 유닛의 팩을 분해하는 수단과; 분해된 팩에 상기 타임 스탬프(PTS)가 기록되어 있는 경우에는 이 타임 스탬프(PTS)를 추출하는 수단과; 소정의 시스템 타이머가 나타내는 시간을 상기 추출된 타임 스템프의 내용과 비교하여, 양자가 일치할 때에,l 또는 그 이상의 상기 표시 제어 시퀀스 테 이 블 (DCSQT) 의 대 용 에 기 초 하 여 , 상 기 압 축 된 데 이 타 (PXD) 를 신장시키고, 인코드되기 전의 상기 부정보를 생정하는 수단을 구비한 것을 특징으로 하는 정보의 송수신 시스템.A system for packetizing sub information reproducible together with main information in predetermined units, and then communicating the packetized information, comprising: means for determining data Dm in which the contents of the sub information are compressed by a predetermined method; ; Means for determining a temporal parameter (STADSP / STPDSP) group for determining display start dieing and display end dimming of the sub information; Means for devising one or more display control sequence tables (DCSQTs) to control the order of displaying the sub information; A sub information unit header (SPUH) including a size (SPDSZ) of the sub information packet and a position (SPDCSQTA) of the display control sequence table (DCSQT) is created, and the compressed data is stored in this sub information unit header (SPUH). Means for determining a sub information unit by adding (PXD) and the display control sequence table (DCSQT); Means for packetizing the created sub information unit if the size of the created sub information unit is equal to or larger than a predetermined value; Means for recording a time stamp (PTS) representing a reproduction start time of the sub information in a packet of a sub information unit having a size greater than or equal to the predetermined value or a sub information unit having a size within the predetermined value; Means for packing a packet of a sub information unit in which the time stamp (PTS) is recorded, or a sub information unit in which the time stamp (PTS) is recorded, and string-packing data of the packed sub information unit; A transmission means wave for transmitting the streamed data; Receiving means for receiving the streamed data transmitted by the transmitting means; Means for separating data of the encoded sub information unit from the stream and data received by the receiving means; Means for disassembling the pack of the separated sub information unit; Means for extracting the time stamp (PTS) when the time stamp (PTS) is recorded in the decomposed pack; Based on the substitution of one or more of the display control sequence tables (DCSQTs) when the two systems match, the time indicated by a predetermined system timer is compared with the contents of the extracted time stamp. And means for decompressing compressed data PXD and generating the sub information before being encoded. 주정보와 함께 사용가능한 부정보를 소정의 단위로 패킷화하고 그후 패킷확된 정보를 통신하는 시스템에 있어서, 상기 부정보의 내용을 소정의 방법으로 압축한 데이타(PXD)를 작정하는 수단과; 상기 부정보의 사용개시 타이밍 및 사용 종료 타이밍을 특성하기 위한 시간적 꽈라u1터(STADSP/STPDSP)룹 작정하는 수단과; 상기 부정보를 사용하는 순서를 제어하기 위한 l 또는 그 이상의 제어 시퀀스 테이블(DCSQT)을 작정하는 수단과; 상기 부정보 패킷의 사이즈(SPDSZ) 및 상기 제어 시퀀스 테이클(DCSQT)의 위치(SPDCSQTA)를 포함하는 부정보 유닛 헤더(SPUH)를 작정하고, 이 부정보 유닛 헤더(SPUH)에 상기 압축된 데이타(PXD) 및 상기 제어 시퀀스 테이블 (DCS어)을 부가하는 것으로 부정보 유닛을 작정하는 수단과; 작성된 부정보 유닛의 사이즈가 소정값 이상이면 작성된 부정보 유닛올 패킷화하는 수단과; 상기 소정값 이상의 사이즈인 부정보 유닛의 패킷, 또는 상기 소정값 이내의 사이즈인 부정보 유닛에 상기 부정보의 사용개시 시각을 표헌한 타임 스탬프를 기록하는 수단과; 상기 타임 스탬프(PTS)가 기록된 부정보 유닛의 패킷, 또는 상기 타임 스탬프 (PTS)가 기록된 부정보 유닛을 멕확하고, 팩화된 부정보 유닛의 데이타를 스트림화하는 수단과; 상기 스트림좌된 데이타를 송신하는 송신수단과; 상기 송신수단에 의해 송신된 스트림확 데이타를 수신하는 수신수단과; 상기 수신수단에 의해 수신된 상기 스트림와 데이타로부터 상기 땍화된 부정보 유닛의 데이타를 분리하는 수단과; 상기 분리된 부정보 유닛의 팩을 분해하는 수단과; 분해된 팩에 상기 타임 스탬프(PTS)가 기록되어 있는 경우에는 이 타임 스탬프 (PTS)를 추출하는 수 단과; 소정의 시스템 타이머가 나타내는 시간을 상기 추출된 타임 스탬프의 내용과 비교하고, 양쪽이 일치했을 때에 1 또는 그 이상의 상기 제어 시퀀스 테이블의 내용에 기초하여 상기 압축된 데이타(Dm)를 신장시키고, 인고드되기 전의 상기 부정보를 생정하는 수단을 구비하는 것을 특징으로 하는 정보의 송수신 시스템.CLAIMS 1. A system for packetizing sub information usable with main information in predetermined units and then communicating packet-determined information, comprising: means for determining data (PXD) in which the contents of the sub information are compressed by a predetermined method; Means for determining a temporal header (STADSP / STPDSP) group for characterizing the start time and end time of use of the sub information; Means for determining one or more control sequence tables (DCSQTs) for controlling the order of using the sub information; A sub information unit header (SPUH) including the size (SPDSZ) of the sub information packet and the position (SPDCSQTA) of the control sequence take (DCSQT) is determined, and the compressed data is stored in the sub information unit header (SPUH). Means for determining a sub information unit by adding (PXD) and the control sequence table (DCS language); Means for packetizing the created sub information unit if the size of the created sub information unit is equal to or larger than a predetermined value; Means for recording a time stamp indicative of the start time of use of the sub information in a packet of a sub information unit having a size greater than or equal to the predetermined value or a sub information unit having a size within the predetermined value; Means for streaming a packet of a sub information unit in which the time stamp (PTS) is recorded or a sub information unit in which the time stamp (PTS) is recorded, and streaming data of the packed sub information unit; Transmitting means for transmitting the streamed data; Receiving means for receiving stream confirmation data transmitted by the transmitting means; Means for separating data of the minified sub information unit from the stream and data received by the receiving means; Means for disassembling the pack of the separated sub information unit; Extracting the time stamp (PTS) when the time stamp (PTS) is recorded in the decomposed pack; Compare the time indicated by a predetermined system timer with the contents of the extracted time stamp, and when both match, expand the compressed data Dm based on the contents of one or more of the control sequence table, and incode And means for generating the sub information before the information is received. 주정보와 함께 사용가능한 부정보를 소정의 단위로 패킷촤하고, 그후 패킷확된 정보를 통신하는 시스템에 있어서, 상기 부정보의 내용을 소정의 방법으로 인코드한 데이타(PXD)룹 작정하는 수단과; 상기 부정보의 사용 개시 타이밍 및 사용 종료 다이밍옵 특성하기 워안 시간적 파라미터를 작정하는 수단파; 상기 부정보를 사용하는 순서를 제어하기 위한 1 또는 그 이상의 제어 시퀀스 테이블(∞SQT)을 작정하는 수단과; 상기 부정보 패킷의 사이즈(SPDSZ) 및 상기 제어 시퀀스 테이블(DCSQT)의 위치(SPDCSQTA)를 포함하는 부정보 유닛 헤더(SPUH)를 작성하고, 이 부정보 유닛 헤더(SPUH)에 상기 압축된 데이타(Dm) 및 상기 제어 시퀀스 테이블 (∞S아)을 부가하는 것으로 부정보 유닛을 작정하는 수단(ST20)과; 작성된 부정보 유닛의 사이즈가 소정값 이상이면 작성된 부정보 유닛을 패킷화하는 수단과; 상기 소정값 이상의 사이즈인 부정보 유닛의 패킷, 또는 상기 소정값 이내의 사이즈인 부정보 유닛에 상기 부정보의 사용개시 시각을 표현한 타임 스템프 (PTS)를 기록하는 수단과; 상기 타임 스탬프(PTS)가 기록된 부정보 유닛의 패킷, 또는 상기 타임 스템프 (PTS)가 기록된 부정보 유닛을 땍와하고, 팩화된 부정보 유닛의 데이타룰 스트림콰하는 수단과; 상기 스트림화된 데이타를 승신하는 송신수단과; 상기 송신수단에 의해 송신된 스트림와 데이타를 수신하는 수신수단과; 상기 수신수단에 의해 수신된 상기 스트림화 데이타로부터 상기 팩화된 부정보 유닛의 데이타를 분리하는 수단과; 상기 분리된 부정보 유닛의 팩을 분해하는 수단과; 분해된 팩에 상기 타임 스탬프(PTS)가 기록되어 있는 경우는, 이 타임 스탬프 (PTS)를 추출하는 수단과; 소정의 시스템 타이머가 나타대는 시간을 상기 추출된 타임 스탬프의 내용과 비교하고, 양쪽이 일치했을 때에 1 또는 그 이상의 상기 제어 시퀀스 테이블 (∞SQT)의 내용에 기초하여, 상기 인코드된 데이타(PXD)를 디코드하고, 인코드되기 전의 상기 부정보를 생정하는 수단을 구비한 것을 특징으로 하는 정보의 송수신 시스템.Means for packetizing sub information usable with the main information in predetermined units and then communicating the packet-determined information, for determining a data (PXD) group of contents of the sub information encoded in a predetermined method. and; Means for determining a usage start timing and an end use dimming op of the sub-information temporal parameter; Means for determining one or more control sequence tables (∞ SQTs) for controlling the order of using the sub information; A sub information unit header SPUH including a size SPDSZ of the sub information packet and a position SPDCSQTA of the control sequence table DCSQT is created, and the compressed data (SPUH) is written into the sub information unit header SPUH. Dm) and means (ST20) for designating a sub information unit by adding the control sequence table (∞S); Means for packetizing the created sub information unit if the size of the created sub information unit is equal to or larger than a predetermined value; Means for recording a time stamp (PTS) representing a start time of use of the sub information in a packet of a sub information unit having a size equal to or larger than the predetermined value or a sub information unit within a predetermined value; Means for passing the packet of the sub information unit in which the time stamp (PTS) is recorded or the sub information unit in which the time stamp (PTS) is recorded, and streaming the data rule of the packed sub information unit; Transmitting means for accepting the streamed data; Receiving means for receiving the stream and data transmitted by the transmitting means; Means for separating data of the packed sub information unit from the streamed data received by the receiving means; Means for disassembling the pack of the separated sub information unit; Means for extracting the time stamp (PTS) when the time stamp (PTS) is recorded in the decomposed pack; The time indicated by a predetermined system timer is compared with the contents of the extracted time stamp, and based on the contents of one or more of the control sequence table ∞SQT when both match, the encoded data PXD And means for generating the sub information before being encoded.
KR1019960014380A 1995-02-03 1996-05-03 System for transmitting and receiving video information KR100215620B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP95-16304 1995-02-03
JP1630495 1995-02-03
KR1019960002855A KR100253729B1 (en) 1995-02-03 1996-02-03 Data recording method and recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1019960002855A Division KR100253729B1 (en) 1995-02-03 1996-02-03 Data recording method and recording medium

Publications (1)

Publication Number Publication Date
KR100215620B1 true KR100215620B1 (en) 1999-08-16

Family

ID=26352620

Family Applications (5)

Application Number Title Priority Date Filing Date
KR1019960014377A KR100215622B1 (en) 1995-02-03 1996-05-03 Decoding method of information set
KR1019960014379A KR100215621B1 (en) 1995-02-03 1996-05-03 Method and device for encoding and decoding video signals
KR1019960014376A KR100215626B1 (en) 1995-02-03 1996-05-03 Method and device for encoding video information
KR1019960014378A KR100215618B1 (en) 1995-02-03 1996-05-03 Encoding/decoding system for image information
KR1019960014380A KR100215620B1 (en) 1995-02-03 1996-05-03 System for transmitting and receiving video information

Family Applications Before (4)

Application Number Title Priority Date Filing Date
KR1019960014377A KR100215622B1 (en) 1995-02-03 1996-05-03 Decoding method of information set
KR1019960014379A KR100215621B1 (en) 1995-02-03 1996-05-03 Method and device for encoding and decoding video signals
KR1019960014376A KR100215626B1 (en) 1995-02-03 1996-05-03 Method and device for encoding video information
KR1019960014378A KR100215618B1 (en) 1995-02-03 1996-05-03 Encoding/decoding system for image information

Country Status (1)

Country Link
KR (5) KR100215622B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8081684B2 (en) 2005-08-19 2011-12-20 Qualcomm Incorporated Picture-in-picture processing for video telephony

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8081684B2 (en) 2005-08-19 2011-12-20 Qualcomm Incorporated Picture-in-picture processing for video telephony
US8737489B2 (en) 2005-08-19 2014-05-27 Qualcomm Incorporated Picture-in-picture processing for video telephony
US8942293B2 (en) 2005-08-19 2015-01-27 Qualcomm Incorporated Picture-in-picture processing for video telephony
US8976872B2 (en) 2005-08-19 2015-03-10 Qualcomm Incorporated Picture-in-picture processing for video telephony

Also Published As

Publication number Publication date
KR100215621B1 (en) 1999-08-16
KR100215626B1 (en) 1999-08-16
KR100215618B1 (en) 1999-08-16
KR100215622B1 (en) 1999-08-16

Similar Documents

Publication Publication Date Title
KR100253729B1 (en) Data recording method and recording medium
KR100227932B1 (en) Picture information encoding/decoding system and its recording media and transmission system
JP2712099B2 (en) Image information encoding / decoding system
JP2977513B2 (en) Image information encoding / decoding system
KR100215620B1 (en) System for transmitting and receiving video information
JP2829266B2 (en) Image information encoding / decoding system
JP2807456B2 (en) Image information recording medium and method of manufacturing the same
JP3660416B2 (en) Image data encoding / decoding system
JP3679851B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP2829294B2 (en) Image information recording medium and method of manufacturing the same
JP3887398B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JPH1098721A (en) Encoding and decoding system for image information
JP3680077B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680069B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3887400B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680075B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680074B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680073B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP3680072B2 (en) Image information encoding method, reproducing method, and reproducing apparatus
JP2004343786A (en) Encoding method, reproducing method, and reproducing apparatus, of image information
JP2004343785A (en) Encoding method, reproducing method, and reproducing apparatus, of image information
JP2004266869A (en) Playback apparatus and playback method
JP2004320802A (en) Method for encoding image information, method and apparatus for reproduction thereof
JP2004328782A (en) Encoding method, decoding method and decoding device of image information

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20130502

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20140421

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20150417

Year of fee payment: 17

EXPY Expiration of term