Window management method and terminal
A window management and window technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problems of time-consuming and microprocessor processing resources, etc., achieve optimization methods, avoid time and Resource consumption, the effect of reducing computing consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] This embodiment aims to provide a window management method, which can reduce the calculation consumption of the terminal in the image display process and optimize the image display method, see figure 1 , including the following steps:
[0027] 101. Send image data of a first application window to a video memory for display in a direct memory access manner.
[0028] Wherein, the image displayed on the screen and the data corresponding to it before being converted into a display image can be called image data. Direct memory access (Direct Memory Access) is a data exchange method that directly accesses data from the memory without going through the microprocessor. The DMA controller handles the data transmission, which greatly reduces the resource occupation of the microprocessor. rate, can greatly save system resources. In this embodiment, the image data can be directly written into the video memory from the data buffer area through the DMA controller, and the data in t...
Embodiment 2
[0044] This embodiment is based on the first embodiment, and the first embodiment is further described in detail. Specifically, see figure 2 , before step 101 of the first embodiment, sending the image data of the first application window to the video memory for display by means of direct memory access, the following steps are also included:
[0045]201. Receive an application message for creating the first application window, where the application message includes display coordinate information of the first application window.
[0046] When the terminal does not currently have a playback window, the first application program needs to apply to the window system to create a playback window through an interface with the window system, that is, the application program applies to the window system through an API interface (Application Programming Interface, Application Programming Interface). Wherein, the application message includes information such as coordinates, height and w...
Embodiment 3
[0067] In this embodiment, the first application program is a video playback system as an example, see Figure 5 , to describe the window management method in detail.
[0068] When playing video on the terminal, in most cases there is image 3 As shown in the video playback window, there is only the video playback window under the root window. In this case, the window management method is as follows:
[0069] 301. The video playing system applies to the window system for creating a video playing window through an interface with the window system.
[0070] 302. Set the video playback window as displayable, and obtain the video memory address through the display driver, calculate the offset value of the video playback window based on the video memory address according to the display coordinates of the video playback window, and obtain the video memory corresponding to the video playback window area.
[0071] 303. Decode the video stream to acquire image data of the video play...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com