CN101207750B - Method for smooth reducing or amplifying video picture - Google Patents

Method for smooth reducing or amplifying video picture Download PDF

Info

Publication number
CN101207750B
CN101207750B CN2007100774411A CN200710077441A CN101207750B CN 101207750 B CN101207750 B CN 101207750B CN 2007100774411 A CN2007100774411 A CN 2007100774411A CN 200710077441 A CN200710077441 A CN 200710077441A CN 101207750 B CN101207750 B CN 101207750B
Authority
CN
China
Prior art keywords
window
video
full screen
video pictures
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2007100774411A
Other languages
Chinese (zh)
Other versions
CN101207750A (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 Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN2007100774411A priority Critical patent/CN101207750B/en
Publication of CN101207750A publication Critical patent/CN101207750A/en
Application granted granted Critical
Publication of CN101207750B publication Critical patent/CN101207750B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a smoothly contracting or magnifying method of video pictures, the smoothly contracting method includes the following steps: a. a full screen video picture window is set up, and the full screen video picture is displayed in the full screen video picture window; b. the full screen video picture window is reduced for twice or more than twice and is finally reduced to be a video picture window with designated size. The invention overcomes the defects of the prior art, when in the process of the zoom of the video picture window, the technical proposal of the successive smooth zoom is adopted, so that the video picture in the window is reduced or magnified gradually, thereby avoiding bringing the jumping feeling to the user caused by being zooming for once; no visual break is occurred because the video is magnified or reduced suddenly, so as to provide better visual effect for the user.

Description

The method that a kind of video pictures smoothly dwindles or amplifies
Technical field
The invention belongs to the video technique field, relate in particular to the technology that video pictures dwindles or amplifies.
Background technology
In set-top box video output processing procedure, PIG (drawing among the picture in graphic figure) or PIP demands such as (picture in picture picture-in-pictures) are usually arranged, for instance, some menus such as electronic program guides (EPG) interface is arranged in the set-top box, when entering such interface, general all the full screen video picture of exporting can being narrowed down to has only original 1/4th size backs to continue to show on wicket, outside wicket all the other place shows the electronic program guides interface then, after the user withdraws from this menu, video pictures automatically restores to original full frame size again, this just is PIG, also having a kind of is that set-top box can be exported two-path video simultaneously, as long as the user is by certain key such as PIP key, this moment, set-top box will narrow down to the full screen video picture of exporting 1/4th continuation demonstrations on wicket, causing has two pictures to show simultaneously simultaneously, when the user does not want to see, again by certain key such as PIP key, video automatically restores to original full frame size again, this just is PIP, this dual mode needs that all video pictures is carried out convergent-divergent and handles.
Existing processing all is that full frame picture is zoomed to the size of appointment once (generally in 0.1 second, the user is the process of imperceptible convergent-divergent at all), on wicket, continue to show then, before the convergent-divergent and the schematic diagram of the contrast of the video pictures behind the convergent-divergent as depicted in figs. 1 and 2:
Because existing set-top box is from full frame when switching to PIG or PIP, the speed that former video pictures dwindles is exceedingly fast (process of amplification in like manner), and the user can't feel the process of convergent-divergent, thereby visually produces a kind of variation of jump easily, allow the people feel very lofty, be difficult for accepting.
Summary of the invention
The method that the object of the present invention is to provide a kind of video pictures smoothly to dwindle or amplify, the dissatisfactory problem of visual experience when being intended to solve the video pictures convergent-divergent that exists in the prior art.
The present invention is achieved in that the method that a kind of video pictures smoothly dwindles, and described method comprises following step:
Reception is to the convergent-divergent instruction of video pictures window;
The number of times of video pictures window convergent-divergent is set, and the appointment size of the video pictures window that finally dwindles;
Whether current state under have video output, if video output is arranged, then create the full screen video picture window if judging, show described full screen video picture in described full screen video picture window;
According to convergent-divergent number of times that is provided with and the size of dwindling, described full screen video picture window through twice or twice above dwindling, is finally narrowed down to the video pictures window of specifying size.
Described is 100 times more than twice.
The length of side that described window dwindles at every turn is that the length of side of described full screen video picture window deducts after the length of side of described video pictures window of specifying size divided by dwindling number of times.
Wherein step comprises described full screen video picture window through dwindling also more than twice or twice:
Dwindle after the described window at every turn, wait for the predetermined utmost point short time.
Wherein after the described step that finally narrows down to the video pictures window of specifying size, also comprise:
Described video pictures, graph layer and background I frame outputed on the television set after stacked adding show.
The size of the video pictures window of described appointment size is 1/4th of a described full screen video picture window size.
The embodiment of the invention also provides a kind of video pictures level and smooth method of amplifying, and described method comprises following step:
Reception is to the amplification instruction of video pictures window;
The number of times that the video pictures window amplifies is set, and the appointment size of the final video pictures window that amplifies;
According to the amplification number of times that is provided with and the size of amplification, non-full frame video pictures window through twice or twice above amplification, finally is amplified to the full screen video picture window.
The size of described non-full frame video pictures window is 1/4th of a described full screen video picture window size.
The length of side that the each length of side of amplifying of described window is described full screen video picture window deducts after the length of side of described non-full screen video picture window divided by amplifying number of times.
The present invention overcomes the deficiencies in the prior art, in to the process of the window convergent-divergent of video pictures, adopt the technical scheme of level and smooth convergent-divergent one by one, make video pictures dwindling or amplify progressively in the window, thereby avoid a convergent-divergent to put in place to the jump sensation of user's generation, can be not big or dwindle and produce visual sudden change because of the unexpected change of video, provide better visual effect to the user.
Description of drawings
Fig. 1 is the video pictures schematic diagram before prior art is dwindled;
Fig. 2 is video pictures and the EPG menu schematic diagram after prior art is dwindled;
Fig. 3 is the described video pictures convergent-divergent of an embodiment of the invention process schematic diagram;
Fig. 4 is an embodiment of the invention flow chart;
Fig. 5 is the particular flow sheet that dwindles of video window in the described flow process of Fig. 4.
Embodiment
Technical scheme provided by the invention is: slow down by the process with convergent-divergent, in to the process of the window convergent-divergent of video pictures, adopt the technical scheme of level and smooth convergent-divergent one by one, make video pictures dwindling or amplify progressively in the window, thereby the jump sensation of avoiding convergent-divergent to put in place and produce to the user is can be because of the unexpected change of video not big or dwindle and produce visual sudden change.
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The show levels of set-top box is because the variation of hardware has two-layer or three layers.Be to comprise OSD layer and video layer under the two-layer situation, the next I frame background layer that also comprised of three layers situation.Do not support at hardware under the situation of I frame, can realize the demonstration of I frame background layer by software.
In EPG used, what the user saw may be the stack at television video picture and EPG interface, and television video picture can be divided into three layers from front to back, be followed successively by graph layer (On Screen Display, OSD), video layer and background layer.OSD interface display technology refers to that the stack literal shows on image frame, makes screen provide more additional information for the user; Video layer is the current program of watching, i.e. the live image that decoding is come out; Background layer is the screen picture when not playing TV programme and startup EPG menu.The EPG picture makes up on graph layer, is formed by stacking by many EPG graphic elements (as button, text box, selector button, assembly container etc.).The state transitions at interface is that the mechanism by message-driven realizes, carries out Message Processing in the message response function.What the user saw is that screen picture is the image after this stack of three layers.
Set-top box receives user instruction, when entering the EPG interface, dwindling of former video pictures is that video layer by in the display module is controlled, for reaching the purpose of progressively dwindling former video pictures, the number of times that dwindles by video window in the embodiment of the invention is set to repeatedly (suggestion is more than 100 times), display module dwindles number of times according to the video window that is provided with video window is dwindled one by one, up to the size that narrows down to appointment, progressively dwindle for like this user's the former video pictures of feeling, it is lofty not seem, its schematic diagram as shown in Figure 3.
Embodiment of the invention flow chart specifically comprises following step as shown in Figure 4:
1, the user presses the EPG button, and set-top box receives instruction;
2, whether set-top-box system is judged to have under the current state with EPG and is shown PVR (the PersonalVideo Recorder personal digital video recorder) operation that conflicts, such as the program in the playback hard disk just or carry out TimeShift (time shifting) and play, if have, change step 3, otherwise directly change step 4;
3, stop the PVR operation;
4, the various display items on the removing desktop are such as various Top Bar, icon etc.;
5, the final display position and the size of Video video window are set, and it may be presented at any position at EPG interface, and size generally is full frame 1/4;
6, enter the flow process of dwindling of video window, video window is dwindled through n time (n>=2), finally narrow down to the size and the position of appointment;
7, show the OSD layer,, show the EPG interface through three stacked adding.
The described video window of step 6 wherein dwindle flow process as shown in Figure 5, specifically comprise following step:
1, the final position of video window and size data import display module into;
2, the parameter of video window is set according to the data in the step 1, comprises video window type and format mode etc., and stop existing video demonstration and pip window, deletion window handle;
3, judge whether video output is arranged under the current state, have video output then to enter step 4, do not have video then to change step 12;
4, create a full screen video window, the full screen video window ranges at first is set, call window creation function MMAC_SCALER_CreateWindow then and create specified window;
5, display video layer shows the Video image in the window that step 4 is created;
6, the frequency n Step of convergent-divergent (nStep>=2) altogether are set, found through experiments, the convergent-divergent number of times is big more, and is level and smooth more in the video scaling process, and therefore, the convergent-divergent number of times is that 100 above effects are better, and nStep=150 is set in the embodiment of the invention;
7, the initial value that current convergent-divergent frequency n Time. is set is 0;
8, find the solution expression formula uTime<nStep,, otherwise change step 13 if value then enters step 9 for true;
9, resize-window calculates through the current window size behind this convergent-divergent, dwindles the length of side=(the full frame length of side-final length of side)/total convergent-divergent number of times at every turn, and the current window size is set;
10, wait for an extremely short time,, do not wait for that carry out convergent-divergent next time again, all convergent-divergents can be finished in moment, still can make user's sensory papilla towering because the CPU arithmetic speed is very fast.
11, current convergent-divergent number of times as uTime++, goes back to step 8 from adding 1;
12, directly create final window, and display window;
13, finish.
Being reduced into example with video pictures in the embodiment of the invention describes, when withdrawing from PIP or PIG menu, the amplification of video pictures can be adopted technical scheme provided by the invention equally, make the level and smooth amplification that video pictures can be progressively, its process is the process with the foregoing description contrary, those of ordinary skills need not can realize that through creative work this does not give unnecessary details.
As mentioned above, technical scheme provided by the invention makes behind the menu of each turnover PIG or PIP mode, and is can be because of the unexpected change of video not big or dwindle and produce visual sudden change, and video pictures is progressively level and smooth dwindles or amplifies, and visual effect can be better.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the method that video pictures smoothly dwindles is characterized in that, described method comprises following step:
Reception is to the convergent-divergent instruction of video pictures window;
The number of times of video pictures window convergent-divergent is set, and the appointment size of the video pictures window that finally dwindles;
Whether current state under have video output, if video output is arranged, then create the full screen video picture window if judging, show described full screen video picture in described full screen video picture window;
According to convergent-divergent number of times that is provided with and the size of dwindling, described full screen video picture window through twice or twice above dwindling, is finally narrowed down to the video pictures window of specifying size.
2. method according to claim 1 is characterized in that, described is 100 times more than twice.
3. method according to claim 1 is characterized in that, the length of side that described window dwindles at every turn is that the length of side of described full screen video picture window deducts after the length of side of described video pictures window of specifying size divided by dwindling number of times.
4. method according to claim 1 is characterized in that, wherein step comprises described full screen video picture window through dwindling also more than twice or twice:
Dwindle after the described window at every turn, wait for preset time.
5. method according to claim 1 is characterized in that, wherein also comprises after the described step that finally narrows down to the video pictures window of specifying size:
Described video pictures, graph layer and background I frame outputed on the television set after stacked adding show.
6. method according to claim 1 is characterized in that, the size of the video pictures window of described appointment size is 1/4th of a described full screen video picture window size.
7. the level and smooth method of amplifying of a video pictures is characterized in that described method comprises following step:
Reception is to the amplification instruction of video pictures window;
The number of times that the video pictures window amplifies is set, and the appointment size of the final video pictures window that amplifies;
According to the amplification number of times that is provided with and the size of amplification, non-full frame video pictures window through twice or twice above amplification, finally is amplified to the full screen video picture window.
8. method according to claim 7 is characterized in that, the size of described non-full frame video pictures window is 1/4th of a described full screen video picture window size.
9. method according to claim 7 is characterized in that, the length of side that the each length of side of amplifying of described window is described full screen video picture window deducts after the length of side of described non-full screen video picture window divided by amplifying number of times.
CN2007100774411A 2007-11-28 2007-11-28 Method for smooth reducing or amplifying video picture Expired - Fee Related CN101207750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100774411A CN101207750B (en) 2007-11-28 2007-11-28 Method for smooth reducing or amplifying video picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100774411A CN101207750B (en) 2007-11-28 2007-11-28 Method for smooth reducing or amplifying video picture

Publications (2)

Publication Number Publication Date
CN101207750A CN101207750A (en) 2008-06-25
CN101207750B true CN101207750B (en) 2010-11-24

Family

ID=39567569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100774411A Expired - Fee Related CN101207750B (en) 2007-11-28 2007-11-28 Method for smooth reducing or amplifying video picture

Country Status (1)

Country Link
CN (1) CN101207750B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951195A (en) * 2014-03-24 2015-09-30 珠海金山办公软件有限公司 Conversion method and device of electronic document reading area

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185978A (en) * 2011-05-20 2011-09-14 中兴通讯股份有限公司 Method and device for controlling display of mobile television on mobile terminal
CN105635832B (en) * 2014-11-10 2019-05-28 阿里巴巴集团控股有限公司 A kind of method for processing video frequency and device
CN105704409B (en) * 2016-02-18 2019-07-02 海信集团有限公司 A kind of display methods, device and smart television
CN115190351B (en) * 2022-07-06 2023-09-29 Vidaa国际控股(荷兰)公司 Display equipment and media resource scaling control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6091513A (en) * 1997-11-27 2000-07-18 Fujitsu Limited Apparatus and method for converting image size and recording medium recording image size converting program therein and capable of being read by computer
CN1285683A (en) * 2000-06-27 2001-02-28 合肥海尔电器有限公司 Curtain pulling type method for switching on/off television set
CN1494326A (en) * 2002-09-30 2004-05-05 株式会社日立国际电气 Image display method for mobile terminal, image transiator and mobile terminal
CN1739116A (en) * 2003-02-26 2006-02-22 索尼株式会社 Apparatus and method for producing thumbnail images and for improving image quality of re-sized images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6091513A (en) * 1997-11-27 2000-07-18 Fujitsu Limited Apparatus and method for converting image size and recording medium recording image size converting program therein and capable of being read by computer
CN1285683A (en) * 2000-06-27 2001-02-28 合肥海尔电器有限公司 Curtain pulling type method for switching on/off television set
CN1494326A (en) * 2002-09-30 2004-05-05 株式会社日立国际电气 Image display method for mobile terminal, image transiator and mobile terminal
CN1739116A (en) * 2003-02-26 2006-02-22 索尼株式会社 Apparatus and method for producing thumbnail images and for improving image quality of re-sized images

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951195A (en) * 2014-03-24 2015-09-30 珠海金山办公软件有限公司 Conversion method and device of electronic document reading area
CN104951195B (en) * 2014-03-24 2017-12-01 珠海金山办公软件有限公司 A kind of transform method and device in electronic document reading region

Also Published As

Publication number Publication date
CN101207750A (en) 2008-06-25

Similar Documents

Publication Publication Date Title
US8837919B2 (en) Information processing apparatus, information processing method, and program
TWI463870B (en) Method for displaying a video stream according to a customised format
US8810605B2 (en) Adaptive video processing apparatus and method of scaling video based on screen size of display device
KR101224393B1 (en) Video playback apparatus and method of controlling the same
US20060224962A1 (en) Context menu navigational method for accessing contextual and product-wide choices via remote control
US9841883B2 (en) User interfaces for media application
JP2008176658A (en) Display control device and method, and program
CN102106145A (en) Apparatus and method for displaying an enlarged target region of a reproduced image
WO2009081478A1 (en) Electronic device, control method, and program
CN101207750B (en) Method for smooth reducing or amplifying video picture
JP2009081699A (en) Electronic apparatus and method of controlling face image extraction
CN101207757B (en) Multi-picture recording TV set and display method thereof
EP2519022A2 (en) Video processing apparatus and video processing method
JP2001306211A (en) Display method for touch panel type display
US20080313667A1 (en) Television broadcast receiving apparatus, television broadcast reproducing method, and television broadcast reproducing program
US20090141035A1 (en) Display control apparatus and image forming apparatus employing same
JP2008167155A (en) Reproducing device and reproduction method, and program
CN109982135B (en) Channel switching method, device, terminal and computer readable storage medium
CN112711459B (en) Multimedia data processing method, device, equipment and computer readable storage medium
KR101318325B1 (en) Navigational operation method
EP1848203B1 (en) Method and system for video image aspect ratio conversion
JP3655067B2 (en) Device having dialog interface and program recording medium used therefor
JP2010034679A (en) Content list display device and display method
KR101165639B1 (en) Mobile terminal and Method for controlling the same
KR100386274B1 (en) Editing method for external input of television

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101124

CF01 Termination of patent right due to non-payment of annual fee