KR100198296B1 - Method for compression, encoding/drcoding of overlay fonts in karaoke machine - Google Patents

Method for compression, encoding/drcoding of overlay fonts in karaoke machine Download PDF

Info

Publication number
KR100198296B1
KR100198296B1 KR1019950053468A KR19950053468A KR100198296B1 KR 100198296 B1 KR100198296 B1 KR 100198296B1 KR 1019950053468 A KR1019950053468 A KR 1019950053468A KR 19950053468 A KR19950053468 A KR 19950053468A KR 100198296 B1 KR100198296 B1 KR 100198296B1
Authority
KR
South Korea
Prior art keywords
font
decoding
encoding
compression
compressed
Prior art date
Application number
KR1019950053468A
Other languages
Korean (ko)
Other versions
KR970050786A (en
Inventor
이명구
Original Assignee
구자홍
엘지전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 구자홍, 엘지전자주식회사 filed Critical 구자홍
Priority to KR1019950053468A priority Critical patent/KR100198296B1/en
Publication of KR970050786A publication Critical patent/KR970050786A/en
Application granted granted Critical
Publication of KR100198296B1 publication Critical patent/KR100198296B1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • G10H1/361Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/82Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only
    • H04N9/8205Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal
    • H04N9/8233Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal the additional signal being a character code signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

본 발명은 가요 반주기기에 관한 것으로서, 종래에는 이러한 글자의 필요성과, 여러가지 서체지원등으로 가요반주기기에서 사용하는 폰트의 수가 늘어나는 경우, 또는 중국의 문자 즉, 한자를 가요반주기기에 내장하는 경우에는 대용량의 폰트저장 공간이 필요하게 된다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a flexible half-cycle machine. In the related art, when the number of fonts used in the flexible half-cycle machine increases due to the necessity of such letters and various fonts, or when Chinese characters, ie, Chinese characters are embedded in the flexible half-cycle machine, Requires a large amount of font storage space.

또한 압축 폰트데이타 전용 디코딩부에 의해 기존의 여러가지 압축방법들은 동작방법이 복잡하여 화면 프로세서부만으로는 폰트의 실시간 디코딩을 수행하지 못해 가요반주 제어의 동작이 상당히 어렵게 되는 문제점이 있었다.In addition, the conventional compression method by the compression font data dedicated decoding unit has a problem that the operation of the flexible accompaniment control is very difficult because the operation method is complicated to perform the real-time decoding of the font only by the screen processor unit.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위해 단순하면서도 효율적인 폰트 압축방법을 제시하므로서, 가요 반주기기의 비디오 오버레이에 사용하는 한글 및 한자 폰트 저장 롬의 크기를 줄이고, 또한 압축 인코딩 및 압축 디코딩을 화면 프로세서에서 수행할 때 전체적인 영상 오버레이 정보의 속도가 별다른 무리없이 진행시키고자 하는 가요 반주기기의 비디오 오버레이 폰트(FONT) 압축 인코딩/디코딩 방법이다.Accordingly, the present invention provides a simple and efficient font compression method to solve the above problems, thereby reducing the size of the Hangul and Chinese character font storage ROM used in the video overlay of the flexible half-cycle period, and also compressive encoding and compression decoding. This is a half-cycle video overlay font (FONT) compression encoding / decoding method that allows the speed of the overall image overlay information to be easily performed when executed in the screen processor.

Description

가요 반주기기의 비디오 오버레이 폰트(FONT) 압축 인코딩/디코딩 방법How to encode / decode video overlay font (FONT) compression

제1도는 일반적인 가요 반주기기의 구조를 보인 블럭도.1 is a block diagram showing the structure of a general flexible semi-period.

제2도는 종래 가요 반주기기의 비디오 오버레이 폰트 압축 장치의 구조를 보인 블럭도.2 is a block diagram showing the structure of a video overlay font compression apparatus of a conventional flexible half-cycler.

제3도는 본발명 가요 반주기기의 비디오 오버레이 폰트 압축 인코딩/디코딩 장치의 구조를 보인 블럭도.3 is a block diagram showing the structure of a video overlay font compression encoding / decoding device of the present invention.

제4도는 본발명 가요 반주기기와 비디오 오버레이 폰트 압축 인코딩 방법을 보인 플로우차트.4 is a flowchart showing the present invention flexible half cycle and video overlay font compression encoding method.

제5도는 본발명 가요 반주기기의 비디오 오버레이 폰트 압축 디코딩 방법을 보인 플로우차트.5 is a flowchart showing a video overlay font compression decoding method of the present invention.

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

1 : 시스템 제어수단 3 : 영상 처리수단1 system control means 3 image processing means

2 : 음성 처리수단2: voice processing means

본 발명은 가요 반주기기에 관한 것으로서, 특히 가요 반주기기의 비디오 오버레이에 사용하는 한글 및 한자 폰트저장 롬(ROM)의 크기를 줄이면서 압축인코딩 및 압축디코딩을 화면 프로세서에서 별다른 무리없이 수행할수 있도록 하는 가요 반주기기의 비디오 오버레이 폰트 압축 인코딩/디코딩 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a flexible half-cycler, and in particular, to reduce the size of the Hangul and Hanja font storage ROMs (ROM) used in the video overlay of the flexible half-cycler, so that the compression encoding and the compression decoding can be easily performed in the screen processor. The present invention relates to a method for encoding / decoding a video overlay font of a flexible semi-period.

일반적으로 가요 반주기기는 도면 제1도에 도시된 바와같이, 사용자의 인터페이스와 시스템 각부의 동작을 제어하는 시스템 제어수단(1)과, 상기 시스템 제어수단(1)의 제어에 따라 음원정보를 음원처리하는 음성 처리수단(2)과, 시스템 제어수단(1)의 제어에 따라 영상 및 영상 오버레이용 정보를 처리하는 영상 처리수단(3)으로 구성되며, 상기 시스템 제어수단(1)에는 미디(MIDI)데이타 및 영상 오버레이용 정보를 저장시키는 음악데이타 저장부(4)와, 상기 음악데이타 저장부(4)에 저장된 미디데이타 및 영상 오버레이용 정보를 출력시키도록 제어동작하는 마이크로 프로세서부(5)와, 상기 마이크로 프로세서부(5)의 제어동작을 스위칭시키는 스위칭부(6)로 구성된다.In general, the flexible semi-cycler processes sound source information according to the control of the system control means 1 and the system control means 1 for controlling the operation of the user interface and the system parts, as shown in FIG. Audio processing means (2) and image processing means (3) for processing information for image and image overlay under the control of the system control means (1), the system control means (1) A music data storage unit 4 for storing data and information for image overlay, a microprocessor unit 5 for controlling to output MIDI data and image overlay information stored in the music data storage unit 4, It consists of a switching unit (6) for switching the control operation of the microprocessor unit (5).

그리고, 상기 영상 처리수단(3)에는 폰트(PONT)데이타를 저장하는 폰트데이타 저장부(7)와, 영상정보를 저장하는 영상데이타 저장부(8)와, 시스템 제어수단(1)의 마이크로 프로세서부(5)에서 출력되는 영상 오버레이용 정보에 따라 상기 폰트데이타 저장부(7) 및 영상데이타 저장부(8)에서의 폰트데이타 및 영상데이타를 화면 처리하는 화면 프로세서부(9)와, 상기 화면 프로세서부(9)에 의해 화면 처리된 영상정보를 저장시키는 영상 램(RAM)(10)과, 상기 영상 RAM(10)에 화면 처리되어 저장된 영상정보를 디스플레이시키는 디스플레이 처리부(11)와, 화면 프로세서부(9)의 제어에 따라 상기 디스플레이 처리부(11)에서 디스플레이되는 영상정보 및 외부영상 처리부(13)에서 입력되는 외부영상을 중첩하여 노래반주기기의 화면상에 출력시키는 중첩 디스플레이부(12)로 구성된 것으로서, 이의 동작을 설명하면 다음과 같다.In addition, the image processing means 3 includes a font data storage unit 7 for storing font (PONT) data, an image data storage unit 8 for storing image information, and a microprocessor of the system control unit 1. A screen processor 9 for screen-processing font data and image data in the font data storage unit 7 and the image data storage unit 8 according to the image overlay information output from the unit 5; An image RAM (RAM) 10 for storing image information processed by the processor 9, a display processor 11 for displaying image information processed and stored in the image RAM 10, and a screen processor. According to the control of the unit 9 to the superimposed display unit 12 to superimpose the image information displayed in the display processing unit 11 and the external image input from the external image processing unit 13 and output on the screen of the song repeaterAs the configuration, the operation thereof is as follows.

먼저, 사용자가 노래반주기기를 이용하여 노래를 부르고자 노래반주시스템의 시스템 제어수단(1)에 구성된 스위칭부(6)를 스위칭 동작시키면, 상기 스위칭부(6)의 스위칭 동작에 따라 마이크로 프로세서부(5)에서는 노래반주에 따른 기능을 수행하게 된다.First, when the user switches the switching unit 6 configured in the system control unit 1 of the song accompaniment system to sing a song using a karaoke cycle machine, the microprocessor unit (according to the switching operation of the switching unit 6) ( In 5) will perform the function according to the song accompaniment.

즉, 상기 마이크로 프로세서부(5)에서는 음악데이타 저장부(4)에 저장되어 있는 음원정보 및 영상 오버레이용 정보(예:노래의 제목 및 가사 등)를 출력시킬수 있도록 상기 음악 데이타 저장부(4)를 제어하게 된다.That is, the microprocessor unit 5 outputs the sound source information and the image overlay information (for example, the title and lyrics of the song) stored in the music data storage unit 4 to the music data storage unit 4. Will be controlled.

이때, 상기 마이크로 프로세서부(5)의 제어에 따라 음악데이타 저장부(4)에서 출력되는 음원정보는 음성 처리수단(2)에 출력되므로서, 상기 음성 처리수단(2)에서는 입력된 음원정보를 음원처리시켜 사용자가 들을수 있는 음원을 발생시키게 된다.At this time, under the control of the microprocessor unit 5, the sound source information output from the music data storage unit 4 is output to the voice processing unit 2, so that the sound processing unit 2 receives the input sound source information. The sound source is processed to generate a sound source that can be heard by the user.

또한, 상기 음악데이타 저장부(4)에서 출력되는 영상 오버레이용 정보(예;노래의 제목 및 가사 등)는 영상 처리수단(3)에 구성된 화면 프로세서부(9)에 출력되므로서, 상기 화면 프로세서부(9)에서는 입력된 영상 오버레이용 정보(예, 노래의 제목 및 가사 등)에 따라 폰트데이타 저장부(7) 및 영상데이타 저장부(8)에 저장되어 있는 폰트데이타 및 영상데이타를 읽고 화면 처리시킨후, 영상 램(10)에 출력하여 저장시키게 된다.In addition, the image overlay information (for example, the title and lyrics of the song) output from the music data storage unit 4 is output to the screen processor unit 9 configured in the image processing unit 3, and thus, the screen processor. In the section 9, the font data and the image data stored in the font data storage unit 7 and the image data storage unit 8 according to the input image overlay information (for example, the title and lyrics of the song) are read and displayed. After processing, it is output to the image RAM 10 and stored.

이때, 상기 영상 램(10)에서는 화면 처리되어 저장된 영상정보(예;노래의 제목 및 가사등)를 디스플레이시킬수 있도록 디스플레이 처리부(11)에 출력시키며, 상기 디스플레이 처리부(11)에서는 입력된 영상정보(예;노래의 제목 및 가사 등)를 디스플레이시키면서 중첩 디스플레이부(12)에 출력시키게 된다.At this time, the image RAM 10 is output to the display processing unit 11 to display the stored image information (for example, the title and lyrics of the song, etc.) screen is processed, the display processing unit 11 is input image information ( For example, the title and lyrics of the song, etc.) are displayed on the overlapping display unit 12 while being displayed.

그리고, 상기 중첩 디스플레이부(12)에서는 화면 프로세서부(9)의 제어에 따라 입력된 영상정보 및 외부영상 처리부(13)에서 출력시키는 외부영상(예, 영화화면 또는 배경화면 등)을 중첩시키면서 노래반주기기의 화면상에 출력시키므로서, 사용자에게 상기 설명된 음성정보 및 영상정보를 동시에 제공하게 되는 것이다.In addition, the superimposed display unit 12 sings while superimposing the input image information under the control of the screen processor unit 9 and the external image (eg, a movie screen or a background screen) output by the external image processor 13. By outputting on the screen of the repeater, the above-described voice information and video information are simultaneously provided to the user.

그러므로, 상기 설명된 일반적인 노래반주기기 장치를 참고로 종래 가요 반주기기의 비디오 오버레이 폰트 압축 장치는 도면 제2도에 도시된 바와같이, 영상 처리수단(3)에 구성되어 폰트데이타를 압축하여 저장시키는 압축 폰트데이타 저장부(14)와, 시스템 제어수단(1)에 구성된 마이크로 프로세서부(5)에서 출력시키는 영상 오버레이 정보에 따라 상기 압축 폰트데이타 저장부(14)에 압축되어 저장된 폰트데이타를 화면 프로세서부(9)에 출력시킬수 있도록 상기 압축 폰트데이타를 디코딩시키는 압축 폰트데이타 전용 디코딩부(15)로 구성된 것으로서, 이를 이용한 폰트데이타의 압축을 설명하면, 영상 처리수단(3)에 구성된 압축 폰트데이타 저장부(14)에서는 폰트데이타를 압축하여 저장시키고 있는 상태인 경우, 시스템 제어수단(1)에 구성된 음악데이타 저장부(4)에서 영상 오버레이 정보(011, 노래의 제목 및 가사 등)를 상기 영상 처리수단(3)의 화면 프로세서부(9) 및 압축 폰트데이타 전용 디코딩부(15)에 출력시키면, 상기 압축 폰트데이타 저장부(14)에서는 압축되어 있는 폰트데이타를 압축 폰트데이타 전용 디코딩부(15)에 출력시키게 된다.Therefore, the video overlay font compression apparatus of the conventional flexible half cycler with reference to the general song repeater described above is configured in the image processing means 3 to compress and store font data, as shown in FIG. The compressed font data storage unit 14 and the font data compressed and stored in the compressed font data storage unit 14 according to the image overlay information output from the microprocessor unit 5 configured in the system control means 1 are screen processors. Compressed font data dedicated decoding unit 15 for decoding the compressed font data to be output to the unit (9), when the compression of the font data using the same will be described, storing the compressed font data configured in the image processing means (3) In the section 14, when the font data is compressed and stored, the music data configured in the system control means 1 is stored. If the storage unit 4 outputs the image overlay information (011, the title and lyrics of the song, etc.) to the screen processor unit 9 and the compressed font data dedicated decoding unit 15 of the image processing means 3, The font data storage unit 14 outputs the compressed font data to the compressed font data dedicated decoding unit 15.

이때, 상기 압축 폰트데이타 전용 디코딩부(15)에서는 입력된 압축 폰트데이타를 화면 프로세서부(9)에 출력시킬수 있도록 디코딩 동작을 수행하므로서, 상기 압축된 폰트데이타를 원래의 폰트데이타로 복원하여 화면 프로세서부(9)에 출력시켜 화면 처리하는 것이다. 여기서, 현재 국내에서 사용되는 노래반주기기에서는 보통 한글만을 사용하고, 그에 따라 시스템 제어수단(1)에 구성된 음악데이타 저장부(4)에서 영상 오버레이 정보(예;노래의 제목 및 가사 등)를 출력시킬 경우, 상기 영상 오버레이 정보(예, 노래의 제목 및 가사 등)에 사용되는 압축 폰트데이타 저장부(14)의 전체크기는 48×60 크기의 폰트의 경우에 약 1.7 Mbyte 정도되는 크기의 폰트 데이타를 저장시키는 동작을 수행하는 것으로, 도면 제1도의 일반적인 노래반주기기에서와 동일한 구성 및 동작에 대하여는 동일부호로 표시하여 중복되는 설명을 생략하였다.At this time, the dedicated decoding font data decoding unit 15 performs a decoding operation to output the input compressed font data to the screen processor unit 9, thereby restoring the compressed font data to the original font data to the screen processor. It outputs to the part 9 and screen-processes. Here, the song banjugi currently used in the country usually uses only Hangul, and accordingly outputs the image overlay information (for example, the title and lyrics of the song) from the music data storage unit 4 configured in the system control means (1) In this case, the total size of the compressed font data storage unit 14 used for the image overlay information (eg, the title and lyrics of the song) is about 1.7 Mbytes of font data in the case of a 48 × 60 font. The same configuration and operation as those of the general karaoke apparatus of FIG. 1 are denoted by the same reference numerals, and description thereof will not be repeated.

그러나, 종래 가요 반주기기의 비디오 오버레이 폰트 압축 장치는 미려한 글자의 필요성과, 여러가지 서체지원등으로 가요반주기기에서 사용하는 폰트의 수가 늘어나는 경우, 또는 중국의 문자 즉, 한자를 가요반주기기에 내장하는 경우에는 대용량(예;중국한자 7000여개에 48×60크기의 폰트를 기준으로 약 5.7Mbyte정도가 필요)의 폰트저장 공간이 필요하게된다. 또한 압축 폰트데이타 전용 디코딩부(15)에서 사용하는 기존의 여러가지 압축방법은 동작방법이 복잡하여 화면 프로세서부(7)만으로는 폰트의 실시간 디코딩을 수행하지 못한다.However, the conventional video overlay font compression apparatus of the flexible half-cycler has a need to add beautiful characters and support various types of fonts to increase the number of fonts used in the flexible half-cycler, or to insert Chinese characters, ie, Chinese characters into the flexible half-cycler. In this case, a large amount of font storage space is required (e.g., about 7,000 Chinese characters, about 5.7Mbyte based on a 48 × 60 font). In addition, various conventional compression methods used by the compressed font data decoding unit 15 are complicated to operate, and thus, the screen processor 7 alone cannot perform real-time decoding of fonts.

따라서, 본 발명은 이와같은 문제점을 해결하기 위해 단순하면서도 효율적인 폰트 압축방법을 제시하므로서, 가요 반주기기의 비디오 오버레이에 사용하는 한글 및 한자 폰트저장 롬(ROM)의 크기(예;507)를 줄이고, 또한 압축 인코딩 및 압축 디코딩을 화면 프로세서에서 수행할때 전체적인 영상 오버레이 정보의 속도가 별다른 무리없이 진행시키고자 하는데 목적이 있는 것으로, 상기 목적 달성을 위한 본 발명 장치적인 수단인 도면 제3도의 블럭도는 도면 제1도 및 제2도의 노래반주기기 장치에서와 동일부분에 대하여는 중복되는 설명을 생략한 것으로서 이를 참조하여, 본 발명 가요 반주기기의 비디오 오버레이 폰트 압축 인코딩/디코딩 방법의 진행과정을 첨부된 도면 제4도 및 제5도를 참조하여 설명하면 다음과 같다.Accordingly, the present invention provides a simple and efficient font compression method to solve the above problems, thereby reducing the size (eg, 507) of the Hangul and Hanja font storage ROMs (ROM) used in the video overlay of the flexible semi-period, In addition, the object of the present invention is to achieve the above object, and the block diagram of FIG. Duplicate description of the same parts as those of the song repeater apparatus of FIGS. 1 and 2 is omitted, and the process of the video overlay font compression encoding / decoding method of the present invention is referred to. Referring to Figures 4 and 5 as follows.

먼저, 영상의 오버레이 정보를 화면 프로세서의 내부적인 처리로 가능하도록 폰트데이타를 압축 인코딩 실현을 위해 일정폰트를 초기화시키는 압축 인코딩 초기화 단계와, 상기 초기화된 일정폰트에 따라 폰트의 압축 인코딩 동작을 수행하는 압축 인코딩 실행 단계와, 상기 압축 인코딩 단계에 의해 압축 인코딩된 폰트데이타를 영상 오버레이에 따라 사용가능하도록 압축 디코딩시키는 압축 디코딩 단계로 진행되는 것으로, 상기 압축 인코딩 초기화 단계는 일정폰트의 가로 갯수와 같은 수로 선언된 인코딩 폰트의 특징을 초기화시키는 제1단계와, 상기 일정폰트의 첫번째 라인을 인코딩하기 위해 인코딩의 비교 데이타를 초기화시키는 제2단계로 진행되는 것을 특징으로 한다.First, a compression encoding initialization step of initializing a predetermined font for compressing encoding font data so that overlay information of an image may be internally processed by a screen processor, and performing a compression encoding operation of a font according to the initialized constant font. A compression decoding step of compressing and encoding the font data encoded by the compression encoding step so as to be usable according to the image overlay. The compression encoding initialization step is performed by a number equal to the horizontal number of fonts. And a second step of initializing a feature of the declared encoding font and a second step of initializing comparison data of encoding to encode the first line of the predetermined font.

그리고, 상기 압축 인코딩 실행 단계는 압축해야할 일정폰트의 한 라인을 일시저장시키는 제3단계와, 상기 일시저장된 일정폰트에 따라 일정 바이트정보를 인코딩 폰트의 한 비트로 저장시킬 것인가, 또는 두 바이트로 저장시킬 것인가를 결정하여 처리하는 제4단계와, 상기 결정되어 처리된 저장방식에 따라 한 라인의 압축이 종료시 인코딩 비교 데이타를 갱신하여 다음 라인 압축의 기준으로 설정하는 제5단계로 진행되며, 상기 제4단계에 있어서, 압축의 기준을 인코딩 비교 데이타와 인코딩되는 데이타의 비교를 통해 결정하는 제6 단계로 진행되는 것을 특징으로 한다.In the compressing encoding execution step, a third step of temporarily storing one line of the constant font to be compressed and storing the constant byte information as one bit or two bytes of the encoding font according to the temporarily stored constant font A fourth step of determining whether to process the data, and a fifth step of updating encoding comparison data at the end of the compression of one line according to the determined and processed storage method and setting the reference of the next line compression. In the step, characterized in that the sixth step of determining the criterion of compression by comparing the encoded comparison data and the encoded data.

한편, 상기 압축 디코딩 단계는 압축 인코딩된 폰트의 디코딩을 실현하기 위해 일정폰트를 초기화시키는 압축 폰트 디코딩 초기화 단계와, 상기 초기화된 일정폰트에 따라 압축폰트의 디코딩 동작을 수행하는 압축 폰트 디코딩 실행 단계로 진행되는 것을 특징으로 하며, 상기 압축 폰트 디코딩 실행 단계는 일정폰트의 가로 갯수와 같은 수로 선언된 인코딩 폰트의 압축 정보를 체크하여 폰트의 압축여부를 판단하는 제7 단계와, 상기 판단에 따라 한 라인의 압축 폰트 디코딩이 종료시 다음라인의 디코딩을 위한 비교 데이타의 갱신부분과 디코딩된 폰트를 저장하여 기록하는 제8 단계로 진행되는 것을 특징으로 한다.Meanwhile, the compression decoding step includes a compression font decoding initialization step of initializing a predetermined font to realize decoding of a compression-encoded font, and a compression font decoding execution step of performing a decoding operation of a compression font according to the initialized constant font. The compressed font decoding execution step may include: a seventh step of determining whether or not the font is compressed by checking compression information of the encoded font declared as the same number as the horizontal number of the predetermined font; When the compressed font decoding is finished, the eighth step of storing and recording the updated portion of the comparison data for decoding the next line and the decoded font is performed.

이와같이 진행되는 가요 반주기기와 비디오 오버레이 폰트 압축 인코딩/디코딩 방법의 동작에 대하여 설명하면 다음과 같다.The operation of the flexible half cycle and the video overlay font compression encoding / decoding method described above will be described as follows.

먼저, 영상의 오버레이 정보를 화면 프로세서부(9)의 내부적인 처리로 가능하도록 폰트 데이타를 압축 인코딩시키는 경우, 상기 폰트데이타를 압축 인코딩시키기 위해서는 폰트의 연속변수(orgfnt(i))에 압축 인코딩을 하기 위한 원래의 폰트데이타를 저장시킨 상태에서 압축 인코딩을 실현하기 위해 폰트를 초기화시킨 후, 폰트의 압축 인코딩을 수행하게 되는 것으로, (i)는 일반변수이다.First, when font data is compressed and encoded so that overlay information of an image can be internally processed by the screen processor unit 9, compression encoding is performed on a continuous variable orfnt (i) of the font in order to compress and encode the font data. After initializing the font to realize the compression encoding while storing the original font data to be performed, compression encoding of the font is performed. (I) is a general variable.

상기 폰트데이타의 압축 인코딩의 초기화에서 인코딩 폰트의 갯수를 저장하는 변수(k)와 일반변수(j)를 초기화 시킨 후, 상기 일반변수(j)의 크기를 폰트의 세로크기(PNTY)와 비교 판단하게 된다.After initializing the variable (k) and the general variable (j) for storing the number of encoded fonts in the compression encoding of the font data, the size of the general variable (j) is compared with the vertical size (PNTY) of the font. Done.

즉, 상기 판단에 따라 일반변수(i)의 크기가 폰트의 세로크기(FNTY)보다 작을 경우 (iFNTY), 상기 폰트의 세로크기(FNTY)와 같은 수로 선언된 인코딩 폰트의 특징을 저장시키는 연속 변수(spbyte(i))를 초기화시키고, 상기 일반변수(i)를 가산(i=i+1)시키게 되며, 상기 판단에 따라 일반변수(i)의 크기가 폰트의 세로크기(FNTY)보다 클 경우(iFNTY), 상기 일반변수(i)를 초기화시킨 후, 상기 초기화된 일반변수(i)의 크기를 폰트의 가로크기(FNTL)의 ¼과 비교 판단하게 된다.That is, according to the determination, when the size of the general variable i is smaller than the font size FNTY (iFNTY), a continuous variable for storing the characteristics of the encoded font declared as the same number as the font size FNTY. (spbyte (i)) is initialized and the general variable (i) is added (i = i + 1), and if the size of the general variable (i) is larger than the font size (FNTY) according to the judgment (iFNTY) and after initializing the general variable (i), the size of the initialized general variable (i) is compared with ¼ of the horizontal size (FNTL) of the font.

이때, 상기 판단에 따라 초기화된 일반변수(i)의 크기가 폰트의 가로크기(PNTL)의 ¼보다 작을 경우(iFHTL), 폰트의 첫번째 라인을 인코딩하기 위해 상기 인코딩의 비교 데이타를 저장시키는 연속변수(refline(i))에 초기화시킨 후, 상기 일반변수(i)를 가산(i=i+1)시키게 되며, 상기 판단에 따라 초기화된 일반변수(i)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 클경우 (iFNTL), 상기 일반변수(i)(j)를 초기화시키므로서, 상기 초기화된 일반변수(i)(j)에 따랴 폰트의 압축 인코딩 동작을 수행하는 하게 된다.In this case, when the size of the general variable (i) initialized according to the determination is smaller than ¼ of the horizontal size (PNTL) of the font (iFHTL), the continuous variable for storing the comparison data of the encoding to encode the first line of the font. After initializing to (refline (i)), the general variable (i) is added (i = i + 1), and the size of the general variable (i) initialized according to the determination is the horizontal size (FNTL) of the font. If larger than ¼ (iFNTL), the general variable (i) (j) is initialized, and the compression encoding operation of the font is performed according to the initialized general variable (i) (j).

이때, 상기 압축 인코딩 동작은 초기화된 일반변수(i)의 크기를 폰트의 세로크기(PNTY)와 비교 판단하게 되며, 상기 판단에 따라 초기화된 일반변수(i)의 크기가 폰트의 세로크기(FNTY)보다 클 경우 (iFNTY)에는 폰트의 압축 동작을 완료하고, 상기 초기화된 일반변수(i)의 크기가 폰트의 세로크기(FNTY)보다 작을 경우(iFNTY)에는, 일반변수(j)의 크기를 폰트의 가로크기(FNTL)의 ¼과 비교 판단하는 단계를 실행시키게 된 다.In this case, the compression encoding operation compares the size of the initialized general variable (i) with the vertical size (PNTY) of the font, and according to the determination, the size of the initialized general variable (i) is the vertical size (FNTY) of the font. Is larger than i), iFNTY completes the compression operation of the font. If the size of the initialized general variable i is smaller than the font size FNTY (iFNTY), the size of the general variable j is reduced. A step of comparing and determining the font width (¼) of the font size (FNTL) is performed.

이때, 상기 판단에 따라 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 작을 경우( jFNTL), 상기 연속변수(orgfnt(i))에 저장된 압축 인코딩을 하기 위한 원래 폰트데이타의 일반변수(j)에서 압축해야할 폰트의 한 라인(orgfnt(i*FNTL+j))을 연속변수(oneline(j))에 일시적으로 저장시키면서 상기 일반변수(j)를 가산(j=j+1)시키게 된다.In this case, when the size of the general variable j is smaller than ¼ of the font size FNTL (jFNTL), the original font data for compression encoding stored in the continuous variable orffnt (i) is determined. In the general variable (j), the general variable (j) is added (j = j + 1 while temporarily storing one line (orgfnt (i * FNTL + j)) of the font to be compressed in the continuous variable (oneline (j)). Done.

그리고, 상기 판단에 따라 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 클 경우(jFNTL), 상기 일반변수[j]를 초기화시킨 후, 재차 상기 일반변수(j)의 크기를 폰트의 가로크기(FNTL)의 ¼과 비교 판단하는 단계를 실행시키게 된다.If the size of the general variable j is larger than ¼ of the font size FNTL (jFNTL) according to the determination, the size of the general variable j is initialized again after initializing the general variable [j]. Is compared with ¼ of the font size (FNTL).

따라서, 상기 판단에 따라 초기화된 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 클 경우(jFNTL), 일시저장된 비교폰트(refline(i))에 따라 일정 바이트정보를 인코딩 폰트의 한 비트로 저장시킬 것인가, 또는 두 바이트로 저장시킬 것인가를 결정하여 처리하게 되는 것으로서, 이를 구체화시키면, 비교데이타가 저장된 연속변수(refline(i))(refline(i+1))와 인코딩을 위한 폰트의 데이타가 저장된 연속변수(oneline(j))(oneline(i+1))가 동일한가를 비교 판단하므로서, 저장방법을 결정하게 되는 것이다.Therefore, if the size of the general variable (j) initialized according to the determination is larger than ¼ of the font size (FNTL) (jFNTL), encoding the predetermined byte information according to the temporarily stored comparison font (refline (i)) It is processed by determining whether to store one bit or two bytes of the data. If this is specified, the comparison data is stored for the continuous variable (refline (i)) (refline (i + 1)) and encoding. The storage method is determined by comparing and determining whether the continuous variable (oneline (j)) (oneline (i + 1)) in which the font data is stored is the same.

즉, 상기 판단 결과에 따라 각각의 연속변수 또는 가산된 각각의 연속변수가 동일하면, 일시 저장된 일정폰트에 따라 두 바이트정보를 인코딩 폰트의 특징을 저장하는 연속변수(spbyte(i))의 한 비트(1《(7-j/2))로 표시하여 저장시키고, 일반변수(j)를 가산(j=j+2)시켜 상기 설명된 동작을 반복하면 폰트의 압축 효과를 발생시키면서 초기화된 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 크게(j≥FNTL) 만드는 것이다.That is, if each continuous variable or each added continuous variable is the same according to the determination result, one bit of the continuous variable (spbyte (i)) storing the characteristics of the encoding font by encoding two bytes of information according to the temporarily stored constant font. (1 < (7-j / 2)) to store and add the general variable (j) (j = j + 2) to repeat the operation described above. The size of (j) is larger than ¼ of the font size (FNTL) (j≥FNTL).

또한, 상기 판단 결과에 따라 각각의 연속변수 또는 가산된 각각의 연속변수가 동일하지 않으면, 인코딩 폰트를 저장하는 연속변수(ecdfnt(k))(ecdfnt(k+1))에 인코딩 되는 폰트의 데이타가 저장된 연속변수(oneline(j))(oneline(i+1))의 두 바이트로 저장시키고, 상기 인코딩 폰트의 갯수를 저장하는 변수(7)를 가산(k=k+2)시킨 후, 상기 일반변수(j)를 가산(j=j+2)시키고 상기 설명된 동작을 반복하면 폰트의 압축 효과를 발생시키면서 초기화된 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 크게(j≥FNTL) 만드는 것이다.Also, if each continuous variable or each added continuous variable is not the same according to the determination result, data of the font encoded in the continuous variable (ecdfnt (k)) (ecdfnt (k + 1)) storing the encoding font is used. Is stored as two bytes of the stored continuous variable (oneline (j)) (oneline (i + 1)), and the variable 7 storing the number of encoding fonts is added (k = k + 2), and then By adding the general variable (j) (j = j + 2) and repeating the above-described operation, the size of the initialized general variable (j) is larger than ¼ of the font's horizontal size (FNTL) while generating the compression effect of the font. (j≥FNTL).

그러므로, 상기 설명된 저장 단계에 의해 초기화된 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 클 경우(j≥PNTL)에는, 상기 초기화된 일반변수(j)를 다시 초기화시킨 후, 상기 일반변수(j)의 크기를 폰트의 가로크기(PNTL)의 ¼과 재차 비교 판단 단계를 실행시키게 된다.Therefore, when the size of the general variable j initialized by the storing step described above is larger than ¼ of the horizontal size FNTL of the font (j≥PNTL), the initialized general variable j is reinitialized. Then, the size of the general variable (j) is compared with ¼ of the horizontal size (PNTL) of the font.

즉, 상기 재차 비교 판단된 일반변수(j)의 크기와 폰트의 가로크기(FNTL)의 ¼에 따라 상기 설명된 단계를 반복하면서 인코딩 폰트의 비교데이타가 저장된 연속변수(recline(i))와 폰트의 데이타가 저장된 연속변수(oneline(i))를 일치시키고, 상기 일반변수(j)를 가산(j=j+1)시키므로서, 한 라인에서의 폰트의 압축 인코딩을 완료하게 된다.That is, repeating the above-described steps according to the size of the general variable (j) and ¼ of the horizontal size (FNTL) of the font, which are again determined to be compared, the continuous variable (recline (i)) and the font in which the comparison data of the encoded font are stored The compression encoding of the font in one line is completed by matching the continuous variable (oneline (i)) in which the data of < Desc / Clms Page number 5 > is stored and adding the general variable (j) (j = j + 1).

이때, 상기 결정되어 처리된 저장방식에 따라 한 라인의 압축이 종료되면, 상기 연속변수(refline(i))에 저장된 인코딩 비교 데이타를 갱신하여 다음 라인 압축의 기준으로 설정하면서 계속해서 압축 인코딩 동작을 수행하게 되는 것으로서, 상기 동작에 따라 원래의 폰트가 저장된 연속변수(orgfnt(r))대신에 인코딩 폰트를 저장하는 연속변수(ecdfnt(k))와 인코딩 폰트의 특징을 저장하는 연속변수(spbyte(i))에 저장되어 폰트데이타의 압축 인코딩 동작을 완료하게 되는 것이다.In this case, when the compression of one line is terminated according to the determined and processed storage method, the encoding encoding operation is continuously performed while updating the encoding comparison data stored in the continuous variable refline (i) and setting it as a reference for the next line compression. According to the operation, instead of the continuous variable (orgfnt (r)) in which the original font is stored, the continuous variable (ecdfnt (k)) storing the encoded font and the continuous variable (spbyte ( i)) to complete the compression encoding operation of the font data.

한편, 상기 압축 인코딩 단계에 의해 압축 인코딩된 폰트데이타를 시스템 제어수단(1)의 음악데이타 저장부(4)에서 출력시키는 영상 오버레이 정보(예;노래의 제목 및 가사 등)에 따라 영상 처리수단(3)에 구성된 화면 프로세서부(9)에서 사용 가능하도록 압축 디코딩시키고자 할 경우 상기 압축된 폰트데이타를 디코딩시키기 위해서는 상기 설명한 압축 디코딩에 의해 인코딩 폰트데이타를 저장하는 연속변수(ecdfnt(k1))와 인코딩 폰트의 특징을 저장하는 연속변수(spbyte(i))에 압축 인코딩된 폰트가 들어 있는 상태에서 시작하는 것으로, 상기 압축 인코딩된 폰트의 디코딩을 실현하기 위해서는 비교폰트(refline(i))를 초기화시키는 압축 폰트 디코딩 초기화 단계를 수행하게 된다.On the other hand, the image processing means according to the image overlay information (for example, the title and lyrics of the song) to output the font data compression-encoded by the compression encoding step from the music data storage unit 4 of the system control means 1 ( In order to decode the compressed font data to be usable by the screen processor unit 9 configured in 3), in order to decode the compressed font data, a continuous variable (ecdfnt (k1)) storing the encoded font data by the above-described compression decoding and Starting with a compressed-encoded font in a continuous variable (spbyte (i)) that stores the characteristics of the encoded font, in order to realize decoding of the compressed-encoded font, the comparison font (refline (i)) is initialized. The compressed font decoding initialization step is performed.

즉, 상기 압축 폰트 디코딩 초기화 단계에서는 일반변수(i) 및 디코딩 폰트의 라인 수를 연산하는 변수(j)와, 압축 폰트를 읽어오는 갯수를 저장하는 변수(71), 그리고 디코딩 폰트의 갯수를 저장하는 변수(r)를 초기화시킨 후, 상기 일반변수(i)의 크기를 폰트의 가로크기(FNTL)의 ¼과 비교 판단하게 된다.That is, in the compressed font decoding initialization step, the general variable i and the variable j for calculating the number of lines of the decoded font, the variable 71 for storing the number of compressed fonts and the number of decoded fonts are stored. After initializing the variable r, the size of the general variable i is compared with ¼ of the horizontal size FNTL of the font.

이때, 상기 판단에 따라 일반변수(i)의 크기가 폰트의 가로크기(PNTL)의 ¼보다 작을 경우(iFNTY), 폰트의 첫번째 라인을 디코딩하기 위해 상기 디코딩의 비교 데이타를 저장시키는 연속변수(refline(i))를 초기화시킨 후, 상기 일반변수(i)를 가산(i=i+1)시키게 된다.In this case, when the size of the general variable i is smaller than ¼ of the font size PNTL (iFNTY) according to the determination, a continuous variable for storing the comparison data of the decoding to decode the first line of the font is refline. After initializing (i)), the general variable (i) is added (i = i + 1).

그리고, 상기 판단에 따라 초기화된 일반변수(i)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 클 경우(jFNTL), 상기 일반변수(i)를 초기화시키므로서, 상기 초기화된 일반변수(j)에 따라 폰트의 압축 디코딩 동작을 수행하는 것으로, 상기 일반변수(i)의 크기를 폰트의 가로크기(FNTL)의 ¼과 비교 판단하는 단계를 실행시키게 된다.When the size of the general variable (i) initialized according to the determination is larger than ¼ of the horizontal size (FNTL) of the font (jFNTL), the general variable (j) is initialized by initializing the general variable (i). By performing compression decoding operation of the font, the step of comparing and determining the size of the general variable (i) with ¼ of the horizontal size (FNTL) of the font is performed.

이때, 상기 판단에 따라 일반변수(i)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 작을 경우(jFNTL), 폰트의 가로 갯수와 같은 수로 선언된 인코딩 폰트의 압축 정보를 체크하면서, 인코딩 폰트의 특징을 저장하는 연속변수(spbyte(i))에서 두 바이트 정보가 한 비트(1《(7-j/2))의 압축 폰트로 저장되었는가를 판단하게 된다.In this case, when the size of the general variable (i) is smaller than ¼ of the font size (FNTL) (jFNTL) according to the above determination, the encoding font is checked while checking the compression information of the encoding font declared with the same number as the font width. In the continuous variable (spbyte (i)) that stores the feature, it is determined whether two bytes of information are stored in a compressed font of one bit (1 < (7-j / 2)).

즉, 상기 판단에 따라 연속변수(spbyte(i))에 두 바이트 정보가 한 비트(1《(7-j/2))의 압축 폰트로 저장되어 있으면, 디코딩 되는 데이타를 저장하는 연속변수(oneline(i))(oneline(i+1))에 디코딩 비교 데이타를 저장하는 연속변수(refline(i))(recline(i+1))를 전달하여 폰트데이타를 디코딩시킬 수 있도록 하는 것이다.That is, if two bytes of information are stored in a compressed font of one bit (1 < (7-j / 2)) in the continuous variable spbyte (i) according to the determination, the continuous variable for storing the decoded data (oneline (i)) (oneline (i + 1)) delivers a continuous variable (refline (i)) (recline (i + 1)) that stores decoding comparison data so that font data can be decoded.

또한, 상기 판단에 따라 연속변수(spbyte(i))에 두 바이트 정보가 한 비트(1《(7-j/2))의 압축 폰트로 저장되어 있지 않으면, 디코딩 되는 데이타를 저장하는 연속변수(oneline(i))(oneline(i+1))에 인코딩 폰트데이타를 저장하는 연속변수(ecdfnt(k1))(ecdfnt(k1+1))를 전달하여 압축 인코딩된 폰트데이타를 디코딩시키는 동작을 수행하고, 압축폰트를 읽어오는 갯수를 저장하는 변수(k1)를 가산(k1=k1+2)시킨다.Further, according to the above judgment, if two bytes of information are not stored in the compressed font of one bit (1 < (7-j / 2)) in the continuous variable spbyte (i), the continuous variable for storing the decoded data ( Decode compressed font data by passing continuous variables (ecdfnt (k1)) (ecdfnt (k1 + 1)) which store encoded font data in oneline (i)) (oneline (i + 1)). Then, a variable k1 that stores the number of compressed fonts is added (k1 = k1 + 2).

이후, 상기 연속변수(refline(i)), 연속변수(oneline(i))에 의해 디코딩되는 폰트데이타에 따라 일반변수(i)를 가산(i=i+2)시킨 후, 상기 설명된 동작을 반복하면서 초기화된 일반변수(i)의 크기가 폰트의 가로크기(PNTL)의 ¼보다 크게(j≥PNTL) 만드는 것이다.Then, after adding the general variable (i) according to the font data decoded by the continuous variable (refline (i)) and the continuous variable (oneline (i)) (i = i + 2), the above-described operation is performed. By repeating, the size of the initialized general variable (i) is larger than ¼ of the font size (PNTL) (j≥PNTL).

그리고, 상기 설명된 디코딩의 판단 단계에 의해 초기화된 일반변수(j)의 크기가 폰트의 가로크기(PNTL)의 ¼보다 클 경우(j≥FNTL)에는, 상기 초기화된 일반변수(j)를 다시 초기화시킨 후, 한 라인의 압축 폰트 디코딩이 종료시 다음라인의 디코딩을 위한 비교 데이타의 갱신부분과 디코딩된 폰트를 저장하여 기록하는 단계를 진행시키는 것으로 이를 설명하면, 상기 일반변수(i)의 크기를 폰트의 가로크기(FNTL)의 ¼과 재차 비교 판단 단계를 실행시키게 된다Then, when the size of the general variable j initialized by the above-described decoding decision step is larger than ¼ of the horizontal size PNTL of the font (j≥FNTL), the initialized general variable j is reset. After initializing, when the compressed font decoding of one line is finished, the step of storing and recording the updated portion of the comparison data for decoding the next line and the decoded font is described. The comparison of the font size (FNTL) ¼ is executed again.

즉, 상기 재차 비교 판단된 일반변수(i)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 작을경우(iFNTL)에는,That is, when the size of the general variable (i) determined to be compared again is smaller than ¼ of the horizontal size (FNTL) of the font (iFNTL),

디코딩 폰트를 저장하는 연속변수(orgfnt(r))와 디코딩되는 데이타를 일시 저장하는 연속변수(oneline(i)), 또는 디코딩 비교 데이타를 저장하는 연속변수(refline(i))와 디코딩되는 데이타를 일시 저장하는 연속변수(oneline(i))를 일치시킨 후, 상기 일반변수(i)와 디코딩 폰트의 갯수를 저장하는 변수[r]를 가산(i=i+1)(r=r+1)시키고, 상기 재차 비교 판단된 일반변수(j)의 크기가 폰트의 가로크기(FNTL)의 ¼보다 클 경우 (iFNTL)에는, 상기 디코딩 폰트의 라인 수를 연산하는 변수(j)를 가산(j=j+1)시키므로서, 한 라인에서의 폰트 압축 디코딩을 완료하게 된다.The continuous variable (orgfnt (r)) storing the decoding font and the continuous variable (oneline (i)) temporarily storing the decoded data, or the continuous variable (refline (i)) storing the decoding comparison data and the decoded data After matching the temporary variable (oneline (i)) to be temporarily stored, add the general variable (i) and the variable [r] which stores the number of decoding fonts (i = i + 1) (r = r + 1). If the size of the general variable j is compared and determined to be larger than ¼ of the font size FNTL (iFNTL), the variable j for calculating the number of lines of the decoded font is added (j = j + 1), the font compression decoding in one line is completed.

이때, 상기 처리된 한 라인의 압축 디코딩이 완료되면, 다음 라인의 디코딩을 위한 비교 데이타의 갱신부분과 디코딩된 폰트를 저장하여 기록하여 영상 처리수단(3)에 구성된 화면 프로세서부(9)에서 디코딩을 시킬수 있게 되는 것이다.At this time, when the compression decoding of the processed one line is completed, the updated part of the comparison data for decoding the next line and the decoded font are stored and recorded to be decoded by the screen processor unit 9 configured in the image processing means 3. Will be able to.

이상에서 설명한 바와같이 본 발명은 단순하면서도 효율적인 폰트 압축방법을 제시하므로서, 가요 반주기기의 비디오 오버레이에 사용하는 한글 및 한자 폰트저장 롬(ROM)의 크기(예;50%)를 줄이고, 또한 압축 디코딩을 화면 프로세서에서 수행할때 전체적인 영상 오버레이 처리 속도에 별다른 무리없이 진행되는 효과가 있는 것이다.As described above, the present invention provides a simple and efficient font compression method, thereby reducing the size (eg, 50%) of the Hangul and Hanja font storage ROMs (ROM) used for the video overlay of the flexible half-cycler, and also compressing and decoding. When you run it on the screen processor, there is a modest effect on the overall image overlay processing speed.

Claims (6)

영상의 오버레이 정보를 화면 프로세서의 내부적인 처리로 가능하도록 폰트데이타를 압축 인코딩 실현을 위해 비교폰트를 초기화시키는 압축 인코딩 초기화 단계와, 상기 초기화된 비교폰트에 따라 폰트의 압축 인코딩 동작을 수행하는 압축 인코딩 실행 단계와, 상기 압축 인코딩 단계에 의해 압축 인코딩된 폰트데이타를 영상 오버레이에 따라 사용 가능하도록 압축 디코딩시키는 압축 디코딩 단계로 진행되는 가요 반주기기의 비디오 오버레이 폰트(FONT) 압축 인코딩/디코딩 방법.A compression encoding initialization step of initializing the comparison font for compressing encoding font data so that overlay information of the image may be internally processed by the screen processor, and performing compression encoding of the font according to the initialized comparison font. And a compression decoding step of compressing and decoding the font data encoded by the compression encoding step to be usable according to the image overlay. 제1항에 있어서, 압축 인코딩 초기화 단계는 일정폰트의 가로 갯수와 같은 수로 선언된 인코딩 폰트의 특징을 초기화시키는 제1단계와, 상기 일정폰트의 첫번째 라인을 인코딩하기 위해 인코딩의 비교 데이타를 초기화시키는 제2단계로 진행되는 것을 특징으로 하는 가요 반주기기의 비디오 오버레이 폰트(PONT) 압축 인코딩/디코딩 방법.The method of claim 1, wherein the compression encoding initialization step comprises: a first step of initializing features of an encoding font declared with a number equal to a horizontal number of constant fonts; and initializing comparison data of encoding to encode a first line of the constant fonts. A method of encoding / decoding a video overlay font (PONT) of a flexible semi-period, characterized by proceeding in a second step. 제1항에 있어서, 압축 인코딩 실행 단계는 압축해야할 일정폰트의 한 라인을 일시 저장시키는 제3단계와, 상기 일시저장된 일정폰트에 따라 일정 바이트정보를 인코딩 폰트의 한 비트로 저장시킬 것인가, 또는 두 바이트로 저장시킬 것인가를 결정하여 처리하는 제4단계와, 상기 결정되어 처리된 저장방식에 따라 한 라인의 압축이 종료시 인코딩 비교 데이타를 갱신하여 다음 라인 압축의 기준으로 설정하는 제5단계로 진행되는 것을 특징으로 하는 가요 반주기기의 비디오 오버레이 폰트(PONT) 압축 인코딩/디코딩 방법.The method of claim 1, wherein the performing of the encoding encoding comprises: a third step of temporarily storing a line of constant fonts to be compressed; and to store constant byte information as one bit of an encoding font according to the temporarily stored constant font, or two bytes. And a fifth step of determining and processing whether to save the data, and the fifth step of updating the encoding comparison data at the end of the compression of one line according to the determined and processed storage method. A flexible half-cycle video overlay font (PONT) compression encoding / decoding method. 제3항에 있어서, 제4단계는 압축의 기준을 인코딩 비교 데이타와 인코딩되는 데이타의 비교를 통해 결정하는 제6 단계로 진행되는 것을 특징으로 하는 가요 반주기기의 비디오 오버레이 폰트(PONT) 압축 인코딩/디코딩 방법.4. The method according to claim 3, wherein the fourth step proceeds to a sixth step of determining a criterion of compression by comparing encoding comparison data with encoded data. Decoding method. 제1항에 있어서, 압축 디코딩 단계는 압축 인코딩된 폰트의 디코딩을 실현하기 위해 비교폰트를 초기화시키는 압축 폰트 디코딩 초기화 단계와, 상기 초기화된 비교폰트에 따라 압축 폰트의 디코딩 동작을 수행하는 압축 폰트 디코딩 실행 단계로 진행되는 것을 특징으로 하는 가요 반주기기의 비디오 오버레이 폰트(PONT) 압축 인코딩/디코딩 방법.The compressed font decoding step of claim 1, wherein the compressed decoding step comprises: a compressed font decoding initialization step of initializing a comparison font to realize decoding of a compressed encoded font; and a compressed font decoding performing a decoding operation of a compressed font according to the initialized comparison font. A method of encoding / decoding video overlay font (PONT) compression of a flexible semi-period characterized by an execution step. 제5항에 있어서, 압축 폰트 디코딩 실행 단계는 비교폰트의 가로 갯수와 비례하는 수로 선언된 인코딩 폰트의 압축 정보를 체크하여 폰트의 압축여부를 판단하는 제7단계와, 상기 판단에 따라 한 라인의 압축 폰트 디코딩이 종료시 다음라인의 디코딩을 위한 비교 데이타의 갱신부분과 디코딩된 폰트를 저장하여 기록하는 제8 단계로 진행되는 것을 특징으로 하는 가요 반주기기의 비디오 오버레이 폰트(FONT) 압축 인코딩/디코딩 방법.The method of claim 5, wherein the performing of the compressed font decoding comprises: determining the compression of the font by checking the compression information of the encoded font declared as a number proportional to the number of horizontals of the comparison font; When the compressed font decoding is finished, the eighth step of storing and recording the updated portion of the comparison data for decoding of the next line and the decoded font is a flexible half-cycle video overlay font (FONT) compression encoding / decoding method. .
KR1019950053468A 1995-12-21 1995-12-21 Method for compression, encoding/drcoding of overlay fonts in karaoke machine KR100198296B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950053468A KR100198296B1 (en) 1995-12-21 1995-12-21 Method for compression, encoding/drcoding of overlay fonts in karaoke machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950053468A KR100198296B1 (en) 1995-12-21 1995-12-21 Method for compression, encoding/drcoding of overlay fonts in karaoke machine

Publications (2)

Publication Number Publication Date
KR970050786A KR970050786A (en) 1997-07-29
KR100198296B1 true KR100198296B1 (en) 1999-06-15

Family

ID=19442394

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950053468A KR100198296B1 (en) 1995-12-21 1995-12-21 Method for compression, encoding/drcoding of overlay fonts in karaoke machine

Country Status (1)

Country Link
KR (1) KR100198296B1 (en)

Also Published As

Publication number Publication date
KR970050786A (en) 1997-07-29

Similar Documents

Publication Publication Date Title
KR940006352A (en) Variable length code decoder for video decompression operations
KR870008445A (en) Binary data compression and extension processing unit
EP0811954A3 (en) Image editing apparatus and image editing method
WO2009095956A1 (en) Data compression/decompression method, and compression/ decompression program
JP4079965B2 (en) Decryption system
KR100198296B1 (en) Method for compression, encoding/drcoding of overlay fonts in karaoke machine
KR970063188A (en) Video Data Decoder and Decoding Method
KR960009755A (en) How to compress and decompress data files
JP2004517527A (en) Graphic image coding
JP2002026737A (en) Data decoder and its method
JP2001025024A (en) Method and device for converting multi-media information
JP3826870B2 (en) Compressed data structure, waveform generation device, and waveform storage device
JPH05252051A (en) Serial data decoder
KR0182182B1 (en) Adaptive differential pcm compression circuit
JP3417684B2 (en) Image processing device
JPS62195979A (en) Facsimile code converter
JP3235526B2 (en) Audio compression / decompression method and apparatus
JPH06222984A (en) Rom
KR960028475A (en) PTS vector quantization encoder with multiple code books
JP3087488B2 (en) Data restoration circuit
JP2633683B2 (en) Vector quantizer
JP3154293B2 (en) Audio signal band synthesis decoding device
JP2003280670A (en) Device and method for data generation
JP2003173622A (en) Device and method for decoding coded audio data
JPH0528647A (en) Method for recording and reproducing digital voice signal

Legal Events

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

Payment date: 20070130

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee