CN106856573A - The optimization method and system of a kind of video playback power consumption - Google Patents
The optimization method and system of a kind of video playback power consumption Download PDFInfo
- Publication number
- CN106856573A CN106856573A CN201611074638.5A CN201611074638A CN106856573A CN 106856573 A CN106856573 A CN 106856573A CN 201611074638 A CN201611074638 A CN 201611074638A CN 106856573 A CN106856573 A CN 106856573A
- Authority
- CN
- China
- Prior art keywords
- resolution
- video
- value
- played
- display
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4436—Power management, e.g. shutting down unused components of the receiver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Liquid Crystal Display Device Control (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
The present invention relates to optimization processing field, more particularly to a kind of video playback power consumption optimization method and system.Wherein optimization method includes:Obtain the first resolution of a two field picture in video to be played and the display resolution of display terminal;If the pixel value of each pixel of video to be played is increased predetermined threshold value by first resolution less than the display resolution of display terminal, the first resolution of video to be played is extended by the way of row filling black pixel point using interlacing.First resolution extending video to be played instead of difference arithmetic mode in the prior art by way of row filling black pixel point using interlacing, realize reducing the power consumption that low-resolution video is played on high-resolution equipment, and realize highlighting by the way that the pixel value of each pixel of video to be played is increased into predetermined threshold value, make up the image quality that black pixel point brings to lose, ensure power consumption of the image quality close to reduction video playback in the case of original image quality.
Description
Technical field
The present invention relates to optimization processing field, more particularly to a kind of video playback power consumption optimization method and system.
Background technology
With the development and the continuous improvement of people's living standard of mobile communication, the use of mobile phone particularly smart mobile phone is got over
More to popularize.User can be surfed the Net using smart mobile phone and see video.The video of current many low resolution is enterprising in smart mobile phone
Row video playback, because the display resolution of smart mobile phone and the resolution ratio of video are different, is required for expanding by difference arithmetic
Pixel is filled by the increase resolution of former video to the display resolution with smart mobile phone, but solves to lead using the above method
Cause smart mobile phone that more electricity are lost, the optimization problem of video playback power consumption is solved there is presently no better method.
The content of the invention
The technical problems to be solved by the invention are:There is provided and a kind of ensureing image quality close to reduction in the case of original image quality
The optimization method and system of the power consumption that low-resolution video is played.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
A kind of optimization method of video playback power consumption, including:
Obtain the first resolution of a two field picture in video to be played and the display resolution of display terminal;
If the first resolution is less than the display resolution of the display terminal, by each picture of video to be played
The pixel value of vegetarian refreshments increases predetermined threshold value, and the first of video to be played is extended by the way of row filling black pixel point using interlacing
Played on the display terminal after resolution ratio.
Another technical scheme for using of the present invention for:
A kind of optimization system of video playback power consumption, including acquisition module and expansion module;
The acquisition module, the display of first resolution and display terminal for obtaining a two field picture in video to be played
Resolution ratio;
The expansion module, if the display resolution for the first resolution less than the display terminal, will treat
The pixel value for playing each pixel of video increases predetermined threshold value, is expanded by the way of row filling black pixel point using interlacing
Played on the display terminal after opening up the first resolution of video to be played.
The beneficial effects of the present invention are:
The optimization method and system of the video playback power consumption that the present invention is provided, it is adaptable to when first point of video to be played
When resolution is less than the display resolution of display terminal, need to treat when as low-resolution video is played on high-resolution equipment
The first resolution for playing video is extended, replacing prior art by way of row filling black pixel point using interlacing
Middle difference arithmetic mode extends the first resolution of video to be played, realizes reducing the low-resolution video in high-resolution equipment
The power consumption of upper broadcasting, and realize highlighting by the way that the pixel value of each pixel of video to be played is increased into predetermined threshold value
Effect, and then compensate for the image quality that black pixel point brings and lose, it is ensured that close to original image quality, realization connects ensureing image quality image quality
The power consumption that low-resolution video is played is reduced in the case of nearly original image quality.The present invention provide video playback power consumption it is excellent
Change method and system and overcome the technology prejudice that can influence image quality using black pixel point in the prior art.
Brief description of the drawings
The step of Fig. 1 is the optimization method of video playback power consumption of the invention flow chart;
Fig. 2 be embodiments of the present invention in first resolution for 3x2 schematic diagram;
Fig. 3 is that the display resolution of display terminal in embodiments of the present invention is the schematic diagram of 6x4;
Fig. 4 is the schematic diagram of embodiments of the present invention;
Fig. 5 is the structured flowchart of the optimization system of video playback power consumption of the invention;
Label declaration:
1st, acquisition module;2nd, expansion module.
Specific embodiment
It is to describe technology contents of the invention, the objects and the effects in detail, below in conjunction with implementation method and coordinates attached
Figure is explained.
The design of most critical of the present invention is:Replaced in the prior art by the way of row filling black pixel point using interlacing
Difference arithmetic mode extends the resolution ratio of video to be played, and by by the pixel of each pixel of video to be played
Value increases predetermined threshold value, realizes that image quality close to the consumption for reducing low-resolution video broadcasting in the case of original image quality can be being ensured
Electricity.
Refer to Fig. 1, a kind of optimization method of video playback power consumption that the present invention is provided, including:
Obtain the first resolution of a two field picture in video to be played and the display resolution of display terminal;
If the first resolution is less than the display resolution of the display terminal, by each picture of video to be played
The pixel value of vegetarian refreshments increases predetermined threshold value, and the first of video to be played is extended by the way of row filling black pixel point using interlacing
Played on the display terminal after resolution ratio.
Knowable to foregoing description, the beneficial effects of the present invention are:
The optimization method of the video playback power consumption that the present invention is provided, it is adaptable to when the first resolution of video to be played is small
When the display resolution of display terminal, need to be regarded to be played when as low-resolution video is played on high-resolution equipment
The first resolution of frequency is extended, replacing difference in the prior art by way of row filling black pixel point using interlacing
Algorithmic approach extends the first resolution of video to be played, realizes that reduce low-resolution video plays on high-resolution equipment
Power consumption, and realize highlighting effect by the way that the pixel value of each pixel of video to be played is increased into predetermined threshold value,
And then compensate for the image quality loss that black pixel point brings, it is ensured that image quality is realized ensureing image quality close to original close to original image quality
The power consumption that low-resolution video is played is reduced in the case of having image quality.The optimization side of the video playback power consumption that the present invention is provided
Method and system overcome the technology prejudice that can influence image quality using black pixel point in the prior art.
Further, also include:The predetermined threshold value is 1 to 4.The optimal value of the predetermined threshold value is 2.
Seen from the above description, the pixel value to each pixel of video to be played rises in value, as each picture
The RGB unifications of vegetarian refreshments plus predetermined threshold value, in a specific embodiment, (R, G, B)=(1,2,3) of a certain pixel A for example increases
Value 2, (R, G, B)=(3,4,5) of the pixel A after increment;Wherein selected threshold is relevant with the size of extension ratio value, if expanding
Exhibition ratio value is bigger, then threshold value value is bigger;If extension ratio value is smaller, then threshold value value is smaller;It should be noted that:
Video to be played before being not filled by black pixel point can be described as former video to be played herein;It is above-mentioned to former video to be played
In the value-added effect of pixel of each pixel be the brightness that lift former video to be played, if not highlighted, filling black
The image quality of whole video can be influenceed after pixel, although highlighting can be lifted power consumption, but replace existing using black pixel point
Have on the basis of the mode using color pixel cell, be integrally still able to reduce power consumption.Therefore aforesaid operations are enabled to
Ensure image quality close to the power consumption that low-resolution video broadcasting is reduced in the case of original image quality.
Further, if the first resolution be equal to display terminal display resolution a quarter, using every
The first resolution of video to be played is extended to a line the display point of display terminal every the mode of a row filling black pixel point
Resolution.
Seen from the above description, in the above-described embodiment, first resolution is 960 × 540, the display point of display terminal
Resolution is 1920 × 1080, and as described first resolution is equal to a quarter of the display resolution of display terminal;For example show
Show that the display resolution of terminal is 6 × 4, as shown in Fig. 2 first resolution is 3 × 2, filled out every a row every a line by above-mentioned
The first resolution of video to be played is extended to the mode for filling black pixel point the display resolution of display terminal, is obtained such as figure
Shown in 3, without the black pixel point of the box indicating filling of small circle, the resolution ratio for obtaining is 6 × 4, you can in display
Display all over the screen in terminal.
Further, if the first resolution obtains first less than a quarter of the display resolution of display terminal
The first level pixel value and the first vertical pixel value of resolution ratio, obtain the of the display resolution of a quarter of display terminal
Two horizontal pixel values and the second vertical pixel value;
The second horizontal pixel value is calculated divided by first level pixel value, horizontal proportion value is obtained;
The second vertical pixel value is calculated divided by the first vertical pixel value, vertical scale value is obtained;
The size of comparison level ratio value and vertical scale value;
If horizontal proportion value is more than vertical scale value, difference arithmetic is used to be differentiated with vertical scale value scaling first
Rate, obtains second resolution;
Using the second resolution is extended by the way of a row filling black pixel point every a line, the 3rd resolution ratio is obtained
Video to be played;
The video to be played of the 3rd resolution ratio is played between two parties in the viewing area of the display terminal;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to be differentiated with horizontal proportion value scaling first
Rate, obtains the 4th resolution ratio;
Using the 4th resolution ratio is extended by the way of a row filling black pixel point every a line, the 5th resolution ratio is obtained
Video to be played;
The video to be played of the 5th resolution ratio is played between two parties on the display terminal.
Seen from the above description, in the above-described embodiment, solution be video to be played first resolution it is wide with
When ratio high and the wide and ratio high of the display resolution of display terminal are different, as entered using same ratio coefficient
During row extension when occurring wide all over the screen and height is not all over the screen, or when high all over the screen and width is not all over the screen, if when wide all over the screen, being inserted to height
Value-based algorithm filler pixels point, as image longitudinal stretching;If when high all over the screen, interpolation algorithm filler pixels point is carried out to width, as
Image cross directional stretch, such as personage becomes slender or short and stout in causing image, therefore either longitudinal stretching or transverse direction
Stretching can all reduce image quality.
And if above-mentioned implementation method is a quarter of the first resolution less than the display resolution of display terminal
(i.e. the display resolution of display terminal be 1920 × 1080, first resolution be less than 960 × 540, such as 900 × 520) when, first adopt
Existing difference arithmetic is used, then is extended by the way of row filling black pixel point using the interlacing provided in the present invention;
Wherein first it is specially using existing difference arithmetic:
Calculate vertical scale value (960/900=1.067) and horizontal proportion value (540/520=1.038), as level ratio
Example value is less than vertical scale value;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to be differentiated with horizontal proportion value scaling first
Rate, obtains the 4th resolution ratio;4th resolution ratio is (900 × 540/520) × (520 × 540/520)=934 × 540;
Using the 4th resolution ratio is extended by the way of a row filling black pixel point every a line, the 5th resolution ratio is obtained
Video to be played;The 4th definition pixel point is as expanded to 1920 × 1080, due to keep ratio wide and between height
Example, so 934 × 540 expand to 1868 × 1080;
In the situation of the constant rate and height between wide for keeping former video to be played, due to that all over the screen cannot play, therefore will
Former video to be played is moved on the display terminal to be played between two parties, and concrete operations are as follows:
When situation described above is high all over the screen and width is not all over the screen, it is specific as shown in figure 4, as in display terminal display screen
Plane right-angle coordinate is set up in viewing area, and upper left corner of viewing area is (0,0), above-mentioned a height of vertical seat defined in it
Mark, a width of abscissa, therefore be to start filling original from the pixel position of viewing area (26,0) from (1920-1868)/2=26
(0,0) pixel of video to be played, (27,0) (27,1) (26,1) this 3 are filled with black pixel point, viewing area (28,
0) (1,0) pixel of former video to be played is filled in pixel position, by that analogy.Wherein viewing area 0 row~25 row and
The row of 1893 row~1919 are filled with black pixel point, you can the video to be played after extension is broadcast between two parties on the display terminal
Put.
Refer to Fig. 5, a kind of optimization system of video playback power consumption that the present invention is also provided, including the He of acquisition module 1
Expansion module 2;
The acquisition module 1, for obtaining the first resolution of a two field picture in video to be played and showing for display terminal
Show resolution ratio;
The expansion module 2, if the display resolution for the first resolution less than the display terminal, will treat
The pixel value for playing each pixel of video increases predetermined threshold value, is expanded by the way of row filling black pixel point using interlacing
Played on the display terminal after opening up the first resolution of video to be played.
Knowable to foregoing description, the beneficial effects of the present invention are:
The optimization system of the video playback power consumption that the present invention is provided, it is adaptable to when the first resolution of video to be played is small
When the display resolution of display terminal, need to be regarded to be played when as low-resolution video is played on high-resolution equipment
The first resolution of frequency is extended, replacing difference in the prior art by way of row filling black pixel point using interlacing
Algorithmic approach extends the first resolution of video to be played, realizes that reduce low-resolution video plays on high-resolution equipment
Power consumption, and realize highlighting effect by the way that the pixel value of each pixel of video to be played is increased into predetermined threshold value,
And then compensate for the image quality loss that black pixel point brings, it is ensured that image quality is realized ensureing image quality close to original close to original image quality
The power consumption that low-resolution video is played is reduced in the case of having image quality.The optimization side of the video playback power consumption that the present invention is provided
Method and system overcome the technology prejudice that can influence image quality using black pixel point in the prior art.
Further, the predetermined threshold value is 1 to 4.The predetermined threshold value is 2.
Seen from the above description, the pixel value to each pixel of video to be played rises in value, as each picture
The RGB unifications of vegetarian refreshments plus predetermined threshold value, in a specific embodiment, (R, G, B)=(1,2,3) of a certain pixel A for example increases
Value 2, (R, G, B)=(3,4,5) of the pixel A after increment;Wherein selected threshold is relevant with the size of the value of above-mentioned power side,
If the value of power side is bigger, then threshold value value is bigger;If the value of power side is smaller, then threshold value value is smaller;Need explanation
Be:Video to be played before being not filled by black pixel point can be described as former video to be played herein;It is above-mentioned that original is waited to broadcast
The value-added effect of pixel for putting each pixel in video is the brightness for lifting former video to be played, if not highlighted, is being filled out
Filling after black pixel point can influence the image quality of whole video, although highlighting can be lifted power consumption, but use black pixel point
On the basis of mode instead of existing use color pixel cell, integrally it is still able to reduce power consumption.Therefore aforesaid operations can
So that ensureing image quality close to the power consumption that low-resolution video broadcasting is reduced in the case of original image quality.
Further, the expansion module, if being additionally operable to the first resolution equal to the display resolution of display terminal
A quarter, then extremely show the resolution extension of video to be played by the way of a row filling black pixel point using every a line
The display resolution of terminal.
Seen from the above description, if the first resolution is equal to the power of a quarter of the display resolution of display terminal
Power, power side is positive integer;In the above-described embodiment, first resolution is 960 × 540, and the display of display terminal is differentiated
Rate is 1920 × 1080, and as described first resolution is equal to a quarter of the display resolution of display terminal, wherein power
Side is 1;The display resolution of such as display terminal be 6 × 4, as shown in Fig. 2 first resolution be 3 × 2, by it is above-mentioned every
A line fills the mode of black pixel point by the display resolution of the resolution extension of video to be played to display terminal every a row,
Obtain as shown in figure 3, the black pixel point of the box indicating filling without small circle, the resolution ratio for obtaining is 6 × 4, i.e.,
Can the display all over the screen on display terminal.
Further, also including playing module;
The playing module includes acquiring unit, the first computing unit, the second computing unit, comparing unit, the first scaling
Unit, the first expanding element, the first broadcast unit, the second unit for scaling, the second expanding element and the second broadcast unit;
The acquiring unit, if a quarter for the first resolution less than the display resolution of display terminal,
The first level pixel value and the first vertical pixel value of first resolution are obtained, the display point of a quarter of display terminal is obtained
Second horizontal pixel value of resolution and the second vertical pixel value;
First computing unit, for calculating the second horizontal pixel value divided by first level pixel value, obtains level ratio
Example value;
Second computing unit, for calculating the second vertical pixel value divided by the first vertical pixel value, is vertically compared
Example value;
The comparing unit, for comparison level ratio value and the size of vertical scale value;
First unit for scaling, if being more than vertical scale value for horizontal proportion value, uses difference arithmetic with described
Vertical scale value scales first resolution, obtains second resolution;
First expanding element, for extending described second by the way of filling black pixel point is arranged every one every a line
Resolution ratio, obtains the video to be played of the 3rd resolution ratio;
First broadcast unit, for the 3rd resolution ratio video to be played in the viewing area of the display terminal
Play between two parties in domain;
Second unit for scaling, if being less than vertical scale value for horizontal proportion value, uses difference arithmetic with described
Horizontal proportion value scales first resolution, obtains the 4th resolution ratio;
Second expanding element, for extending the described 4th by the way of filling black pixel point is arranged every one every a line
Resolution ratio, obtains the video to be played of the 5th resolution ratio;
Second broadcast unit, the video to be played for the 5th resolution ratio is broadcast between two parties on the display terminal
Put.
Seen from the above description, in the above-described embodiment, solution be video to be played resolution ratio it is wide with it is high
When the wide and ratio high of the display resolution of ratio and display terminal is different, as expanded using same ratio coefficient
When occurring wide all over the screen during exhibition and height is not all over the screen, or when high all over the screen and width is not all over the screen, if when wide all over the screen, height is entered row interpolation calculation
Method filler pixels point, as image longitudinal stretching;If when high all over the screen, interpolation algorithm filler pixels point, as image are carried out to width
Cross directional stretch, such as personage becomes slender or short and stout in causing image, therefore either longitudinal stretching or cross directional stretch
Image quality will be reduced.
And if above-mentioned implementation method is a quarter of the first resolution less than the display resolution of display terminal
(i.e. the display resolution of display terminal be 1920 × 1080, first resolution be less than 960 × 540, such as 900 × 520) when, first adopt
Existing difference arithmetic is used, then is extended by the way of row filling black pixel point using the interlacing provided in the present invention;
Wherein first it is specially using existing difference arithmetic:
Calculate vertical scale value (960/900=1.067) and horizontal proportion value (540/520=1.038), as level ratio
Example value is less than vertical scale value;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to be differentiated with horizontal proportion value scaling first
Rate, obtains the 4th resolution ratio;4th resolution ratio is (900 × 540/520) × (520 × 540/520)=934 × 540;
Using the 4th resolution ratio is extended by the way of a row filling black pixel point every a line, the 5th resolution ratio is obtained
Video to be played;The 4th definition pixel point is as expanded to 1920 × 1080, due to keep ratio wide and between height
Example, so 934 × 540 expand to 1868 × 1080;
In the situation of the constant rate and height between wide for keeping former video to be played, due to that all over the screen cannot play, therefore will
Former video to be played is moved on the display terminal and is shown centered on, and concrete operations are as follows:
When situation described above is high all over the screen and width is not all over the screen, it is specific as shown in figure 4, as in display terminal display screen
Plane right-angle coordinate is set up in viewing area, and upper left corner of viewing area is (0,0), above-mentioned a height of vertical seat defined in it
Mark, a width of abscissa, therefore be to start filling original from the pixel position of viewing area (26,0) from (1920-1868)/2=26
(0,0) pixel of video to be played, (27,0) (27,1) (26,1) this 3 are filled with black pixel point, viewing area (28,
0) (1,0) pixel of former video to be played is filled in pixel position, by that analogy.Wherein viewing area 0 row~25 row and
The row of 1893 row~1919 are filled with black pixel point, you can the video to be played after extension is shown between two parties on the display terminal
Show.
Embodiments of the invention one are:
The whole process of the optimization method of video playback power consumption of the invention is as follows:
By obtaining the resolution ratio of former video to be played and the resolution ratio of display terminal and comparing, if former video to be played
Resolution ratio of the resolution ratio less than a quarter of display terminal, then first by former each two field picture of video to be played by existing
Difference arithmetic be converted to mobile phone a quarter or four index multiple point one resolution ratio, and keep wide high proportion.Wherein
The display terminal can be smart mobile phone.
Then, by former Video Expansion to be played to display terminal resolution ratio, the method for extension be by each pixel it is left,
Under, 3 pixels of lower-left are filled with black pixel point respectively.
Finally the rgb value unification of the color of each pixel of former video to be played Jia 2, improve its brightness value, with
The brightness of supplement surrounding black loss.
For example:One display terminal resolution ratio is 1920 × 1080, and former video resolution to be played is less than 960 × 540, than
In this way 900 × 520, vertical scale value (960/900=1.067) and horizontal proportion value (540/520=1.038) are calculated, as
Horizontal proportion value is less than vertical scale value, obtains vertically and horizontally medium and small ratio and is changed, then the ratio after changing is
(900*540/520) × (520*540/520)=934 × 540, then first pass through difference arithmetic, by the resolution of former video to be played
Rate is converted to 934 × 540.
Using the 4th resolution ratio is extended by the way of a row filling black pixel point every a line, the 5th resolution ratio is obtained
Video to be played;The 4th definition pixel point is as expanded to 1920 × 1080, due to keep ratio wide and between height
Example, so 934 × 540 expand to 1868 × 1080;
In the situation of the constant rate and height between wide for keeping former video to be played, due to that all over the screen cannot play, therefore will
Former video to be played is moved on the display terminal and is shown centered on, and concrete operations are as follows:
When situation described above is high all over the screen and width is not all over the screen, it is specific as shown in figure 4, as in display terminal display screen
Plane right-angle coordinate is set up in viewing area, and upper left corner of viewing area is (0,0), above-mentioned a height of vertical seat defined in it
Mark, a width of abscissa, therefore be to start filling original from the pixel position of viewing area (0,26) from (1920-1868)/2=26
(0,0) pixel of video to be played, (0,27) (1,27) (1,26) this 3 is filled with black pixel point, viewing area (0,
28) (0,1) pixel of former video to be played is filled in pixel position, by that analogy.Wherein viewing area 0 row~25 row and
The row of 1893 row~1919 are filled with black pixel point, you can the video to be played after extension is shown between two parties on the display terminal
Show.
Finally, the rgb value unification of the pixel of the video former to be played of (0,26) (0,28) Jia 2, such as former (R, G, B)
=(1,2,3) is (3,4,5) after then changing.The value-added effect of the above-mentioned pixel to each pixel in former video to be played is to carry
The brightness of former video to be played is risen, if not highlighted, the image quality of whole video can be influenceed after black pixel point is filled, although
Highlighting can be lifted power consumption, but on the basis of replacing by the way of existing use color pixel cell using black pixel point, it is whole
Body is still able to reduce power consumption.Therefore aforesaid operations enable to ensureing that image quality is low close to reducing in the case of original image quality
The power consumption that resolution video is played.
In sum, the optimization method and system of a kind of video playback power consumption that the present invention is provided, it is adaptable to when waiting to broadcast
When the first resolution for putting video is less than the display resolution of display terminal, as low-resolution video is on high-resolution equipment
Need to be extended the first resolution of video to be played during broadcasting, by the side for filling black pixel point every row using interlacing
Formula extends the first resolution of video to be played instead of difference arithmetic mode in the prior art, realizes reducing low-resolution video
The power consumption played on high-resolution equipment, and increase pre- by by the pixel value of each pixel of video to be played
If threshold value is realized highlighting effect, and then compensate for the image quality loss that black pixel point brings, it is ensured that image quality is real close to original image quality
Ensure image quality close to the power consumption that low-resolution video broadcasting is reduced in the case of original image quality now.The video that the present invention is provided
The optimization method and system for playing power consumption overcome the technology prejudice that can influence image quality using black pixel point in the prior art.
Embodiments of the invention are the foregoing is only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
The equivalents that bright specification and accompanying drawing content are made, or the technical field of correlation is directly or indirectly used in, similarly include
In scope of patent protection of the invention.
Claims (10)
1. a kind of optimization method of video playback power consumption, it is characterised in that including:
Obtain the first resolution of a two field picture in video to be played and the display resolution of display terminal;
If the first resolution is less than the display resolution of the display terminal, by each pixel of video to be played
Pixel value increase predetermined threshold value, using interlacing every row filling black pixel point by the way of extend video to be played first resolution
Played on the display terminal after rate.
2. the optimization method of video playback power consumption according to claim 1, it is characterised in that the predetermined threshold value is 1
To 4.
3. the optimization method of video playback power consumption according to claim 2, it is characterised in that the predetermined threshold value is 2.
4. the optimization method of video playback power consumption according to claim 1, it is characterised in that if the first resolution
Equal to a quarter of the display resolution of display terminal, then will be treated by the way of a row filling black pixel point using every a line
The first resolution for playing video extends to the display resolution of display terminal.
5. the optimization method of video playback power consumption according to claim 1, it is characterised in that if the first resolution
Less than a quarter of the display resolution of display terminal, the first level pixel value and the first vertical picture of first resolution are obtained
Element value, obtains the second horizontal pixel value and the second vertical pixel value of the display resolution of a quarter of display terminal;
The second horizontal pixel value is calculated divided by first level pixel value, horizontal proportion value is obtained;
The second vertical pixel value is calculated divided by the first vertical pixel value, vertical scale value is obtained;
The size of comparison level ratio value and vertical scale value;
If horizontal proportion value is more than vertical scale value, difference arithmetic is used to scale first resolution with the vertical scale value,
Obtain second resolution;
Using the second resolution is extended by the way of a row filling black pixel point every a line, treating for the 3rd resolution ratio is obtained
Play video;
The video to be played of the 3rd resolution ratio is played between two parties in the viewing area of the display terminal;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to scale first resolution with the horizontal proportion value,
Obtain the 4th resolution ratio;
Using the 4th resolution ratio is extended by the way of a row filling black pixel point every a line, treating for the 5th resolution ratio is obtained
Play video;
The video to be played of the 5th resolution ratio is played between two parties on the display terminal.
6. a kind of optimization system of video playback power consumption, it is characterised in that including acquisition module and expansion module;
The acquisition module, differentiates for obtaining the display of first resolution and display terminal of a two field picture in video to be played
Rate;
The expansion module, if the display resolution for the first resolution less than the display terminal, will be to be played
The pixel value of each pixel of video increases predetermined threshold value, is extended by the way of row filling black pixel point using interlacing and treated
Played on the display terminal after playing the first resolution of video.
7. the optimization system of video playback power consumption according to claim 6, it is characterised in that the predetermined threshold value is 1
To 4.
8. the optimization system of video playback power consumption according to claim 7, it is characterised in that the predetermined threshold value is 2.
9. the optimization system of video playback power consumption according to claim 6, it is characterised in that the expansion module, also
If being equal to a quarter of the display resolution of display terminal for the first resolution, filled every a row using every a line
The first resolution of video to be played is extended to the mode of black pixel point the display resolution of display terminal.
10. the optimization system of video playback power consumption according to claim 6, it is characterised in that also including playing module;
The playing module include acquiring unit, the first computing unit, the second computing unit, comparing unit, the first unit for scaling,
First expanding element, the first broadcast unit, the second unit for scaling, the second expanding element and the second broadcast unit;
The acquiring unit, if a quarter for the first resolution less than the display resolution of display terminal, obtains
The first level pixel value and the first vertical pixel value of first resolution, obtain the display resolution of a quarter of display terminal
The second horizontal pixel value and the second vertical pixel value;
First computing unit, for calculating the second horizontal pixel value divided by first level pixel value, obtains horizontal proportion value;
Second computing unit, for calculating the second vertical pixel value divided by the first vertical pixel value, obtains vertical scale value;
The comparing unit, for comparison level ratio value and the size of vertical scale value;
First unit for scaling, if being more than vertical scale value for horizontal proportion value, uses difference arithmetic with described vertical
Ratio value scales first resolution, obtains second resolution;
First expanding element, differentiates for extending described second by the way of filling black pixel point is arranged every one every a line
Rate, obtains the video to be played of the 3rd resolution ratio;
First broadcast unit, the video to be played for the 3rd resolution ratio is occupied in the viewing area of the display terminal
Middle broadcasting;
Second unit for scaling, if being less than vertical scale value for horizontal proportion value, uses difference arithmetic with the level
Ratio value scales first resolution, obtains the 4th resolution ratio;
Second expanding element, for extending the 4th resolution by the way of filling black pixel point is arranged every one every a line
Rate, obtains the video to be played of the 5th resolution ratio;
Second broadcast unit, the video to be played for the 5th resolution ratio is played between two parties on the display terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611074638.5A CN106856573B (en) | 2016-11-29 | 2016-11-29 | A kind of optimization method and system of video playing power consumption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611074638.5A CN106856573B (en) | 2016-11-29 | 2016-11-29 | A kind of optimization method and system of video playing power consumption |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106856573A true CN106856573A (en) | 2017-06-16 |
CN106856573B CN106856573B (en) | 2019-07-26 |
Family
ID=59127148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611074638.5A Active CN106856573B (en) | 2016-11-29 | 2016-11-29 | A kind of optimization method and system of video playing power consumption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106856573B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116886880A (en) * | 2023-09-08 | 2023-10-13 | 中移(杭州)信息技术有限公司 | Method, device, equipment and computer program product for adjusting surveillance video |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7239428B2 (en) * | 2001-06-11 | 2007-07-03 | Solectronics, Llc | Method of super image resolution |
CN101662605A (en) * | 2009-09-17 | 2010-03-03 | 青岛海信电器股份有限公司 | Method and device for adjusting display scale of television |
CN102257558A (en) * | 2008-12-19 | 2011-11-23 | 株式会社半导体能源研究所 | Method for driving liquid crystal display device |
CN103310820A (en) * | 2012-03-14 | 2013-09-18 | 三星电子(中国)研发中心 | Method for optimizing multimedia player |
CN104683855A (en) * | 2014-12-29 | 2015-06-03 | 杰发科技(合肥)有限公司 | Line-by-line display terminal, video displaying method and image processing device |
CN105513546A (en) * | 2016-03-02 | 2016-04-20 | 京东方科技集团股份有限公司 | Backlight adjustment method and device and display device |
CN105681720A (en) * | 2016-03-18 | 2016-06-15 | 青岛海信电器股份有限公司 | Video playing processing method and device |
-
2016
- 2016-11-29 CN CN201611074638.5A patent/CN106856573B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7239428B2 (en) * | 2001-06-11 | 2007-07-03 | Solectronics, Llc | Method of super image resolution |
CN102257558A (en) * | 2008-12-19 | 2011-11-23 | 株式会社半导体能源研究所 | Method for driving liquid crystal display device |
CN101662605A (en) * | 2009-09-17 | 2010-03-03 | 青岛海信电器股份有限公司 | Method and device for adjusting display scale of television |
CN103310820A (en) * | 2012-03-14 | 2013-09-18 | 三星电子(中国)研发中心 | Method for optimizing multimedia player |
CN104683855A (en) * | 2014-12-29 | 2015-06-03 | 杰发科技(合肥)有限公司 | Line-by-line display terminal, video displaying method and image processing device |
CN105513546A (en) * | 2016-03-02 | 2016-04-20 | 京东方科技集团股份有限公司 | Backlight adjustment method and device and display device |
CN105681720A (en) * | 2016-03-18 | 2016-06-15 | 青岛海信电器股份有限公司 | Video playing processing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116886880A (en) * | 2023-09-08 | 2023-10-13 | 中移(杭州)信息技术有限公司 | Method, device, equipment and computer program product for adjusting surveillance video |
CN116886880B (en) * | 2023-09-08 | 2023-12-26 | 中移(杭州)信息技术有限公司 | Method, device, equipment and computer program product for adjusting surveillance video |
Also Published As
Publication number | Publication date |
---|---|
CN106856573B (en) | 2019-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9570043B2 (en) | Method for processing RGB data and system for the same | |
CN101409066B (en) | Systems and methods for selective handling of out-of-gamut color conversions | |
CN107067385B (en) | A kind of image enchancing method and device | |
CN205140493U (en) | Control display screen carries out device of screen switching anyhow | |
CN105354809B (en) | A kind of pre-distortion method and device based on output image location of pixels index | |
CN108287678B (en) | Image processing method, device, equipment and medium based on virtual reality | |
CN105850114A (en) | Method for inverse tone mapping of an image | |
CN106485720A (en) | Image processing method and device | |
CN102780889A (en) | Video image processing method, device and equipment | |
CN102945144B (en) | The method of window layout and device | |
KR20110020711A (en) | Gamut mapping which takes into account pixels in adjacent areas of a display unit | |
CN110996170A (en) | Video file playing method and related equipment | |
CN109637406A (en) | A kind of display methods of display device, display device and readable storage medium storing program for executing | |
CN104899629B (en) | A kind of image in 2 D code generation method based on RBF | |
CN102254544B (en) | Method for automatically adjusting video signal proportion and television using same | |
CN108665413A (en) | A kind of image adaptive amplification method, readable storage medium storing program for executing and terminal | |
CN114463207B (en) | Tone mapping method based on global dynamic range compression and local brightness estimation | |
CN106856573A (en) | The optimization method and system of a kind of video playback power consumption | |
CN103780864A (en) | Video conversation interface display method and apparatus | |
CN104240213A (en) | Display method and device | |
CN104268098B (en) | Caching system on a kind of piece for ultra high-definition video frame rate upconversion | |
CN105023250A (en) | FPGA-based real-time image self-adaptive enhancing system and method | |
CN116453470B (en) | Image display method, device, electronic equipment and computer readable storage medium | |
CN101795410A (en) | Texture compression and synthesis method with fine granularity and high compression rate | |
CN114862706B (en) | Tone mapping method for keeping gradient direction of image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |