CN106856573B - A kind of optimization method and system of video playing power consumption - Google Patents

A kind of optimization method and system of video playing power consumption Download PDF

Info

Publication number
CN106856573B
CN106856573B CN201611074638.5A CN201611074638A CN106856573B CN 106856573 B CN106856573 B CN 106856573B CN 201611074638 A CN201611074638 A CN 201611074638A CN 106856573 B CN106856573 B CN 106856573B
Authority
CN
China
Prior art keywords
resolution
video
played
value
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.)
Active
Application number
CN201611074638.5A
Other languages
Chinese (zh)
Other versions
CN106856573A (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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201611074638.5A priority Critical patent/CN106856573B/en
Publication of CN106856573A publication Critical patent/CN106856573A/en
Application granted granted Critical
Publication of CN106856573B publication Critical patent/CN106856573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast

Abstract

The present invention relates to optimization processing field more particularly to a kind of optimization methods and system of video playing power consumption.Wherein optimization method includes: to obtain the first resolution of a frame image and the display resolution of display terminal in video to be played;If first resolution is less than the display resolution of display terminal, the pixel value of each pixel of video to be played is increased into preset threshold, extends the first resolution of video to be played in such a way that column fill black pixel point using interlacing.Extend the first resolution of video to be played instead of difference arithmetic mode in the prior art every the mode of column filling black pixel point by using interlacing, it realizes and reduces the power consumption that low-resolution video plays on high-resolution equipment, and it is highlighted by the way that the pixel value of each pixel of video to be played is increased preset threshold realization, the loss of black pixel point bring image quality is made up, the power consumption of reduction video playing in the case where guaranteeing image quality close to original image quality.

Description

A kind of optimization method and system of video playing power consumption
Technical field
The present invention relates to optimization processing field more particularly to a kind of optimization methods and system of video playing power consumption.
Background technique
With the development of mobile communication and people's living standards continue to improve, the use of mobile phone especially smart phone is got over Come more universal.User can be used smart phone online and see video.The video of current many low resolution is enterprising in smart phone Row video playing requires to expand by difference arithmetic since the display resolution of smart phone and the resolution ratio of video are different Display resolution of the pixel by the increase resolution of original video extremely with smart phone is filled, however uses above method solution that can lead It causes smart phone that more electricity are lost, the optimization problem of video playing power consumption is solved there is presently no better method.
Summary of the invention
It a kind of is reduced in the case where guaranteeing image quality close to original image quality the technical problems to be solved by the present invention are: providing The optimization method and system for the power consumption that low-resolution video plays.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
A kind of optimization method of video playing power consumption, comprising:
Obtain the display resolution of the first resolution of a frame image and display terminal in video to be played;
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 preset threshold, extends the first of video to be played in such a way that column fill black pixel point using interlacing It is played on the display terminal after resolution ratio.
Another technical solution that the present invention uses are as follows:
A kind of optimization system of video playing power consumption, including obtain module and expansion module;
The acquisition module, for obtaining the display of the first resolution and display terminal of a frame image in video to be played Resolution ratio;
The expansion module will be to if being less than the display resolution of the display terminal for the first resolution The pixel value for playing each pixel of video increases preset threshold, is expanded in such a way that column fill black pixel point using interlacing It is 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 video playing power consumption provided by the invention, suitable for working as first point of video to be played When resolution is less than the display resolution of display terminal, as low-resolution video needs to treat when playing on high-resolution equipment The first resolution for playing video is extended, and the mode by using interlacing every column filling black pixel point replaces the prior art Middle difference arithmetic mode is realized to extend the first resolution of video to be played and reduces low-resolution video in high-resolution equipment The power consumption of upper broadcasting, and highlighted by the way that the pixel value of each pixel of video to be played is increased preset threshold realization Effect, and then compensate for the loss of black pixel point bring image quality guarantees image quality close to original image quality, and realization is guaranteeing that image quality connects The power consumption that low-resolution video plays is reduced in the case where nearly original image quality.Video playing power consumption provided by the invention it is excellent Change method and system and overcomes the technology prejudice that will affect image quality using black pixel point in the prior art.
Detailed description of the invention
Fig. 1 is the step flow chart of the optimization method of video playing power consumption of the invention;
Fig. 2 is the schematic diagram that first resolution is 3x2 in embodiments of the present invention;
Fig. 3 is the schematic diagram that the display resolution of display terminal in embodiments of the present invention is 6x4;
Fig. 4 is the schematic diagram of embodiments of the present invention;
Fig. 5 is the structural block diagram of the optimization system of video playing power consumption of the invention;
Label declaration:
1, module is obtained;2, expansion module.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
The most critical design of the present invention is: being replaced in the prior art in such a way that column fill 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 preset threshold, realizes the consumption that low-resolution video broadcasting can be reduced in the case where guaranteeing image quality close to original image quality Electricity.
Please refer to Fig. 1, a kind of optimization method of video playing power consumption provided by the invention, comprising:
Obtain the display resolution of the first resolution of a frame image and display terminal in video to be played;
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 preset threshold, extends the first of video to be played in such a way that column fill black pixel point using interlacing It is played on the display terminal after resolution ratio.
As can be seen from the above description, the beneficial effects of the present invention are:
The optimization method of video playing power consumption provided by the invention is small suitable for the first resolution when video to be played When the display resolution of display terminal, as low-resolution video is needed when playing on high-resolution equipment to view to be played The first resolution of frequency is extended, and the mode by using interlacing every column filling black pixel point replaces difference in the prior art Algorithmic approach realizes that reduce low-resolution video plays on high-resolution equipment to extend the first resolution of video to be played Power consumption, and highlight effect by the way that the pixel value of each pixel of video to be played is increased preset threshold realization, And then the loss of black pixel point bring image quality is compensated for, guarantee image quality close to original image quality, realizes and guaranteeing image quality close to original The power consumption that low-resolution video plays is reduced in the case where having image quality.The optimization side of video playing power consumption provided by the invention Method and system overcome the technology prejudice that will affect image quality using black pixel point in the prior art.
Further, further includes: the preset threshold is 1 to 4.The optimal value of the preset threshold is 2.
Seen from the above description, rise in value to the pixel value of each pixel of video to be played, as each picture The RGB of vegetarian refreshments uniformly adds preset threshold, in a specific embodiment, (R, G, B)=(1,2,3) of a certain pixel A, such as increase Value 2, (R, G, B)=(3,4,5) of the pixel A after increment;Wherein selected threshold is related with the extension size of ratio value, if expanding It is bigger to open up ratio value, then threshold value value is bigger;If it is smaller to extend ratio value, then threshold value value is smaller;It should be understood 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 to promote the brightness of former video to be played, if without highlighting, in filling black It will affect the image quality of entire video after pixel, although highlighting can be such that power consumption is promoted, replaced now using black pixel point On the basis of having the mode using color pixel cell, integrally it is still able to reduce power consumption.Therefore aforesaid operations enable to Guarantee image quality close to the power consumption for reducing low-resolution video broadcasting in the case where original image quality.
Further, if the first resolution be equal to display terminal display resolution a quarter, using every A line divides the display that the first resolution of video to be played extends to display terminal every the mode of a column 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 the as described first resolution is equal to a quarter of the display resolution of display terminal;Such as it is aobvious The display resolution for showing terminal is 6 × 4, as shown in Fig. 2, first resolution is 3 × 2, is filled out every a line every a column by above-mentioned The first resolution of video to be played is extended to the display resolution of display terminal by the mode for filling black pixel point, is obtained such as figure Shown in 3, the black pixel point of filling is indicated without the box of small circle, obtained resolution ratio is 6 × 4, can shown Display all over the screen in terminal.
Further, if the first resolution is less than a quarter of the display resolution of display terminal, first is obtained 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, obtains horizontal proportion value;
The second vertical pixel value is calculated divided by the first vertical pixel value, obtains vertical scale value;
The size of comparison level ratio value and vertical scale value;
If horizontal proportion value is greater than vertical scale value, difference arithmetic is used to differentiate with vertical scale value scaling first Rate obtains second resolution;
Using extending the second resolution by the way of a column filling black pixel point every a line, third resolution ratio is obtained Video to be played;
The video to be played of the third resolution ratio plays between two parties in the display area of the display terminal;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to differentiate with horizontal proportion value scaling first Rate obtains the 4th resolution ratio;
Using extending the 4th resolution ratio by the way of a column filling black pixel point every a line, the 5th resolution ratio is obtained Video to be played;
The video to be played of 5th resolution ratio plays 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 width with When the width of the display resolution of high ratio and display terminal is with high ratio difference, as using same ratio coefficient into It is not all over the screen to will appear width Shi Ergao all over the screen when row extension, or high Shi Erkuan all over the screen not all over the screen, if width is all over the screen, height is carried out slotting Value-based algorithm filler pixels point, as image longitudinal stretching;If when high all over the screen, carrying out interpolation algorithm filler pixels point to width, as Image cross directional stretch, such as personage can be made to become slender perhaps short and stout therefore either longitudinal stretching or transverse direction in image Stretching can all reduce image quality.
And if above-mentioned embodiment is a quarter for the display resolution that the first resolution is less than display terminal When (i.e. the display resolution of display terminal is 1920 × 1080, and first resolution is lower than 960 × 540, such as 900 × 520), first adopt It is extended in such a way that column fill black pixel point with existing difference arithmetic, then using interlacing provided in the present invention;
Wherein first use existing difference arithmetic specifically:
Calculate vertical scale value (960/900=1.067) and horizontal proportion value (540/520=1.038), as horizontal ratio Example value is less than vertical scale value;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to differentiate 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 extending the 4th resolution ratio by the way of a column 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 the wide ratio between height Example, so 934 × 540 expand to 1868 × 1080;
The case where constant rate between the width and height for keeping former video to be played, due to that all over the screen can not 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:
If above-mentioned situation is high Shi Erkuan all over the screen not all over the screen, specifically as shown in figure 4, as in display terminal display screen Plane right-angle coordinate is established in display area, wherein the upper left corner for defining display area is (0,0), above-mentioned a height of vertical seat Mark, width is abscissa, therefore starts filling original from the pixel position of display area (26,0) from (1920-1868)/2=26 (0,0) pixel of video to be played fills (27,0) (27,1) (26,1) this 3 with black pixel point, display area (28, 0) (1,0) pixel of the former video to be played of pixel position filling, and so on.Wherein display area 0 column~25 column and ~1919 column of 1893 column are filled with black pixel point, and the video to be played after can making extension is broadcast between two parties on the display terminal It puts.
Referring to Fig. 5, the present invention also provides a kind of video playing power consumption optimization system, including obtain 1 He of module Expansion module 2;
The acquisition module 1, for obtaining the aobvious of the first resolution of a frame image and display terminal in video to be played Show resolution ratio;
The expansion module 2 will be to if being less than the display resolution of the display terminal for the first resolution The pixel value for playing each pixel of video increases preset threshold, is expanded in such a way that column fill black pixel point using interlacing It is played on the display terminal after opening up the first resolution of video to be played.
As can be seen from the above description, the beneficial effects of the present invention are:
The optimization system of video playing power consumption provided by the invention is small suitable for the first resolution when video to be played When the display resolution of display terminal, as low-resolution video is needed when playing on high-resolution equipment to view to be played The first resolution of frequency is extended, and the mode by using interlacing every column filling black pixel point replaces difference in the prior art Algorithmic approach realizes that reduce low-resolution video plays on high-resolution equipment to extend the first resolution of video to be played Power consumption, and highlight effect by the way that the pixel value of each pixel of video to be played is increased preset threshold realization, And then the loss of black pixel point bring image quality is compensated for, guarantee image quality close to original image quality, realizes and guaranteeing image quality close to original The power consumption that low-resolution video plays is reduced in the case where having image quality.The optimization side of video playing power consumption provided by the invention Method and system overcome the technology prejudice that will affect image quality using black pixel point in the prior art.
Further, the preset threshold is 1 to 4.The preset threshold is 2.
Seen from the above description, rise in value to the pixel value of each pixel of video to be played, as each picture The RGB of vegetarian refreshments uniformly adds preset threshold, in a specific embodiment, (R, G, B)=(1,2,3) of a certain pixel A, such as increase Value 2, (R, G, B)=(3,4,5) of the pixel A after increment;Wherein selected threshold is related 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;It needs to illustrate : the 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 original wait broadcast The value-added effect of pixel for putting each pixel in video is to promote the brightness of former video to be played, if filling out without highlighting It will affect the image quality of entire video after filling black pixel point, although highlighting can be such that power consumption is promoted, using black pixel point On the basis of the existing mode using color pixel cell, integrally it is still able to reduce power consumption.Therefore aforesaid operations can So that reducing the power consumption of low-resolution video broadcasting in the case where guaranteeing image quality close to original image quality.
Further, the expansion module, if being also used to the display resolution of the first resolution equal to display terminal A quarter then extremely shows the resolution extension of video to be played by the way of a column 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 are 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 the as described first resolution is equal to a quarter of the display resolution of display terminal, wherein power Side is 1;Such as the display resolution of display terminal be 6 × 4, as shown in Fig. 2, first resolution be 3 × 2, by it is above-mentioned every A line every a column filling black pixel point mode by the display resolution of the resolution extension of video to be played to display terminal, It obtains as shown in figure 3, indicating the black pixel point of filling without the box of small circle, obtained resolution ratio is 6 × 4, i.e., It can the display all over the screen on display terminal.
It further, further include 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 being less than a quarter of the display resolution of display terminal for the first resolution, The first level pixel value and the first vertical pixel value for obtaining first resolution obtain the display point of a quarter of display terminal Second horizontal pixel value of resolution and the second vertical pixel value;
First computing unit obtains horizontal ratio for calculating the second horizontal pixel value divided by first level pixel value Example value;
Second computing unit is vertically compared for calculating the second vertical pixel value divided by the first vertical pixel value Example value;
The comparing unit, the size for comparison level ratio value and vertical scale value;
First unit for scaling uses difference arithmetic with described if being greater than vertical scale value for horizontal proportion value Vertical scale value scales first resolution, obtains second resolution;
First expanding element, for using every a line every one column filling black pixel point by the way of extend described second Resolution ratio obtains the video to be played of third resolution ratio;
First broadcast unit, the video to be played for the third resolution ratio is in the viewing area of the display terminal Domain plays between two parties;
Second unit for scaling uses difference arithmetic with described if being less than vertical scale value for horizontal proportion value Horizontal proportion value scales first resolution, obtains the 4th resolution ratio;
Second expanding element, for using every a line every one column filling black pixel point by the way of extend the described 4th 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 are broadcast between two parties on the display terminal It puts.
Seen from the above description, in the above-described embodiment, solution be video to be played resolution ratio width with it is high When the width of the display resolution of ratio and display terminal is with high ratio difference, as expanded using same ratio coefficient It is not all over the screen to will appear width Shi Ergao all over the screen when exhibition, or high Shi Erkuan all over the screen not all over the screen carries out interpolation calculation to height if width is all over the screen Method filler pixels point, as image longitudinal stretching;If when high all over the screen, carrying out interpolation algorithm filler pixels point, as image to width Cross directional stretch, such as personage can be made to become slender perhaps short and stout therefore either longitudinal stretching or cross directional stretch in image Image quality will be reduced.
And if above-mentioned embodiment is a quarter for the display resolution that the first resolution is less than display terminal When (i.e. the display resolution of display terminal is 1920 × 1080, and first resolution is lower than 960 × 540, such as 900 × 520), first adopt It is extended in such a way that column fill black pixel point with existing difference arithmetic, then using interlacing provided in the present invention;
Wherein first use existing difference arithmetic specifically:
Calculate vertical scale value (960/900=1.067) and horizontal proportion value (540/520=1.038), as horizontal ratio Example value is less than vertical scale value;
If horizontal proportion value is less than vertical scale value, difference arithmetic is used to differentiate 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 extending the 4th resolution ratio by the way of a column 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 the wide ratio between height Example, so 934 × 540 expand to 1868 × 1080;
The case where constant rate between the width and height for keeping former video to be played, due to that all over the screen can not play, therefore will Former video to be played, which is moved on the display terminal, to be shown centered on, and concrete operations are as follows:
If above-mentioned situation is high Shi Erkuan all over the screen not all over the screen, specifically as shown in figure 4, as in display terminal display screen Plane right-angle coordinate is established in display area, wherein the upper left corner for defining display area is (0,0), above-mentioned a height of vertical seat Mark, width is abscissa, therefore starts filling original from the pixel position of display area (26,0) from (1920-1868)/2=26 (0,0) pixel of video to be played fills (27,0) (27,1) (26,1) this 3 with black pixel point, display area (28, 0) (1,0) pixel of the former video to be played of pixel position filling, and so on.Wherein display area 0 column~25 column and ~1919 column of 1893 column are filled with black pixel point, and the video to be played after can making extension is shown between two parties on the display terminal Show.
The embodiment of the present invention one are as follows:
The whole process of the optimization method of video playing power consumption of the invention is as follows:
By obtain the resolution ratio of former video to be played and the resolution ratio of display terminal and compared with, if former video to be played Resolution ratio lower than display terminal a quarter resolution ratio, then first former each frame image of video to be played is passed through 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 phone.
Then, former Video Expansion to be played is arrived into display terminal resolution ratio, the method for extension be by each pixel left side, Under, 3 pixels of lower-left are filled respectively with black pixel point.
The finally rgb value unification by the color of each pixel of former video to be played plus 2, improves its brightness value, with Supplement the brightness of surrounding black loss.
Such as: a display terminal resolution ratio is 1920 × 1080, and former video resolution to be played is lower 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 converted, then the ratio after converting 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 extending the 4th resolution ratio by the way of a column 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 the wide ratio between height Example, so 934 × 540 expand to 1868 × 1080;
The case where constant rate between the width and height for keeping former video to be played, due to that all over the screen can not play, therefore will Former video to be played, which is moved on the display terminal, to be shown centered on, and concrete operations are as follows:
If above-mentioned situation is high Shi Erkuan all over the screen not all over the screen, specifically as shown in figure 4, as in display terminal display screen Plane right-angle coordinate is established in display area, wherein the upper left corner for defining display area is (0,0), above-mentioned a height of vertical seat Mark, width is abscissa, therefore starts filling original from the pixel position of display area (0,26) from (1920-1868)/2=26 (0,0) pixel of video to be played fills (0,27) (1,27) (1,26) this 3 with black pixel point, display area (0, 28) (0,1) pixel of the former video to be played of pixel position filling, and so on.Wherein display area 0 column~25 column and ~1919 column of 1893 column are filled with black pixel point, and the video to be played after can making extension is shown between two parties on the display terminal Show.
Finally, by the rgb value unification plus 2 of the pixel of the original video to be played of (0,26) (0,28), such as it is former (R, G, B) =(1,2,3) is (3,4,5) after then converting.The above-mentioned value-added effect of pixel to each pixel in former video to be played is to mention The brightness for rising former video to be played, if will affect the image quality of entire video after filling black pixel point without highlighting, although Highlighting can be such that power consumption is promoted, but using black pixel point replace it is existing using color pixel cell by the way of on the basis of, it is whole Body is still able to reduce power consumption.Therefore aforesaid operations enable to reduce in the case where guaranteeing image quality close to original image quality low The power consumption that resolution video plays.
In conclusion the optimization method and system of a kind of video playing power consumption provided by the invention, suitable for when wait broadcast Put video first resolution be less than display terminal display resolution when, as low-resolution video is on high-resolution equipment The first resolution to video to be played is needed to be extended when broadcasting, by using interlacing every the side of column filling black pixel point Formula extends the first resolution of video to be played instead of difference arithmetic mode in the prior art, realizes and reduces low-resolution video The power consumption played on high-resolution equipment, and it is pre- by increasing the pixel value of each pixel of video to be played If threshold value realization highlights effect, and then compensates for the loss of black pixel point bring image quality, guarantee image quality is real close to original image quality Guarantee image quality close to the power consumption for reducing low-resolution video broadcasting in the case where original image quality now.Video provided by the invention The optimization method and system for playing power consumption overcome the technology prejudice that will affect image quality using black pixel point in the prior art.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (8)

1. a kind of optimization method of video playing power consumption characterized by comprising
Obtain the display resolution of the first resolution of a frame image and display terminal in video to be played;
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 preset threshold, using interlacing every column fill black pixel point by the way of extend video to be played first differentiate It is played on the display terminal after rate;
If the first resolution is less than a quarter of the display resolution of display terminal, the first water of first resolution is obtained Flat pixel value and the first vertical pixel value, obtain the display resolution of a quarter of display terminal the second horizontal pixel value and Second vertical pixel value;
The second horizontal pixel value is calculated divided by first level pixel value, obtains horizontal proportion value;
The second vertical pixel value is calculated divided by the first vertical pixel value, obtains vertical scale value;
The size of comparison level ratio value and vertical scale value;
If horizontal proportion value is greater than vertical scale value, interpolation algorithm is used to scale first resolution with the vertical scale value, Obtain second resolution;
Using every a line every one column filling black pixel point by the way of extend the second resolution, obtain third resolution ratio to Play video;
The video to be played of the third resolution ratio plays between two parties in the display area of the display terminal;
If horizontal proportion value is less than vertical scale value, interpolation algorithm is used to scale first resolution with the horizontal proportion value, Obtain the 4th resolution ratio;
Using every a line every one column filling black pixel point by the way of extend the 4th resolution ratio, obtain the 5th resolution ratio to Play video;
The video to be played of 5th resolution ratio plays between two parties on the display terminal.
2. the optimization method of video playing power consumption according to claim 1, which is characterized in that the preset threshold is 1 To 4.
3. the optimization method of video playing power consumption according to claim 2, which is characterized in that the preset threshold is 2.
4. the optimization method of video playing power consumption according to claim 1, which is characterized in that if the first resolution Equal to a quarter of the display resolution of display terminal, then using will be to by the way of a column filling black pixel point every a line The first resolution for playing video extends to the display resolution of display terminal.
5. a kind of optimization system of video playing power consumption, which is characterized in that including obtaining module and expansion module;
The acquisition module, the display for obtaining the first resolution of a frame image and display terminal in video to be played are differentiated Rate;
The expansion module will be to be played if being less than the display resolution of the display terminal for the first resolution The pixel value of each pixel of video increases preset threshold, using interlacing extended in such a way that column fill black pixel point to It is played on the display terminal after playing the first resolution of video;
It further include 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 obtains if being less than a quarter of the display resolution of display terminal for the first resolution 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 obtains horizontal proportion value for calculating the second horizontal pixel value divided by first level pixel value;
Second computing unit obtains vertical scale value for calculating the second vertical pixel value divided by the first vertical pixel value;
The comparing unit, the size for comparison level ratio value and vertical scale value;
First unit for scaling uses interpolation algorithm with described vertical if being greater than vertical scale value for horizontal proportion value Ratio value scales first resolution, obtains second resolution;
First expanding element, for using every a line every one column filling black pixel point by the way of extend it is described second differentiate Rate obtains the video to be played of third resolution ratio;
First broadcast unit, the video to be played for the third resolution ratio are occupied in the display area of the display terminal Middle broadcasting;
Second unit for scaling uses interpolation algorithm with the level if being less than vertical scale value for horizontal proportion value Ratio value scales first resolution, obtains the 4th resolution ratio;
Second expanding element, for using every a line every one column filling black pixel point by the way of extend it is described 4th differentiate 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 play between two parties on the display terminal.
6. the optimization system of video playing power consumption according to claim 5, which is characterized in that the preset threshold is 1 To 4.
7. the optimization system of video playing power consumption according to claim 6, which is characterized in that the preset threshold is 2.
8. the optimization system of video playing power consumption according to claim 5, which is characterized in that the expansion module, also If being equal to a quarter of the display resolution of display terminal for the first resolution, filled using every a line every a column The first resolution of video to be played is extended to the display resolution of display terminal by the mode of black pixel point.
CN201611074638.5A 2016-11-29 2016-11-29 A kind of optimization method and system of video playing power consumption Active CN106856573B (en)

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 CN106856573A (en) 2017-06-16
CN106856573B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116886880B (en) * 2023-09-08 2023-12-26 中移(杭州)信息技术有限公司 Method, device, equipment and computer program product for adjusting surveillance video

Citations (7)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106856573A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US11190709B2 (en) Conversion between aspect ratios in camera
CN105354809B (en) A kind of pre-distortion method and device based on output image location of pixels index
CN109005407A (en) Encoding video pictures and decoded method, encoding device and decoding device
CN105850114A (en) Method for inverse tone mapping of an image
CN108287678B (en) Image processing method, device, equipment and medium based on virtual reality
CN106485720A (en) Image processing method and device
CN109345490B (en) Method and system for enhancing real-time video image quality of mobile playing terminal
CN110996170A (en) Video file playing method and related equipment
CN105138317A (en) Window display processing method and device applied to terminal equipment
US11069026B2 (en) Method for processing projection-based frame that includes projection faces packed in cube-based projection layout with padding
CN103369208A (en) Self-adaptive de-interlacing method and device
CN101729913A (en) Method and system for adjusting image saturation
CN102254544B (en) Method for automatically adjusting video signal proportion and television using same
KR20110041753A (en) Apparatus and method for inter view crosstalk reduction
CN106856573B (en) A kind of optimization method and system of video playing power consumption
WO2014008329A1 (en) System and method to enhance and process a digital image
CN102201126B (en) Image processing method, system and terminal
CN105023250B (en) A kind of realtime graphic system for adaptive enhancement and method based on FPGA
CN104240213A (en) Display method and device
CN104268098B (en) Caching system on a kind of piece for ultra high-definition video frame rate upconversion
WO2001074070A2 (en) Format conversion
CN114862706B (en) Tone mapping method for keeping gradient direction of image
WO2011121563A1 (en) Detecting saliency in an image
CN106940634B (en) Screen resolution switching method and system
CN113556545B (en) Image processing method and image processing circuit

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