Method and system for sharing a buffer between a graphics processing unit and a media encoder
First Claim
Patent Images
1. A method comprising:
- receiving, by a program module executing in a first process space of a mobile computing device, a buffer request from a graphics driver running in a second process space of the mobile computing device, wherein the second process space is isolated from the first process space;
assigning, by the program module, a buffer to the graphics driver to store image data processed by a graphical processing unit (GPU) controlled by the graphics driver;
receiving, by the program module, a release of the buffer from the graphics driver; and
assigning the buffer to a media encoder driver for a hardware media encoder to encode the image data in the buffer into a file.
2 Assignments
0 Petitions
Accused Products
Abstract
A program module executing in a first process space of a mobile computing device receives a buffer request from a graphics driver running in a second process space of the mobile computing device, wherein the second process space is isolated from the first process space. The program module assigns a buffer to the graphics driver to store image data processed by a graphical processing unit (GPU) controlled by the graphics driver. The program module receives a release of the buffer from the graphics driver. The program module assigns the buffer to a media encoder driver for a hardware media encoder to encode the image data in the buffer into a file.
43 Citations
21 Claims
-
1. A method comprising:
-
receiving, by a program module executing in a first process space of a mobile computing device, a buffer request from a graphics driver running in a second process space of the mobile computing device, wherein the second process space is isolated from the first process space; assigning, by the program module, a buffer to the graphics driver to store image data processed by a graphical processing unit (GPU) controlled by the graphics driver; receiving, by the program module, a release of the buffer from the graphics driver; and assigning the buffer to a media encoder driver for a hardware media encoder to encode the image data in the buffer into a file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium having instructions that, when executed by a mobile computing device, cause the mobile computing device to perform a method comprising:
-
receiving, by a program module executing in a first process space of the mobile computing device, a buffer request from a graphics driver running in a second process space of the mobile computing device, wherein the second process space is isolated from the first process space; assigning, by the program module, a buffer to the graphics driver to store image data processed by a graphical processing unit (GPU) controlled by the graphics driver; receiving, by the program module, a release of the buffer from the graphics driver; and assigning the buffer to a media encoder driver for a hardware media encoder to encode the image data in the buffer into a file. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A mobile computing device comprising:
-
a graphics processing unit (GPU); a hardware media encoder; and a processing device, coupled to the GPU and the hardware media encoder, configured to receive, at a program module executing in a first process space of the mobile computing device, a buffer request from a graphics driver for the GPU running in a second process space of the mobile computing device, wherein the second process space is isolated from the first process space; assign, from the first process space, a buffer to the graphics driver to store image data processed by the GPU; receive, at the program module, a release of the buffer from the graphics driver; and assign the buffer to a media encoder driver for the hardware media encoder to encode the image data in the buffer into a file. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification