主权项 |
1. A method of transmitting video data from a wireless source device to a wireless sink device, the method comprising:
exchanging capability information with the wireless sink device; based on the exchange of capability information with the wireless sink device, selecting an operating mode for the wireless source device, wherein the operating mode comprises one of a video component mode or a pixel domain mode; when the selected operating mode for the wireless source device comprises the video component mode, intercepting a first video component prior to the first video component being rendered at the wireless source device, wherein the first video component comprises a call to a driver of a graphics processing unit, and wherein the driver supports a graphics application program interface (API), and wherein the first video component further comprises one or more commands supported by the graphics API; generating first metadata describing the first video component, wherein the first metadata comprises an identifier of a screen location to which the first video component is to be rendered; intercepting a second video component prior to rendering at the wireless source device, wherein the second video component comprises pixel data; generating second metadata describing the second video component, wherein the second metadata comprises an identifier of a screen location to which the second video component is to be rendered; transmitting the first video component, the second video component, the first metadata, and the second metadata to the wireless sink device; and rendering at the wireless source device a frame of video based on the first video component and the second video component. |