CN102194444B - Mixer and method for mixing multiple dynamic image layers and player - Google Patents

Mixer and method for mixing multiple dynamic image layers and player Download PDF

Info

Publication number
CN102194444B
CN102194444B CN 201010136644 CN201010136644A CN102194444B CN 102194444 B CN102194444 B CN 102194444B CN 201010136644 CN201010136644 CN 201010136644 CN 201010136644 A CN201010136644 A CN 201010136644A CN 102194444 B CN102194444 B CN 102194444B
Authority
CN
China
Prior art keywords
image layers
section
picture
end position
initial
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.)
Expired - Fee Related
Application number
CN 201010136644
Other languages
Chinese (zh)
Other versions
CN102194444A (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.)
Ali Corp
Original Assignee
Ali Corp
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 Ali Corp filed Critical Ali Corp
Priority to CN 201010136644 priority Critical patent/CN102194444B/en
Publication of CN102194444A publication Critical patent/CN102194444A/en
Application granted granted Critical
Publication of CN102194444B publication Critical patent/CN102194444B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a mixer and a method for mixing multiple dynamic image layers, and a player of the multiple dynamic image layers, and is used for processing pictures having multiple image layers. The method for mixing the multiple dynamic image layers comprises the following steps of: scanning pictures by using scanning lines to obtain the start position and the end position of each image layer on the scanning lines; dividing the scanning lines into multiple sections according to the start position and the end position of each image layer on the scanning lines as well as the start position and the end position of the pictures; and mixing a plurality of pixel points of the image layers covered by the section according to the width of each section and the number of the images in the section so as to generate pixel points for a section mixing picture corresponding to the section.

Description

Many image layers of dynamic type blender, its method and player thereof
Technical field
The invention relates to a kind of many image layers blender, and particularly relevant for a kind of dynamic type multi-layer image blender, its method and its player.
Background technology
At present multimedia video technique development rapidly, and along with wafer operational capability trend from strength to strength, the picture that display broadcasts can comprise a plurality of image layers, for example: show (on-screen display is referred to as OSD) image layers, captions image layers and vernier image layers on master image layer, the picture.At present general player all can pre-defined manageable image layers number, yet this player can't be play the picture that exceeds defined image layers number.Suppose that player can support the picture with 3 image layers, if the included a plurality of image layers of shown picture surpass 3 layers, for example, have the picture of 6 image layers, then this player and can't play the picture with 6 image layers.
In order to solve the above problems, there are at present some multimedia wafer dealers to propose a kind of player that can process the picture that exceeds defined image layers number, this kind player mainly is to use any two image layers of the image layers number that 2 dimension image engines will exceed to be mixed into an image layers, and mixed image layers mixed with another image layers, produce again another vision-mix layer, until surplus next vision-mix layer.In addition, this kind player has display engine, and this display engine can be processed the picture of the image layers number with definition.The vision-mix layer that a plurality of image layers of the image layers number of the handled definition of player mixed display engine and 2 dimension image engines institutes export is at last play on the display screens of player to produce a hybrid picture.So, above-mentioned player can be play the picture of the image layers number that exceeds definition.
For instance, the defined image layers number of player is 3, for the picture with 10 image layers, 2 dimension image engines of player can be mixed into first an image layers with any two of other 7 image layers, then, the image layers of mixing is mixed with another image layers, until surplus next vision-mix layer.In other words, the total image layers married operation of carrying out 6 times of 2 dimension image engines.Then, display engine can be processed 3 image layers, and player can be mixed into a hybrid picture with the 2 dimension last vision-mix layers of exporting of image engine and handled 3 the figure number of layers of display engine, and this hybrid picture is play on the display screens of player.
In addition, also there are some multimedia wafer dealers to propose to utilize the software algorithm, are about to first any two image layers of the image layers number that exceeds to be mixed into an image layers, then, the image layers of mixing is mixed with another image layers, until surplus next vision-mix layer.So will expend a large amount of memory band widths, and the combination chart layer also expends the many time.
In brief, present player possibly can't be play the picture of the image layers number that exceeds definition, although perhaps the player of some can be play the picture of the image layers number that exceeds definition, these players must use 2 dimension image engines that other image layers is mixed.Yet, 2 dimension image engines when carrying out the image layers married operation each time, all need from memory reading images layer data with the combination chart layer data is write to memory, and cause the waste of memory band width.Particularly when needs carried out repeatedly the image layers married operation, the memory band width of wasting was huge in the extreme especially.
Summary of the invention
Embodiments of the invention provide a kind of many image layers of dynamic type mixed method, and in order to the picture that processing has a plurality of image layers, the method comprises the following steps.Use scan line that described picture is scanned, to scan the initial and end position of image layers of each image layers of described picture on scan line.Initial and the end position of picture of and end position and described picture initial according to the image layers of each image layers on the scan line is divided into a plurality of sections with described scan line.Mix several pixels of the image layers that described section contains with section image layers number according to the section width of each section, to produce the pixel of the corresponding section hybrid picture of described section.
Embodiments of the invention provide a kind of many image layers of dynamic type blender, the picture that has a plurality of image layers in order to processing.Many image layers of dynamic type blender comprises universe header file search engine, dynamic memory information module, blender, static memory and buffer.Universe header file search engine uses the described picture of a horizontal sweep line sweep, and carries out the search of universe header file according to level and vertical synchronizing signal, scans accordingly the initial and end position of image layers of each image layers of described picture on horizontal scanning line.The initial initial and end position of picture level with end position and described picture according to the image layers level of each image layers on the horizontal scanning line of universe header file search engine is divided into a plurality of sections with described horizontal scanning line.Universe header file search engine sequentially produces different storage addresss according to the image layers of each image layers on the section width of a section, section image layers number and the horizontal scanning line is initial with end position.The dynamic memory information module sequentially receives described a plurality of storage address sequentially to obtain a plurality of pixels of a plurality of image layers on the described section to dynamic memory.Blender sequentially mixes a plurality of pixels of a plurality of image layers on the described section.Static memory is in order to storing a plurality of pixels that mix of described blender, and after blender mixed a plurality of pixels of all image layers on the described section, described static memory can be erased.Buffer is kept in a plurality of pixels in the section hybrid picture after a plurality of pixels mixing of blender with all image layers on the described section.
Embodiments of the invention provide a kind of player, and described player comprises many image layers of dynamic type blender, video pictures processor, deinterlacer and the second blender.Many image layers of dynamic type blender has the picture of a plurality of image layers in order to processing, and comprises universe header file search engine, dynamic memory information module, the first blender, static memory and buffer.Universe header file search engine uses the described picture of a horizontal sweep line sweep, and carries out the search of universe header file according to level and vertical synchronizing signal, scans accordingly the initial and end position of image layers of each image layers of described picture on horizontal scanning line.The initial initial and end position of picture level with end position and described picture according to the image layers level of each image layers on the horizontal scanning line of universe header file search engine is divided into a plurality of sections with described horizontal scanning line.Universe header file search engine sequentially produces different storage addresss according to the image layers of each image layers on the section width of a section, section image layers number and the horizontal scanning line is initial with end position.The dynamic memory information module sequentially receives described a plurality of storage address sequentially to obtain a plurality of pixels of a plurality of image layers on the described section to dynamic memory.The first blender sequentially mixes a plurality of pixels of a plurality of image layers on the described section.Static memory is in order to storing a plurality of pixels that mix of described the first blender, and after the first blender mixed a plurality of pixels of all image layers on the described section, described static memory can be erased.Buffer is kept in a plurality of pixels in the section hybrid picture after a plurality of pixels mixing of the first blender with all image layers on the described section.The video pictures processor is in order to the output video picture, and deinterlacer is connected in described video pictures processor.The second blender is in order to mixed video picture and many image layers hybrid picture, and wherein many image layers hybrid picture comprises the blend of image layers more than many picture, and each many image layers of bar blend picture comprises multistage section hybrid picture.
Based on above-mentioned, many image layers blender that embodiments of the invention provide and method thereof can reduce the waste of memory band width in large quantities, and the speed that does not have many image layers blender output data does not catch up with the problem that the back-end code device requires the speed of data.
For above-mentioned feature and advantage of the present invention can be become apparent, embodiment cited below particularly, and cooperate appended graphic being described in detail below.
Description of drawings
Fig. 1 is the schematic diagram of the picture with a plurality of image layers that provides of the embodiment of the invention;
Fig. 2 is the system block diagrams of the player 200 that provides of the embodiment of the invention;
Fig. 3 is the system block diagrams of many image layers blender 203 of providing of the embodiment of the invention;
Fig. 4 is the flow chart of many image layers mixed method of providing of the embodiment of the invention.
The main element symbol description:
100: picture
L1~L5: image layers
101: empty picture
102: scan line
Seg_1~seg_9: section
200: player
201: the video pictures processor
202: deinterlacer
203: many image layers blender
204: buffer
205: blender
206: the adjusted size device
207: color processor
301: universe header file search engine
302: the dynamic memory information module
303: blender
304: buffer
305: static memory
311: the dynamic memory moderator
312: dynamic memory
S401~S403: steps flow chart
Embodiment
Please refer to Fig. 1, Fig. 1 is the schematic diagram of the picture with a plurality of image layers that provides of the embodiment of the invention.As shown in Figure 1, picture 100 has comprised a plurality of image layers L1~L5 and empty picture 101, the zone of empty picture 101 for not covered by image layers L1~L5 in the picture 100.Many image layers of dynamic type blender that embodiments of the invention provide or method can be processed the picture 100 as a plurality of image layers L1 of having of Fig. 1~L5, and the image layers number of a plurality of image layers L1 of picture 100~L5 is not to limit the present invention, in addition, more can overlap each other between a plurality of image layers L1~L5 (overlap).
When many image layers of dynamic type blender or method have the picture 100 of a plurality of image layers L1~L5 in processing, can use scan line to scan seriatim picture 100, and mix the image layers that on picture, contains with the processing scanning linear.In other words, each time only output and line data processing picture 100.Although being noted that Fig. 1 is take horizontal scanning line as example, in other application, scan line also may be vertical scan line.
In addition, the pixel data that each image layers has is to be stored in the middle of the memory, and each image layers has a header file.Described header file in order to the width of noting down image layers, highly, color information, form and image layers position, the image layers position generally comprised the image layers level initial with end position, the vertical initial and end position of image layers.The height of picture 100, width, color information, form and picture position then are embedded in the header file of picture 100.
In Fig. 1, horizontal scanning line can be scanned up to one by one from the top of picture 100 lowermost end of picture 100, many image layers of dynamic type blender or method are after carrying out horizontal sweep each time, the capital is mixed in the image layers on the scan line, and line data of output picture 100 are to the video decoder decodes of rear end, so that these line data are play on display screens.Illustrate as an example of the described picture 100 of horizontal scanning line 102 scannings example at this.At first, usage level scan line 102 can scan the initial and end position of image layers level of frame out 100 each image layers on horizontal scanning line, and wherein the image layers level of each image layers is initial is to search (global header search) and search the header file of image layers and obtain by carrying out the universe header file with end position.
In Fig. 1, the picture level of picture 100 is initial to be divided into 0 and 1215 with end position.After horizontal scanning line 102 scannings, can learn that having 4 image layers L1~L3, L5 is positioned on the scan line 102, and search accordingly the header file of image layers L1~L3, L5, to find out the initial and end position of image layers level of image layers L1~L3, L5.The image layers level of image layers L1 is initial to be respectively 100 and 1115 with end position, the image layers level of image layers L2 is initial to be respectively 110 and 700 with end position, the image layers level of image layers L3 is initial to be respectively 120 and 320 with end position, and the image layers level of image layers L5 is initial to be respectively 520 and 715 with end position.
Then, initial and the end position of picture level of and end position and described picture initial according to the image layers level of each image layers on the horizontal scanning line 102, described scan line 102 is divided into a plurality of sections, and records section width and the section image layers number of each section.Be noted that at this many image layers of dynamic type blender more can be in response to the having or not of buffer, and carry out the instantaneity computing or note down first each image layers, therefore, in the case, can record first section width and the section image layers number of each section.
For example, in Fig. 1, horizontal scanning line 102 can be divided into 9 section seg_1~seg_9.The section width of section seg_1 is 100, and without any image layers contain, so its image layers number is 0.The section width of section seg_2 is 10, and has image layers L1 to contain, so its image layers number is 1.The section width of section seg_3 is 10, and has image layers L1, L2 to contain, so its image layers number is 2.The section width of section seg_4 is 200, and has image layers L1~L3 to contain, so its image layers number is 3.The section width of section seg_5 is 200, and has image layers L1, L2 to contain, so its image layers number is 2.The section width of section seg_6 is 180, and has image layers L1, L2, L5 to contain, so its image layers number is 3.The section width of section seg_7 is 15, and has image layers L1, L5 to contain, so its image layers number is 2.The section width of section seg_8 is 400, and has image layers L1 to contain, so its image layers number is 1.The section width of section seg_9 is 100, and without any image layers contain, so its image layers number is 0.
Then, several pixels of the image layers that contains according to section width and the section image layers number mixing section of each section are to produce the pixel of the corresponding section hybrid picture of described section.Further say, each section be the image layers level of carrying secretly according to its section and the header file of section image layers number, each image layers respectively initial with end position, the vertical initial and end position of image layers, several pixels that mix the image layers that each section contains are to produce the pixel of the corresponding section hybrid picture of described section.In addition, the header file of each image layers level of carrying secretly initial with end position and vertical initial and end position be according to before the universe header file search carried out obtain.
For instance, in Fig. 1, section seg_1 without any image layers contain, and width is 100, therefore can export the section hybrid picture with 100 skies (dummy) pixel.Then, image layers number and the width of section seg_2 are respectively 1 and 10, so after the header file with reference to each image layers, the section hybrid picture of 10 pixels of meeting output image layer L1 on this section seg_2.Image layers number and the width of section seg_3 are respectively 2 and 10, therefore after the header file with reference to each image layers, understand vision-mix layer L1 and 10 pixels of L2 on this section seg_3, and export accordingly the section hybrid picture of 10 pixels.Image layers number and the width of section seg_4 are respectively 3 and 200, therefore after the header file with reference to each image layers, understand 200 pixels of vision-mix layer L1~L3 on this section seg_4, and export accordingly the section hybrid picture of 200 pixels.Image layers number and the width of section seg_5 are respectively 2 and 200, therefore after the header file with reference to each image layers, understand vision-mix layer L1 and 200 pixels of L2 on this section seg_5, and export accordingly the section hybrid picture of 200 pixels.
Image layers number and the width of section seg_6 are respectively 3 and 180, therefore after the header file with reference to each image layers, understand vision-mix layer L1, L2, L5 180 pixels on this section seg_6, and export accordingly the section hybrid picture of 180 pixels.Image layers number and the width of section seg_7 are respectively 2 and 15, therefore after the header file with reference to each image layers, understand vision-mix layer L1 and 15 pixels of L5 on this section seg_7, and export accordingly the section hybrid picture of 15 pixels.Image layers number and the width of section seg_8 are respectively 1 and 400, so after the header file with reference to each image layers, the section hybrid picture of 400 pixels of meeting output image layer L1 on this section seg_8.Section seg_9 without any image layers contain, and width is 100, therefore can export the section hybrid picture with 100 skies (dummy) pixel.Described 9 section hybrid pictures can be stored in player buffer in, and with video pictures in the video line picture of position of corresponding described scan line 102 mix, to produce mixed video line drawing face.Mixed video line drawing face just can directly be play on display screens through after decoding, and the shown mixed video picture of display screens has comprised many mixed video line drawing faces.
In addition, be take horizontal scanning line as example although be noted that Fig. 1, in other application, scan line also may be vertical scan line.Certainly, this field has knows that usually the knowledgeable can know, when scan line is vertical scan line, above-mentioned image layers level initial with end position, picture level and end position need replace with image layers vertical initial with end position, picture is vertical and end position.
Then, please refer to Fig. 2, Fig. 2 is the system block diagrams of the player 200 that provides of the embodiment of the invention.Player 200 comprises video pictures processor 201, deinterlacer (de-interlace module) 202, many image layers blender 203, buffer 204, blender 205, adjusted size device 206 and color processor 207.The output of video pictures processor 201 is connected in the input of deinterlacer 202, the output of deinterlacer 202 is connected in the first input end of blender 205, the output of many image layers blender 203 is connected in the input of buffer 204, the output of buffer 204 is connected in the second input of blender 205, the output of blender 205 is connected in the input of adjusted size device 206, and the output of adjusted size device 206 is connected in the input of color processor 207.
Video pictures processor 201 receives and comes from the video pictures data of dynamic memory and level and the vertical synchronizing signal that other module (not shown) provides.Video pictures receiver 201 mainly is the decoding of large area flicker reduction of video pictures data, and gives deinterlacer 202 with decoded video pictures data.Deinterlacer 202 mainly is the form that the format conversion with video pictures becomes liquid crystal or electricity slurry display screens to play, for example, the form of the video pictures that video pictures processor 201 is exported has odd field or even field, only can on the TV screen, play, but after deinterlacer 202 is processed, the form of video pictures will not have odd field and even field, and its scan format is gradual (processive) scanning, so can play at present liquid crystal or electricity slurry display screens.
Many image layers blender 203 receives and comes from many image layers data of dynamic memory and level and the vertical synchronizing signal that other module provides.Many image layers blender 203 is in order to mixing a plurality of image layers, and producing many image layers hybrid picture, and it is temporary that this many image layers hybrid picture is delivered to buffer 204.Be noted that, the mode that stores many image layers hybrid picture data in the buffer 204 also is to adopt to store gradually, therefore, many image layers hybrid picture data of exporting of buffer 204 and deinterlacer 202 and video pictures data all are suitable for using on the display screens of gradual scanning and play.Blender 205 mixes with video pictures in order to many image layers hybrid picture of inciting somebody to action, to produce the mixed video picture.Adjusted size device 206 is in order to adjust the size of mixed video picture, 207 of color processors are in order to carry out the color space conversion to the mixed video picture data after the adjusted size, for example color space is converted to rgb format from yuv format, and the mixed video picture after conversion is delivered on the display screens and shown.
The mode that many image layers blender 203 carries out many image layers married operation as mentioned above, therefore aforementioned a plurality of section hybrid pictures can form the picture of image layers blend more than, and these blend of image layers more than many pictures will form image layers hybrid picture more than.In addition, as noted earlier, scan format is gradual scanning, so blender 205 is that the picture of image layers blend more than is mixed to produce a mixed video line drawing face with a video line picture.
Then, please refer to Fig. 3, Fig. 3 is the system block diagrams of many image layers blender 203 of providing of the embodiment of the invention.Many image layers blender 203 has comprised universe header file search engine 301, dynamic memory information module 302, blender 303, static memory 305, buffer 304.The first output of universe header file search engine 301 is connected in the first input end of dynamic memory information module 302, the input/output terminal of universe header file search engine 301 is connected in the first input/output terminal of dynamic memory moderator 311, the input/output terminal of dynamic memory information module 302 is connected in the second input/output terminal of dynamic memory moderator 311, first and second input of blender 303 is connected to the output of dynamic memory information module 302 and static memory 305, the output of blender 303 is connected in the input of buffer 304 and static memory 305, and the 3rd input/output terminal of dynamic memory moderator 311 is connected in the input/output terminal of dynamic memory 312.
The mode of carrying out many image layers married operation is to adopt the order of gradual scanning to finish, and namely once produces the picture of image layers blend more than take a scan line as unit.When universe header file search engine 301 meeting reception level and vertical synchronizing signals need carry out the search of universe header file to learn.Universe header file search engine 301 can carry out the search of universe header file, sees through the information that its first input/output terminal indication dynamic memory moderator 311 requires the header file of all image layers to carry secretly to dynamic memory 312.Universe header file search engine 301 can be learnt according to level and vertical synchronizing signal the position of the corresponding picture of present horizontal scanning line, and scans accordingly the initial and end position of image layers of each image layers of described picture on horizontal scanning line.Further say, can learn that described picture contained by which image layers on horizontal scanning line by the included image layers level of the header file of each image layers initial vertical initial and end position with end position, image layers, and obtain the initial and end position of image layers of each image layers of picture on horizontal scanning line.
Then, universe header file search engine 301 is understood the initial and end position of picture level initial according to the image layers level of each image layers on the horizontal scanning line and end position and described picture, described horizontal scanning line is divided into a plurality of sections, and records section width and the section image layers number of each section.Be noted that at this, many image layers of dynamic type blender 203 more can be in response to the having or not of buffer, and carry out the instantaneity computing or note down first each image layers, therefore, in the case, can record first section width and the section image layers number of each section.Then, universe header file search engine 301 can be once initial and end position sequentially produces different storage addresss to dynamic memory information module 302 according to the image layers of each image layers on the section width of a section, section image layers number and the horizontal scanning line.These storage addresss sequentially allow dynamic memory information module 302 obtain a plurality of pixels of the different images layer on the section, wherein the number of pixel is less than or equal to the section width, and so that after blender 303 was mixed into a plurality of pixels in the section hybrid picture with a plurality of pixels of all image layers on the section, it was temporary just a plurality of pixels in the section hybrid picture can be exported to buffer 304.
The storage address that dynamic memory information module 302 produces according to universe header file search engine 301, see through its second input/output terminal indication dynamic memory moderator 311 requires a plurality of pixel number certificates from an image layers on the section to dynamic memory 312, and give blender 303 with these a little pixels, wherein the number of pixel equals the section width.During several pixels in processing each section, all can erase the first pixel of its storage of static memory 305.Blender 303 mixes a plurality of pixels that the stored a plurality of pixels of static memory 305 and dynamic memory information module 302 are exported, and gives static memory 305 storages mixed a plurality of pixels.By the time, in the section a plurality of pixels of all image layers all mixed complete after, a plurality of pixels that blender 303 is exported can be cushioned device 304 and keep in, and can the erase pixel of its storage of static memory 305, wherein a plurality of pixels of exporting of the blender 303 of this moment are exactly a plurality of pixels in the section hybrid picture.Buffer 304 is except a plurality of pixels in order to temporary section hybrid picture, and the data unit of its output can be a long word unit size, that is 8 bit group sizes; But in practical application, the storage area size of buffer 304 can be done selection according to actual demand.
Please be simultaneously with reference to Fig. 1 and Fig. 3, when universe header file search engine 301 scans at 102 pairs of pictures 100 of horizontal scanning linear, just can scan the initial and end position of image layers level of each image layers of described picture 100 on horizontal scanning line 102, and universe header file search engine 301 more can be initial according to the image layers level of the image layers L1 on the horizontal scanning line 102~L3 and L5 and the initial and end position of picture level of end position and described picture 100, described horizontal scanning line 102 is divided into a plurality of section seg_1~seg_9, and records section width and the section image layers number of each section.
Take section seg_6 as example, the mode of operation of universe header file search engine 301, dynamic memory information module 302, blender 303, buffer 304 and static memory 305 is described.In addition, in order to save cost and chip area, the size of static memory 305 can not be greatly too, so once can store 3 pixels as example at this take static memory; But in practical application, the storage area size of static memory can be done selection according to actual demand.At first, universe header file search engine 301 can be according to horizontal original position and the section width of the image layers L5 on the section seg_6, produce storage address indication dynamic memory information module 302 and obtain 1st~3 pixel of image layers L5 on this section seg_6, because static memory 305 does not store any data, blender 303 can store to static memory 305 by the 1st~3 pixel of direct output image layer L5 on this section seg_6.
Then, universe header file search engine 301 can be according to horizontal original position and the section width of the image layers L2 on the section seg_6, produce storage address indication dynamic memory information module 302 and obtain 411st~413 pixel of image layers L2 on this section seg_6, blender 303 can mix in the 411st~413 pixel on this section seg_6 image layers L2 with 3 pixels (the 1st~3 pixel of image layers L5 on this section seg_6) that static memory 305 is exported, and exports to static memory 305 storages.
Then, universe header file search engine 301 can be according to horizontal original position and the section width of the image layers L1 on the section seg_6, produce storage address indication dynamic memory information module 302 and obtain 421st~423 pixel of image layers L1 on this section seg_6, blender 303 can be exported image layers L1 in the 421st~423 pixel on this section seg_6 and static memory 305 3 pixels (image layers L5 is in the 1st~3 pixel on this section seg_6 and mixed 3 pixels of 411st~413 pixel of image layers L2 on this section seg_6) mix, and export to buffer 304 and keep in.In addition, at this moment, can the erase pixel of its storage of static memory 305.Section seg_6 has 180 pixels, other per 3 pixels how to mix mode can the rest may be inferred, just repeat no more at this.
Then, please refer to Fig. 4, Fig. 4 is the flow chart of many image layers mixed method of providing of the embodiment of the invention.At first, in step S401, use scan line that described picture is scanned, to scan the initial and end position of image layers of each image layers of described picture on scan line.Then, in step S402, initial and the end position of picture of and end position and described picture initial according to the image layers of each image layers on the scan line is divided into a plurality of sections with described scan line, and records section width and the section image layers number of each section.Be noted that at this, many image layers of dynamic type mixed method more can be in response to the having or not of buffer, and carry out the instantaneity computing or note down first each image layers, therefore, in the case, step S402 can also record first section width and the section image layers number of each section.Then, in step S403, mix several pixels of the image layers that described section contains with section image layers number according to the section width of each section, to produce the pixel of the corresponding section hybrid picture of described section.
Aforementioned scan line is horizontal scanning line, described image layers initial with end position is respectively the initial and end position of image layers level, described picture initial with end position be the initial and end position of picture level.Yet, above-mentioned restrictive condition is not to limit the present invention, in other words, aforementioned scan line also can be vertical scan line, described image layers is initial also can be respectively the vertical initial and end position of image layers with end position, and described picture is initial also can be respectively the vertical initial and end position of picture with end position.In addition, the above-mentioned image layers that scans each image layers of described picture on scan line initial with mode end position be to search to finish by carrying out the universe header file.
In sum, many image layers blender that embodiments of the invention provide and method thereof can reduce the waste of memory band width in large quantities, and the speed that does not have many image layers blender output data does not catch up with the problem that the back-end code device requires the speed of data.
Although the present invention discloses as above with embodiment; so it is not to limit the present invention; have in the technical field under any and usually know the knowledgeable; without departing from the spirit and scope of the present invention; when doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the claim person of defining.

Claims (9)

1. many image layers of dynamic type mixed method, the picture in order to processing has a plurality of image layers is characterized in that, described many image layers of dynamic type mixed method comprises:
Use scan line that described picture is scanned, to scan the initial and end position of image layers of each image layers of described picture on scan line;
Initial and the end position of picture of and end position and described picture initial according to the image layers of each image layers on the scan line is divided into a plurality of sections with described scan line; And
Mix a plurality of pixels of the image layers that described section contains with section image layers number according to the section width of each section, to produce the pixel of the corresponding section hybrid picture of described section.
2. many image layers of dynamic type mixed method as claimed in claim 1, it is characterized in that, described scan line is horizontal scanning line, described image layers is initial to be respectively the initial and end position of image layers level with end position, and described picture is initial to be respectively the initial and end position of picture level with end position.
3. many image layers of dynamic type mixed method as claimed in claim 1 is characterized in that, the described image layers that scans each image layers of described picture on scan line initial with mode end position be to search to finish by carrying out the universe header file.
4. many image layers of dynamic type mixed method as claimed in claim 1, it is characterized in that, above-mentioned section width according to each section mixes a plurality of pixels of the image layers that described section contains with section image layers number, in the step with the pixel that produces the corresponding section hybrid picture of described section, each section is respectively according to its section and section image layers number, initial and the end position of image layers level that the header file of each image layers is carried secretly, the vertical initial and end position of image layers, the a plurality of pixels that mix the image layers that each section contains are to produce the pixel of the corresponding section hybrid picture of described section.
5. many image layers of dynamic type mixed method as claimed in claim 1 is characterized in that, described a plurality of image layers overlap each other or do not overlap.
6. many image layers of dynamic type mixed method as claimed in claim 1 is characterized in that, after described scan line is divided into described a plurality of section, records section width and the section image layers number of each section.
7. many image layers of dynamic type blender, the picture in order to processing has a plurality of image layers is characterized in that, the many video mixers of described dynamic type comprise:
Universe header file search engine, according to level and vertical synchronizing signal, use the described picture of a horizontal sweep line sweep, and carry out the search of universe header file, scan accordingly the initial and end position of image layers of each image layers of described picture on horizontal scanning line, initial and the end position of picture level of and end position and described picture initial according to the image layers level of each image layers on the horizontal scanning line, described horizontal scanning line is divided into a plurality of sections, and according to the section width of a section, the image layers of each image layers on section image layers number and the horizontal scanning line is initial sequentially to produce different storage addresss with end position;
The dynamic memory information module sequentially receives a plurality of storage addresss sequentially to obtain a plurality of pixels of a plurality of image layers on the described section to dynamic memory;
Blender sequentially mixes a plurality of pixels of a plurality of image layers on the described section;
Static memory, in order to storing a plurality of pixels that mix of described blender, and after blender mixed a plurality of pixels of all image layers on the described section, described static memory can be erased; And
Buffer, after a plurality of pixels mixing of blender with all image layers on the described section, a plurality of pixels in the temporary section hybrid picture.
8. many image layers of dynamic type blender as claimed in claim 7 is characterized in that, described a plurality of image layers overlap each other or do not overlap.
9. a player is characterized in that, described player comprises:
Many image layers of dynamic type blender, the picture in order to processing has a plurality of image layers comprises:
Universe header file search engine, according to level and vertical synchronizing signal, use the described picture of a horizontal sweep line sweep, and carry out the search of universe header file, scan accordingly the initial and end position of image layers of each image layers of described picture on horizontal scanning line, initial and the end position of picture level of and end position and described picture initial according to the image layers level of each image layers on the horizontal scanning line, described horizontal scanning line is divided into a plurality of sections, and according to the section width of a section, the image layers of each image layers on section image layers number and the horizontal scanning line is initial sequentially to produce different storage addresss with end position;
The dynamic memory information module sequentially receives a plurality of storage addresss sequentially to obtain a plurality of pixels of a plurality of image layers on the described section to dynamic memory;
The first blender sequentially mixes a plurality of pixels of a plurality of image layers on the described section;
Static memory, in order to storing a plurality of pixels that mix of described the first blender, and after the first blender mixed a plurality of pixels of all image layers on the described section, described static memory can be erased; And
Buffer is after a plurality of pixels mixing of the first blender with all image layers on the described section, in order to a plurality of pixels in the temporary section hybrid picture; And
The video pictures processor is in order to the output video picture;
Deinterlacer is connected in described video pictures processor; And
The second blender, in order to mixed video picture and many image layers hybrid picture, wherein many image layers hybrid picture comprises the blend of image layers more than many picture, each many image layers of bar blend picture comprises multistage section hybrid picture.
CN 201010136644 2010-03-11 2010-03-11 Mixer and method for mixing multiple dynamic image layers and player Expired - Fee Related CN102194444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010136644 CN102194444B (en) 2010-03-11 2010-03-11 Mixer and method for mixing multiple dynamic image layers and player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010136644 CN102194444B (en) 2010-03-11 2010-03-11 Mixer and method for mixing multiple dynamic image layers and player

Publications (2)

Publication Number Publication Date
CN102194444A CN102194444A (en) 2011-09-21
CN102194444B true CN102194444B (en) 2013-01-16

Family

ID=44602404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010136644 Expired - Fee Related CN102194444B (en) 2010-03-11 2010-03-11 Mixer and method for mixing multiple dynamic image layers and player

Country Status (1)

Country Link
CN (1) CN102194444B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321955A (en) * 2001-06-04 2001-11-14 余克艰 Standard playback method of multiframe moving cartoon
EP1566773A1 (en) * 2004-02-18 2005-08-24 Harman Becker Automotive Systems GmbH Alpha blending based on a look-up table

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4659388B2 (en) * 2004-05-13 2011-03-30 キヤノン株式会社 Image processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321955A (en) * 2001-06-04 2001-11-14 余克艰 Standard playback method of multiframe moving cartoon
EP1566773A1 (en) * 2004-02-18 2005-08-24 Harman Becker Automotive Systems GmbH Alpha blending based on a look-up table

Also Published As

Publication number Publication date
CN102194444A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN101299331B (en) Display controller for displaying multiple windows and method for the same
CN101460992B (en) Blending multiple display layers
US8514331B2 (en) De-rotation adaptor and method for enabling interface of handheld multi-media device with external display
CN102263880B (en) Image scaling method and apparatus thereof
CN100556085C (en) Screen display hybrid system and mixed method
US7554608B2 (en) Video composition circuit for performing vertical filtering to α-blended video data and successively input video data
CN105704407A (en) A display processing apparatus, device and method
US7626638B2 (en) Apparatus and method for processing video signal
US20110261061A1 (en) Method and system for processing image data on a per tile basis in an image sensor pipeline
US20080007807A1 (en) Image processor and image processing method
US9013633B2 (en) Displaying data on lower resolution displays
US20060017850A1 (en) Video combining apparatus and method thereof
CN101356811B (en) Raw mode for vertical blanking internval (VBI) data
CN101448108A (en) Image processing apparatus and related method
TWI222831B (en) Video playback system to generate both progressive and interlace video signals
US6928118B1 (en) Device and method for displaying video
CN102194444B (en) Mixer and method for mixing multiple dynamic image layers and player
CN101105928A (en) Multimedia playback system, multimedia data reproduction apparatus, and method thereof
CN101304533A (en) Video processing apparatus
US20060082585A1 (en) Apparatus and method for transposing data
CN108124195B (en) Multilayer image composite processing method and device and display system
US20090289947A1 (en) System and method for processing data sent from a graphic engine
CN105472464A (en) Television terminal and data playing method thereof
US8064709B2 (en) Method and apparatus for buffering output pixel data of a joint photographic experts group image
Gass Architecture trends of MPEG decoders for set-top box

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130116

Termination date: 20190311