KR100215789B1 - Apparatus and method for driving pip in digital tv - Google Patents

Apparatus and method for driving pip in digital tv Download PDF

Info

Publication number
KR100215789B1
KR100215789B1 KR1019960073514A KR19967003514A KR100215789B1 KR 100215789 B1 KR100215789 B1 KR 100215789B1 KR 1019960073514 A KR1019960073514 A KR 1019960073514A KR 19967003514 A KR19967003514 A KR 19967003514A KR 100215789 B1 KR100215789 B1 KR 100215789B1
Authority
KR
South Korea
Prior art keywords
frame
value
pip
screen
output
Prior art date
Application number
KR1019960073514A
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
Application filed by 구자홍, 엘지전자주식회사 filed Critical 구자홍
Priority to KR1019960073514A priority Critical patent/KR100215789B1/en
Application granted granted Critical
Publication of KR100215789B1 publication Critical patent/KR100215789B1/en

Links

Abstract

디지탈 TV의 PIP화면 구현장치 및 그 방법에 관한 것으로서, 입력되는 자화면용 영상신호의 픽쳐헤드를 체크하여 I, P, B 프레임을 검출하고, 상기 검출된 프레임에 관계없이 모든 프레임에 대한 DC 값을 계산하며 상기 DC값의 계산결과에 따라 데이터를 소거하거나 현 프레임의 DC값에 대해 움직임 보상된 이전 기준프레임의 DC 값과 상기 계산된 현 프레임의 DC값을 합산하여 PIP화면을 구성하도록 하여 기존의 비디오 복호기를 매우 단순화함에도 불구하고 움직임이 본래의 화질에 비해 조금도 손상되지 않는 우수한 화면을 복구해낼 수 있기 때문에 PIP응용에 아주 우수하며 특히 다수개의 PIP화면을 동시에 구현하고자 할 때 경제성과 화질을 모두 추구할 수 있는 것이다.An apparatus and method for implementing a PIP screen of a digital TV, the method comprising: detecting I, P, and B frames by checking a picture head of an input video signal for a sub picture, and a DC value for all frames regardless of the detected frames. The data is erased according to the DC value calculation result or the PIP screen is configured by summing the DC value of the previous reference frame which is motion compensated with respect to the DC value of the current frame and the calculated DC value of the current frame. It is very good for PIP application because it can recover the excellent picture which the motion is not damaged in spite of the original picture quality even though the video decoder of simplification is very simple, especially when trying to implement multiple PIP screens simultaneously It can be pursued.

Description

디지탈 티브이의 피아이피(PIP)구현장치 및 그 방법Digital TV's PIP Implementation Device and Method

본 발명은 디지탈 TV에 관한 것으로서, 특히 디지탈 TV방송에서 최소의 오버헤드(Overhead)를 부가하여 양질의 PIP(Picture-in- Picture)화면을 얻을 수 있는 디지탈 TV의 PIP구현장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to digital TV, and more particularly, to a PIP implementation apparatus and method for digital TV capable of obtaining a high quality picture-in-picture (PIP) screen with minimal overhead in digital TV broadcasting. will be.

일반적으로, 디지탈 TV의 PIP화면은 TV방송에서의 채널탐색 등을 목적으로 TV주화면의 모퉁이 즉, 일부분에 작은 보조화면을 형성하는 것이다.In general, a PIP screen of a digital TV is to form a small sub-screen at the corner of the TV main screen, that is, a part, for the purpose of channel searching in TV broadcasting.

응용에 따라서는 다수개의 PIP화면을 띄워야 할 수도 있으므로 PIP 구현회로는 간단하고 경제적일수록 큰 이점을 가진다 하겠다.Depending on the application, it may be necessary to display multiple PIP screens, so the simpler and economic the PIP implementation circuit, the greater the advantages.

이하, 종래 기술에 따른 디지탈 TV의 PIP구현장치 및 그 방법에 대하여 첨부된 도면을 참조하여 살펴보기로 한다.Hereinafter, a PIP implementation apparatus and a method of a digital TV according to the prior art will be described with reference to the accompanying drawings.

도 1은 종래 기술에 따른 디지탈 TV의 PIP구현장치를 나타낸 블록 구성도이고, 도 2는 종래 기술에 따른 디지탈 TV의 PIP구현방법을 나타낸 동작 플로우 챠트이다.1 is a block diagram showing a PIP implementation apparatus of a digital TV according to the prior art, and FIG. 2 is an operation flowchart showing a PIP implementation method of a digital TV according to the prior art.

우선, 도 1을 참조하여 그 구성을 살펴보면 압축된 모화면용 영상신호를 원래의 영상신호로 복원하는 제 1 복호부(11); 가변장 부호화된 자화면용 영상신호를 일정한 길이의 부호로 복원한 다음 특정 프레임(I-프레임)에 대한 데이터를 추출하고, 이로부터 모화면/자화면에 필요한 DC값을 추출하여 축소된 영상데이타를 출력하는 제 2 복호부(12); 상기 제 2 복호부(12)에서 출력되는 축소된 영상데이타를 공급받고 윈도우사이즈 신흐에 따라 그 영상데이타를 보간하거나 감쇄시켜 자화면용 영상데이타를 확대 또는 축소된 영상데이타로 복원하는 보간 및 감쇄부(13); 상기 보간 멎 감쇄부(13)에서 출력되는 자화면용 영상데이타를 저장하는 저장부(14); 상기 제 1 복호부(11)에서 출력되는 모화면용 영상데이타와 메모리(14)에서 출력되는 자화면용 영상데이타를 합성하는 스위칭부(18); 자화면을 제어하기 위한 윈도우사이즈 신호 및 윈도우팬을 출력하는 제어부(l5); 상기 윈도우사이즈 신호에 따라 유효한 자화면용 영상데이타가 출력되도록 상기 메모리(14)에 어드레스신호를 공급하는 어드레스 발생부(16); 상기 윈도우 팬신호의 제어에 따라 상기 스위칭부(18) 및 어드레스 발생부(16)에 타이밍 신호를 공급하는 타이빙 발생부(17)로 구성된다.First, referring to FIG. 1, a configuration of a first decoding unit 11 which restores a compressed mother screen video signal to an original video signal; After reconstructing the variable-length encoded video signal for a certain length, extracting data for a specific frame (I-frame), and extracting the DC value required for the parent / child picture from it. A second decoder 12 for outputting the signal; An interpolation and attenuation unit which receives the reduced image data output from the second decoder 12 and interpolates or attenuates the image data according to the window size, and restores the image data for the sub picture to the enlarged or reduced image data. (13); A storage unit 14 storing the image data for the sub picture output from the interpolation and attenuation unit 13; A switching unit 18 for synthesizing the mother screen image data output from the first decoder 11 and the child screen image data output from the memory 14; A control unit l5 for outputting a window size signal and a window pan for controlling the own screen; An address generator (16) for supplying an address signal to the memory (14) to output valid sub-screen image data according to the window size signal; And a moving generator 17 for supplying a timing signal to the switching unit 18 and the address generator 16 under the control of the window fan signal.

상기 구성에 대한 동작을 살펴보기로 한다.An operation of the configuration will be described.

압축된 영상 비트스트림(Bitstream)은 A 채널과 B채널로 동시에 입력된다고 가정한다.It is assumed that the compressed video bitstream is simultaneously input to the A channel and the B channel.

이때, A채널과 B채널의 영상 비트스트림은 전송선로상으로 전송되어진 신호를 복조하여 에러정보를 정정하고, 트랜스포트 비트스트림에서 영상에 관한 정보만을 추출해낸 결과만을 일컫는 것이다.At this time, the video bitstreams of the A and B channels refer to only the result obtained by correcting the error information by demodulating the signal transmitted on the transmission line and extracting only the information about the image from the transport bitstream.

A채널인 주채널 즉, 시청자가 모화면으로 보기를 원하는 화면에 대한 채널을 의미하고 B채널은 부채널 즉, 시청자가 자화면으로 선택적으로 보기를 원하는 화면에 대한 채널을 의미한다.The main channel, which is the A channel, that is, the channel for the screen that the viewer wants to view on the parent screen, and the B channel means the subchannel, that is, the channel for the screen that the viewer wants to selectively view on the own screen.

상기 B채널이 도 1에서는 1개로 도시되어 있지만 실제로는 2개이상 다수개가 존재할 수 있다.Although one B channel is illustrated in FIG. 1, two or more B channels may exist.

만일 PIP 기능이 존재하지 않고 주채널의 영상만을 시청하고자 하는 경우에는 A채널의 신호만이 제 1 복호부(11)를 통해 압축된 비트스트림이 원래의 영상신호로 복원된다.If there is no PIP function and only the main channel video is to be viewed, only the A channel signal is restored to the original video signal through the first decoder 11.

상기 제 1 복호부(11)는 MPEG과 같은 방법으로 압축되어 있는 영상을 복호화하는 블록으로서 이는 어떤 공지된 보호기로도 대체할 수 있다.The first decoder 11 is a block for decoding an image compressed in a method such as MPEG, which can be replaced by any known protector.

부채널 즉, B채널을 통해 입력되는 영상신호는 가변장 복호기(미도시)를 통하여 다른 복호기와 마찬가지로 일정한 길이의 부호로 복원되는데 여기서, 만일 영상신호가 움직임에 대한 보상을 해주는 부호화가 되어 있으면 상기 가변장복호기에 서 움직임이 없는 프레임 즉, I-프레임에 대한 데이터만이 추출된다.The video signal input through the subchannel, that is, the B channel, is restored to a code of a constant length like other decoders through a variable length decoder (not shown). If the video signal is encoded to compensate for motion, In the variable length decoder, only data for a frame without motion, that is, an I-frame, is extracted.

다시말해서 MPEG의 경우와 같이 하나의 I프레임뒤에 여러개의 P-프레임과 B-프레임(움직임 보상된 프레임)들이 따라오게 되면 이들 프레임에 대한 데이터들을 모두 제거해 버리고 I-프레임에 대한 데이터만을 추출해낸다.In other words, if multiple P-frames and B-frames (motion-compensated frames) follow one I-frame, as in the case of MPEG, all data for these frames are removed and only the data for the I-frame is extracted.

상기 추출된 I-프레임에 대한 데이터 중에서 PIP에 필요한 DC값만이 추출되는데 MPEG과 같은 경우에서는 8×8블록에 대한 DC값을 의미한다.Only the DC value required for the PIP is extracted from the extracted I-frame data. In the case of MPEG, this means a DC value for 8 × 8 blocks.

이렇게 함으로서 상기 가변장 복호기는 통상의 영상데이타 복호기보다 더 간단한 구조로 구현할 수 있게 되는데 즉, 움직임 보상에 관련된 회로가 불필요하게 되며 그로인해 발생되는 부호테이블등이 불필요하게 된다.By doing so, the variable length decoder can be implemented with a simpler structure than a normal image data decoder, i.e., a circuit related to motion compensation becomes unnecessary, and thus a code table generated is unnecessary.

그리고 단지, I-프레임에 대한 데이터를 가변장 부호에서 복호해주는 테이블만을 필요로 하게 된다.Only the table which decodes data for an I-frame in variable length code is needed.

DC값은 통상적으로 가변장이 아닌 부호로 구성되어 있으며 이 DC값은 축소된영상데이타로 복원되는데 이때, 축소된 영상데이타는 DCT블록의 수평, 수직사이즈만큼 축소된 영상이며 MPEG의 경우에는 가로/세로로 1/8만큼 축소된 영상데이타이다.In general, the DC value is composed of a code, not a variable length, and the DC value is restored to the reduced image data. At this time, the reduced image data is the image reduced by the horizontal and vertical size of the DCT block. Image data reduced by 1/8.

상기 가변장 복호기의 동작원리는 도 2와 같으며 이 원리는 어떠한 기존의 가변장복호기에도 적용할 수 있다.The operation principle of the variable length decoder is shown in FIG. 2, and this principle can be applied to any existing variable length decoder.

즉, 먼저 픽쳐헤더(Picture Header)를 체크하고(S1O1) 이어 I-프레임인지를 확인하여 (S102)I-프레임데이타이면 가변장복호기를 통해 가변장 부호를 복원하고(S103) 아니면 계속해서 그 다음의 픽쳐헤드를 체크하여 I-프레임이 검출될 때 까지 스킵한다.In other words, first check the picture header (S1O1), and then check whether it is an I-frame (S102) and if it is I-frame data, restore the variable length code through the variable length decoder (S103) or continue to the next. Check the picturehead at and skip until an I-frame is detected.

상기의 가변장복호과정을 종료한 후 DC값만을 추출하기 위하여 DC값인지를확인해서(S104)DC값이 아니면 데이터를 소거(S106)하고 DC값이면 데이터를 출력한다(S105).After the above-mentioned variable length decoding process, to extract only the DC value, it is checked whether it is a DC value (S104). If it is not the DC value, the data is erased (S106), and if it is a DC value, data is output (S105).

제 2 복호기(12)를 통하여 출력되는 축소된 영상데이타는 보간 및 감쇄부(13)에 공급되어 자화면의 사이즈가 조정된다.The reduced image data output through the second decoder 12 is supplied to the interpolation and attenuation unit 13 to adjust the size of the sub picture.

즉, 생상과정에서 큰 사이즈의 화면을 원할 경우에는 보간(Interpolation)과정을 통해 축소된 데이터를 좀 더 큰 사이즈의 영상데이타로 복원시키고 작은 사이즈의 화면을 원할 때에는 다시 감쇄시키게 된다.In other words, when a large size screen is desired in the process of reproduction, the data reduced through interpolation is restored to a larger size image data, and when a small size screen is desired, it is attenuated again.

이때, 보간은 단순히 줌을 이용하거나 인접화소간의 연산과정을 통해 계산해 낼 수 있으며, 적용되는 보간과 감쇄회로는 어떠한 공지기술로서도 가능하다.In this case, the interpolation may be calculated by simply using a zoom or a calculation process between adjacent pixels, and the applied interpolation and attenuation circuit may be any known technique.

이렇게 원하는 사이즈의 영상데이타가 만들어지면 이는 저장부(14)에 저장되는데 이 저장부(14)에 저장된 작은 사이즈의 자화면데이타는 스위칭부(18)에 의해 제 1 복호부(11)로 부터 입력되는 모화면의 영상데이타와 합성된다.When the image data of the desired size is made, it is stored in the storage unit 14. The small sized sub picture data stored in the storage unit 14 is input from the first decoding unit 11 by the switching unit 18. It is synthesized with video data of the parent screen.

이때, 상기 스위칭부(18)는 타이밍 발생부(17)에서 출력되는 타이밍 신호에의해 제어되는데 그 타이밍 발생부(17)는 모화면용 영상신호와 자화면용 영상신호의 스위칭되는 시점을 결정해 주고 동시에 어드레스 발생부(16)에서 저장부(14)의 데이터를 출력하기 위해 출력하는 어드레스의 발생시점을 결정해 준다.At this time, the switching unit 18 is controlled by the timing signal output from the timing generating unit 17. The timing generating unit 17 determines the switching point of the mother screen video signal and the sub screen video signal. At the same time, the address generator 16 determines the time at which the address is output to output the data of the storage 14.

제어부(15)는 생산자와 사용자가 원하는 윈도우 팬(window pan) 즉, 자화면용 영상의 위치와 윈도우 사이즈 즉, 자화면의 사이즈, 정보들을 출력하기 위한 제어신호를 타이밍 발생부(17)측으로 출력하고 그 타이밍 발생부(17)에서는 자화면용 영상데이타가 삽입되는 타이밍 신호를 출력하게 된다.The controller 15 outputs to the timing generator 17 a control signal for outputting a window pan, i.e., the position and window size of the own screen image, that is, the size of the own screen, and information desired by the producer and the user. The timing generator 17 then outputs a timing signal into which the sub-screen video data is inserted.

또한, 상기 제어부(15)는 상기 보간 및 감쇄부(13)에 윈도우의 사이즈 정보를 출력하여 사용자가 원하는 사이즈의 자화면용 영상데이타를 생성토록 하고, 상기 타이밍 발생부(17)에도 그 사이즈 정보를 출력한다.In addition, the control unit 15 outputs the window size information to the interpolation and attenuation unit 13 so as to generate a user screen image data having a size desired by the user, and the timing information unit 17 also provides the size information. Outputs

그리고, 이에 따라 그 타이밍 발생부(17)에서 출력되는 해당 타이밍 신호에 의해 저장부(14)에서 유효한 자화면용 영상데이타가 출력된다.In response to this, the timing signal output from the timing generator 17 outputs valid video data for the sub-screen from the storage 14.

MPEG과 같은 I-프레임 뒤에 P-프레임이나 B-프레임이 연속해서 따라오는 경우에는 P-프레임이나 B-프레임은 제거되기 때문에 I-프레임을 축소한/영상이 다음 I-프레임이 발생될 때까지 중복하여 출력된다.If a P-frame or a B-frame follows consecutively after an I-frame such as MPEG, the P-frame or B-frame is removed, so the I-frame is reduced / until the next I-frame occurs. Duplicate output

이때, 상기 저장부(14)에 이미 I-프레임에 대한 데이터가 저장되어 있기 때문에 원하는 만큼의 프레임을 출력할 수 있게 된다.At this time, since the data for the I-frame is already stored in the storage unit 14, it is possible to output as many frames as desired.

그런데 도 1에서 보간 및 감쇄부(13)가 존재하지 않을 경우 도 2에서와 같이제 2 복호부(12)의 출력을 그대로 일정용량의 램으로 구성된 메모리에 기록한다.However, when the interpolation and attenuation unit 13 does not exist in FIG. 1, as shown in FIG. 2, the output of the second decoding unit 12 is recorded in a memory composed of RAM having a predetermined capacity.

그리고, 2배의 줌 영상일 경우 상기 어드레스 발생부(16)는 한 어드레스의 데이터를 중복하여 읽어내도록 어드레스를 발생시키고 1/2로 축소시킬 경우에는 저장부(14)내의 어드레스를 하나씩 건너 뛰면서 발생시킨다.In the case of a 2x zoom image, the address generator 16 generates an address so that data of one address is repeatedly read, and when it is reduced to 1/2, the address generator 16 skips the addresses in the storage unit 14 one by one. Let's do it.

이렇게 하므로서 화면을 2배로 줄이거나 확대 할 수 있는 것이다.In this way, the screen can be doubled or enlarged.

종래 기술에 따른 디지탈 티브이의 피아이피(PIP)구현장치 및 그 방법은 수상기에 PIP전용회로를 부가하여 그 회로로서 압축된 비디오 비트열중 I-프레임데이타의 DC성분만으로 PIP화면을 복구하는 것으로서 일반디코더가 갖는 DCT 및 움직임 보상과 관련된 회로부분을 삭제하기 때문에 매우 단순하고 값싼 PIP회로를 얻을 수 있다는 것이지만 I-프레임 데이터만을 복호화하여 표시하기 때문에 프레임률이4,5정도로 움직임이 눈에 가슬리는 화면을 얻을 수 밖에 없는 문제점이 있다.The PIP implementation apparatus and method of the digital TV according to the prior art are to add a dedicated PIP circuit to the receiver and recover the PIP screen using only the DC component of I-frame data in the compressed video bit stream as the circuit. It is possible to get very simple and cheap PIP circuit by eliminating the circuit part related to DCT and motion compensation, but the frame is about 4,5 because the frame is decoded and displayed by decoding only I-frame data. There is a problem that can only be obtained.

따라서, 본 발명은 상기 종래 기술에 따른 제반 문제점을 해결하기 위하여 안출된 것으로 본 발명의 목적은 I-프레임은 종래 기술과 같은 방법으로 복호화하되 부호기 측에서 부호화 비트열에 최소한의 데이터를 추가하여 P, B프레임을 누적오차가 발생하지 않도록 복호화하여 PIP화면을 구성하도록 한 디지탈 티브이의 피아이피(PIP)구현장치를 제공함에 있다.Accordingly, an object of the present invention is to solve the above-mentioned problems according to the prior art, and an object of the present invention is to decode an I-frame in the same manner as in the prior art, but adds minimal data to the coded bit stream at the encoder side. The present invention provides a digital TV PIP implementation that decodes B frames so that a cumulative error does not occur to form a PIP screen.

또한, 본 발명의 다른 목적은 상기 장치에 상응하는 방법을 제공함에 있다.Another object of the present invention is to provide a method corresponding to the apparatus.

도 1은 종래 기술에 따른 다지탈 TV의 PIP구현장치를 나타낸 블록 구성도1 is a block diagram showing a PIP implementation of a digital TV according to the prior art

도 2는 종래 기술에 따른 디지달 TV의 PIP구현방법을 나타낸 동작 플로우 챠트2 is an operation flowchart showing a PIP implementation method of a digital TV according to the prior art;

도 3은 본 발명에 따른 디지탈 TV의 PIP구현장치를 나타낸 블록 구성도Figure 3 is a block diagram showing a PIP implementation of a digital TV according to the present invention

도 4는 도 3에 도시한 제 2 복호부에 대한 상세 블록 구성도FIG. 4 is a detailed block diagram of the second decoding unit shown in FIG. 3. FIG.

도 5는 본 발명에 따른 기준프레임의 DC값 보간방법을 설명하기 위한 도면5 is a view for explaining a DC value interpolation method of a reference frame according to the present invention;

도 6은 본 발명에 따른 디지탈 TV의 PIP구현방법을 나타낸 동작 플로우 챠트6 is an operation flowchart showing a PIP implementation method of a digital TV according to the present invention.

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

21,22 : 복호부 23,26 : 저장부21,22: decoder 23,26: storage

24 : 제어부 25 : 포맷변환부24: control unit 25: format conversion unit

27:스위칭부27: switching part

본 발명의 특징은 입력되는 영상신호의 I, P, B 프레임에 대한 DC값 모두를 이용하여 PIP화면을 구현하는데 있다.A feature of the present invention is to implement a PIP screen using all DC values for I, P, and B frames of an input video signal.

본 발명에 따른 디지탈 티브이의 PIP구현장치의 특징은 입력되는 자화면용 영상신호를 프레임에 관계없이 DC값으로만 재구성하여 복호화된 영상데이타를 출력하는 복호화수단; 상기 복호화수단에서 복호화된 영상데이타를 일시 저장하고 있다가 일 출력제어신호에 따라 출력하는 제 1 저장수단; 상기 제 1 저장수단에서 출력되는 영상데이타를 제공되는 주사선택 제어신호 및 화면크기 선택제어신호에 따라 공간상의 DC값 보간이나 시간축상에서의 DC값을 보간하여 주화면과 동일한 주사방식 및 프레임율을 가지고 적절한 크기가 되도록 포맷변환하는 포맷변환수단; 상기 포맷변환된 자화면의 영상데이타와 상기 복호화된 주화면의 영상데이타를 일 제어신호에 따라 합성하여 디스플레이하는 스위칭부; 상기 일 제어신호와 주사선택 제어신호 및 화면크기 선택제어신호를 제공하는 제어수단을 포함하여 구성됨에 있다.A feature of the digital TV PIP apparatus according to the present invention is characterized by comprising: decoding means for outputting decoded image data by reconstructing an input sub-screen image signal into a DC value irrespective of a frame; First storage means for temporarily storing the video data decoded by the decoding means and outputting the image data according to an output control signal; According to the scan selection control signal and the screen size selection control signal provided with the image data output from the first storage means, the DC value in the space or the DC value on the time axis are interpolated to have the same scanning method and frame rate as the main screen. Format converting means for converting the format to an appropriate size; A switching unit for synthesizing and displaying the image data of the format-converted sub picture and the image data of the decoded main picture according to a control signal; And control means for providing the one control signal, the scan selection control signal, and the screen size selection control signal.

본 발명에 따른 디지탈 PIP구현방법의 특징은 입력되는 자화면용 영상 신호를 프레임에 관계없이 DC값으로만 재구성하여 복호화된 영상데이타를 출력하는 복호화단계; 상기 DC값으로만 재구성되어 복호화된 영상데이타를 일시 저장하고 있다가 일 출력제어신호에 따라 출력하고, 상기 출력되는 영상데이타를 주사선택 제어신호 및 화면크기 선택제어신호에 따라 공간상의 DC값 보간이나 시간측상에서의 DC값을 보간하여 주화면과 동일한 주사방식 및 프레임율을 가지고 적절한 크기가 되도록 포맷변환하는 포맷변환단계; 상기 포맷변환된 자화면의 영상데이타와 입력되는 복호화된 주화면의 영상데이타를 일 제어신호에 따라 합성하여 디스플레이하는 단계로 이루어짐에 있다.A feature of the digital PIP implementation method according to the present invention includes a decoding step of outputting decoded image data by reconstructing an input image signal for a sub picture only into a DC value regardless of a frame; After reconstructing the decoded image data only by the DC value, the data is temporarily stored and output according to one output control signal, and the output image data is interpolated in space according to a scan selection control signal and a screen size selection control signal. A format conversion step of interpolating the DC value on the time side to have an appropriate size with the same scanning method and frame rate as the main picture; Synthesizing and displaying the image data of the format-converted sub picture and the decoded main picture according to one control signal.

본 발명의 방법에 대한 다른 특징은 입력되는 자화면용 영상신호의 픽쳐헤드를 체크하여 해당프레임(I, P, B)을 검출하는 단계;상기 검출된 프레임에 관계없이 DC 값을 계산하는 단계; 상기 DC값의 계산결과에 따라 데이터를 소거하거나 현프레임의 DC값에 대해 움직임 보상된 이전 기준프레임의 DC 값과 상기 계산된 현프레임의 DC값을 합산하여 PIP화면을 구성하는 단계를 포함하여 이루어짐에 있다.Another feature of the method of the present invention includes the steps of: detecting a corresponding frame (I, P, B) by checking a picture head of an input image signal for a sub picture; calculating a DC value irrespective of the detected frame; And erasing data according to the DC value calculation result or summing the DC value of the previous reference frame whose motion compensation is performed with respect to the DC value of the current frame and the calculated DC value of the current frame to form a PIP screen. Is in.

이하, 본 발명에 따른 디지탈 티브이의 피아이피(PIP)구현장치 및 방법에 대하여 첨부된 도면을 참조하여 설명하기로 한다.Hereinafter, an apparatus and method for implementing a digital TV according to the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명에 따른 디지탈 TV의 PIP구현장치를 나타낸 블록 구성도이고, 도 4는 도 3에 도시한 제 2 복호화부에 대한 상세 블록 구성도이며, 도 5는 본 발명에 따른 리퍼런스 프레임의 DC값 보간방법을 설명하기 위한 도면이다.3 is a block diagram showing a PIP implementation of a digital TV according to the present invention, FIG. 4 is a detailed block diagram showing a second decoding unit shown in FIG. 3, and FIG. 5 is a view of a reference frame according to the present invention. It is a figure for demonstrating the DC value interpolation method.

우선, 본 발명은 디지탈 TV방송에서 압축된 부호화 데이터열에 최소한의 데이터를 추가하는 대신 간단한 PIP전용복호기로서 움직임이 전허 왜곡되지 않는 작은 자화면을 얻도록 한 것이다.First of all, instead of adding minimal data to the compressed data stream compressed in digital TV broadcasting, the present invention provides a simple PIP decoder so as to obtain a small sub picture without any distortion.

본 발명에서 비디오 부호화열에 추가하게 되는 데이터는 매 P-프레임 데이터에 대해 이들 데이터를 움직임 보상하는데 필요한 리퍼런스 프레임(Referenceframe)의 DC값들로서 일반적인 비디오 복호기가 이들 데이터를 무시하도록 하는데에는 전혀 문제가 없다.The data added to the video encoding sequence in the present invention are DC values of a reference frame required for motion compensation of these data for every P-frame data, and there is no problem for a general video decoder to ignore these data.

본 발명의 구성은 위와같은 추가데이타를 압축하여 비디오 부호화 비트열에서 삽입시키는 비디오 부호화기와 이와 같은 추가 데이터가 적절히 십입된 압축된 비디오 부호화열, 그리고 이러한 새로운 부호화열을 이용하여 움직임 특성이 매우 우수한 PIP화면을 복호해 내는 PIP전용 복호기로 구성된다.The configuration of the present invention is a video encoder that compresses the additional data as described above and inserts it in a video encoding bit stream, a compressed video encoding sequence in which such additional data is properly inserted, and a PIP having excellent motion characteristics by using such a new encoding sequence. It is composed of a decoder dedicated to PIP that decodes the screen.

압축된 비디오 비트열에 새로운 데이터를 추가하는 방법이나 이 추가할 데이터를 압축하는 방법은 그 다지 중요하거나 새로울 것이 없으므로 여기에서는 추가된 데이터를 써서 PIP전용 복호기가 어떤식으로 동작하는지에 초점을 맞추어 설명하도록 하겠다.Adding new data to the compressed video bitstream or compressing the added data is not very important or new, so let's focus on how the PIP-only decoder works using the added data. would.

여기서, 도 3에 도시된 본 발명에 따른 디지탈 티브이의 PIP구현장치에 대하여 상세히 살펴보기로 한다.Here, the PIP implementation apparatus of the digital TV according to the present invention shown in FIG. 3 will be described in detail.

먼저, 도 3을 참조하여 그 구성을 살펴보면, 제 1 복호부(21), 제 2 복호부(22), 제어부(24), 제 1 저장부(23), 포맷변환부(25), 제 2 저장부(26) 및 스위칭부(27)로 구성된다.First, referring to FIG. 3, the configuration thereof includes a first decoder 21, a second decoder 22, a controller 24, a first storage 23, a format converter 25, and a second. It consists of a storage part 26 and a switching part 27.

상기 제 1 복호부(21)는 일 채널(A채널)를 통해 입력되는 압축된 모화면용 영상신호를 원래의 영상신호로 복원하여 상기 스위칭부(27)로 출력하고 A채널의 경우 영상의 주사방식, 프레임율 등의 정보를 제어부(24)에 출력한다.The first decoder 21 restores the compressed mother screen video signal input through one channel (A channel) to the original video signal and outputs the original video signal to the switching unit 27. Information such as a method and frame rate is output to the control unit 24.

상기 제 2 복호부(22)는 입력되는 자화면용 영상신호를 일정한 길이로 복원한 다음 프레임의 종류(I, P, B프레임)에 관계없이 DC값으로만 재 구성된 복호화된 자화면용 영상신호로 복원하여 제 1 저장부(23)로 출력하고 B채널의 경우 영상의 주사방식, 프레임율 등의 정보를 제어부(24)로 출력한다.The second decoder 22 restores the input image signal for a sub picture to a predetermined length, and then reconstructs the sub picture image signal for reconstruction only with a DC value regardless of the type (I, P, or B frames) of the frame. The control unit 24 outputs the information to the first storage unit 23 to the first storage unit 23 and outputs information such as an image scanning method and a frame rate to the control unit 24 in the case of the B channel.

상기 제어부(24)는 상기 제 1 복호부(21) 및 제 2 복호부(22)에서 출력되는 모/자화면용 비디오데이타의 동기신호와 주사방식에 관한 정보 및 자화면의 크기를 결정하여 상기 스위칭부(27), 제 1,2 저장부(23,26) 및 포맷변환부(25)에 해당되는 제어신호를 제공한다.The control unit 24 determines the synchronization signal and information on the scanning method of the mother / sub picture video data output from the first decoding unit 21 and the second decoding unit 22 and the size of the sub picture. A control signal corresponding to the switching unit 27, the first and second storage units 23 and 26, and the format conversion unit 25 is provided.

제 1 저장부(23)는 상기 제 2 복호부(22)에서 출력되는 프레임의 종류(I, P, B프레임)에 관계없이 DC값으로만 재 구성된 복호화된 자화면용 비디오데이타를 저장하고 있다가 제어부(24)의 출력제어신호에 따라 포맷변환부(25)로 출력한다.The first storage unit 23 stores the decoded sub picture video data reconstructed only with a DC value irrespective of the type (I, P, or B frames) output from the second decoder 22. Outputs to the format conversion unit 25 according to the output control signal of the control unit 24.

여기서, 상기 제 1 저장부(23)는 제 2 복호부(22)에서 출력되는 자화면용 비디오 데이터의 속도와 포맷변환부(25)에서 출력되는 데이터의 속도가 다를 수 있기 때문에 이 속도를 일치 시켜주기위한 즉, 버퍼링(Buferring)역활을 하기 위한 저장부인 것이다.Here, the first storage unit 23 matches the speed because the speed of the video data for the sub picture output from the second decoder 22 may be different from the speed of the data output from the format converter 25. It is a storage unit to play a role of buffering.

상기 포맷컨버터(25)는 상기 제어부(24)에서 제공되는 화면크기 제어신호 및주사방식에 대한 제어신호에 따라 상기 제 1 저장부(23)에서 출력되는 자화면용 영상데이타를 적절히 공간상의 보간이나 시간축상에서 보간하여 PIP 화면이 출력되는 모화면과 동일한 주사방식 및 프레임율을 가지고 적절한 화면의 크기가 되도록 포맷 변환시켜준다.The format converter 25 properly interpolates the image data for the sub picture output from the first storage unit 23 according to the screen size control signal and the control signal for the scanning method provided from the controller 24. It interpolates on the time axis and converts the format to the appropriate screen size with the same scanning method and frame rate as the mother screen on which the PIP screen is output.

상기 포맷 변환된 비디오 데이터는 제 2 저장부(26)로 제어부(24)의 출력제어신호에 따라 출력하되어 저장된다.The format-converted video data is output to the second storage unit 26 according to an output control signal of the controller 24 and stored.

이때, 상기 제 2 저장부(26)는 상기 포맷변환부(25)에서 출력되는 비디오 데이터의 출력시점과 이 데이터가 일 화면에 디스플레이되는 시점이 다르기 때문에 이를 일치시켜주기 위한 버퍼의 역할을 하기위해 필요한 것이다.In this case, the second storage unit 26 serves as a buffer to match the output time point of the video data output from the format converter 25 and the time point at which the data is displayed on one screen. It is necessary.

이렇게 제 2 저장부(26)에 저장된 자화면용 비디오 데이터는 제어부(24)의 출력제어신호에 따라 스위칭부(27)로 출력된다.The video data for the sub picture stored in the second storage unit 26 is output to the switching unit 27 according to the output control signal of the control unit 24.

상기 스위칭부(27)는 제 1 복호부(21)에서 출력되는 모화면용 영상데이타와제 2 저장부(26)에서 출력되는 자화면용 영상데이타를 입력받아 제어부(24)의 모화면에 대한 자화면의 디스플레이 위치제어신호에 따라 모화면의 적당한 위치에 자화면(PIP화면)을 위치시켜 두 채널의 데이터를 적절하게 선택하여 일 화면에 디스플레이하는 것이다.The switching unit 27 receives the mother screen image data output from the first decoding unit 21 and the sub-screen image data output from the second storage unit 26 to receive the mother screen image data of the control unit 24. According to the display position control signal of the child screen, the child screen (PIP screen) is placed at an appropriate position of the mother screen, and data of two channels are appropriately selected and displayed on one screen.

여기서, 본 발명에 따른 PIP회로는 비디오 비트열중 프레임의 종류에 관계없이 DC값만을 이용하여 복호하기 때문에 복호된 보조화면을 크게 키운다든가 하는것은 의미가 없다고 할 수 있다.Here, since the PIP circuit according to the present invention decodes using only the DC value regardless of the type of frame in the video bit stream, it is not meaningful to make the decoded sub picture large.

따라서, 기본적으로 몇가지 정해진 보조화면의 크기와 위치 조합만을 만들어낸다고 했을 때 도 3의 포맷컨버터(25) 및 제어부(24)는 논리회로로써 충분히 구현할 수 있게 되는 것이다.Therefore, when the size and position combinations of the predetermined sub-screens are basically made only, the format converter 25 and the control unit 24 of FIG. 3 can be sufficiently implemented as logic circuits.

이때, 상기 제 2 복호부(22)는 도 4에 도시된 바와 같이 채널 B 를 통해 입력되는 자화면용 영상신호를 가변장 길이 복호화하는 VLD(22a); 상기 가변장 길이복호화된 영상신호를 프레임에 관계없이 DC값으로만 재구성된 영상신호를 역양자화하는 역양자화부(22b); 상기 VLD(22a)에서 출력되는 가변장 길이 복호하된 영상신호의 프레임을 저장하는 프레임메모리(22d); 상기 프레임 메모리에 저장된 영상신호와 상기 역양자화된 영상신호를 비교하여 움직임 보상하여 상기 제 2 저장부(23)로 출력하는 움직임 보상부(22c)로 구성된다.In this case, the second decoder 22 may include: a VLD 22a for variable length decoding of the video signal for the sub picture input through the channel B; An inverse quantizer 22b for inversely quantizing the variable-length decoded video signal into a DC value irrespective of a frame; A frame memory 22d for storing a frame of a variable-length decoded video signal output from the VLD 22a; The motion compensation unit 22c compares the video signal stored in the frame memory with the dequantized video signal to compensate for the motion and outputs the motion compensation unit 22c to the second storage unit 23.

여기서, 상기 프레임메모리(22d)의 크기는 DC값으로만 구성된 프레임을 제 2 프레임저장할 수 있는 크기를 가지는 것이다.Here, the size of the frame memory 22d has a size capable of storing the second frame in a frame composed only of a DC value.

도 6은 도 4에 도시된 제 2 복호부(22)의 동작흐름도로서, 도 6을 참조하여 본 발명에서 PIP전용 복호부 즉, 제 2 복호부(22)의 동작방법을 설명하기로 한다.FIG. 6 is a flowchart illustrating the operation of the second decoding unit 22 shown in FIG. 4. Referring to FIG. 6, an operation method of the PIP-only decoding unit, that is, the second decoding unit 22 will be described with reference to FIG. 6.

먼저, 입력되는 자화면의 영상신호의 픽쳐헤드를 체크하여(S201) I- 프레임인지를 판단한다(S202).First, a picture head of an input video signal of a sub picture is checked (S201), and it is determined whether it is an I-frame (S202).

I-프레임이면 DC값만을 추출하기 위하여 DC값인지를 판단한다(S203).If it is an I-frame, it is determined whether the DC value is to extract only the DC value (S203).

상기 판단결과 DC값이면 데이터를 출력하고(S204) DC값이 아니면 데이터를 소거 한다(S205).As a result of the determination, if the DC value is outputted (S204), if not the DC value is erased (S205).

그리고, 상기 판단된 프레임이 I-프레임이 아니면 P-프레임인지를 판단하여 (S206) P-프레임이면 DC값만을 추출하기 위하여 DC값인지를 판단한다(S207).If the determined frame is not an I-frame, it is determined whether it is a P-frame (S206). If it is a P-frame, it is determined whether it is a DC value to extract only a DC value (S207).

DC값이 아니면 데이터를 소거하고(S211) DC값이면, 상기 P-프레임이 움직임 보상된 기준 프레임(Reference Frame)을 입력한다(S208).If it is not the DC value, the data is erased (S211). If the DC value, the P-frame is a motion compensated reference frame (Reference Frame) is input (S208).

기준프레임이 입력되면 상기 기준프레임의 DC값과 상기 P-프레임의 DC값을 합산하여(S209) 데이터를 출력한다(S210).When the reference frame is input, the DC value of the reference frame and the DC value of the P-frame are summed (S209) to output data (S210).

한편, 상기 입력되는 프레임이 P-프레임이 아니면 당연히 B-프레임인 것이다.On the other hand, if the input frame is not a P-frame, it is naturally a B-frame.

따라서, 상기 B-프레임에 대한 DC값만을 추출하기 위하여 DC값인지를 판단하여(S212) 그 DC값이 아니면 데이터를 소거(S216)하고 DC 값이면 기준프레임을 보간한다(S213).Therefore, in order to extract only the DC value for the B-frame, it is determined whether it is a DC value (S212). If it is not the DC value, data is erased (S216). If the DC value is interpolated, the reference frame is interpolated (S213).

여기서, 상기 B-프레임은 다른 프레임의 움직임 보상에 이용되지 않으므로 기준 프레임을 보간하여도 화면의 화질열화에 큰 영향을 끼치지 않기 때문에 도 6 과 같이 기준프레임의 DC 값을 보간할 수 있는 것이다.In this case, since the B-frame is not used for motion compensation of another frame, the DC value of the reference frame can be interpolated as shown in FIG. 6 because interpolation of the reference frame does not significantly affect image quality deterioration.

상기 B-프레임의 기준 프레임이 보간되면 상기 보간된 기준 프레임의 DC값과B-프레임의 DC값을 더하여(S214) 데이터를 출력하는 것이다(S215).When the reference frame of the B-frame is interpolated, the DC value of the interpolated reference frame and the DC value of the B-frame are added (S214) to output data (S215).

즉, 상기와 같은 방법에서 I-프레임데이타는 움직임 보상이 없기 때문에 자체의 압축된 비트열로써 그 DC값을 얻을 수 있다.That is, in the above method, since the I-frame data has no motion compensation, its DC value can be obtained as its compressed bit string.

그러나 P, B-프레임은 움직임보상이 되어 있기 때문에 기준 프레임의 DC값을 알지 않고서는 정확한 DC값을 구할 수 없는 것이다.However, since P and B-frames are motion compensated, accurate DC values cannot be obtained without knowing the DC values of the reference frames.

또한, 이 기준프레임의 DC값은 과거에 PIP복호기 즉, 제 2 복호부(22)에서 출력된 어떠한 DC프레임으로 부터도 정확하게 유추해 낼 수 없는 것이다.In addition, the DC value of this reference frame cannot be accurately inferred from any DC frame output from the PIP decoder, that is, the second decoder 22 in the past.

다만 적당한 알고리즘에 의하여 근사치만을 구할 수 있을 뿐이다.Only approximations can be obtained by appropriate algorithms.

이와 같이 오차를 감수하고 근사치를 구한다고 했을 때 한 GOP(Group of Picture)내에서 오차가 누적되어 뒤로 갈수록 화질 열화가 심해지기 때문에 자기 자신이 다른 프레임의 기준이 되는 P-프레임 만큼은 어떻게 하든 정확한 데이터를 복구해 내지 않으면 안된다.In the case of taking an error and calculating an approximation, since the error accumulates in one group of pictures (GOP) and the quality deteriorates as it goes backward, the data is accurate no matter how much P-frame is used as the reference of another frame. You must recover it.

따라서 P-프레임에 대해서는 전송되는 비트량을 일부 사용한다 하더라도 기준 프레임의 DC값을 전송하도록 한다.Therefore, the DC value of the reference frame is transmitted even if some bits are transmitted for the P-frame.

물론 이때에도 DC값들을 적절한 방법에 의하여 압축하여 줄 수 있고 또한 인트라 코드(Intra-Coded)매크로 블록등과 같이 추가데이타가 필요없는 경우는 굳이 전송할 필요가 없는 것이다.Of course, even in this case, DC values can be compressed by an appropriate method, and additional data such as intra-coded macro blocks are not necessary.

그러나 B-프레임은 다른 프레임의 움직임 보상에 이용되지 않는 프레임이므로기준 프레임을 상기와 같이 보간하여도 화질열화에 큰 영향을 끼치지 않는다.However, since the B-frame is a frame that is not used for motion compensation of another frame, interpolation of the reference frame as described above does not significantly affect image quality deterioration.

따라서, 도 5과 같이 본 발명에서 제안한 방법에 의해 기준 프레임의 DC 값을 보간할 수 있다.Accordingly, the DC value of the reference frame can be interpolated by the method proposed by the present invention as shown in FIG. 5.

도 5을 참조하여 살펴보면, B는 움직임 벡터의 기준점이고 H는 움직임 벡터의 종점이라 하자.Referring to FIG. 5, let B be the reference point of the motion vector and H be the end point of the motion vector.

도 5에서 B, O, P, Q, R은 모두 프레임메모리(22d)에 저장된 기준프레임의 DC 값들이다.In FIG. 5, B, O, P, Q, and R are all DC values of the reference frame stored in the frame memory 22d.

이때, H 의 DC값은 아래의 수학식에 의하여 근사적으로 구할 수 있다.At this time, the DC value of H can be approximated by the following equation.

[수학식1][Equation 1]

상기 수학식 1에서 DC[]는 DC값을 나타내며 S는 면적을 나타낸다In Equation 1, DC [] represents a DC value and S represents an area.

상기 수학식 1은 이웃한 임의의 2개의 면적이 0이거나 이웃한 임의의 3개의 면적이 0일 때도 성립한다.Equation (1) holds true even when any two neighboring areas are zero or any three neighboring areas are zero.

예를 들어 S3=S4=0인 경우For example, if S3 = S4 = 0

[수학식 2][Equation 2]

와 같다.Same as

본 발명에 따른 디지탈 TV의 PIP 구현장치 및 그 방법은 기존의 비디오 복호기를 매우 단순화함에도 불구하고 움직임이 본래의 화질에 비해 조금도 손상되지 않는 우수한 화면을 복구해낼 수 있기 때문에 PIP응용에 아주 우수하며 특히 다수개의 PIP화면을 동시에 구현하고자 할 때 경제성과 화질을 모두 추구할 수 있는 이점이 있다.PIP implementation device and method of a digital TV according to the present invention is very excellent for PIP application because it can recover the excellent picture that the motion is not damaged in spite of the original picture quality even though the existing video decoder is greatly simplified. When implementing multiple PIP screens at the same time, there is an advantage that both economical and image quality can be pursued.

Claims (9)

압축된 모화면용 영상신호를 원래의 영상신호로 복원하는 복호부를 구비한 디지탈 티브이의 피아이피(PIP) 구현장치에 있어서, 입력되는 자화면용 영상신호를 프레임에 관계없이 DC값으로만 재구성하여 복호화된 영상데이타를 출력하는 복호화수단; 상기 복호화수단에서 복호화된 영상데이타를 일시 저장하고 있다가 일 출력 제어신호에 따라 출력하는 제 1 저장수단; 상기 제 1 저장수단에서 출력되는 영상데이타를 제공되는 주사선택 제어신호 및 화면크기 선택제어신호에 따라 공간상의 DC값 보간이나 시간축상에서의 DC값을 보간하여 주화면과 동일한 주사방식 및 프레임율을 가지고 적절한 크기가 되도록 포맷변환하는 포맷변환수단; 상기 포맷변환된 자화면의 영상데이타와 상기 복호화된 주화면의 영상데이타를 일 제어신호에 따라 합성하여 디스플레이하는 스위칭부; 상기 일 제어신호와 주사선택 제어신호 및 화면크기 선택제어신호를 제공하는 제어수단을 포함하여 구성됨을 특징으로 하는 디지탈 티브이의 피아이피(PIP)구현장치.In a digital TV implementation of a PIP having a decoder for restoring a compressed mother screen video signal to an original video signal, the input video signal for a child screen is reconstructed to be a DC value regardless of a frame. Decoding means for outputting decoded video data; First storage means for temporarily storing the video data decoded by the decoding means and outputting the image data according to an output control signal; According to the scan selection control signal and the screen size selection control signal provided with the image data output from the first storage means, the DC value in the space or the DC value on the time axis are interpolated to have the same scanning method and frame rate as the main screen. Format converting means for converting the format to an appropriate size; A switching unit for synthesizing and displaying the image data of the format-converted sub picture and the image data of the decoded main picture according to a control signal; And a control means for providing the one control signal, the scan selection control signal, and the screen size selection control signal. 제 1항에 있어서, 상기 복호화수단은 입력되는 자화면용 영상신호를 프레임에 관계없이 DC값으로 가변장 길이 복호화하는 VLD; 상기 DC값으로 가변장 길이 복호화된 영상신호를 역양자화하는 역양자화부; 상기 VLD에서 출력되는 가변장 길이 복호화된 영상신호의 DC값으로만 구성된 프레임을 저장하는 프레임메모리; 상기 프레임 메모리에 저장된 영상신호와 상기 역양자화된 영상신호를 비교하여 움직임 보상하는 움직임 보상부로 구성됨을 특징으로 하는 디지탈 TV의 PIP구현장치.2. The apparatus of claim 1, wherein the decoding unit comprises: a VLD for decoding a long-length variable input video signal into a DC value regardless of a frame; An inverse quantizer for inversely quantizing a variable-length decoded video signal with the DC value; A frame memory configured to store a frame configured only with a DC value of a variable length decoded video signal output from the VLD; And a motion compensator for compensating for motion by comparing the video signal stored in the frame memory with the dequantized video signal. 제 1항에 있어서, 상기 포맷변환수단에서 출력되는 영상데이타의 출력시점과 이 데이터가 일화면에 디스플레이되는 시점을 동기화 하기위해 버퍼링역할을 하는 제 2 저장수단을 더 구비함을 특징으로 하는 디지탈 TV의 PIP구현장치.The digital TV as claimed in claim 1, further comprising a second storage means for buffering to synchronize an output time point of the image data output from the format conversion means and a time point at which the data is displayed on one screen. PIP implementation. 제 1항에 있어서, 상기 제 1 저장수단은 복호화수단에서 출력되는 데이터의 속도와 상기 포맷 변환부에서 출력되는 데이터의 출력속도를 동기시키기 위해 버퍼링역할을 하는 것을 특징으로 하는 디지탈 TV의 PIP구현장치.The apparatus of claim 1, wherein the first storage means plays a buffering role to synchronize the speed of data output from the decoding means and the output speed of data output from the format converter. . 디지탈 티브이의 피아이피(PIP) 구현장치의 PIP구현방법에 있어서, 입력되는 자화면용 영상신호를 프레임에 관계없이 DC값으로만 재구성하여 복호화된 영상데이타를 출력하는 복호화단계; 상기 DC값으로만 재구성되어 복호화된 영상데이타를 일시 저장하고 있다가 일 출력제어신호에 따라 출력하고, 상기 출력되는 영상데이타를 주사선택 제어신호 및 화면크기 선택제어신호에 따라 공간상의 DC값 보간이나 시간축상에서의 DC값을 보간하여 주화면과 동일한 주사방식 및 프레임율을 가지고 적절한 크기가 되도록 포맷변환하는 포맷변환단계; 상기 포맷변환된 자화면의 영상데이타와 입력되는 복호화된 주화면의 영상데이타를 일 제어신호에 따라 합성하여 디스플레이하는 단계로 이루어짐을 특징으로 하는 디지탈 티브이의 피아이피(PIP)구현방법.A PIP implementation method of an implementation apparatus of a digital TV, comprising: a decoding step of outputting decoded image data by reconstructing an input image signal for a sub picture only into a DC value regardless of a frame; After reconstructing the decoded image data only by the DC value, the data is temporarily stored and output according to one output control signal, and the output image data is interpolated in space according to a scan selection control signal and a screen size selection control signal. A format conversion step of interpolating the DC value on the time axis to have an appropriate size with the same scanning method and frame rate as the main picture; And synthesizing and displaying the image data of the format-converted main screen and the input decoded main screen according to a control signal. 제 5 항에 있어서, 상기 복호화하는 단계는 입력되는 자화면용 영상신호를 프레임에 관계없이 DC값으로 가변장 길이 복호화하여 복호화된 DC값에 대해 역양자화하는 단계; 상기 가변장 길이 복호화된 영상신호에 대한 DC값으로만 구성된 프레임을 저장하는 단계; 상기 저장된 영상신호와 상기 역양자화된 영상신호를 비교하여 움직임 보상하는 움직임 보상단계로 이루어짐을 특징으로 하는 디지탈 TV의 PIP 구헌방법.6. The method of claim 5, wherein the decoding comprises: inversely quantizing the decoded DC value by variable length length decoding the input sub picture image signal into a DC value regardless of a frame; Storing a frame including only DC values for the variable length decoded video signal; And a motion compensation step of compensating for the motion by comparing the stored video signal with the dequantized video signal. 제 5 항에 있어서, 상기 포맷변환단계에서 출력되는 영상데이타의 출력시점과 이 데이터가 일화면에 디스플레이되는 시점을 동기화 하기위해 버퍼링역할을 하게 하는 저장단계를 더 부가함을 특징으로 하는 디지탈 TV의 PIP구현방법.6. The digital TV of claim 5, further comprising a storage step of buffering the synchronization point of time of the image data output in the format conversion step and the time point at which the data is displayed on one screen. How to implement PIP. 디지탈 TV의 PIP구현장치의 PIP구현방법에 있어서, 입력되는 자화면용 영상신호의 픽쳐헤드를 체크하여 해당프레임(I, P, B)을 검출하는 단계; 상기 검출된 프레임에 관계없이 DC 값을 계산하는 단계; 상기 DC값의 계산결과에 따라 데이터를 소거하거나 현 프레임의 DC값에 대해 움직임 보상된 이전 기준프레임의 DC 값과 상기 계산된 현 프레임의 DC값을 합산하여 PIP화면을 구성하는 단계를 포함하여 이루어짐을 특징으로 하는 디지탈 TV의 PIP구현방법.A PIP implementation method of a PIP implementation apparatus of a digital TV, comprising the steps of: detecting a corresponding frame (I, P, B) by checking a picture head of an input video signal for a sub picture; Calculating a DC value regardless of the detected frame; And erasing data according to the DC value calculation result or adding the DC value of the previous reference frame whose motion compensation is performed to the DC value of the current frame and the calculated DC value of the current frame to form a PIP screen. PIP implementation method of the digital TV, characterized in that. 제 8 항에 있어서, 상기 검출된 프레임이 B 프레임일 경우 DC 값을 계산하고 이 B 프레임에 대한 기준 프레임을 보간하는 단계를 포함하여 이루어짐을 특징으로 하는 디지탈 TV의 PIP구현방법.10. The method of claim 8, wherein the step of calculating the DC value and interpolating the reference frame for the B frame when the detected frame is a B frame.
KR1019960073514A 1996-12-27 1996-12-27 Apparatus and method for driving pip in digital tv KR100215789B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960073514A KR100215789B1 (en) 1996-12-27 1996-12-27 Apparatus and method for driving pip in digital tv

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960073514A KR100215789B1 (en) 1996-12-27 1996-12-27 Apparatus and method for driving pip in digital tv

Publications (1)

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

Family

ID=19491374

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960073514A KR100215789B1 (en) 1996-12-27 1996-12-27 Apparatus and method for driving pip in digital tv

Country Status (1)

Country Link
KR (1) KR100215789B1 (en)

Similar Documents

Publication Publication Date Title
KR100261072B1 (en) Digital signal processing system
JP3365771B2 (en) Video signal compression device
JP3462208B2 (en) Video signal decompressor for independently compressed even and odd field data
JP3302939B2 (en) Video signal decompressor for independently compressed even and odd field data
US6256348B1 (en) Reduced memory MPEG video decoder circuits and methods
KR19990072968A (en) Picture signal processing system, decoder, picture signal processing method, and decoding method
JPH09200695A (en) Method and device for decoding video data for high-speed reproduction
JP2898413B2 (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
JPH08237666A (en) Inter-frame band comprssion signal processor
KR20020065908A (en) Image reproducing method and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods
KR100215789B1 (en) Apparatus and method for driving pip in digital tv
KR100272818B1 (en) Image datd encoding device
JP2900810B2 (en) Method for reducing quantization noise generated when decoding transform-coded image data, and decoding device for transform-coded image data
JP3990011B2 (en) Decoded image conversion circuit and decoded image conversion device
KR19980054366A (en) Device and method for implementing PIP of digital TV
JP4320509B2 (en) Video re-encoding apparatus and method
US6490321B1 (en) Apparatus and method of encoding/decoding moving picture using second encoder/decoder to transform predictive error signal for each field
US6904093B1 (en) Horizontal/vertical scanning frequency converting apparatus in MPEG decoding block
JPH11289515A (en) Picture signal processor and its method, picture signal recorder and its method and recording medium
KR970004192B1 (en) Pip circuit of digital television system
JP3859118B2 (en) Variable image rate encoding apparatus, variable image rate decoding apparatus, variable image rate encoding method, and variable image rate decoding method
JP2002016924A (en) Transcoding device and transcoding method
JPH11308620A (en) Image decoder
JP3262464B2 (en) Image decoding device
JPH08265759A (en) Compression signal switching device