Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2010-12-08
华创高科(北京)技术有限公司
View PDF4 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these two methods solve the above problems to a certain extent, there are inevitably some defects. The first commercial codec package is a traditional codec based on CPU, which also has the disadvantages of CPU. When encoding and decoding high-level high-definition video data, it takes up too much CPU resources, and it is easy to slow down the response of other functions in the software; the second hardware encoding and decoding card needs to use a professional hardware board, which has the following disadvantages:
[0004] 1) The cost is high. Due to the high research and development costs of professional-grade boards, the cost of purchasing such products is also high;
[0005] 2) The application flexibility is poor. Since the redundant hardware boards need to occupy one or more board slots in the PC case, a larger case and a motherboard with more slots are required, which is not flexible enough in some application environments;
[0006] 3) The grades of products are not detailed enough, resulting in a low degree of freedom for users to choose. Due to the wide range of applications in video-related fields, there are many levels from high-end professional broadcasting to low-end ordinary individual users. The company's board products often cannot meet the needs of many intermediate users;
[0007] 4) Poor scalability. When new codec standards need to be supported, users need to upgrade new boards and redeploy new versions of the software system, resulting in difficulties in extending codec standards

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video coding and decoding method, GPU (Graphics Processing Unit) as well as interacting method and system of same and CPU (Central Processing Unit)
  • Video coding and decoding method, GPU (Graphics Processing Unit) as well as interacting method and system of same and CPU (Central Processing Unit)
  • Video coding and decoding method, GPU (Graphics Processing Unit) as well as interacting method and system of same and CPU (Central Processing Unit)

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an interacting method of a GPU (Graphics Processing Unit) and a CPU (Central Processing Unit). The method comprises the following steps of: reading initial data in the CPU; arraying initial data which are continuous logically and discontinuous in the physical space into data which are continuous logically and also continuous in the physical space according to preset program codes collaterally executed on the GPU; converting parallel data computed in the GPU into serial data; and transmitting the serial data onto the CPU. The embodiment of the invention also discloses an interacting system of the GPU and the CPU, the GPU and a video coding and decoding method. In the invention, the calculated load on the CPU is carried out on the GPU, and the parallel computing of the GPU is utilized to improve the video coding and decoding speed in a frame and reduce the occupation to CPU resources when broadcast quality high-definition video data are coded and decoded, so that the resources of the CPU can be released for other computations and operations in the system, and the reduction of system properties is avoided.

Description

technical field [0001] The present invention relates to the field of broadcasting and television, and more specifically, relates to a video encoding and decoding method, GPU and its interaction method and system with CPU. Background technique [0002] In recent years, the demand for high-definition video applications in the radio and television industry and individual users has gradually increased. However, due to the huge amount of high-definition video data, and the algorithm for encoding and decoding video data is also very complicated, it has led to the current mainstream platforms. When encoding and decoding, it is easy to exhaust the computing resources of the system, and the computing process is very time-consuming and inefficient, and it is difficult to meet the real-time requirements. Because the development of the CPU at this stage is limited by the architecture, technology, etc., it cannot be used at low Under the condition of low cost, the performance can be grea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F15/163G06T1/00G06T9/00
Inventor 鲁跃吴会森
Owner 华创高科(北京)技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products