CN107231577A - The method to set up of Android intelligent television third party's video display window - Google Patents
The method to set up of Android intelligent television third party's video display window Download PDFInfo
- Publication number
- CN107231577A CN107231577A CN201710670613.XA CN201710670613A CN107231577A CN 107231577 A CN107231577 A CN 107231577A CN 201710670613 A CN201710670613 A CN 201710670613A CN 107231577 A CN107231577 A CN 107231577A
- Authority
- CN
- China
- Prior art keywords
- party
- video
- window
- television
- video 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention belongs to intelligent television field, it discloses a kind of method to set up of Android intelligent television third party's video display window, solve that the plan of establishment of third party's video display window in conventional art is present can not realize pixel movement, setting procedure is complicated, be likely to occur the problem of third party's video playback postpones.This method comprises the following steps:A. television video shows system creation third party's video display information call back function;B. television video shows system to driving layer registration third party's video display information call back function;C. third party's video playback is started, third party's video voluntarily sets window;D. driving layer notifies television video to show that system current third party video shows relevant information by third party's video display information call back function;E. television video shows system processing third party's video display information;F. television video shows that system, according to result, other cler processing in addition to window is set is carried out to third party's video.
Description
Technical field
The invention belongs to intelligent television field, a kind of specifically related to Android intelligent television third party's video display window is set
Put method.
Background technology
In the domestic market, Android operation system is used intelligent television, Android system has the video display window of oneself more
Mouth sets (surface view) flow, and television video shows that system can be also controlled to video display window.
Standard Android system completes the display of image (video) by Surfaceflinger, and APP (third party software) is broadcast
When putting video, its video shows that workflow is as shown in Figure 1:
After third party's video APP starts, player Stagefright/Nuplayer is started by mediaservice, then
The display of video is completed by Surfaceflinger, HWC, and VDP or OpenGL, GDP.In intelligent television,
Surfaceflinger is general by HWC layers, completes view data combination using hardware, then show by VDP.
Television video shows that system is decoded by video decoder (VDEC) to video, then passes through scaler moulds
Block is carried out after Display parameter processings, realizes that video is shown by VDP, its workflow is as shown in Figure 2;
Video window refers to of position and the size that video is shown in by VDP on screen, i.e. image on a display screen
Beginning position (position_x, position_y) and height (Height) and width (Width).
When playing video by third party APP in Android intelligent television, if without processing, will there is Android system
Primary video display window of uniting is set in the conflict between television video display system windows setting, conventional art, to solve
During Android intelligent television third party's video playback, Android video display window is set and television video shows system windows conflict,
Mainly use following two schemes:
Scheme one:APP uses the surface view setting procedures of Android primary, docking Android HWC (Hardware
Composer primary surface sets interface, control VDP (video display processor) or GDP in)
(graphic display processor) carries out display window setting;
Scheme two:When third party's video (Internet video) is played, the window of video is set by HWC, docks television video
The special purpose interface that display system scaler modules are provided carries out Android original in display window setting, HWC by VDP
Surface view setting procedures need to be stripped to block;
Such scheme one is when playing third party's video, and television video shows that the scaler modules of system are not regarded to third party
Frequency display window sets and is managed, and television video shows that system sclaer controls and third party's video display window set control
It is completely independent, non-interference, the two is switched over according to working condition, i.e., television video shows system scaler only to the non-3rd
Square video is controlled, and is not worked in third party's video playback, and shown in its flow chart 3, the advantage of the program is:Due to the 3rd
Square video playback and television video display control program are completely irrelevant, and the HWC of Android need not carry out any customization (change) i.e.
It can realize that third party's video window is set, realization is simpler, has the disadvantage:Television video can not be realized during third party's video playback
Some functions of being needed in display, such as pixel movement etc..
In such scheme two, third party's video window sets to change shows system scaler module progress by television video
Reason shows that the window in system scaler modules sets interface, it is necessary to dock television video in HWC, original in order to solve HWC
Video display window is set and television display system window sets conflict, in addition it is also necessary to remove primary surface in HWC
View window control approach, i.e. third party's video display window, which are set, to be changed scaler approach that television video shows to carry out,
Surface in HWC sets no longer control VDP (video display processor) or GDP, and its flow is as shown in Figure 4;
In this scenario, window primary in Android HWC is set and no longer worked, and the window of third party's video playback, which is set, all to be transferred to
Television video shows that the scaler of system is controlled, and primary surface view approach is completely interrupted in HWC, the program
Solve in Android intelligent television third party (network) video display process, video window sets (picture display size and position)
Between (picture display size and position) is set TV video window itself and the movement of OLED television sets pixel conflicts and asked
Topic, but is due to that third party's video APP is developed according to Android normal video playing flow in itself, when window is set pair
What is connect is the interface of HWC standards, it is necessary to change HWC, and the window removed in HWC sets approach, is changed to docking television video and shows
The window control interface of system, setting is cumbersome and it is possible that the delay of third party's video playback, causes user experience poor.
The content of the invention
The technical problems to be solved by the invention are:Propose a kind of setting for Android intelligent television third party's video display window
Put method, solve that the plan of establishment of third party's video display window in conventional art is present can not realize pixel movement, set
Put flow complexity, be likely to occur the problem of third party's video playback postpones.
The technical solution adopted for the present invention to solve the technical problems is:
The method to set up of Android intelligent television third party's video display window, comprises the following steps:
A. television video shows system creation third party's video display information call back function;
B. television video shows system to driving layer registration third party's video display information call back function;
C. third party's video playback is started, third party's video voluntarily sets window;
D. driving layer notifies television video to show system current third party by third party's video display information call back function
Video shows relevant information;
E. television video shows system processing third party's video display information;
F. television video shows that system, according to result, is carried out other in addition to window is set to third party's video
Scaler processing.
Optimize as further, in step f, described other scaler processing in addition to window include:Pixel movement, screen
Curtain protection.
Optimize as further, in step d, third party's video shows that relevant information includes:Current signal formats, window
Mouth arrange parameter, signal condition information.
As further optimization, the window arrange parameter includes:The window's position and size information, wherein the window's position bag
Include:Horizontal direction original position, vertical direction original position;Size information includes:Window width, window height.
Optimize as further, in step e, f, the television video shows system processing third party's video display information,
According to result, other scaler processing in addition to window is set are carried out to third party's video, are specifically included:
Scaler modules show that relevant information determines whether that wicket is played according to third party's video of acquisition, if small
Window broadcast state,
Scaler modules are handled without pixel movement, and system starts other screen protection measures;If played in full screen shape
State then starts pixel movement processing to eliminate afterimage of image.
The beneficial effects of the invention are as follows:
The present invention program need not enter line code customization to HWC, i.e., need not change Android standard HWC codes, solve simultaneously
Using the problem of pixel is immovable during intelligent television third party's video playback in the scheme one of prior art, the program is implemented
Simply, it can save the development time, improve complete machine development efficiency, simultaneously because the direct window of third party's video sets and uses Android
Primary flow, also solves third party's video playback time delay that prior art two is likely to occur, poor user experience
Problem.
Brief description of the drawings
Fig. 1 is that video when standard Android system APP plays video shows workflow diagram;
Fig. 2 is that television video shows workflow diagram;
Fig. 3 is third party's video display window setting procedure of scheme one in the prior art;
Fig. 4 is third party's video display window setting procedure of scheme two in the prior art;
Fig. 5 is third party's video display window setting procedure in the present invention.
Embodiment
The present invention is directed to propose a kind of method to set up of Android intelligent television third party's video display window, solves traditional skill
What the plan of establishment of third party's video display window in art was present can not realize pixel movement, setting procedure complexity, may go out
The problem of existing third party's video playback postpones.In the present invention, third party's video display window is carried out by third party's Video Applications
Management and control, television video shows that system does not carry out management and control to the window (picture dimension) of third party's video, while driving layer by returning
Letter of transfer number, is supplied to television video to show system third party's video display window configuration information, and television video shows system root
It is believed that breath carries out reasonable management and control to scaler parts of third party's video in addition to window sets (picture dimension), such as pixel is moved
Move, it is to avoid the window of television display system, which sets to set with third party's video display window, to conflict, and solves third party's video
Using can not carry out except window set in addition to scaler processing.
Below in conjunction with the accompanying drawings and embodiment is further described to the solution of the present invention:
In specific implementation, the present invention in intelligent television third party's video display window method to set up as shown in figure 5,
Including:
1st, when intelligent television is started shooting, television video shows system by way of registered callbacks function (callback) to hard
Part video decoding driving layer or hardware video decoding driving intermediate layer registration third party's video display information call back function;
2nd, third party's video playback starts, and third party's video display window (surface view), hardware are set by HWC
Video decoding driving layer or hardware video decoding driving intermediate layer are by third party's video display information call back function to TV
Video display system uploads third party's video display information, including current signal formats (timing), window (surface
View) the details such as arrange parameter (position and size), signal condition (whether stablizing, if in broadcast state);
3rd, television video shows that system is handled third party's video display information, and scaler modules are according to television video
The result of display system, obtains the display window in the information that third party's video display information call back function is sent back
(surface view) details, including the window's position and size information are (horizontal direction original position Surface_x, vertical
Direction original position Surface_y, window width Surface_Width, window height Surface_Height, video playback shape
State eSigStatus), to judge whether third party's video is that wicket is played;
4th, scaler modules are according to whether wicket broadcasting, judges whether to need to carry out pixel movement:If current state
It is (full frame) broadcasting of non-wicket, starts pixel movement (pixel shift) function treatment in OLED complete machines, to eliminate image
Ghost protects screen;
5th, for types such as OLED if wicket broadcast state or non-broadcast state, scaler modules do not do pixel
Mobile processing, complete machine starts the protection screen measure that remaining eliminates afterimage of image, such as screen protection etc..
By taking OLED television sets as an example, embodiments thereof step is as follows:
(1) television system starts;
(2) registered callbacks function DecSigChgNfyCb;
(3) third party APP starts;
(4) third party APP plays video and sets window by Android standard interface;
(5) call back function is called in hardware video decoding driving layer or hardware video decoding driving intermediate layer
DecSigChgNfyCb, upthrow the window's position and size information (Surface_x, Surface_y, Surface_Width,
) and current video broadcast state (eSigStatus Surface_Height:Whether play, if stable);
(6) Scaler modules are according to the information of call back function, Surface_x, Surface_y, Surface_Width,
Surface_Height, eSigStatus judge whether current window is wicket broadcast state;
(7) if wicket broadcast state, scaler modules are handled without pixel movement, and system starts other screens
Safeguard measure;Non- wicket (full frame) broadcast state, scaler modules start pixel movement processing to eliminate afterimage of image.
(8) non-broadcast state system starts other screen protection measures.
Claims (5)
1. the method to set up of Android intelligent television third party's video display window, it is characterised in that comprise the following steps:
A. television video shows system creation third party's video display information call back function;
B. television video shows system to driving layer registration third party's video display information call back function;
C. third party's video playback is started, third party's video voluntarily sets window;
D. driving layer notifies television video to show system current third party video by third party's video display information call back function
Show relevant information;
E. television video shows system processing third party's video display information;
F. television video shows that system, according to result, other scaler in addition to window is set is carried out to third party's video
Processing.
2. the method to set up of Android intelligent television third party's video display window as claimed in claim 1, it is characterised in that step
In rapid f, described other scaler processing in addition to window include:Pixel movement, screen protection.
3. the method to set up of Android intelligent television third party's video display window as claimed in claim 1, it is characterised in that step
In rapid d, third party's video shows that relevant information includes:Current signal formats, window arrange parameter, signal condition information.
4. the method to set up of Android intelligent television third party's video display window as claimed in claim 1, it is characterised in that institute
Stating window arrange parameter includes:The window's position and size information, wherein the window's position include:It is horizontal direction original position, vertical
Direction original position;Size information includes:Window width, window height.
5. the method to set up of Android intelligent television third party's video display window as claimed in claim 1, it is characterised in that step
In rapid e, f, the television video shows system processing third party's video display information, according to result, to third party's video
Other scaler processing in addition to window is set are carried out, are specifically included:
Scaler modules show that relevant information determines whether that wicket is played according to third party's video of acquisition, if wicket
Broadcast state,
Scaler modules are handled without pixel movement, and system starts other screen protection measures;If played in full screen state is then
Start pixel movement processing to eliminate afterimage of image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710670613.XA CN107231577A (en) | 2017-08-08 | 2017-08-08 | The method to set up of Android intelligent television third party's video display window |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710670613.XA CN107231577A (en) | 2017-08-08 | 2017-08-08 | The method to set up of Android intelligent television third party's video display window |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107231577A true CN107231577A (en) | 2017-10-03 |
Family
ID=59957970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710670613.XA Pending CN107231577A (en) | 2017-08-08 | 2017-08-08 | The method to set up of Android intelligent television third party's video display window |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231577A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101777315A (en) * | 2009-01-13 | 2010-07-14 | 深圳Tcl新技术有限公司 | Method for avoiding image retention of liquid crystal display |
CN103108242A (en) * | 2012-12-19 | 2013-05-15 | 四川长虹电器股份有限公司 | Method of solving conflict between intelligent television video application and television video |
CN103154990A (en) * | 2010-10-07 | 2013-06-12 | Lg电子株式会社 | Method for producing advertisement content using a display device and display device for same |
WO2014001480A1 (en) * | 2012-06-27 | 2014-01-03 | Watchever Group | System for displaying content |
US8817095B2 (en) * | 2006-08-21 | 2014-08-26 | At&T Intellectual Property I, Lp | Locally originated IPTV programming |
CN106303665A (en) * | 2016-11-14 | 2017-01-04 | 四川长虹电器股份有限公司 | Intelligent television third party's Video Applications window scaling and sound image quality parameter processing method |
-
2017
- 2017-08-08 CN CN201710670613.XA patent/CN107231577A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8817095B2 (en) * | 2006-08-21 | 2014-08-26 | At&T Intellectual Property I, Lp | Locally originated IPTV programming |
CN101777315A (en) * | 2009-01-13 | 2010-07-14 | 深圳Tcl新技术有限公司 | Method for avoiding image retention of liquid crystal display |
CN103154990A (en) * | 2010-10-07 | 2013-06-12 | Lg电子株式会社 | Method for producing advertisement content using a display device and display device for same |
WO2014001480A1 (en) * | 2012-06-27 | 2014-01-03 | Watchever Group | System for displaying content |
CN103108242A (en) * | 2012-12-19 | 2013-05-15 | 四川长虹电器股份有限公司 | Method of solving conflict between intelligent television video application and television video |
CN106303665A (en) * | 2016-11-14 | 2017-01-04 | 四川长虹电器股份有限公司 | Intelligent television third party's Video Applications window scaling and sound image quality parameter processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018370A (en) | Display methods and its system for video wall | |
JP2011044140A5 (en) | ||
CN1703075A (en) | Video data processing apparatus | |
CN108683852A (en) | A kind of video recording method, terminal and computer readable storage medium | |
CN105898341A (en) | Method and mobile client enabling simultaneous video live broadcast by two persons | |
CN105262961B (en) | A kind of more camera lens edit methods based on Cluster Rendering | |
CN101079989A (en) | Video processing apparatus, method of adding time code, and method of preparing editing list | |
CN105100870B (en) | A kind of screenshotss method and terminal device | |
WO2020133372A1 (en) | Video subtitle processing method and broadcast direction system | |
CN105827957A (en) | Image processing system and method | |
WO2020215454A1 (en) | Screen recording method, client, and terminal device | |
CN112637672A (en) | Screen projection method, screen projection receiving terminal and screen projection sending terminal | |
WO2023193521A1 (en) | Video inpainting method, related apparatus, device and storage medium | |
CN103369205A (en) | Mobile terminal and video image processing method | |
JP7218786B2 (en) | Image processing device, image processing method and program | |
CN105100930B (en) | The method and apparatus that display participates in interactive user information | |
CN105915972A (en) | Virtual reality 4K video optimization method and device | |
CN105100936B (en) | The method and apparatus that display participates in interactive user information | |
CN107231577A (en) | The method to set up of Android intelligent television third party's video display window | |
CN105100934A (en) | Method and device for displaying user information participating in interaction | |
CN105307032A (en) | Method and device for displaying audience voting numbers in real time | |
CN107665493A (en) | A kind of image processing method and system based on super-pixel segmentation | |
CN103414863A (en) | Method and device for processing video | |
CN103997694B (en) | A kind of video moves back broadcasting method and system | |
CN102930582A (en) | Animation production method based on game engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171003 |