Method and Apparatus for Image Capture in Transmitter of Wireless Communications System
A method for capturing an image in a transmitter of a wireless communications system, the method comprising controlling a graphic processing unit (GPU) of a graphic card to move frames corresponding to the image from a graphic card frame buffer to a buffer which is accessible by a central processing unit (CPU) of the transmitter when a specified condition is detected; controlling the GPU to release a control for the frames to the CPU; encoding the frames in the buffer which is accessible by the CPU; and transmitting the encoded frames to a receiver of the wireless communications system; wherein the graphic card is connected to the transmitter.
1 . A method for capturing an image in a transmitter of a wireless communications system, the method comprising:
controlling a graphic processing unit (GPU) of a graphic card to move frames corresponding to the image from a graphic card frame buffer to a buffer which is accessible by a central processing unit (CPU) of the transmitter when a specified condition is detected;
controlling the GPU to release a control for the frames to the CPU;
encoding the frames in the buffer which is accessible by the CPU; and
transmitting the encoded frames to a receiver of the wireless communications system;
wherein the graphic card is connected to the transmitter.
2 . The method of claim 1 , wherein the specified condition is that the image changes or the image displays over a specific time.
3 . The method of claim 1 , wherein the step of controlling the GPU of the graphic card to move the frames corresponding to the image from the graphic card frame buffer to the buffer which is accessible by the CPU of the transmitter comprises using an application programming interface with a graphic programming language to control and access the GPU.
4 . The method of claim 3 , wherein the application programming interface is Microsoft DirectX 11 or updated version.
5 . The method of claim 3 , wherein the graphic programming language is high level shader language (HLSL).
6 . A communication apparatus for a wireless communications system, comprising:
a processing means;
a storage unit; and
a program code, stored in the storage unit, wherein the program code instructs the processing means to execute the following steps:
controlling a graphic processing unit (GPU) of a graphic card to move frames corresponding to the image from a graphic card frame buffer to a buffer which is accessible by the processing means when a specified condition is detected;
controlling the GPU to release a control for the frames to the processing means;
controlling an encoding unit to encode the frames in the buffer which is accessible by the processing means; and
controlling a communication interfacing module to transmit the encoded frames to a receiver of the wireless communications system;
wherein the graphic card is connected to the communication apparatus.
7 . The communication apparatus of claim 6 , wherein the specified condition is that the image changes or the image displays over a specific time.
8 . The communication apparatus of claim 6 , wherein the step of controlling the GPU of the graphic card to move the frames corresponding to the image from the graphic card frame buffer to the buffer which is accessible by the processing means comprises using an application programming interface with a graphic programming language to control and access the GPU.
9 . The communication apparatus of claim 8 , wherein the application programming interface is Microsoft DirectX 11 or updated version.
10 . The communication apparatus of claim 8 , wherein the graphic programming language is high level shader language (HLSL).