Video coding and decoding method, GPU (Graphics Processing Unit) as well as interacting method and system of same and CPU (Central Processing Unit)
An interactive method and code technology, which is applied in video codec method, GPU and its interaction method with CPU and the system field, can solve the problems of slow response, poor scalability, low degree of freedom, etc., to avoid the reduction of system performance and to be flexible Sexual improvement, speed-up effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] A flow chart of an interaction method between a graphics processing unit GPU and a central processing unit CPU disclosed in an embodiment of the present invention is as follows: Figure 4 shown, including the following steps:
[0073] Step S101: read the original data in the CPU, this process can enable the GPU to read the original image data in the CPU through the parallel computing API of the GPU;
[0074] It should be noted that the GPU parallel computing API used in this embodiment can be arbitrarily selected from CUDA, OpenCL, and DirectCompute. To choose a different API, you only need to change the grammatical form of the program code accordingly. The selection does not limit the scope of protection of the embodiments of the present invention.
[0075] Step S102: According to the pre-set program codes executed in parallel on the GPU, arrange the original data that is logically continuous and physically discontinuous into data that is both logically and physically...
Embodiment 2
[0082] This embodiment discloses an interactive system between GPU and CPU, the structure of the system is as follows Figure 5 As shown, it includes the following functional units:
[0083] CPU12;
[0084] GPU17, used to process the data that needs to be calculated in parallel, and store the result data in the process of data processing;
[0085] A code translation unit 16, configured to convert program codes serially executed on the CPU into program codes executed in parallel on the GPU;
[0086] The storage unit 13 is used to store preset program codes executed in parallel on the GPU;
[0087] The data arrangement unit 11 is used to arrange the logically continuous and physically discontinuous original data into logically and physically continuous data, that is, to complete the transformation of the data organization form;
[0088] A data conversion unit 14 connected to the GPU, used to convert the parallel data calculated in the GPU into serial data, so as to perform se...
Embodiment 3
[0093] This embodiment discloses a GPU, including the following functional units:
[0094] A data processing unit for processing data requiring parallel computing;
[0095] GPU memory, used to store the result data during data processing;
[0096] The transmission unit is used for data transmission with the CPU.
[0097] In addition, the GPU in this embodiment further includes one or any combination of the code translation unit, storage unit, data arrangement unit, and data conversion unit in the previous embodiment.
[0098] The GPU in this embodiment can realize the data interaction with the CPU through the transmission unit, and can complete the parallel calculation of the data converted from the data organization form by the data arrangement unit, and can send the parallel calculation results to the CPU after serial conversion deal with.
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