CN102103477B - Display data acquiring method and system and electronic equipment - Google Patents

Display data acquiring method and system and electronic equipment Download PDF

Info

Publication number
CN102103477B
CN102103477B CN200910242799A CN200910242799A CN102103477B CN 102103477 B CN102103477 B CN 102103477B CN 200910242799 A CN200910242799 A CN 200910242799A CN 200910242799 A CN200910242799 A CN 200910242799A CN 102103477 B CN102103477 B CN 102103477B
Authority
CN
China
Prior art keywords
main stor
data
auxiliary
video data
tectal
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
CN200910242799A
Other languages
Chinese (zh)
Other versions
CN102103477A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN200910242799A priority Critical patent/CN102103477B/en
Publication of CN102103477A publication Critical patent/CN102103477A/en
Application granted granted Critical
Publication of CN102103477B publication Critical patent/CN102103477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a display data acquiring method, a display data acquiring system and electronic equipment. The method comprises the following steps of: acquiring display data on a primary surface; acquiring display data on an overlay surface and the position of the overlay surface on the primary surface; and combining the display data on the primary surface with the display data on the overlay surface on the basis of the position of the overlay surface on the primary surface. By the embodiment of the invention, the primary surface can be combined with the overlay surface.

Description

A kind of method, system and electronic equipment that obtains video data
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method, system and electronic equipment that obtains video data.
Background technology
The digital-to-analog conversion parts of video card read each row of data from the memory block of frame buffering, convert the output signal to and send to display, as main stor(e)y (primary surface).In order to accelerate video processing speed, video card also provides the covering (overlay) that is different from main stor(e)y layer.Overlayer is a kind of display technique of digital video, and it allows digital signal to handle without display chip, directly outputs on the indicator screen through video memory.The main purposes of overlayer display technique is the optimization of video broadcast, has characteristics such as speed is fast, image quality good, occupying system resources is few.The digital-to-analog conversion parts read two layer data, can be on video window display menu and video content.
The inventor finds that in research process existing screenshotss instrument can only be intercepted and captured main stor(e)y or overlayer separately, but can't intercept and capture main stor(e)y and overlayer simultaneously.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method, system and electronic equipment that obtains video data, can merge main stor(e)y and overlayer.
A kind of method of obtaining video data, said method comprises:
Obtain the video data of main stor(e)y, and obtain tectal video data and said overlayer position at said main stor(e)y;
Based on the position of said overlayer, the video data and the said tectal video data of the said main stor(e)y that obtains merged at said main stor(e)y.
Preferably; The video data of said main stor(e)y comprises at least one main stor(e)y pixel; Said tectal video data comprises at least one overlayer pixel; Said at least one main stor(e)y pixel and said at least one overlayer pixel are one to one, and be said based on the position of said overlayer at said main stor(e)y, the data of the said main stor(e)y that obtains and said tectal data merged comprise:
Obtain said tectal crucial color value;
More said at least one main stor(e)y color of pixel value and said tectal crucial color value;
When said at least one main stor(e)y color of pixel value is identical with said tectal crucial color value, said at least one main stor(e)y color of pixel value is replaced with corresponding overlayer color of pixel value.
Preferably, said based on the position of said overlayer at said main stor(e)y, the video data of the said main stor(e)y that obtains and said tectal video data merged comprise:
The piece copy function of calling the video card driving realizes the transparent stack of two layer data, and the input parameter of said copy function comprises the video data of said main stor(e)y, and said tectal video data and said overlayer are in the position of said main stor(e)y;
, based on the position of said overlayer the video data and the said tectal video data of said main stor(e)y merged by video card at said main stor(e)y.
Preferably, the said video data that obtains main stor(e)y comprises:
For said main stor(e)y is created one first auxiliary layer;
When the video data of said main stor(e)y upgraded, first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y were consistent;
Obtain said first auxiliary data from said first auxiliary layer;
Saidly obtain tectal video data and comprise:
For said overlayer is created one second auxiliary layer;
When said tectal video data upgraded, second auxiliary data of said second auxiliary layer and said tectal video data were consistent;
Obtain said second auxiliary data from said second auxiliary layer.
Preferably, it is characterized in that,
When the video data of said main stor(e)y upgraded, the realization that first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y are consistent comprised:
The piece that obtains said main stor(e)y graphics device interface duplicates or piece is filled the input parameter of two-dimentional output function;
Utilize said to duplicate or piece fills that two-dimentional output function and said duplicate or piece is filled two-dimentional output function input parameter generates said first auxiliary data;
When said tectal video data upgraded, the realization that second auxiliary data of said second auxiliary layer and said tectal video data are consistent comprised:
Obtain said tectal two dimension and quicken function or the three-dimensional input parameter that quickens function;
Utilize said two dimension to quicken the input parameter of function and said two dimension acceleration function, perhaps, said three-dimensional quickens function and the said three-dimensional input parameter that quickens function generates said second auxiliary data.
A kind of electronic equipment, said electronic equipment comprises:
First storage unit is used to store the video data of main stor(e)y;
Second storage unit is used to store tectal video data and the said overlayer position at said main stor(e)y;
First acquiring unit is used for obtaining from said first storage unit video data of said main stor(e)y;
Second acquisition unit is used for obtaining said tectal video data and the said overlayer position at said main stor(e)y from said second storage unit;
Merge cells is used for based on the position of said overlayer at said main stor(e)y, and the video data of the said main stor(e)y that said first acquiring unit is obtained and the said tectal video data that said second acquisition unit obtains merge.
Preferably; The video data of said main stor(e)y comprises at least one main stor(e)y pixel; Said tectal video data comprises at least one overlayer pixel, and said at least one main stor(e)y pixel and said at least one overlayer pixel are one to one, and said merge cells comprises:
The 3rd acquiring unit is used to obtain said tectal crucial color value;
Comparing unit is used for more said at least one main stor(e)y color of pixel value and said tectal crucial color value;
The replacement unit is used for when said at least one main stor(e)y color of pixel value is identical with said tectal crucial color value, and said at least one main stor(e)y color of pixel value is replaced with corresponding said tectal color value.
Preferably, said merge cells comprises:
Call unit is used to call the piece copy function that video card drives, and the input parameter of said copy function comprises the video data of said main stor(e)y, and said tectal video data and said overlayer are in the position of said main stor(e)y; , based on the position of said overlayer the video data and the said tectal video data of said main stor(e)y merged by video card two dimension accelerating hardware at said main stor(e)y.
Preferably, it is characterized in that,
Said first acquiring unit comprises:
The first establishment unit is used to said main stor(e)y and creates one first auxiliary layer;
First lock unit is used for when the video data of said main stor(e)y upgrades, first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y being consistent;
The 4th acquiring unit is used for obtaining said first auxiliary data from said first auxiliary layer;
Said second acquisition unit comprises:
The second establishment unit is used to said overlayer and creates one second auxiliary layer;
Second lock unit is used for when said tectal video data upgrades, second auxiliary data of said second auxiliary layer and said tectal video data being consistent;
The 5th acquiring unit is used for obtaining said second auxiliary data from said second auxiliary layer.
Preferably, it is characterized in that,
Said first lock unit comprises:
The 6th acquiring unit, the piece that is used to obtain said main stor(e)y graphics device interface duplicates or piece is filled the input parameter of two-dimentional output function;
First generation unit is used to utilize said to duplicate or two-dimentional output function such as piece filling and said duplicate or the input parameter of two-dimentional output function such as piece filling generates said first auxiliary data;
Said second lock unit comprises:
The 7th acquiring unit is used to obtain said tectal two dimension and quickens function or the three-dimensional input parameter that quickens function;
Second generation unit is used to utilize said two dimension to quicken the input parameter of function and said two dimension acceleration function, and perhaps, said three-dimensional quickens function and the said three-dimensional input parameter that quickens function generates said second auxiliary data.
A kind of system that obtains video data, said system comprises:
Electronic equipment; Be used to obtain the video data of main stor(e)y; And obtain tectal video data and said overlayer position at said main stor(e)y; Based on the position of said overlayer at said main stor(e)y, the video data and the said tectal video data of the said main stor(e)y that obtains merged, the data after merging are sent to terminal device;
Said terminal device is used to receive the data after the merging that said electronic equipment sends.
Can find out; In embodiments of the present invention, not only obtain the video data of main stor(e)y, also will obtain tectal video data and overlayer position at main stor(e)y; And, realized the video data and the tectal video data of the main stor(e)y that obtains are merged based on this position.
Description of drawings
A kind of method flow diagram that obtains video data that Fig. 1 provides for the embodiment of the invention;
The another kind that Fig. 2 provides for the embodiment of the invention obtains the method flow diagram of video data;
First synoptic diagram that Fig. 3 (a) merges the video data and the tectal video data of main stor(e)y for the embodiment of the invention;
Second synoptic diagram that Fig. 3 (b) merges the video data and the tectal video data of main stor(e)y for the embodiment of the invention;
The another kind that Fig. 4 provides for the embodiment of the invention obtains the method flow diagram of video data;
A kind of electronic devices structure synoptic diagram that Fig. 5 provides for the embodiment of the invention;
The another kind of electronic devices structure synoptic diagram that Fig. 6 provides for the embodiment of the invention;
A kind of system architecture synoptic diagram that obtains video data that Fig. 7 provides for the embodiment of the invention.
Embodiment
For the above-mentioned characteristic, the advantage that make the embodiment of the invention is more obviously understandable, be elaborated below in conjunction with embodiment.
Please refer to Fig. 1, a kind of method flow diagram that obtains video data for the embodiment of the invention provides can may further comprise the steps:
Step 101: obtain the video data of main stor(e)y, and obtain tectal video data and said overlayer position at said main stor(e)y;
Step 102:, the video data and the said tectal video data of the said main stor(e)y that obtains merged based on the position of said overlayer at said main stor(e)y.
Can find out; In embodiments of the present invention, not only obtain the video data of main stor(e)y, also will obtain tectal video data and overlayer position at main stor(e)y; And, realized the video data and the tectal video data of the main stor(e)y that obtains are merged based on this position.
Below in conjunction with another embodiment the present invention is elaborated.
Please refer to Fig. 2, the another kind that provides for the embodiment of the invention obtains the method flow diagram of video data, can may further comprise the steps:
Step 201: electronic equipment is that main stor(e)y is created one first auxiliary layer, and is one second auxiliary layer of overlayer establishment;
Second auxiliary layer can be kept in the video card.
Step 202: when the video data of main stor(e)y upgrades; First auxiliary layer obtains main stor(e)y GDI (GDI; The input parameter of copybits function Graphics Device Interface); When tectal video data upgraded, second auxiliary layer obtained the input parameter of tectal Directdraw function or Direct3D function;
It is to be noted; In step 202; First auxiliary layer can also obtain the input parameter of the renewal function at main stor(e)y graphics device interface (such as the GDI under the windows, Graphics Device Interface), can comprise the input parameter of two-dimentional output functions such as piece duplicates, piece filling; When tectal video data upgraded, second auxiliary layer obtained tectal two dimension and quickens function or the three-dimensional input parameter that quickens function.In windows operating system; The piece copy function can be the copybits function; It can be the Directdraw function that two dimension is quickened function; Three-dimensional acceleration function can be the Direct3D function, and in other operating system, it can also be corresponding function that piece copy function, two dimension acceleration function and three-dimensional are quickened function.
Step 203: electronic equipment utilizes the input parameter of copybits function and copybits function to generate first auxiliary data; Utilize the input parameter of Directdraw function and Directdraw function, perhaps, the input parameter of Direct3D function and Direct3D function generates second auxiliary data;
It is pointed out that in step 203 electronic equipment can also utilize renewal function, comprise that the input parameter of two-dimentional output functions such as piece duplicates, piece filling and these functions generates first auxiliary data; Utilize three-dimensional function and the two-dimentional input parameter that quickens function of quickening, perhaps, the three-dimensional input parameter that quickens function and three-dimensional acceleration function generates second auxiliary data.Equally; In windows operating system; The piece copy function can be the copybits function, and it can be the Directdraw function that two dimension is quickened function, and three-dimensional acceleration function can be the Direct3D function; In other operating system, piece copy function, two dimension quicken function and three-dimensional acceleration function can also be corresponding function.
Through step 202 and step 203; When the video data of main stor(e)y upgrades; First auxiliary data of first auxiliary layer can be consistent with the video data of main stor(e)y; When tectal video data upgraded, second auxiliary data of second auxiliary layer can be consistent with tectal video data.
Step 204: electronic equipment obtains first auxiliary data from first auxiliary layer, and obtains second auxiliary data from second auxiliary layer;
Through step 202 to step 204, electronic equipment has realized obtaining the video data and the tectal video data of main stor(e)y.
Step 205: electronic equipment obtains the position of overlayer at main stor(e)y;
Step 206: electronic equipment merges first auxiliary data and second auxiliary data based on the position of overlayer at main stor(e)y;
The data of first auxiliary layer are identical with the video data of main stor(e)y, and second auxiliary data is identical with tectal video data.
Step 207: electronic equipment obtains the data after the merging and represents.
Wherein, The video data of main stor(e)y comprises at least one main stor(e)y pixel; Tectal video data comprises at least one overlayer pixel; And at least one main stor(e)y pixel and at least one overlayer pixel are one to one, and the concrete realization of step 206 comprises: obtain tectal crucial color key colour value, each main stor(e)y color of pixel value and tectal key colour value are compared; In case when identical numerical value is arranged, main stor(e)y color of pixel value is replaced with the overlayer color of pixel value corresponding with this main stor(e)y pixel.
Please refer to Fig. 3 (a), first synoptic diagram that the video data and the tectal video data of main stor(e)y is merged for the embodiment of the invention.In Fig. 3 (a), suppose that main stor(e)y and overlayer all adopt the RGB color system, main stor(e)y and overlayer all have 4 pixels, wherein; First pixel of main stor(e)y, second pixel, the 3rd pixel and the 4th pixel are corresponding one by one with tectal the 5th pixel, the 6th pixel, the 7th pixel and the 8th pixel respectively, and 4 color of pixel values of main stor(e)y are (128,128,128); Tectal the 5th pixel, the 6th pixel, the 7th pixel and the 8th color of pixel value are respectively (16,255,255), (18; 255,255), (264,255; 255) and (175,255,255).If the tectal key colour value that gets access to is (128; 128,128), with first pixel, second pixel, the 3rd pixel and the 4th color of pixel value of main stor(e)y one by one with (128; 128; 128) compare, through more identical, then first pixel, second pixel, the 3rd pixel and the 4th color of pixel value with main stor(e)y replaces with tectal the 5th pixel, the 6th pixel, the 7th pixel and the 8th color of pixel value respectively.
Please refer to Fig. 3 (b), second synoptic diagram that the video data and the tectal video data of main stor(e)y is merged for the embodiment of the invention.At this moment, first pixel of main stor(e)y, second pixel, the 3rd pixel and the 4th color of pixel value are respectively (128,128,128), (128; 128,128), (212,255,255) and (213; 255,255), tectal the 5th pixel, the 6th pixel, the 7th pixel and the 8th color of pixel value still are respectively (16,255,255), (18; 255,255), (264,255,255) and (175,255; 255), if the tectal key colour value that gets access to is (128,128,128), with first pixel, second pixel, the 3rd pixel and the 4th color of pixel value of main stor(e)y one by one with (128; 128,128) compare, through comparing, the 3rd pixel of main stor(e)y and the 4th color of pixel value are not (128; 128,128), then first pixel and the second color of pixel value with main stor(e)y replaces with corresponding tectal the 5th pixel and the 6th color of pixel value respectively, and the 3rd pixel of main stor(e)y and the 4th color of pixel value will not be replaced.
In Fig. 3 (a) and Fig. 3 (b), only be that example describes with RGB, the embodiment of the invention is equally applicable to the CMYK pattern.Also it is to be noted; Key colour value can be an interval, when main stor(e)y color of pixel value is positioned at this interval, main stor(e)y color of pixel value is replaced with corresponding overlayer color of pixel value; When main stor(e)y color of pixel value is not positioned at this interval, do not replace.
In addition; Step 206 can also realize through following mode: the piece transition function that calls the video card driving is (in windows operating system; The piece transition function can be the bitblt function); The input parameter of piece transition function comprises the video data of main stor(e)y, tectal video data and overlayer in the position of main stor(e)y,, based on this position the video data and the tectal video data of main stor(e)y is merged by video card two dimension accelerating hardware.
Also it is to be noted; (for example: server) execution of step 201 is to step 206 for electronic equipment; Data after can also will merging through wireless mode or wired mode send to terminal device, and the data after will being merged by terminal device represent or carry out other processing.
In step shown in Figure 2; First auxiliary layer and second auxiliary layer have been introduced; And then can from first auxiliary layer, obtain the data identical with main stor(e)y, from second auxiliary layer, obtain the data identical, because it is lower directly to obtain the video data and the tectal video data priority of main stor(e)y with overlayer; The embodiment of the invention can be avoided this operation, so the efficient of the embodiment of the invention is higher.
Please refer to Fig. 4; The another kind that provides for the embodiment of the invention obtains the method flow diagram of video data; Be with the difference of step shown in Figure 2: need not to create first auxiliary layer, create second auxiliary layer, promptly need not turned and cross the video data that first auxiliary layer obtains main stor(e)y for overlayer for main stor(e)y; Obtain tectal video data through second auxiliary layer, but directly obtain the video data and the tectal video data of main stor(e)y.Present embodiment can may further comprise the steps:
Step 401: electronic equipment obtains the video data of main stor(e)y;
Step 402: electronic equipment obtains tectal video data and the overlayer position at main stor(e)y;
Step 403: electronic equipment is based on the position of overlayer at main stor(e)y, and the video data and the tectal video data of main stor(e)y merged;
Wherein, the concrete realization of step 403 is identical with step 206, repeats no more.
Step 404: electronic equipment obtains the data after the merging and represents.
Please refer to Fig. 5, a kind of electronic devices structure synoptic diagram for the embodiment of the invention provides can comprise:
First storage unit 501 is used to store the video data of main stor(e)y;
Second storage unit 502 is used to store tectal video data and the said overlayer position at said main stor(e)y;
First acquiring unit 503 is used for obtaining from said first storage unit 501 video data of said main stor(e)y;
Second acquisition unit 504 is used for obtaining said tectal video data and the said overlayer position at said main stor(e)y from said second storage unit 502;
Merge cells 505 is used for based on the position of said overlayer at said main stor(e)y, and the video data of the said main stor(e)y that said first acquiring unit 503 is obtained and the said tectal video data that said second acquisition unit 504 obtains merge.
Can find out; In embodiments of the present invention, not only obtain the video data of main stor(e)y, also will obtain tectal video data and overlayer position at main stor(e)y; And, realized the video data and the tectal video data of the main stor(e)y that obtains are merged based on this position.
Please refer to Fig. 6, the another kind of electronic devices structure synoptic diagram that provides for the embodiment of the invention, on the basis of Fig. 5,
Said merge cells 505 comprises:
The 3rd acquiring unit 601 is used to obtain said tectal key colour value;
Comparing unit 602 is used for more said at least one main stor(e)y color of pixel value and said tectal key colour value;
Replacement unit 603 is used for when said at least one main stor(e)y color of pixel value is identical with said tectal key colour value, and said at least one main stor(e)y color of pixel value is replaced with corresponding said tectal color value.
Perhaps, said merge cells 505 can comprise:
Call unit (figure does not show) is used to call the piece transition function that video card drives, and the input parameter of said transition function comprises the video data of said main stor(e)y, and said tectal video data and said overlayer are in the position of said main stor(e)y; , based on the position of said overlayer the video data and the said tectal video data of said main stor(e)y merged by video card two dimension accelerating hardware at said main stor(e)y.
Said first acquiring unit 503 comprises:
The first establishment unit 604 is used to said main stor(e)y and creates one first auxiliary layer;
First lock unit 605 is used for when the video data of said main stor(e)y upgrades, first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y being consistent;
The 4th acquiring unit 606 is used for obtaining said first auxiliary data from said first auxiliary layer;
Said second acquisition unit 504 comprises:
The second establishment unit 607 is used to said overlayer and creates one second auxiliary layer;
Second lock unit 608 is used for when said tectal video data upgrades, second auxiliary data of said second auxiliary layer and said tectal video data being consistent;
The 5th acquiring unit 609 is used for obtaining said second auxiliary data from said second auxiliary layer.
Said first lock unit 605 comprises:
The 6th acquiring unit 610, the piece that is used to obtain said main stor(e)y graphics device interface duplicates or piece is filled the input parameter of two-dimentional output function;
First generation unit 611 is used to utilize said to duplicate or two-dimentional output function such as piece filling and said duplicate or the input parameter of two-dimentional output function such as piece filling generates said first auxiliary data;
Said second lock unit 608 comprises:
The 7th acquiring unit 612 is used to obtain said tectal two dimension and quickens function or the three-dimensional input parameter that quickens function;
Second generation unit 613 is used to utilize said two dimension to quicken the input parameter of function and said two dimension acceleration function, and perhaps, said three-dimensional quickens function and the said three-dimensional input parameter that quickens function generates said second auxiliary data.
Please refer to Fig. 7, a kind of system architecture synoptic diagram that obtains video data for the embodiment of the invention provides can comprise:
Electronic equipment 701; Be used to obtain the video data of main stor(e)y; And obtain tectal video data and said overlayer position at said main stor(e)y; Based on the position of said overlayer at said main stor(e)y, the video data and the said tectal video data of the said main stor(e)y that obtains merged, the data after merging are sent to terminal device 702;
Said terminal device 702 is used to receive the data after the merging that said electronic equipment 701 sends.
At last; Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.And; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
Description through above embodiment; Those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform; Can certainly all implement, but the former is better embodiment under a lot of situation through hardware.Based on such understanding; All or part of can the coming out that technical scheme of the present invention contributes to background technology with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
More than the present invention has been carried out detailed introduction, used concrete example among this paper principle of the present invention and embodiment set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. a method of obtaining video data is characterized in that, said method comprises:
For main stor(e)y is created one first auxiliary layer, and create one second auxiliary layer for overlayer; Wherein, when the video data of said main stor(e)y data upgraded, first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y were consistent; When said tectal video data upgraded, second auxiliary data of said second auxiliary layer and said tectal video data were consistent;
Obtain said first auxiliary data from said first auxiliary layer;
Obtain said second auxiliary data from said second auxiliary layer;
Obtain the position of said overlayer at said main stor(e)y;
Based on the position of said overlayer, said first auxiliary data and second auxiliary data are merged, and the data of obtaining after the merging represent at said main stor(e)y.
2. method according to claim 1; It is characterized in that; The video data of said main stor(e)y comprises at least one main stor(e)y pixel, and said tectal video data comprises at least one overlayer pixel, and said at least one main stor(e)y pixel and said at least one overlayer pixel are one to one; Said based on the position of said overlayer at said main stor(e)y, said first auxiliary data and second auxiliary data merged comprise:
Obtain said tectal crucial color value;
At least one main stor(e)y color of pixel value and said tectal crucial color value in more said first auxiliary layer;
When at least one main stor(e)y color of pixel value in said first auxiliary layer is identical with said tectal crucial color value, at least one main stor(e)y color of pixel value in said first auxiliary layer is replaced with overlayer color of pixel value corresponding in second auxiliary layer.
3. method according to claim 1 is characterized in that, and is said based on the position of said overlayer at said main stor(e)y, said first auxiliary data and second auxiliary data merged comprise:
The piece transition function that calls the video card driving is realized the transparent stack of two layer data, and the input parameter of said transition function comprises said first auxiliary data, and said second auxiliary data and said overlayer are in the position of said main stor(e)y;
, based on the position of said overlayer said first auxiliary data and second auxiliary data are merged by video card at said main stor(e)y.
4. method according to claim 1 is characterized in that,
When the video data of said main stor(e)y upgraded, the realization that first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y are consistent comprised:
The piece that obtains said main stor(e)y graphics device interface duplicates or piece is filled the input parameter of two-dimentional output function;
Utilize said to duplicate or piece fills that two-dimentional output function and said duplicate or piece is filled two-dimentional output function input parameter generates said first auxiliary data;
When said tectal video data upgraded, the realization that second auxiliary data of said second auxiliary layer and said tectal video data are consistent comprised:
Obtain said tectal two dimension and quicken function or the three-dimensional input parameter that quickens function;
Utilize said two dimension to quicken the input parameter of function and said two dimension acceleration function, perhaps, said three-dimensional quickens function and the said three-dimensional input parameter that quickens function generates said second auxiliary data.
5. a system that obtains video data is characterized in that, said system comprises:
The auxiliary layer creation apparatus is used to main stor(e)y and creates one first auxiliary layer, and creates one second auxiliary layer for overlayer;
Upgrade synchronous device, be used for when the video data of said main stor(e)y data upgrades, first auxiliary data of said first auxiliary layer and the video data of said main stor(e)y being consistent; When said tectal video data upgrades, second auxiliary data and the said tectal video data of said second auxiliary layer is consistent;
First deriving means is used for obtaining said first auxiliary data from said first auxiliary layer;
Second deriving means is used for obtaining said second auxiliary data from said second auxiliary layer;
The position deriving means is used to obtain the position of said overlayer at said main stor(e)y;
Merge device, be used for said first auxiliary data and second auxiliary data being merged based on the position of said overlayer at said main stor(e)y;
Demonstration device, the data that are used to obtain after the merging represent.
6. system according to claim 5; It is characterized in that; The video data of said main stor(e)y comprises at least one main stor(e)y pixel; Said tectal video data comprises at least one overlayer pixel, and said at least one main stor(e)y pixel and said at least one overlayer pixel are one to one, and said merging device comprises:
The 3rd deriving means is used to obtain said tectal crucial color value;
Comparison means is used at least one main stor(e)y color of pixel value of more said first auxiliary layer and said tectal crucial color value;
Alternative; Be used for when at least one main stor(e)y color of pixel value of said first auxiliary layer is identical with said tectal crucial color value, at least one main stor(e)y color of pixel value in said first auxiliary layer is replaced with said overlayer color of pixel value corresponding in second auxiliary layer.
7. system according to claim 5 is characterized in that, said merging device comprises:
Calling device is used to call the piece transition function that video card drives, and the input parameter of said transition function comprises said first auxiliary data, and said second auxiliary data and said overlayer are in the position of said main stor(e)y; , based on the position of said overlayer said first auxiliary data and said second auxiliary data are merged by video card two dimension accelerating hardware at said main stor(e)y.
8. system according to claim 5 is characterized in that, said renewal synchronous device comprises:
First upgrades synchronous device, is used for
The piece that obtains said main stor(e)y graphics device interface duplicates or piece is filled the input parameter of two-dimentional output function;
Utilize said to duplicate or two-dimentional output function such as piece filling and said duplicate or the input parameter of two-dimentional output function such as piece filling generates said first auxiliary data;
Second upgrades synchronous device, is used for:
Obtain said tectal two dimension and quicken function or the three-dimensional input parameter that quickens function;
Utilize said two dimension to quicken the input parameter of function and said two dimension acceleration function, perhaps, said three-dimensional quickens function and the said three-dimensional input parameter that quickens function generates said second auxiliary data.
CN200910242799A 2009-12-21 2009-12-21 Display data acquiring method and system and electronic equipment Active CN102103477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910242799A CN102103477B (en) 2009-12-21 2009-12-21 Display data acquiring method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910242799A CN102103477B (en) 2009-12-21 2009-12-21 Display data acquiring method and system and electronic equipment

Publications (2)

Publication Number Publication Date
CN102103477A CN102103477A (en) 2011-06-22
CN102103477B true CN102103477B (en) 2012-09-05

Family

ID=44156282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910242799A Active CN102103477B (en) 2009-12-21 2009-12-21 Display data acquiring method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN102103477B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775690B (en) * 2016-12-02 2020-10-09 广东威创视讯科技股份有限公司 Recording method and device based on gdi/gdi + window coverage
CN108563955B (en) * 2018-03-01 2020-10-27 腾讯科技(深圳)有限公司 Picture processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5850232A (en) * 1996-04-25 1998-12-15 Microsoft Corporation Method and system for flipping images in a window using overlays
CN1770096A (en) * 2004-11-05 2006-05-10 腾讯科技(深圳)有限公司 Acquisition method for video frequency information of overlay surface
CN1812517A (en) * 2005-12-23 2006-08-02 北京中星微电子有限公司 Controller used for superposing multi-pattern signal on video signal and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5850232A (en) * 1996-04-25 1998-12-15 Microsoft Corporation Method and system for flipping images in a window using overlays
CN1770096A (en) * 2004-11-05 2006-05-10 腾讯科技(深圳)有限公司 Acquisition method for video frequency information of overlay surface
CN1812517A (en) * 2005-12-23 2006-08-02 北京中星微电子有限公司 Controller used for superposing multi-pattern signal on video signal and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡捷等.基于DirectX的透明窗体研究与制作.《微型电脑应用》.2000,第16卷(第12期), *

Also Published As

Publication number Publication date
CN102103477A (en) 2011-06-22

Similar Documents

Publication Publication Date Title
CN108053381B (en) Dynamic tone mapping method, mobile terminal and computer-readable storage medium
EP2464093B1 (en) Image file generation device, image processing device, image file generation method, and image processing method
CN101388950B (en) Content-adaptive contrast improving method and apparatus for digital image
CN111615684B (en) Variable pixel rate display interface
CN106204474A (en) Locally many grades tone mapping operations device
CN1193399A (en) A histogram equalization apparatus for contrast enhancement of moving image and method therefor
KR20040062564A (en) Systems and methods for generating visual representations of graphical data and digital document processing
CN101154150A (en) Method for capturing computer screen image
JP2010286811A (en) Assembling display equipment, and methdo and system for control of screen thereof
CN111918065A (en) Information compression/decompression method and device
CN115831061B (en) Ink screen display method, device, terminal equipment and storage medium
CN101668144B (en) Method for realizing semitransparent effect of image layer on video layer, device and set top box
CN110928513A (en) Super-resolution synthesis command application system
CN102103477B (en) Display data acquiring method and system and electronic equipment
KR100860673B1 (en) Apparatus and method for generating image to generate 3d image
CN108509112B (en) Menu display method and device, display equipment and storage medium
CN107908455B (en) Browser page switching method and system
CN102685359A (en) Method for realizing hardware-acceleration-based video picture on remote desktop
EP2693426A1 (en) Display apparatus, image post-processing apparatus and method for image post-processing of contents
US7743342B2 (en) Moving-image icon generating apparatus
CN100525398C (en) Image switching method and device
CN111491158A (en) L ED display screen system architecture supporting multifunctional display
KR100947265B1 (en) Module displaying 3d image for pmp
CN111143014B (en) Method and system for generating scene thumbnail of wall splicing system
CN1151471C (en) Image processor and image display

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