[go: up one dir, main page]

CN100440951C - Picture-in-picture processing device and processing method thereof - Google Patents

Picture-in-picture processing device and processing method thereof Download PDF

Info

Publication number
CN100440951C
CN100440951C CNB2006101002688A CN200610100268A CN100440951C CN 100440951 C CN100440951 C CN 100440951C CN B2006101002688 A CNB2006101002688 A CN B2006101002688A CN 200610100268 A CN200610100268 A CN 200610100268A CN 100440951 C CN100440951 C CN 100440951C
Authority
CN
China
Prior art keywords
picture
image
sub
circuit
selection signal
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CNB2006101002688A
Other languages
Chinese (zh)
Other versions
CN1878261A (en
Inventor
曹盛哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006101002688A priority Critical patent/CN100440951C/en
Publication of CN1878261A publication Critical patent/CN1878261A/en
Application granted granted Critical
Publication of CN100440951C publication Critical patent/CN100440951C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Circuits (AREA)

Abstract

一种子母画面处理装置,其用于处理一母画面图像以及一子画面图像,子母画面处理装置包括了缩放电路、存储电路、第一选择电路以及处理电路。所述缩放电路用于缩小子画面图像以输出一已经缩小的子画面图像。所述存储电路用于储存母画面图像与已经缩小的子画面图像。所述第一选择电路连接至所述控制电路以接收画面选择信号,并连接至所述存储电路以根据所述画面选择信号选择已经缩小的子画面图像或母画面图像作为输出。所述处理电路连接至第一选择电路以处理母画面图像或缩小的图像。

Figure 200610100268

A picture-in-picture processing device is used for processing a picture-in-picture image and a picture-in-picture image. The picture-in-picture processing device includes a scaling circuit, a storage circuit, a first selection circuit and a processing circuit. The scaling circuit is used to reduce the sub-picture image to output a reduced sub-picture image. The storage circuit is used for storing the main picture image and the sub-picture image which has been shrunk. The first selection circuit is connected to the control circuit to receive a picture selection signal, and connected to the storage circuit to select the reduced sub-picture image or the main picture image as an output according to the picture selection signal. The processing circuit is connected to the first selection circuit to process the master picture image or the reduced image.

Figure 200610100268

Description

子母画面处理装置及其处理方法 Picture-in-picture processing device and processing method thereof

技术领域 technical field

本发明涉及一种图像处理装置及其处理方法,具体而言,涉及一种子母画面处理装置及其处理方法。The present invention relates to an image processing device and a processing method thereof, in particular to a picture-in-picture processing device and a processing method thereof.

背景技术 Background technique

随着信息及影音时代的来临,图像显示的方式及图像处理技术也在蓬勃发展。其中,子母画面是一种被广泛应用的显示技术,其通常可以方便使用者同时收看多个频道,或同时检视播放影片的不同区段。With the advent of the information and audio-visual age, image display methods and image processing technologies are also developing vigorously. Among them, picture-in-picture is a widely used display technology, which usually facilitates users to watch multiple channels at the same time, or to view different sections of playing videos at the same time.

以播放电视频道为例,参照图1所示。在公知的电视的子母画面频道的播放过程中,一第一频道画面1显示于一视频帧2。接着,使用者可根据个人需求或是一默认值,将视频帧2分割成一母画面区域21及一子画面区域22。此时,一第二频道画面3被缩小,以覆盖并取代子画面区域22的第一频道画面1。因此,使用者即可同时收看第一频道画面1及第二频道画面3。如上所述,如果希望执行上述的子母画面的播放过程,公知的电视需要设置一子母画面处理装置来处理图像数据,以作为后续播放子母画面频道之用。Take broadcasting a TV channel as an example, as shown in FIG. 1 . During broadcasting of a known picture-in-picture channel on a TV, a first channel picture 1 is displayed in a video frame 2 . Then, the user can divide the video frame 2 into a main picture area 21 and a sub picture area 22 according to personal requirements or a default value. At this time, a second channel picture 3 is reduced to cover and replace the first channel picture 1 in the sub-picture area 22 . Therefore, the user can watch the first channel screen 1 and the second channel screen 3 at the same time. As mentioned above, if it is desired to perform the above-mentioned picture-in-picture playing process, the known TV needs to be equipped with a picture-in-picture processing device to process the image data for subsequent playing of the picture-in-picture channel.

参照图2所示,公知的子母画面处理装置4可与一显示器5配合,其中,子母画面处理装置4包括一第一处理电路41、一第二处理电路42及一覆盖电路43。Referring to FIG. 2 , the known picture-in-picture processing device 4 can cooperate with a display 5 , wherein the picture-in-picture processing device 4 includes a first processing circuit 41 , a second processing circuit 42 and an overlay circuit 43 .

第一处理电路41可接收并处理一母画面图像61,以产生一第一待显示图像62。而第二处理电路42可接收并处理一子画面图像63,以产生一第二待显示图像64。此时,当显示器5希望在子画面区域22呈现第二频道画面3时(如图1所示),覆盖电路43就接收第一待显示图像62及第二待显示图像64,且通过第二待显示图像64覆盖并取代第一待显示图像62,以输出第二待显示图像64至显示器5。The first processing circuit 41 can receive and process a master image 61 to generate a first image 62 to be displayed. The second processing circuit 42 can receive and process a sprite image 63 to generate a second image 64 to be displayed. At this time, when the display 5 wishes to present the second channel image 3 in the sub-screen area 22 (as shown in FIG. 1 ), the overlay circuit 43 receives the first image to be displayed 62 and the second image to be displayed 64, and passes the second image to be displayed. The image to be displayed 64 covers and replaces the first image to be displayed 62 to output the second image to be displayed 64 to the display 5 .

然而,由上述讨论可知,公知的子母画面处理装置4需提供两个处理电路(包括第一处理电路41及第二处理电路42),以便于当显示器5希望在子画面区域22呈现第二频道画面3(如图1所示)时,分别作为处理母画面图像61及子画面图像63之用,这不仅加大了产品尺寸,也增加了产品成本。再如图1所示,当第二频道画面3被缩小,以取代显示于子画面区域22的第一频道画面1时,内存需同时提供母画面图像61及子画面图像63的存储带宽以作为后续子画面区域22显示之用。换言之,在公知的子母画面处理装置4中,必须提供多余的存储带宽给予原来位于子画面区域22的部份母画面图像61(而子画面区域22现在被子画面图像63覆盖)。However, as can be seen from the above discussion, the known picture-in-picture processing device 4 needs to provide two processing circuits (comprising the first processing circuit 41 and the second processing circuit 42), so that when the display 5 wishes to present the second picture in the picture-in-picture area 22 When the channel screen 3 (as shown in FIG. 1 ) is used for processing the main screen image 61 and the sub-screen image 63 respectively, this not only increases the product size, but also increases the product cost. As shown in Figure 1 again, when the second channel picture 3 is reduced to replace the first channel picture 1 displayed in the sub-picture area 22, the internal memory needs to provide the storage bandwidth of the main picture image 61 and the sub-picture image 63 simultaneously as Subsequent sub-picture area 22 is used for displaying. In other words, in the known picture-in-picture processing device 4 , redundant storage bandwidth must be provided for the part of the mother picture image 61 originally located in the sub picture area 22 (while the sprite area 22 is now covered by the sub picture image 63 ).

因此,如何提供一种子母画面处理装置及其处理方法,能够解决上述问题,是当前重要问题之一。Therefore, how to provide a picture-in-picture processing device and processing method thereof, which can solve the above-mentioned problems, is one of the important problems at present.

发明内容 Contents of the invention

根据上述问题,本发明的目的是提供一种减少存储电路用量的子母画面处理装置及其处理方法。According to the above problems, the object of the present invention is to provide a picture-in-picture processing device and processing method thereof which reduce the usage of storage circuits.

因此,为达到上述目的,根据本发明的子母画面处理装置可处理一母画面图像及一子画面图像,子母画面处理装置包括一缩放电路、一存储电路、一第一选择电路及一处理电路。缩放电路用于缩小子画面图像以输出一缩小的子画面图像。存储电路用于储存母画面图像与缩小的子画面图像。第一选择电路连接至控制电路以接收画面选择信号,并连接至存储电路,以根据画面选择信号,来选择缩小的子画面图像或母画面图像作为输出。处理电路连接至第一选择电路,以处理缩小的子画面图像或母画面图像。Therefore, in order to achieve the above object, the picture-in-picture processing device according to the present invention can process a picture-in-picture image and a picture-in-picture image, and the picture-in-picture processing device includes a scaling circuit, a storage circuit, a first selection circuit and a processing circuit. The scaling circuit is used for reducing the sub-picture image to output a reduced sub-picture image. The storage circuit is used for storing the main picture image and the reduced sub-picture image. The first selection circuit is connected to the control circuit to receive the picture selection signal, and connected to the storage circuit, so as to select the reduced sub-picture image or the main picture image as output according to the picture selection signal. The processing circuit is connected to the first selection circuit to process the reduced sprite image or the master image.

另外,为达到上述目的,本发明还公开了一子母画面处理方法,其用于处理一母画面图像及一子画面图像。子母画面处理方法包括下列步骤:首先缩小子画面图像以输出一缩小的子画面图像。接着,将母画面图像与缩小的子画面图像储存在一存储电路中。然后,根据一画面选择信号,从存储电路中选择缩小的子画面图像或母画面图像进行处理。In addition, to achieve the above purpose, the present invention also discloses a picture-in-picture processing method, which is used to process a picture-in-picture image and a picture-in-picture image. The picture-in-picture processing method includes the following steps: first reducing the picture of the picture to output a reduced picture of the picture. Next, the main picture image and the reduced sub picture image are stored in a storage circuit. Then, according to a picture selection signal, the reduced sub-picture image or the main picture image is selected from the storage circuit for processing.

如上所述,根据本发明的子母画面处理装置及子母画面处理方法在处理子画面图像时,是从存储电路中读取经缩小的子画面图像进行处理,而并非如公知技术将子画面图像的数据全部从内存中读出来进行处理。因此,本发明中存储电路的存取量不仅较公知技术少且更具有效率。As mentioned above, according to the picture-in-picture processing device and the picture-in-picture processing method of the present invention, when processing the picture-in-picture image, the reduced picture picture of the picture-in-picture is read from the storage circuit for processing, instead of processing the picture-in-picture image as the known technology. All image data is read out from the memory for processing. Therefore, the access amount of the storage circuit in the present invention is not only less than that of the prior art, but also more efficient.

附图说明 Description of drawings

图1为一示意图,其显示了公知电视的子母画面的图像显示;Fig. 1 is a schematic diagram, which shows the image display of the picture-in-picture of known TV;

图2为一示意图,其显示了公知的子母画面处理装置;FIG. 2 is a schematic diagram showing a known picture-in-picture processing device;

图3为一示意图,其显示了根据本发明优选实施例的子母画面处理装置;FIG. 3 is a schematic diagram showing a picture-in-picture processing device according to a preferred embodiment of the present invention;

图4为一示意图,其显示了控制电路所定义的母画面区域及子画面区域;Fig. 4 is a schematic diagram showing the main picture area and the sub picture area defined by the control circuit;

图5为一示意图,其显示了如图3所示的子母画面处理装置的控制电路;Fig. 5 is a schematic diagram, which shows the control circuit of the picture-in-picture processing device shown in Fig. 3;

图6为一示意图,其显示了根据本发明优选实施例的另一子母画面处理装置;以及FIG. 6 is a schematic diagram showing another picture-in-picture processing device according to a preferred embodiment of the present invention; and

图7为一流程图,其显示了根据本发明优选实施例的子母画面处理方法的流程。FIG. 7 is a flow chart showing the flow of a picture-in-picture processing method according to a preferred embodiment of the present invention.

组件符号说明Description of component symbols

1第一频道画面1 first channel screen

2视频帧2 video frames

21母画面区域21 master screen area

21’~29’区域21'~29'area

22子画面区域22 sub-picture areas

3第二频道画面3Second channel screen

4子母画面处理装置4 Picture-in-picture processing device

41第一处理电路41 first processing circuit

42第二处理电路42 second processing circuit

43覆盖电路43 covered circuits

5显示器5 monitors

61母画面图像61 master picture images

62第一待显示图像62 The first image to be displayed

63子画面图像63 sprite images

64第二待显示图像64 second image to be displayed

65经缩小的子画面图像65 downscaled sprite images

7子母画面处理装置7 Picture-in-picture processing device

71缩放电路71 scaling circuit

72控制电路72 control circuit

721~725比较器721~725 comparator

726缓存器726 registers

73第一选择电路73 first choice circuit

74处理电路74 processing circuits

75存储电路75 memory circuits

76第二选择电路76 second selection circuit

761第一多任务器761 first multiplexer

762第二多任务器762 second multiplexer

C0位置比较值C0 position comparison value

C0’对应码C0'corresponding code

C 1、C2、C3、C4比较值C 1, C2, C3, C4 comparison value

hcnt水平信号hcnt level signal

SIG1画面选择信号SIG1 screen selection signal

SIG2图像选择信号SIG2 image selection signal

SOC1第一图像源SOC1 first image source

SOC2第二图像源SOC2 second image source

S1~S3子母画面处理方法的步骤Steps of S1~S3 picture-in-picture processing method

vcnt    垂直信号vcnt vertical signal

WIPE_HA、WIPE_HB水平坐标值WIPE_HA, WIPE_HB horizontal coordinate value

WIPE_VA、WIPE_VB垂直坐标值WIPE_VA, WIPE_VB vertical coordinate value

具体实施方式 Detailed ways

以下将参照相关附图,说明根据本发明优选实施例的子母画面处理装置及子母画面处理方法,其中相同的组件将以相同的标号加以说明。The picture-in-picture processing device and picture-in-picture processing method according to preferred embodiments of the present invention will be described below with reference to the relevant drawings, wherein the same components will be described with the same reference numerals.

在多媒体视频应用技术中,为了增加画面转换的生动程度,相关领域技术人员研发出数种转场特效(Transition),如淡化特效(Dissolve)、分离特效(Split)、切换特效(Wipe)等。而本发明优选实施例的子母画面处理装置及子母画面处理方法利用上述的切换特效的方式来使图像显示于一视频帧的一母画面区域或一子画面区域。参照图3所示,根据本发明第一优选实施例的子母画面处理装置7,其用于处理一母画面图像61及一子画面图像63,母画面图像61及子画面图像63分别被显示于图1视频帧2中的母画面区域21与子画面区域22。In multimedia video application technology, in order to increase the vividness of picture transitions, technicians in related fields have developed several transition effects, such as Dissolve, Split, and Wipe. The picture-in-picture processing device and picture-in-picture processing method of the preferred embodiments of the present invention use the above-mentioned switching special effect method to display images in a picture-in-picture area or a picture-in-picture area of a video frame. With reference to shown in Figure 3, according to the picture-in-picture processing device 7 of the first preferred embodiment of the present invention, it is used for processing a mother picture image 61 and a child picture image 63, and the mother picture image 61 and the child picture image 63 are displayed respectively In the main picture area 21 and the sub picture area 22 in the video frame 2 of FIG. 1 .

子母画面处理装置7包含一缩放电路71、一控制电路72、一第一选择电路73、一处理电路74及一存储电路75。缩放电路71用于接收子画面图像63,并将子画面图像63缩小以输出一缩小的子画面图像65。存储电路75用于储存母画面图像61与缩小的子画面图像65。控制电路72用于判断目前处理电路74应当要处理母画面区域还是子画面区域,并根据判断结果输出一画面选择信号SIG1。第一选择电路73连接至控制电路72以接收画面选择信号SIG1,并连接至存储电路75以根据画面选择信号SIG1选择缩小的子画面图像65或母画面图像61作为输出。处理电路74连接至第一选择电路73以处理母画面图像61或缩小的子画面图像65,以使得母画面图像61与经缩小的子画面图像65能够正确地显示于如图1的视频帧2的母画面区域21与子画面区域22中。The picture-in-picture processing device 7 includes a scaling circuit 71 , a control circuit 72 , a first selection circuit 73 , a processing circuit 74 and a storage circuit 75 . The scaling circuit 71 is used for receiving the sub-picture image 63 and reducing the sub-picture image 63 to output a reduced sub-picture image 65 . The storage circuit 75 is used for storing the main picture image 61 and the reduced sub picture image 65 . The control circuit 72 is used for judging whether the current processing circuit 74 should process the main picture area or the sub picture area, and output a picture selection signal SIG1 according to the judgment result. The first selection circuit 73 is connected to the control circuit 72 to receive the image selection signal SIG1, and connected to the storage circuit 75 to select the reduced sub image 65 or the mother image 61 as an output according to the image selection signal SIG1. The processing circuit 74 is connected to the first selection circuit 73 to process the main picture image 61 or the reduced sub-picture image 65, so that the main picture image 61 and the reduced sub-picture image 65 can be correctly displayed in the video frame 2 as shown in FIG. 1 In the parent picture area 21 and the child picture area 22 of the

如图4所示,一视频帧2由两个水平坐标值WIPE_HA、WIPE_HB与两个垂直坐标值WIPE_VA、WIPE_VB,而被分割为多个区域21’~29’,这些区域可分别作为母画面区域或是子画面区域。举例而言,区域21’可作为子画面区域,用以显示缩小的子画面图像65,而区域22’~29’可作为母画面区域,用以显示母画面图像61。As shown in Figure 4, a video frame 2 is divided into multiple areas 21'-29' by two horizontal coordinate values WIPE_HA, WIPE_HB and two vertical coordinate values WIPE_VA, WIPE_VB, and these areas can be used as the main picture area respectively Or sub-picture area. For example, the area 21' can be used as a sub-picture area for displaying the reduced sub-picture image 65, and the areas 22'-29' can be used as the main picture area for displaying the main picture image 61.

另外,视频帧2中各像素依照由上至下、由左至右的顺序进行处理,图3中的控制电路72用于判断一当前待处理像素是属于子画面区域还是母画面区域,并根据判断结果,输出画面选择信号SIG1。画面选择信号SIG1用于控制第一选择电路73选择母画面图像61或缩小的子画面图像65作为输出。第一选择电路73输出的图像被输入到处理电路74。当当前待处理像素位于母画面区域时,画面选择信号SIG1就控制第一选择电路73输出母画面图像61至处理电路74,处理电路74就处理母画面图像61,以使得母画面图像61显示于视频帧2内的母画面区域22’~29’。反之,当当前待处理像素位于子画面区域21’时,画面选择信号SIG1就控制第一选择电路73,以输出缩小的子画面图像65至处理电路74,处理电路74就处理缩小的子画面图像65,以使得缩小的子画面图像65显示于视频帧2内的子画面区域21’。如此一来,母画面图像61与缩小的子画面图像65可分别显示于视频帧2的母画面区域22’~29’与子画面区域21’中。In addition, each pixel in the video frame 2 is processed according to the order from top to bottom and from left to right. The control circuit 72 in FIG. As a result of the determination, a screen selection signal SIG1 is output. The screen selection signal SIG1 is used to control the first selection circuit 73 to select the main screen image 61 or the reduced sub screen image 65 as an output. The image output from the first selection circuit 73 is input to the processing circuit 74 . When the current pixel to be processed is located in the mother picture area, the picture selection signal SIG1 controls the first selection circuit 73 to output the mother picture image 61 to the processing circuit 74, and the processing circuit 74 processes the mother picture image 61, so that the mother picture image 61 is displayed on The parent picture areas 22 ′˜ 29 ′ in the video frame 2 . Conversely, when the current pixel to be processed is located in the sub-picture area 21', the picture selection signal SIG1 controls the first selection circuit 73 to output the reduced sub-picture image 65 to the processing circuit 74, and the processing circuit 74 processes the reduced sub-picture image 65 , so that the reduced sprite image 65 is displayed in the sprite area 21 ′ in the video frame 2 . In this way, the parent picture image 61 and the reduced sub-picture image 65 can be displayed in the main picture areas 22'-29' and the sub-picture area 21' of the video frame 2, respectively.

如图5所示,控制电路72包含多个比较器721~725与一缓存器726。比较器721~724用于判断当前待处理像素的位置,以输出一位置比较值C0。缓存器726用于记录子画面区域21’的一对应码C0’。比较器725连接至比较器721~724与缓存器726,以分别接收位置比较值C0与对应码C0’。比较器725比较位置比较值C0与对应码C0’,并以此来判断当前待处理像素是否落在子画面区域21’中,以输出画面选择信号SIG1。当前待处理像素的水平位置与垂直位置是由一水平信号hcnt和一垂直信号vcnt来表示的,子画面区域21’与视频帧2中各区域21’~29’的对应信息被储存在缓存器726中。As shown in FIG. 5 , the control circuit 72 includes a plurality of comparators 721 - 725 and a register 726 . The comparators 721 - 724 are used to determine the position of the current pixel to be processed, so as to output a position comparison value C0. The buffer 726 is used to record a corresponding code C0' of the sub-picture area 21'. The comparator 725 is connected to the comparators 721-724 and the register 726 to receive the position comparison value C0 and the corresponding code C0' respectively. The comparator 725 compares the position comparison value C0 with the corresponding code C0' to determine whether the current pixel to be processed falls in the sub-picture area 21', so as to output the picture selection signal SIG1. The horizontal position and vertical position of the current pixel to be processed are represented by a horizontal signal hcnt and a vertical signal vcnt, and the corresponding information of the sub-picture area 21' and each area 21'-29' in the video frame 2 is stored in the buffer 726 in.

比较器721、723用于判断当前待处理像素的水平位置,比较器722、724用于判断当前待处理像素的垂直位置。比较器721用于比较水平信号hcnt与水平坐标值WIPE_HA以输出比较值C1,当水平信号hcnt比水平坐标值大时,比较器721就设定比较值C 1为1。比较器723用于比较水平信号hcnt与水平坐标值,以输出比较值C3。当水平信号hcnt比水平坐标值WIPE_HB大时,比较器723就设定比较值C3为1。比较器722用于比较垂直信号vcnt与垂直坐标值WIPE_VA,以输出比较值C2。当垂直信号vcnt比垂直坐标值WIPE_VA大时,比较器722就设定比较值C2为1。比较器724用于比较垂直信号vcnt与垂直坐标值WIPE_VB,以输出比较值C4。当垂直信号vcnt比垂直坐标值WIPE_VB大时,比较器724就设定比较值C4为1。The comparators 721 and 723 are used to determine the horizontal position of the current pixel to be processed, and the comparators 722 and 724 are used to determine the vertical position of the current pixel to be processed. The comparator 721 is used to compare the horizontal signal hcnt and the horizontal coordinate value WIPE_HA to output a comparison value C1. When the horizontal signal hcnt is larger than the horizontal coordinate value, the comparator 721 sets the comparison value C1 to 1. The comparator 723 is used for comparing the horizontal signal hcnt with the horizontal coordinate value to output a comparison value C3. When the horizontal signal hcnt is larger than the horizontal coordinate value WIPE_HB, the comparator 723 sets the comparison value C3 to 1. The comparator 722 is used for comparing the vertical signal vcnt with the vertical coordinate value WIPE_VA to output a comparison value C2. When the vertical signal vcnt is greater than the vertical coordinate value WIPE_VA, the comparator 722 sets the comparison value C2 to 1. The comparator 724 is used for comparing the vertical signal vcnt with the vertical coordinate value WIPE_VB to output a comparison value C4. When the vertical signal vcnt is greater than the vertical coordinate value WIPE_VB, the comparator 724 sets the comparison value C4 to 1.

比较值C1~C4会因当前待处理像素对应于不同的视频帧区域而有不同的数值。比较值C1~C4可组合为一个四位的位置比较值C0来表示,当位置比较值C0为“0000”、“0010”、“1010”、“0100”、“0110”、“1110”、“0101”、“0111”或“1111”时,可分别对应至视频帧2的区域21’~29’。The comparison values C1 - C4 have different values because the current pixel to be processed corresponds to different video frame regions. The comparison values C1~C4 can be combined into a four-bit position comparison value C0 to represent, when the position comparison value C0 is "0000", "0010", "1010", "0100", "0110", "1110", " 0101", "0111" or "1111", they can correspond to the regions 21'-29' of the video frame 2 respectively.

缓存器726用于记录有子画面区域21’的对应码C0’,对应码C0’是一个四位数值,对应码C0’的数值与视频帧2的区域21’~29’之间的对应关系与位置比较值C0相同。比较器725用于比较位置比较值C0与对应码C0’是否相同,以输出画面选择信号SIG1。当位置比较值C0与对应码C0’相同时,比较器725就设定画面选择信号SIG1为一高电平“1”,否则画面选择信号SIG1就被设定为一低电平“0”。另外,对应码C0’还可被使用者设定,以变更视频帧2中用来显示子画面的区域。The buffer 726 is used to record the corresponding code C0' of the sub-picture area 21', the corresponding code C0' is a four-digit value, and the corresponding relationship between the value of the corresponding code C0' and the areas 21'~29' of the video frame 2 Same as position comparison value C0. The comparator 725 is used to compare whether the position comparison value C0 is the same as the corresponding code C0', so as to output the frame selection signal SIG1. When the position comparison value C0 is the same as the corresponding code C0', the comparator 725 sets the picture selection signal SIG1 to a high level "1", otherwise the picture selection signal SIG1 is set to a low level "0". In addition, the corresponding code C0' can also be set by the user to change the area used to display the sub-picture in the video frame 2.

再参照图3所示,第一选择电路73可以是一多任务器。当画面选择信号SIG1为0时,第一选择电路73就选择母画面图像61作为输出。处理电路74就对母画面图像61进行处理与显示。当画面选择信号SIG1为1时,第一选择电路73就选择缩小的子画面图像65作为输出,处理电路74就对缩小的子画面图像65进行处理与显示。Referring to FIG. 3 again, the first selection circuit 73 may be a multiplexer. When the picture selection signal SIG1 is 0, the first selection circuit 73 selects the mother picture image 61 as an output. The processing circuit 74 processes and displays the parent image 61 . When the picture selection signal SIG1 is 1, the first selection circuit 73 selects the reduced sub-picture image 65 as an output, and the processing circuit 74 processes and displays the reduced sub-picture image 65 .

与公知技术相较,公知的子母画面处理装置4必须提供两个处理电路(第一处理电路41与第二处理电路42)分别处理母画面与子画面的数据。然而,本实施例的子母画面处理装置7仅需一个处理电路74,母画面与子画面可共享此处理电路74进行处理。Compared with the conventional technology, the known picture-in-picture processing device 4 must provide two processing circuits (the first processing circuit 41 and the second processing circuit 42 ) to process the data of the main picture and the sub-picture respectively. However, the picture-in-picture processing device 7 of this embodiment only needs one processing circuit 74 , and the main picture and sub-picture can share the processing circuit 74 for processing.

如图6所示,其与图3不同的处在于子母画面处理装置7更包含一第二选择电路76,第二选择电路76包含一第一多任务器761及一第二多任务器762,第一多任务器761接收一图像选择信号SIG2。当图像选择信号SIG2为一高电平(1)时,其就选择一第一图像源SOC1的第一图像作为母画面图像61。当图像选择信号SIG2为一低电平(0)时,其就选择一第二图像源SOC2的第二图像作为母画面图像。第二多任务器762接收图像选择信号SIG2。当图像选择信号SIG2为高电平(1)时,其就选择第二图像源SOC2的第二图像作为子画面图像63。当图像选择信号SIG2为低电平(0)时,其就选择第一图像源SOC1的第一图像作为子画面图像63。As shown in Figure 6, it differs from Figure 3 in that the picture-in-picture processing device 7 further includes a second selection circuit 76, and the second selection circuit 76 includes a first multiplexer 761 and a second multiplexer 762 , the first multiplexer 761 receives an image selection signal SIG2. When the image selection signal SIG2 is at a high level (1), it selects a first image of a first image source SOC1 as the parent image 61 . When the image selection signal SIG2 is at a low level (0), it selects a second image of a second image source SOC2 as the parent image. The second multiplexer 762 receives the image selection signal SIG2. When the image selection signal SIG2 is at a high level (1), it selects the second image of the second image source SOC2 as the sub-picture image 63 . When the image selection signal SIG2 is at low level (0), it selects the first image of the first image source SOC1 as the sub-picture image 63 .

因此,这说明图像源经过切换之后可作为母画面或是子画面。Therefore, this means that the image source can be used as the main picture or the sub-picture after being switched.

如图7示,根据本发明优选实施例的子母画面处理方法用于处理一母画面图像及一子画面图像,其中,所述方法包含步骤S1至步骤S3。As shown in FIG. 7 , the picture-in-picture processing method according to a preferred embodiment of the present invention is used to process a picture-in-picture image and a picture-in-picture image, wherein the method includes steps S1 to S3.

步骤S1是缩小子画面图像,以输出一缩小的子画面图像。Step S1 is to reduce the sprite image to output a reduced sprite image.

步骤S2是将母画面图像与缩小的子画面图像储存在一存储电路中。Step S2 is to store the main picture image and the reduced sub picture image in a storage circuit.

步骤S3是根据一画面选择信号,从存储电路选择缩小的子画面图像或母画面图像进行处理。Step S3 is to select the reduced sub-picture image or the main picture image from the storage circuit for processing according to a picture selection signal.

本实施例的子母画面处理方法可应用于前述的子母画面处理装置7,由于前述的子母画面处理装置7已在图3、图4、图5及图6的实施例中讨论过,故此不再赘述本实施例的子母画面处理方法。The picture-in-picture processing method of this embodiment can be applied to the aforementioned picture-in-picture processing device 7, since the aforementioned picture-in-picture processing device 7 has been discussed in the embodiments of Fig. 3, Fig. 4, Fig. 5 and Fig. 6, Therefore, the picture-in-picture processing method of this embodiment will not be described again.

综上所述,根据本发明的子母画面处理装置及子母画面处理方法在处理子画面图像时,从存储电路中读取缩小的子画面图像来进行处理,其并非如公知技术将子画面图像的数据全部从内存中读出来进行处理。因此,本发明中存储电路的存取量不仅较公知技术少且更具有效率。In summary, according to the picture-in-picture processing device and picture-in-picture processing method of the present invention, when processing the picture-in-picture image, the reduced picture-in-picture image is read from the storage circuit for processing. All image data is read out from the memory for processing. Therefore, the access amount of the storage circuit in the present invention is not only less than that of the prior art, but also more efficient.

以上所述的目的仅为示例而非限定。在不脱离本发明的精神与范围的情况下,对其进行的等效修改或变更,均应包含于所附权利要求中。The purposes of the foregoing are examples only and not limiting. Equivalent modifications or changes made without departing from the spirit and scope of the present invention shall be included in the appended claims.

Claims (10)

1.一种子母画面处理装置,其用于处理一母画面图像及一子画面图像,所述子母画面处理装置包括:1. A picture-in-picture processing device, which is used to process a picture-in-picture image and a picture-in-picture image, and the picture-in-picture processing device comprises: 一缩放电路,其用于缩小该子画面图像以输出一缩小的子画面图像;A scaling circuit for reducing the sub-picture image to output a reduced sub-picture image; 一存储电路,其连接至所述缩放电路,以储存所述母画面图像和所述缩小的子画面图像;a storage circuit connected to the scaling circuit to store the main picture image and the reduced sub picture image; 一第一选择电路,其连接至一控制电路以接收一画面选择信号,并连接至所述存储电路,以根据所述画面选择信号选择所述缩小的子画面图像或所述母画面图像作为输出;以及A first selection circuit, which is connected to a control circuit to receive a picture selection signal, and connected to the storage circuit, to select the reduced sub-picture image or the main picture image as output according to the picture selection signal ;as well as 一处理电路,其连接至所述第一选择电路,以处理所述缩小的子画面图像或所述母画面图像。A processing circuit connected to the first selection circuit to process the reduced sprite image or the master image. 2.根据权利要求1所述的子母画面处理装置,其中所述控制电路用于判断一当前待处理像素是属于一视频帧中的一子画面区域还是一母画面区域,以输出所述画面选择信号。2. The picture-in-picture processing device according to claim 1, wherein the control circuit is used to judge whether a current pixel to be processed belongs to a sub-picture area or a mother picture area in a video frame, so as to output the picture Select a signal. 3.根据权利要求2所述的子母画面处理装置,其中:3. The picture-in-picture processing device according to claim 2, wherein: 当所述当前待处理像素位于所述母画面区域时,所述画面选择信号就控制所述第一选择电路,以输出所述母画面图像至所述处理电路;以及When the current pixel to be processed is located in the mother picture area, the picture selection signal controls the first selection circuit to output the mother picture image to the processing circuit; and 当所述当前待处理像素位于所述子画面的区域时,所述画面选择信号就控制所述第一选择电路,以输出所述缩小的子画面图像至所述处理电路。When the current pixel to be processed is located in the area of the sub-picture, the picture selection signal controls the first selection circuit to output the reduced sub-picture image to the processing circuit. 4.根据权利要求1所述的子母画面处理装置,其中所述控制电路包含:4. The picture-in-picture processing device according to claim 1, wherein the control circuit comprises: 多个第一比较器,其用于判断所述当前待处理像素位于一视频帧中的位置以输出一位置比较值;A plurality of first comparators, which are used to determine the position of the current pixel to be processed in a video frame to output a position comparison value; 一缓存器,其用于记录所述视频帧中的一子画面区域的一对应码;以及a buffer for recording a corresponding code of a sprite region in the video frame; and 一第二比较器,其连接至所述第一比较器与所述缓存器,以分别接收所述位置比较值与所述对应码,该第二比较器用于比较所述位置比较值与所述对应码,以输出所述画面选择信号。a second comparator, which is connected to the first comparator and the buffer to respectively receive the position comparison value and the corresponding code, and the second comparator is used to compare the position comparison value with the The corresponding code is used to output the picture selection signal. 5.根据权利要求4所述的子母画面处理装置,其中所述视频帧根据至少一水平坐标值与至少一垂直坐标值而被分割为多个区域,所述区域可分别作为所述视频帧中的一母画面区域或是所述子画面区域。5. The picture-in-picture processing device according to claim 4, wherein the video frame is divided into a plurality of regions according to at least one horizontal coordinate value and at least one vertical coordinate value, and the regions can be respectively used as the video frame One of the main picture areas or the sub-picture area. 6.根据权利要求4所述的子母画面处理装置,其中所述第一比较器是将所述当前待处理像素的一水平位置与一垂直位置分别和所述水平坐标值与所述垂直坐标值比较,以输出所述位置比较值。6. The picture-in-picture processing device according to claim 4, wherein the first comparator compares a horizontal position and a vertical position of the current pixel to be processed with the horizontal coordinate value and the vertical coordinate value respectively value comparison to output the position comparison value. 7.根据权利要求1所述的子母画面处理装置,进一步包含一第二选择电路,其中所述第二选择电路包含:7. The picture-in-picture processing device according to claim 1, further comprising a second selection circuit, wherein the second selection circuit comprises: 一第一多任务器,其接收一图像选择信号,当所述图像选择信号在一高电平时,就选择一第一图像作为一母画面图像,当该图像选择信号为一低电平时,就选择一第二图像作为所述母画面图像;以及A first multiplexer, which receives an image selection signal, when the image selection signal is at a high level, selects a first image as a mother picture image, and when the image selection signal is at a low level, selecting a second image as the parent image; and 一第二多任务器,其接收所述图像选择信号,当该图像选择信号为所述高电平时,就选择所述第二图像作为一子画面图像,当所述图像选择信号为所述低电平时,就选择所述第一图像作为所述子画面图像。A second multiplexer, which receives the image selection signal, selects the second image as a sub-picture image when the image selection signal is at the high level, and selects the second image as a sub-picture image when the image selection signal is at the low level level, the first image is selected as the sub-picture image. 8.一种子母画面处理方法,其用于处理一母画面图像及一子画面图像,所述子母画面处理方法包括:8. A picture-in-picture processing method, which is used to process a picture-in-picture image and a picture-in-picture image, the picture-in-picture processing method comprising: 缩小所述子画面图像以输出一缩小的子画面图像;reducing the sprite image to output a reduced sprite image; 将所述母画面图像和所述缩小的子画面图像储存在一存储电路中;以及storing the parent picture image and the reduced sub picture image in a memory circuit; and 根据一画面选择信号从所述存储电路选择所述缩小的子画面图像或所述母画面图像在一处理电路进行处理。The reduced sub-picture image or the main picture image is selected from the storage circuit according to a picture selection signal to be processed in a processing circuit. 9.根据权利要求8所述的子母画面处理方法,其进一步包括:9. The picture-in-picture processing method according to claim 8, further comprising: 判断一当前待处理像素是属于一视频帧中的一子画面区域还是一母画面区域,以输出所述画面选择信号。judging whether a current pixel to be processed belongs to a sub-picture area or a main picture area in a video frame, so as to output the picture selection signal. 10.根据权利要求9所述的子母画面处理方法,其中当所述当前待处理像素位于所述母画面区域时,所述画面选择信号就选择所述母画面图像进行处理,以及当所述当前待处理像素位于所述子画面的区域时,所述画面选择信号就选择所述缩小的子画面图像进行处理。10. The picture-in-picture processing method according to claim 9, wherein when the current pixel to be processed is located in the area of the mother picture, the picture selection signal selects the picture of the mother picture for processing, and when the When the current pixel to be processed is located in the area of the sub-picture, the picture selection signal selects the reduced sub-picture image for processing.
CNB2006101002688A 2006-07-05 2006-07-05 Picture-in-picture processing device and processing method thereof Active CN100440951C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101002688A CN100440951C (en) 2006-07-05 2006-07-05 Picture-in-picture processing device and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101002688A CN100440951C (en) 2006-07-05 2006-07-05 Picture-in-picture processing device and processing method thereof

Publications (2)

Publication Number Publication Date
CN1878261A CN1878261A (en) 2006-12-13
CN100440951C true CN100440951C (en) 2008-12-03

Family

ID=37510538

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101002688A Active CN100440951C (en) 2006-07-05 2006-07-05 Picture-in-picture processing device and processing method thereof

Country Status (1)

Country Link
CN (1) CN100440951C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578390B (en) * 2012-07-25 2016-08-03 爱国者电子科技有限公司 Layering manifestation device and there is the DPF of Layering manifestation device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206290A (en) * 1997-07-03 1999-01-27 三星电子株式会社 HDTV
WO2002025940A1 (en) * 2000-09-20 2002-03-28 Koninklijke Philips Electronics N.V. Picture-in-picture
CN1487736A (en) * 2003-07-23 2004-04-07 滕云海 Main and subsidiary image data acquiring and recording method and device
CN1578447A (en) * 2003-07-28 2005-02-09 上海乐金广电电子有限公司 Image pantograph displaying method in optical disc device
CN1700751A (en) * 2004-05-19 2005-11-23 乐金电子(沈阳)有限公司 Picture in picture processing apparatus and method for image display device
KR20050122808A (en) * 2004-06-25 2005-12-29 주식회사 대우일렉트로닉스 Apparatus for adjusting size and zoom of sub image in television and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206290A (en) * 1997-07-03 1999-01-27 三星电子株式会社 HDTV
WO2002025940A1 (en) * 2000-09-20 2002-03-28 Koninklijke Philips Electronics N.V. Picture-in-picture
CN1487736A (en) * 2003-07-23 2004-04-07 滕云海 Main and subsidiary image data acquiring and recording method and device
CN1578447A (en) * 2003-07-28 2005-02-09 上海乐金广电电子有限公司 Image pantograph displaying method in optical disc device
CN1700751A (en) * 2004-05-19 2005-11-23 乐金电子(沈阳)有限公司 Picture in picture processing apparatus and method for image display device
KR20050122808A (en) * 2004-06-25 2005-12-29 주식회사 대우일렉트로닉스 Apparatus for adjusting size and zoom of sub image in television and method thereof

Also Published As

Publication number Publication date
CN1878261A (en) 2006-12-13

Similar Documents

Publication Publication Date Title
US10891032B2 (en) Image reproduction apparatus and method for simultaneously displaying multiple moving-image thumbnails
CN100588233C (en) Image reproduction device
US8035653B2 (en) Dynamically adjustable elements of an on-screen display
US20060204092A1 (en) Reproduction device and program
KR102212925B1 (en) Information processing apparatus, information recording medium, information processing method, and program
TWI383686B (en) Image processing circuit and image processing method
US8248535B2 (en) System and method for a versatile display pipeline architecture for an LCD display panel
US7636131B2 (en) Video data processing method and apparatus for processing video data
US8149334B2 (en) PIP processing apparatus and method thereof
CN100440951C (en) Picture-in-picture processing device and processing method thereof
TW200908702A (en) Image correction circuit, image correction method and image display
CN101485198A (en) Shared memory multi-video channel display device and method
US11722635B2 (en) Processing device, electronic device, and method of outputting video
JP2006154452A (en) Video signal processor and gradation level difference detection method
JP4364272B2 (en) Image processing apparatus and image processing method
US20100054713A1 (en) Video reproducing apparatus
TWI384880B (en) Method for video conversion of video stream and apparatus thereof
JP2006319634A (en) Video signal processing device and method of detecting gradation level difference
CN102290074B (en) Video playback method and video playback device
JP6723095B2 (en) Video processing apparatus and method for changing video resolution
US7389004B2 (en) Image processing apparatus
CN103004225B (en) For multiple vision signal to be shown in video process apparatus on display device and method simultaneously
US7583324B2 (en) Video data processing method and apparatus for processing video data
US20080204597A1 (en) Method and apparatus for reproducing moving picture data having sub-screen picture data
KR20220170342A (en) Processing device, electronic device, and method for ouputting video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant