CN105100895B - The matching process and device of video and screen resolution without video resolution information - Google Patents

The matching process and device of video and screen resolution without video resolution information Download PDF

Info

Publication number
CN105100895B
CN105100895B CN201410190673.8A CN201410190673A CN105100895B CN 105100895 B CN105100895 B CN 105100895B CN 201410190673 A CN201410190673 A CN 201410190673A CN 105100895 B CN105100895 B CN 105100895B
Authority
CN
China
Prior art keywords
resolution
video
screen
display screen
input signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410190673.8A
Other languages
Chinese (zh)
Other versions
CN105100895A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201410190673.8A priority Critical patent/CN105100895B/en
Publication of CN105100895A publication Critical patent/CN105100895A/en
Application granted granted Critical
Publication of CN105100895B publication Critical patent/CN105100895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of matching process and device of the video and screen resolution of no video resolution information, television set of the embodiment of the present invention utilizes the pixel number in the corresponding gamma tables of television display screen, calculates the screen resolution for obtaining the television display screen;The input signal that each signal source is inputted to the television set is received, corresponding video frame is extracted respectively from each input signal, obtains the corresponding video resolution of the video frame;According to the screen resolution and video resolution, obtain the diversity factor between each video resolution and screen resolution, using the minimum corresponding signal source of the video resolution of diversity factor as with the matched matched signal source of the television display screen;With the advantageous effect for automatically identifying the source device best with the television screen resolution match degree, the intelligent of recognition efficiency and television set is improved.

Description

The matching process and device of video and screen resolution without video resolution information
Technical field
The present invention relates to intelligent television field more particularly to a kind of videos and screen resolution of no video resolution information Matching process and device.
Background technology
Currently, what the professional videos information source such as DVD (Digital Versatile Disc, digital versatile disc) was transmitted Video resolution information is accompanied in video, when above-mentioned professional video information source transmission of video information is to intelligent TV set, intelligence Energy television set can play above-mentioned video information according to video resolution entrained in the video information of transmission.
And as the constantly universal and function of intelligent terminal is enriched constantly, user passes through mobile phone, tablet computer or camera Etc. mobile devices can easily carry out video record whenever and wherever possible, but it is usually not attached by the recorded video that above equipment obtains Band video resolution information;When the video content in above equipment is roughly the same and when video resolution difference, user want from Wherein one is selected in above-mentioned mobile device, and most preferably (what is played regards picture result of broadcast in the television set possessed at present The screen resolution matching degree of frequency division resolution and current television machine is best) video corresponding to information source of the equipment as television set When, it generally requires on TV to pilot the video in each equipment, by selecting what is be most satisfied with to set after being manually compared Standby effect information source, this mode of operation is not very intelligent and time-consuming and laborious, while treatment effeciency is also very low.
Invention content
In view of the foregoing, it is necessary to which a kind of match party of the video and screen resolution of no video resolution information is provided Method and device, it is intended to which the source device best with the television screen resolution match degree can be automatically identified by reaching television set Purpose.
The embodiment of the invention discloses a kind of matching process of the video and screen resolution of no video resolution information, packets Include following steps:
Using the pixel number in the corresponding gamma tables of television display screen, calculates and obtain the television display screen Screen resolution;
The input signal that each signal source is inputted to the television set is received, extraction corresponds to respectively from each input signal Video frame, obtain the corresponding video resolution of the video frame;
According to the screen resolution and video resolution, obtain between each video resolution and screen resolution Diversity factor, using the minimum corresponding signal source of the video resolution of diversity factor as with matched of the television display screen With signal source.
Preferably, the diversity factor obtained between each video resolution and screen resolution includes:
It is right respectively in vertical direction and/or horizontal direction with video resolution described in each to calculate the screen resolution The resolution ratio difference answered, using the resolution ratio difference as the diversity factor between the video resolution and screen resolution;Its In, the resolution ratio difference is maximum, then the corresponding diversity factor highest.
Preferably, described according to the screen resolution and video resolution, obtain each video resolution and screen Diversity factor between resolution ratio shows the minimum corresponding signal source of the video resolution of diversity factor as with the television set After the step of display screen matched matched signal source, further include:
The corresponding input signal in the matched signal source is played, the input signal is shown by the television display screen Corresponding video.
Preferably, described to show that the corresponding video of the input signal includes by the television display screen:
When the diversity factor obtained is 0, regarded according to the screen resolution full screen display input signal is corresponding Frequently;
When the diversity factor obtained is not 0, according to the diversity factor, video resolution corresponding to the input signal It zooms in and out, and the corresponding video of the input signal is displayed in full screen according to the video resolution after scaling.
Preferably, when the diversity factor of the acquisition is not 0, according to the diversity factor, the input signal is corresponded to Video resolution the step of zooming in and out include:
According to the corresponding resolution ratio difference n of the diversity factor and the corresponding same direction of the resolution ratio difference On the video resolution m calculate the input signal when the screen resolution is higher than the video resolution and correspond to The ratio a that need to be amplified of video resolution m be:
A=1+n/m;
When the screen resolution is less than the video resolution, the corresponding video resolution of the input signal is calculated M need to carry out reduced scale b:
B=1-n/m;
Wherein, the value of a, b, m and n are all higher than 0.
A kind of coalignment of the video and screen resolution of no video resolution information is also disclosed in the embodiment of the present invention, packet It includes:
Acquisition module, for using the pixel number in the corresponding gamma tables of television display screen, calculating and obtaining the electricity Depending on the screen resolution of machine display screen;The input signal that each signal source is inputted to the television set is received, is believed from each input Corresponding video frame is extracted in number respectively, obtains the corresponding video resolution of the video frame;
Matching module, for according to the screen resolution and video resolution, obtaining each video resolution and screen Curtain resolution ratio between diversity factor, using the minimum corresponding signal source of the video resolution of diversity factor as with the television set The matched matched signal source of display screen.
Preferably, the matching module is additionally operable to:
It is right respectively in vertical direction and/or horizontal direction with video resolution described in each to calculate the screen resolution The resolution ratio difference answered, using the resolution ratio difference as the diversity factor between the video resolution and screen resolution;Its In, the resolution ratio difference is maximum, then the corresponding diversity factor highest.
Preferably, the video of the no video resolution information and the coalignment of screen resolution further include:
Playing module, it is aobvious by the television display screen for playing the corresponding input signal in the matched signal source Show the corresponding video of the input signal.
Preferably, the playing module is additionally operable to:
When the diversity factor obtained is 0, regarded according to the screen resolution full screen display input signal is corresponding Frequently;
When the diversity factor obtained is not 0, according to the diversity factor, video resolution corresponding to the input signal It zooms in and out, and the corresponding video of the input signal is displayed in full screen according to the video resolution after scaling.
Preferably, the playing module is additionally operable to:
According to the corresponding resolution ratio difference n of the diversity factor and the corresponding same direction of the resolution ratio difference On the video resolution m calculate the input signal when the screen resolution is higher than the video resolution and correspond to The ratio a that need to be amplified of video resolution m be:
A=1+n/m;
When the screen resolution is less than the video resolution, the corresponding video resolution of the input signal is calculated M need to carry out reduced scale b:
B=1-n/m;
Wherein, the value of a, b, m and n are all higher than 0.
Television set of the embodiment of the present invention utilizes the pixel number in the corresponding gamma tables of television display screen, calculates and obtains The screen resolution of the television display screen;The input signal that each signal source is inputted to the television set is received, from each described Corresponding video frame is extracted in input signal respectively, obtains the corresponding video resolution of the video frame;According to the screen point Resolution and video resolution obtain the diversity factor between each video resolution and screen resolution, and diversity factor is minimum The corresponding signal source of the video resolution as with the matched matched signal source of the television display screen;With automatic identification The advantageous effect for going out the source device best with the television screen resolution match degree improves recognition efficiency and television set It is intelligent.
Description of the drawings
Fig. 1 is the matching process first embodiment flow of video and screen resolution of the invention without video resolution information Schematic diagram;
Fig. 2 is the matching process second embodiment flow of video and screen resolution of the invention without video resolution information Schematic diagram;
Fig. 3 a are the one embodiment broadcast window schematic diagrames of video that television screen plays the input of matched signal source;
Fig. 3 b be of the invention video and screen resolution without video resolution information matching process in television set adjust An embodiment broadcast window schematic diagram is played out again after the video resolution that matched signal source inputs in Fig. 3 a;
Fig. 4 is the coalignment first embodiment function of video and screen resolution of the invention without video resolution information Module diagram;
Fig. 5 is the coalignment second embodiment function of video and screen resolution of the invention without video resolution information Module diagram.
Realization, functional characteristics and the advantage of purpose of the embodiment of the present invention will be done furtherly with reference to attached drawing in conjunction with the embodiments It is bright.
Specific implementation mode
The technical solution further illustrated the present invention below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The described specific embodiment in place is only used to explain the present invention, is not intended to limit the present invention.
An embodiment of the present invention provides the matching process of a kind of video of no video resolution information and screen resolution One embodiment;As shown in Figure 1, the matching process of video and screen resolution of the present invention without video resolution information includes following Step:
Step S01, it using the pixel number in the corresponding gamma tables of television display screen, calculates and obtains the television set The screen resolution of display screen;
It, can be direct if being previously stored with the screen parameter corresponding to television display screen in television memory The screen parameter corresponding to stored television display screen is read from television memory, is shown to obtain the television set The screen resolution of screen;But in most cases, television set does not prestore corresponding to television display screen in fact Screen parameter, therefore screen resolution can not be directly acquired.In the present embodiment, inventor passes through long-term research, creative Ground proposes a kind of scheme that can obtain screen resolution, i.e.,:Utilize the picture in the corresponding gamma tables of television display screen Prime number calculates the screen resolution of the television display screen.
Television set utilizes the pixel number in the corresponding gamma tables of television display screen, calculates the screen of television display screen Curtain resolution include:Television set obtains total pixel number and the vertical side corresponded in current display screen horizontal direction in gamma tables Total pixel number in corresponding gamma tables upwards;Television set is by the total pixel number divided by 3 in gamma tables in horizontal direction To the screen resolution of the display screen in the horizontal direction;Similarly, television set is by total picture in gamma tables on vertical direction Prime number divided by 3 obtain the screen resolution of the display screen in the vertical direction.Get the screen point of above-mentioned television display screen After resolution, the screen resolution for the television display screen that television set storage obtains.For example, television set creates memory block 1, will work as The screen resolution of preceding television display screen is recorded.
For example, it is 5760 that television set, which gets trichromatic a numerical value in the gamma tables of display screen in horizontal direction, i.e., The three primary colors number of television display screen in the horizontal direction is 5760, then the television display screen is in the horizontal direction per a line Pixel number i.e. television display screen screen resolution OFxga in the horizontal direction be:OFxga=5760/3=1920. Similarly, television set get vertical direction come on TV machine display screen gamma tables in trichromatic a numerical value 3280, i.e., it is electric The three primary colors number of the machine display screen of regarding in the vertical direction is 3280, then the television display screen picture per a line in the vertical direction The screen resolution OFyga of the prime number i.e. television display screen in the vertical direction is:OFyga=3280/3=1080.At this point, The screen resolution of the television display screen that television set obtains is:1920*1080.
Step S02, the input signal that each signal source is inputted to the television set is received, from each input signal respectively Corresponding video frame is extracted, the corresponding video resolution of the video frame is obtained;
Television set receives the input signal that each signal source is inputted to the television set, and corresponding from above-mentioned different signal source The corresponding video frame of each signal source is extracted in the input signal respectively, obtains the video resolution of above-mentioned video frame.
Television set captures a video frame picture at random from the input signal such as image information of signal source 1, and obtains Three primary colors number of the video frame picture in the horizontal direction per a line is stated, by the three primary colors number per a line in above-mentioned horizontal direction Divided by 3 obtain video in the pixel number i.e. horizontal direction of the every a line of the video frame picture in the horizontal direction and differentiate Rate.Television set obtains three primary colors number of the video frame picture in the vertical direction per a line, will be each on above-mentioned vertical direction It capable three primary colors number divided by 3 obtains the video frame picture and exists in the vertical direction per pixel number i.e. video frame picture of a line Video resolution on vertical direction.After the video resolution for getting above-mentioned signal source 1, the signal of television set storage acquisition The video resolution in source 1.For example, television set creates memory block 2, the video resolution of signal source 1 is recorded.
For example, three primary colors number of the video frame picture of television set acquisition signal source 1 in the horizontal direction per a line is 1920, by the three primary colors number divided by 3 in the horizontal direction, pixel number of the signal source 1 in the horizontal direction per a line is obtained, i.e., Obtaining the video resolution I1Fxga of above-mentioned signal source 1 in the horizontal direction is:I1Fxga=640.Similarly, television set obtains The three primary colors number per a line is 1440 to the video frame picture of signal source 1 in the vertical direction, by every a line on the vertical direction Three primary colors number divided by 3, obtain pixel number of the signal source 1 in the vertical direction per a line, that is, obtain above-mentioned signal source 1 perpendicular The upward video resolution I1Fyga of histogram is:I1Fyga=480.The 1 corresponding video of signal source point that television set storage obtains Resolution is 640*480.
In the manner described above, television set obtains the corresponding video resolution of signal source institute of all input signals respectively Rate.
In the present embodiment, the execution sequence of the step S01 and step S02 can be interchanged, that is, be held again after executing step S01 Row step S02, or first carry out step S02 and execute step S01 again, both execution sequence;The present embodiment is to step S01 Priority execution sequence with step S02 is without limiting, as long as execution completion step S01 and step S02 is before step S03 It can;Fig. 1 embodiments are only described for executing step S02 after the completion of step S01 is executed.
Step S03, it according to the screen resolution and video resolution, obtains each video resolution and is differentiated with screen Diversity factor between rate, using the minimum corresponding signal source of the video resolution of diversity factor as with the television display screen Matched matched signal source.
It is regarded according to the signal source institute of the screen resolution of the television screen of acquisition and input television set is corresponding Frequency division resolution, television set are to find best match signal source, are calculated between each video resolution and the screen resolution of television set Diversity factor.According to the above-mentioned diversity factor of acquisition, the minimum video resolution of television set Recognition Different degree.Wherein, diversity factor by The difference of resolution ratio determines, video resolution and screen resolution (for example are horizontal direction or are in same direction Vertical direction) on difference it is smaller, then video resolution and the diversity factor of screen resolution are lower;If on the contrary, video resolution Bigger with the difference in the same direction of screen resolution, then video resolution and the diversity factor of screen resolution are higher.Electricity When identifying the minimum video resolution of diversity factor depending on machine, using the signal source corresponding to the minimum video resolution of diversity factor as With the highest optimum signal source of television display screen matching degree, i.e. the matched signal source.Described in the embodiment of the present invention Difference refer to absolute value, that is, compare be only numerical value, do not mind the positive and negative of difference.
In the embodiment of the present invention, when television set obtains the diversity factor between each video resolution and screen resolution, It is corresponding respectively in vertical direction and/or horizontal direction with video resolution described in each that television set calculates the screen resolution Resolution ratio difference.Due in current screen resolution or video resolution, numerical value in the horizontal direction and vertical direction Numerical value at corresponding proportionate relationship, therefore, when the video resolution of the more multiple signal sources of television set, only can only compare Diversity factor on the same direction, for example the diversity factor on vertical direction is only compared, or only compare the difference in horizontal direction Degree.
Television set is described by taking three signal sources as an example below and obtains screen resolution video corresponding with different signal source The implementation procedure of diversity factor between resolution ratio.
Television set is using the method for the video resolution for obtaining signal source 1, the video resolution of the signal source 2 got respectively Rate is:1280*720, i.e. I2Fxga=1280, I2Fyga=720;The video resolution of signal source 3 is:1920*1080, i.e., I3Fxga=1920, I3Fyga=1080.Television set calls display screen difference resolution ratio respectively according to above-mentioned different signal source Algorithm calculates the difference of the screen resolution of television display screen video resolution corresponding with above-mentioned each signal source respectively.With On calculated level direction for the difference of screen resolution video resolution corresponding with above-mentioned signal source, above-mentioned screen point is obtained Difference OD1x of the resolution with the video resolution of signal source 1, difference OD2x and and signal with the video resolution of signal source 2 The difference OD3x of the video resolution in source 3 is respectively:
By the concrete numerical value 1920 of screen resolution in horizontal direction and the corresponding video point of above-mentioned 3 signal sources Resolution substitutes into above-mentioned Arithmetic Expressions Using, show that difference OD1x is:OD1x=| 1920-640 |=1280;OD2x is:OD2x=| 1920- 1280 |=640;OD3x is:OD3x=| 1920-1920 |=0.Television set is ranked up according to the size of above-mentioned difference, is obtained Signal source corresponding to the video resolution OD3x of difference minimum, such as the signal source 3 in the present embodiment;Then television set is by above-mentioned letter Number source 3 is as the matched signal source best with the television display screen matching degree.
Television set of the embodiment of the present invention utilizes the pixel number in the corresponding gamma tables of television display screen, calculates and obtains The screen resolution of the television display screen;The input signal that each signal source is inputted to the television set is received, from each described Corresponding video frame is extracted in input signal respectively, obtains the corresponding video resolution of the video frame;According to the screen point Resolution and video resolution obtain the diversity factor between each video resolution and screen resolution, and diversity factor is minimum The corresponding signal source of the video resolution as with the matched matched signal source of the television display screen;With automatic identification The advantageous effect for going out the source device best with the television screen resolution match degree improves recognition efficiency and television set It is intelligent.
The embodiment of the present invention additionally provides a kind of matching process of the video and screen resolution of no video resolution information Second implements;The present embodiment and the difference of embodiment described in Fig. 1 are the input signals of television for play matched signal source input, And it according to the corresponding specific video resolution of input signal, is played again after handling video to be treated.
Based on the description of embodiment described in Fig. 1, as shown in Fig. 2, video and screen of the present invention without video resolution information The matching process of resolution ratio embodiment described in Fig. 1 " step S03, according to the screen resolution and video resolution, obtains Diversity factor between each video resolution and screen resolution, by the corresponding letter of the video resolution that diversity factor is minimum Number source as with the matched matched signal source of the television display screen " the step of after, further include:
Step S04, play the corresponding input signal in the matched signal source, shown by the television display screen described in The corresponding video of input signal.
In the present embodiment, after television set identifies the matched signal source best with television display screen matching degree, playing should Video corresponding to the input signal of matched signal source input.Wherein, when the video resolution and TV in the matched signal source When the screen resolution of machine screen is identical, i.e., when the diversity factor of the two is 0, due to the screen resolution and matched signal of television set The video resolution in source is identical, therefore the video of television set direct played in full screen matched signal source input, without to playing video Corresponding broadcasting pictures carry out any scaling.
Difference both when the video resolution in the matched signal source and the screen resolution difference of television screen When different degree is not 0, to ensure to play the clarity of video, television set is corresponding according to screen resolution and signal source input signal The diversity factor of video resolution zooms in and out the corresponding video resolution of input signal, such as video pictures when setting broadcasting When accounting for the ratio of television display screen less than preset range value, the video pictures of broadcasting are stretched;Alternatively, signal source inputs When the difference of the screen resolution of the corresponding video resolution of signal and television display screen has exceeded preset ratio, to signal source The corresponding video pictures of input signal carry out flexible etc.;That is television set according to the corresponding resolution ratio difference n of the diversity factor, And the video resolution m in the corresponding same direction of the resolution ratio difference, in the screen resolution higher than described When video resolution, calculating the ratio a that the corresponding video resolution m of the input signal need to be amplified is:A=1+n/m; When the screen resolution is less than the video resolution, calculating the corresponding video resolution m of the input signal need to contract Small ratio b is:B=1-n/m;Wherein, the value of a, b, m and n are all higher than 0.Television set is according to the video resolution after scaling It is displayed in full screen the corresponding video of the input signal.
It is inputted in multiple signal sources of television set for example, television set identifies, the screen resolution with television display screen The best corresponding video resolution in matched signal source of matching degree is 1280*720, and the screen resolution of television display screen is 1920*1280, then in the video of the above-mentioned signal source input of television for play, if not zoomed in and out to it, what is played out is aobvious Show that picture is as shown in Figure 3a;In Fig. 3 a, television display screen 11, the display corresponding to video played in tv display screen Picture is in 12, Fig. 3 a, and the display screen of television set not video pictures corresponding to played in full screen signal source input signal play It is ineffective.Television set zooms in and out the corresponding video pictures of above-mentioned input signal, for example, television set is according in step S03 The difference of the screen resolution of the corresponding video resolution in matched signal source and television display screen for obtaining:OD2x=| 1920-1280 |=640;The ratio amplified is needed to be when the broadcasting all over the screen of video that then television set inputs signal source:ScalerX =1+640/1280=1+0.5;Similarly, it is 1.5 that the ratio amplified is needed on vertical direction also;Then television set is put according to above-mentioned Large scale carries out broadcasting all over the screen, as shown in Figure 3b after being amplified to the video of signal source input;In Fig. 3 b, television set is shown Shield the video corresponding to played in full screen signal source input signal, and clarity is high, result of broadcast is preferable.
The corresponding input signal in television for play matched signal of embodiment of the present invention source, and it is not exactly the same to resolution ratio The corresponding video pictures of above-mentioned input signal play the video pictures after scaling again after zooming in and out, have to improve and play clarity Advantageous effect, further improve the intelligent of television set, while also improving man-machine interactivity.
The embodiment of the present invention additionally provides a kind of coalignment of the video and screen resolution of no video resolution information First embodiment;As shown in figure 4, the coalignment of video and screen resolution of the present invention without video resolution information includes: Acquisition module 01 and matching module 02.
Acquisition module 01 is used for:Using the pixel number in the corresponding gamma tables of television display screen, calculate described in obtaining The screen resolution of television display screen;The input signal that each signal source is inputted to the television set is received, from each input Corresponding video frame is extracted in signal respectively, obtains the corresponding video resolution of the video frame.
In the embodiment of the present invention, if being previously stored with the screen ginseng corresponding to television display screen in television memory If number, acquisition module 01 can directly read the screen corresponding to stored television display screen from television memory Parameter, to obtain the screen resolution of the television display screen;But in most cases, there is no pre- in fact for television set The screen parameter corresponding to television display screen is first stored, therefore screen resolution can not be directly acquired.In the present embodiment, obtain Modulus block 01 calculates the screen of the television display screen using the pixel number in the corresponding gamma tables of television display screen Curtain resolution ratio.
Acquisition module 01 calculates television display screen using the pixel number in the corresponding gamma tables of television display screen Screen resolution include:Acquisition module 01 obtains the total pixel number corresponded in current display screen horizontal direction in gamma tables With the total pixel number in gamma tables is corresponded on vertical direction;Acquisition module 01 is by total picture in gamma tables in horizontal direction Prime number divided by 3 obtain the screen resolution of the display screen in the horizontal direction;Similarly, acquisition module 01 will be on vertical direction Total pixel number divided by 3 in gamma tables obtain the screen resolution of the display screen in the vertical direction.Get above-mentioned TV After the screen resolution of machine display screen, the screen resolution for the television display screen that the storage of acquisition module 01 obtains.For example, obtaining Modulus block 01 creates memory block 1, and the screen resolution of current television machine display screen is recorded.
For example, acquisition module 01 gets trichromatic a numerical value in the gamma tables of display screen in horizontal direction is 5760, i.e. the three primary colors number of television display screen in the horizontal direction is 5760, then the television display screen is in the horizontal direction Above the screen resolution OFxga of pixel number i.e. television display screen per a line in the horizontal direction is:OFxga=5760/3 =1920.Similarly, acquisition module 01 get vertical direction come on TV machine display screen gamma tables in trichromatic number The three primary colors number of value 3280, i.e. television display screen in the vertical direction is 3280, then television display screen is in vertical direction Above the screen resolution OFyga of pixel number i.e. television display screen per a line in the vertical direction is:OFyga=3280/3 =1080.At this point, the screen resolution for the television display screen that acquisition module 01 obtains is:1920*1080.
Acquisition module 01 captures a video frame picture at random from the input signal such as image information of signal source 1, and obtains Three primary colors number of the above-mentioned video frame picture in the horizontal direction per a line is taken, by the three primary colors per a line in above-mentioned horizontal direction Number divided by 3 obtain video in the pixel number i.e. horizontal direction of the every a line of the video frame picture in the horizontal direction point Resolution.Acquisition module 01 obtains three primary colors number of the video frame picture in the vertical direction per a line, by above-mentioned vertical direction Upper three primary colors number per a line divided by 3 obtain the pixel number i.e. video frame of the video frame picture in the vertical direction per a line The video resolution of picture in the vertical direction.After the video resolution for getting above-mentioned signal source 1, the storage of acquisition module 01 obtains The video resolution of the signal source 1 taken.For example, acquisition module 01 creates memory block 2, the video resolution of signal source 1 is remembered Record is got off.
For example, acquisition module 01 obtain signal source 1 video frame picture in the horizontal direction per a line three primary colors number It is 1920, by the three primary colors number divided by 3 in the horizontal direction, obtains pixel number of the signal source 1 in the horizontal direction per a line, Obtaining the video resolution I1Fxga of above-mentioned signal source 1 in the horizontal direction is:I1Fxga=640.Similarly, acquisition module The three primary colors number per a line is 1440 to the video frame picture of 01 acquisition signal source 1 in the vertical direction, will be on the vertical direction Three primary colors number divided by 3 per a line obtains pixel number of the signal source 1 in the vertical direction per a line, that is, obtains above-mentioned signal The video resolution I1Fyga of source 1 in the vertical direction is:I1Fyga=480.It is right that acquisition module 01 stores the signal source 1 obtained The video resolution answered is 640*480.
In the manner described above, acquisition module 01 obtains the corresponding video point of signal source institute of all input signals respectively Resolution.
In the present embodiment, acquisition module 01 obtains the screen resolution of television display screen and each signal source inputs letter respectively The sequencing of number corresponding video resolution does not limit.
Matching module 02 is used for:According to the screen resolution and video resolution, obtain each video resolution with Diversity factor between screen resolution, using the minimum corresponding signal source of the video resolution of diversity factor as with the TV The matched matched signal source of machine display screen.
The screen resolution of the television screen obtained according to acquisition module 01 and the signal source for inputting television set are divided Not corresponding video resolution, matching module 02 are to find best match signal source, calculate each video resolution and television set Diversity factor between screen resolution.According to the above-mentioned diversity factor of acquisition, the minimum video of 02 Recognition Different degree of matching module point Resolution.Wherein, diversity factor is determined by the difference of resolution ratio, video resolution and screen resolution same direction (such as For horizontal direction or be vertical direction) on difference it is smaller, then video resolution and the diversity factor of screen resolution are lower; On the contrary, if video resolution and the difference in the same direction of screen resolution are bigger, video resolution is differentiated with screen The diversity factor of rate is higher.When matching module 02 identifies diversity factor minimum video resolution, by the minimum video of diversity factor point Signal source corresponding to resolution as with the highest optimum signal source of television display screen matching degree, the i.e. matched signal Source.Difference described in the embodiment of the present invention refers to absolute value, that is, what is compared is only numerical value, does not mind difference just It is negative.
In the embodiment of the present invention, matching module 02 obtains the diversity factor between each video resolution and screen resolution When, matching module 02 calculates the screen resolution with each described video resolution in vertical direction and/or horizontal direction Corresponding resolution ratio difference.Due in current screen resolution or video resolution, numerical value in the horizontal direction with The numerical value of vertical direction is at corresponding proportionate relationship, therefore, can when the video resolution of 02 more multiple signal sources of matching module Only only to compare the diversity factor on the same direction, for example the diversity factor on vertical direction is only compared, or only compared horizontal Diversity factor on direction.
It is corresponding with different signal source to carry out the acquisition screen resolution of profile matching module 02 by taking three signal sources as an example below The implementation procedure of diversity factor between video resolution.
Matching module 02 is using the method for the video resolution for obtaining signal source 1, the video of the signal source 2 got respectively Resolution ratio is:1280*720, i.e. I2Fxga=1280, I2Fyga=720;The video resolution of signal source 3 is:1920*1080, That is I3Fxga=1920, I3Fyga=1080.Matching module 02 calls display screen difference respectively according to above-mentioned different signal source Resolution algorithm calculates the difference of the screen resolution of television display screen video resolution corresponding with above-mentioned each signal source respectively Value.By taking the difference of the video resolution corresponding with above-mentioned signal source of screen resolution on calculated level direction as an example, matching module 02 obtains the difference OD1x of above-mentioned screen resolution and the video resolution of signal source 1, the difference with the video resolution of signal source 2 Value OD2x and with the difference OD3x of the video resolution of signal source 3 it is respectively:
Matching module 02 is right respectively by the concrete numerical value 1920 of screen resolution in horizontal direction and above-mentioned 3 signal sources The video resolution answered substitutes into above-mentioned Arithmetic Expressions Using, show that difference OD1x is:OD1x=| 1920-640 |=1280;OD2x is: OD2x=| 1920-1280 |=640;OD3x is:OD3x=| 1920-1920 |=0.Matching module 02 is big according to above-mentioned difference It is small to be ranked up, the signal source corresponding to the video resolution OD3x of difference minimum is obtained, such as the signal source 3 in the present embodiment; Then matching module 02 by above-mentioned signal source 3 as the matched signal source best with the television display screen matching degree.
Television set of the embodiment of the present invention utilizes the pixel number in the corresponding gamma tables of television display screen, calculates and obtains The screen resolution of the television display screen;The input signal that each signal source is inputted to the television set is received, from each described Corresponding video frame is extracted in input signal respectively, obtains the corresponding video resolution of the video frame;According to the screen point Resolution and video resolution obtain the diversity factor between each video resolution and screen resolution, and diversity factor is minimum The corresponding signal source of the video resolution as with the matched matched signal source of the television display screen;With automatic identification The advantageous effect for going out the source device best with the television screen resolution match degree improves recognition efficiency and television set It is intelligent.
The embodiment of the present invention additionally provides a kind of coalignment of the video and screen resolution of no video resolution information Second implements;The present embodiment and the difference of embodiment described in Fig. 4 are the input signals of television for play matched signal source input, And it according to the corresponding specific video resolution of input signal, is played again after handling video to be treated.
Based on the description of embodiment described in Fig. 4, as shown in figure 5, video and screen of the present invention without video resolution information The coalignment of resolution ratio further includes playing module 03;Wherein, the playing module 03 is used for, and plays the matched signal source pair The input signal answered shows the corresponding video of the input signal by the television display screen.
In the present embodiment, after matching module 02 identifies the matched signal source best with television display screen matching degree, broadcast Amplification module 03 plays the video corresponding to the input signal of matched signal source input.Wherein, regarding when the matched signal source When frequency division resolution is identical as the screen resolution of television screen, i.e., when the diversity factor of the two is 0, due to the screen point of television set Resolution is identical as the video resolution in matched signal source, thus 03 direct played in full screen matched signal source of playing module input regard Frequently, it is not necessarily to carry out any scaling to playing the corresponding broadcasting pictures of video.When the video resolution and electricity in the matched signal source When diversity factor when regarding the screen resolution difference of machine screen both i.e. is not 0, to ensure to play the clarity of video, broadcasting mould Block 03 is corresponding to input signal to regard according to the diversity factor of screen resolution and the corresponding video resolution of signal source input signal Frequency division resolution zooms in and out, for example, setting play when video pictures account for television display screen ratio be less than preset range value when, The video pictures of broadcasting are stretched;Alternatively, the corresponding video resolution of signal source input signal and television display screen When the difference of screen resolution has exceeded preset ratio, the corresponding video pictures of signal source input signal are carried out flexible etc.;I.e. Playing module 03 is according to the corresponding resolution ratio difference n of the diversity factor and the corresponding same side of the resolution ratio difference The upward video resolution m calculates the input signal pair when the screen resolution is higher than the video resolution The ratio a that the video resolution m answered need to be amplified is:A=1+n/m;It is differentiated less than the video in the screen resolution When rate, calculates the corresponding video resolution m of the input signal and need to carry out reduced scale b and be:B=1-n/m;Wherein, a, b, m It is all higher than 0 with the value of n.Playing module 03 is regarded according to the video resolution full screen display input signal after scaling is corresponding Frequently.
It is inputted in multiple signal sources of television set for example, playing module 03 identifies, the screen point with television display screen The best corresponding video resolution in matched signal source of resolution matching degree is 1280*720, and the screen of television display screen is differentiated Rate is 1920*1280, then when playing module 03 plays the video of above-mentioned signal source input, if not zoomed in and out to it, broadcasts The display picture of releasing is as shown in Figure 3a;In Fig. 3 a, television display screen 11, played in tv display screen video institute it is right The display picture answered is in 12, Fig. 3 a, the display screen of the television set not video corresponding to played in full screen signal source input signal Picture, result of broadcast are bad.Playing module 03 zooms in and out the corresponding video pictures of above-mentioned input signal, for example, playing mould The screen of corresponding video resolution in matched signal source and television display screen that block 03 is obtained according to matching module 02 is differentiated The difference of rate:OD2x=| 1920-1280 |=640;It is needed when the broadcasting all over the screen of video that then playing module 03 inputs signal source The ratio of amplification is:ScalerX=1+640/1280=1+0.5;Similarly, the ratio amplified is needed also to be on vertical direction 1.5;Then playing module 03 carries out broadcasting all over the screen, such as according to above-mentioned magnification ratio after being amplified to the video of signal source input Shown in Fig. 3 b;In Fig. 3 b, the video corresponding to television display screen played in full screen signal source input signal, and clarity is high, broadcasts It is preferable to put effect.
The corresponding input signal in television for play matched signal of embodiment of the present invention source, and it is not exactly the same to resolution ratio The corresponding video pictures of above-mentioned input signal play the video pictures after scaling again after zooming in and out, have to improve and play clarity Advantageous effect, further improve the intelligent of television set, while also improving man-machine interactivity.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, electricity Depending on machine, server or the network equipment etc.) execute method described in each embodiment of the present invention.
The foregoing is merely the preferred embodiment of the present invention, it is not intended to limit its scope of the claims, it is every to utilize the present invention Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is directly or indirectly used in other relevant technology necks Domain is included within the scope of the present invention.

Claims (10)

1. a kind of matching process of the video and screen resolution of no video resolution information, which is characterized in that including following step Suddenly:
Using the pixel number in the corresponding gamma tables of television display screen, the screen for obtaining the television display screen is calculated Resolution ratio;
The input signal that each signal source is inputted to the television set is received, corresponding regard is extracted respectively from each input signal Frequency frame obtains the corresponding video resolution of the video frame;
According to the screen resolution and video resolution, the difference between each video resolution and screen resolution is obtained Degree, using the minimum corresponding signal source of the video resolution of diversity factor as with the television display screen is matched matches letter Number source;
Wherein, the pixel number in the corresponding gamma tables using television display screen calculates the acquisition television set and shows The step of screen resolution of screen includes:
It obtains and corresponds to gamma tables on the total pixel number and vertical direction corresponded in current display screen horizontal direction in gamma tables Total pixel number in lattice;
By in gamma tables in horizontal direction total pixel number divided by 3 obtain display screen screen in the horizontal direction and differentiate Rate;
By in gamma tables on vertical direction total pixel number divided by 3 obtain display screen screen in the vertical direction and differentiate Rate.
2. the method as described in claim 1, which is characterized in that it is described obtain each video resolution and screen resolution it Between diversity factor include:
It is corresponding in vertical direction and/or horizontal direction with video resolution described in each to calculate the screen resolution Resolution ratio difference, using the resolution ratio difference as the diversity factor between the video resolution and screen resolution;Wherein, institute It is maximum to state resolution ratio difference, then the corresponding diversity factor highest.
3. method as claimed in claim 1 or 2, which is characterized in that it is described according to the screen resolution and video resolution, The diversity factor between each video resolution and screen resolution is obtained, the minimum video resolution of diversity factor is corresponded to Signal source as matched signal source matched with the television display screen the step of after, further include:
The corresponding input signal in the matched signal source is played, shows that the input signal corresponds to by the television display screen Video.
4. method as claimed in claim 3, which is characterized in that described to show that the input is believed by the television display screen Number corresponding video includes:
When the diversity factor obtained is 0, the corresponding video of the input signal is displayed in full screen according to the screen resolution;
When the diversity factor obtained is not 0, according to the diversity factor, the corresponding video resolution of the input signal is carried out Scaling, and it is displayed in full screen the corresponding video of the input signal according to the video resolution after scaling.
5. method as claimed in claim 4, which is characterized in that when the diversity factor of the acquisition is not 0, according to the difference Different degree, the step of being zoomed in and out to the corresponding video resolution of the input signal include:
According in the corresponding resolution ratio difference n of the diversity factor and the corresponding same direction of the resolution ratio difference The video resolution m calculates that the input signal is corresponding to be regarded when the screen resolution is higher than the video resolution The ratio a that frequency division resolution m need to be amplified is:
A=1+n/m;
When the screen resolution is less than the video resolution, calculating the corresponding video resolution m of the input signal needs Carrying out reduced scale b is:
B=1-n/m;
Wherein, the value of a, b, m and n are all higher than 0.
6. a kind of coalignment of the video and screen resolution of no video resolution information, which is characterized in that including:
Acquisition module, for using the pixel number in the corresponding gamma tables of television display screen, calculating and obtaining the television set The screen resolution of display screen;The input signal that each signal source is inputted to the television set is received, from each input signal Corresponding video frame is extracted respectively, obtains the corresponding video resolution of the video frame;
The acquisition module is additionally operable to obtain the total pixel number corresponded in current display screen horizontal direction in gamma tables and erect Histogram corresponds to the total pixel number in gamma tables upwards;By in gamma tables in horizontal direction total pixel number divided by 3 obtain The screen resolution of the display screen in the horizontal direction;By in gamma tables on vertical direction total pixel number divided by 3 be somebody's turn to do The screen resolution of display screen in the vertical direction;
Matching module, for according to the screen resolution and video resolution, obtaining each video resolution and screen point Diversity factor between resolution shows the minimum corresponding signal source of the video resolution of diversity factor as with the television set Shield matched matched signal source.
7. device as claimed in claim 6, which is characterized in that the matching module is additionally operable to:
It is corresponding in vertical direction and/or horizontal direction with video resolution described in each to calculate the screen resolution Resolution ratio difference, using the resolution ratio difference as the diversity factor between the video resolution and screen resolution;Wherein, institute It is maximum to state resolution ratio difference, then the corresponding diversity factor highest.
8. device as claimed in claims 6 or 7, which is characterized in that described device further includes:
Playing module shows institute for playing the corresponding input signal in the matched signal source by the television display screen State the corresponding video of input signal.
9. device as claimed in claim 8, which is characterized in that the playing module is additionally operable to:
When the diversity factor obtained is 0, the corresponding video of the input signal is displayed in full screen according to the screen resolution;
When the diversity factor obtained is not 0, according to the diversity factor, the corresponding video resolution of the input signal is carried out Scaling, and it is displayed in full screen the corresponding video of the input signal according to the video resolution after scaling.
10. device as claimed in claim 9, which is characterized in that the playing module is additionally operable to:
According in the corresponding resolution ratio difference n of the diversity factor and the corresponding same direction of the resolution ratio difference The video resolution m calculates that the input signal is corresponding to be regarded when the screen resolution is higher than the video resolution The ratio a that frequency division resolution m need to be amplified is:
A=1+n/m;
When the screen resolution is less than the video resolution, calculating the corresponding video resolution m of the input signal needs Carrying out reduced scale b is:
B=1-n/m;
Wherein, the value of a, b, m and n are all higher than 0.
CN201410190673.8A 2014-05-07 2014-05-07 The matching process and device of video and screen resolution without video resolution information Active CN105100895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410190673.8A CN105100895B (en) 2014-05-07 2014-05-07 The matching process and device of video and screen resolution without video resolution information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410190673.8A CN105100895B (en) 2014-05-07 2014-05-07 The matching process and device of video and screen resolution without video resolution information

Publications (2)

Publication Number Publication Date
CN105100895A CN105100895A (en) 2015-11-25
CN105100895B true CN105100895B (en) 2018-09-04

Family

ID=54580283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410190673.8A Active CN105100895B (en) 2014-05-07 2014-05-07 The matching process and device of video and screen resolution without video resolution information

Country Status (1)

Country Link
CN (1) CN105100895B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554549A (en) * 2015-12-03 2016-05-04 青岛海信移动通信技术股份有限公司 VoLTE network video display method and device
US10440316B2 (en) 2015-12-03 2019-10-08 Hisense USA Corporation Device and method for displaying a video over a network
CN105959799A (en) * 2016-05-27 2016-09-21 北京金山安全软件有限公司 Video compression method and device and electronic equipment
CN109063378B (en) * 2018-09-11 2023-04-07 苏州云屏传媒科技有限公司 Method for matching multiple drawing boards with target screen in LED program
CN109922366B (en) * 2019-03-28 2021-10-29 北京创维海通数字技术有限公司 Equipment parameter adjusting method, device, equipment and medium
CN112492250B (en) * 2020-11-27 2023-07-21 西安万像电子科技有限公司 Method and device for adapting resolution of transmitting and receiving ends of image transmission system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6152632A (en) * 1998-12-28 2000-11-28 Tombow Pencil Co., Ltd Dispenser for rod-like glue
CN1917025A (en) * 2005-08-03 2007-02-21 三菱电机株式会社 Image display device and timing controller
CN101105916A (en) * 2007-08-10 2008-01-16 东莞黄江达裕科技电子厂 GAMMA curve regulation method and device
CN101692326A (en) * 2009-09-01 2010-04-07 惠州市德赛智能科技有限公司 System and method for on-site point-by-point calibration of brightness and chrominance of the whole screen of LED display screen
CN101800041A (en) * 2010-03-26 2010-08-11 青岛海信电器股份有限公司 Method and device for generating Gamma files
CN101860764A (en) * 2009-04-08 2010-10-13 鸿富锦精密工业(深圳)有限公司 White balance adjustment method
CN102098421A (en) * 2010-12-08 2011-06-15 四川长虹电器股份有限公司 Automatic smoothing method of GAMMA data of liquid crystal display television (LCDTV)
CN102984494A (en) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 Video communication method and device
CN103618943A (en) * 2013-11-27 2014-03-05 深圳创维-Rgb电子有限公司 Video data display method of display terminal and display terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6152632A (en) * 1998-12-28 2000-11-28 Tombow Pencil Co., Ltd Dispenser for rod-like glue
CN1917025A (en) * 2005-08-03 2007-02-21 三菱电机株式会社 Image display device and timing controller
CN101105916A (en) * 2007-08-10 2008-01-16 东莞黄江达裕科技电子厂 GAMMA curve regulation method and device
CN101860764A (en) * 2009-04-08 2010-10-13 鸿富锦精密工业(深圳)有限公司 White balance adjustment method
CN101692326A (en) * 2009-09-01 2010-04-07 惠州市德赛智能科技有限公司 System and method for on-site point-by-point calibration of brightness and chrominance of the whole screen of LED display screen
CN101800041A (en) * 2010-03-26 2010-08-11 青岛海信电器股份有限公司 Method and device for generating Gamma files
CN102098421A (en) * 2010-12-08 2011-06-15 四川长虹电器股份有限公司 Automatic smoothing method of GAMMA data of liquid crystal display television (LCDTV)
CN102984494A (en) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 Video communication method and device
CN103618943A (en) * 2013-11-27 2014-03-05 深圳创维-Rgb电子有限公司 Video data display method of display terminal and display terminal

Also Published As

Publication number Publication date
CN105100895A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105100895B (en) The matching process and device of video and screen resolution without video resolution information
CN105763950A (en) Bullet screen display method and system
CN103226810A (en) Image processing apparatus and image processing method
CN104703020B (en) Processing method, device and the video playback apparatus of Quick Response Code
CN1685715A (en) Video display apparatus and video display method
CN103946871A (en) Image processing device, image recognition device, image recognition method, and program
CN102484675A (en) Gradation adjustment device, image displaying device, television receiver, program, and computer-readable storage medium having program recorded therein
CN104104952A (en) Audio/video processing method and system adapted to storage and play of mobile device
CN102446065A (en) Information processing apparatus and information processing method
KR101756605B1 (en) Method and device for characteristic extraction
CN105657539B (en) Video broadcasting method and device
US10182184B2 (en) Image processing apparatus and image processing method
EP3236362B1 (en) Information pushing method and system
JP4762336B2 (en) Video processing apparatus and video processing method
CN106133817A (en) Image processing apparatus, image processing method and program
CN105959727B (en) Video processing method and device
US8437611B2 (en) Reproduction control apparatus, reproduction control method, and program
CN103607629B (en) Multimedia file playing method and electronic terminal
CN101883277A (en) Low resolution video file playing method and device
CN109788311B (en) Character replacement method, electronic device, and storage medium
US20230166157A1 (en) Electronic apparatus and control method therefor
KR102122338B1 (en) Display device and operating method thereof
CN105472255A (en) Video play control method and device
CN102866871A (en) Method for dynamically displaying image
US8818116B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant