Method and system for playing multimedia data
AssigneeBanma Zhixing Network (Hongkong) Co., Limited
InventorsJiangwei Li, Xueshu Zhong, Yongqin Liu
Life of this patent
Estimating the term…
Abstract
Playing multimedia data including instructing that a transparent area be painted in a first drawing layer, instructing that a multimedia data playing window be painted in a second drawing layer, the multimedia data playing window overlapping with the transparent area, instructing synchronous display of the transparent area and the playing window, and instructing that the multimedia data be played in the playing window.
Claims11
A method, comprising:
- instructing, using a processor, that a transparent area be painted in a first drawing layer based on first information, wherein the first information includes coordinates or dimensions of the transparent area;
- instructing, using the processor, that a multimedia data playing window be painted in a second drawing layer, the multimedia data playing window overlapping with the transparent area, wherein the instructing that the multimedia data playing window be painted in the second drawing layer comprises:
- determining coordinates or dimensions of the multimedia data playing window associated with second information, the coordinates or the dimensions of the multimedia data playing window being determined based on the coordinates or the dimensions of the transparent area associated with the first information;
- and
- instructing a multimedia data playing service to paint the multimedia data playing window in the second drawing layer based on the second information, wherein the second information includes the coordinates or the dimensions of the multimedia data playing window;
- instructing, using the processor, synchronous display of the transparent area and the multimedia data playing window;
- instructing, using the processor, that multimedia data be played in the multimedia data playing window;
- and
- receiving new first information and new second information from a rendering thread in response to a trigger instruction, the new first information being different from the first information, the new second information being different from the second information, the new first information being used to instruct the transparent area to be painted, the new second information being used to instruct the multimedia data playing window to be painted, wherein the trigger instruction comprises at least one of:
- a user scroll instruction, a page up instruction, or a page down instruction.
A method, comprising:
- determining coordinates or dimensions of a multimedia data playing window associated with second information, the coordinates or the dimensions of the multimedia data playing window being determined based on coordinates or dimensions of a transparent area associated with first information;
- issuing, using a processor, the first information and the second information to a graphics processing unit (GPU) process, the first information instructing that the transparent area is to be painted and the second information instructing that the multimedia data playing window is to be painted, wherein the first information includes the coordinates or the dimensions of the transparent area, wherein the second information includes the coordinates or the dimensions of the multimedia data playing window, and wherein the issuing of the first information and the second information to the GPU process comprises:
- instructing a multimedia data playing service to paint the multimedia data playing window based on the second information;
- receiving advice from the GPU process;
- in response to receiving the advice, painting, using the processor, the transparent area in a drawing layer based on the first information;
- and
- obtaining new first information based on a user trigger instruction, the new first information being different from the first information, new second information being obtained from the new first information, the new second information being different from the second information, the new first information being used to instruct the transparent area to be painted, the new second information being used to instruct the multimedia data playing window to be painted, wherein the user trigger instruction comprises at least one of:
- a user scroll instruction, a page up instruction, or a page down instruction.
A system, comprising:
- a processor;
- and
- a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
- instruct that a transparent area be painted in a first drawing layer based on first information, wherein the first information includes coordinates or dimensions of the transparent area;
- instruct that a multimedia data playing window be painted in a second drawing layer, the multimedia data playing window overlapping with the transparent area, wherein the instructing that the multimedia data playing window be painted in the second drawing layer comprises to:
- determine coordinates or dimensions of the multimedia data playing window associated with second information, the coordinates or the dimensions of the multimedia data playing window being determined based on the coordinates or the dimensions of the transparent area associated with the first information;
- and
- instruct a multimedia data playing service to paint the multimedia data playing window in the second drawing layer based on the second information, wherein the second information includes the coordinates or the dimensions of the multimedia data playing window;
- instruct synchronous display of the transparent area and the multimedia data playing window;
- instruct that multimedia data be played in the multimedia data playing window;
- and
- receive new first information and new second information from a rendering thread in response to a trigger instruction, the new first information being different from the first information, the new second information being different from the second information, the new first information being used to instruct the transparent area to be painted, the new second information being used to instruct the multimedia data playing window to be painted, wherein the trigger instruction comprises at least one of:
- a user scroll instruction, a page up instruction, or a page down instruction.
A computer program product being embodied in a tangible non-transitory computer readable storage medium and comprising computer instructions for:
- instructing that a transparent area be painted in a first drawing layer based on first information, wherein the first information includes coordinates or dimensions of the transparent area;
- instructing that a multimedia data playing window be painted in a second drawing layer, the multimedia data playing window overlapping with the transparent area, wherein the instructing that the multimedia data playing window be painted in the second drawing layer comprises:
- determining coordinates or dimensions of the multimedia data playing window associated with second information, the coordinates or the dimensions of the multimedia data playing window being determined based on the coordinates or the dimensions of the transparent area associated with the first information;
- and
- instructing a multimedia data playing service to paint the multimedia data playing window in the second drawing layer based on the second information, wherein the second information includes the coordinates or the dimensions of the multimedia data playing window;
- instructing synchronous display of the transparent area and the multimedia data playing window;
- instructing that multimedia data be played in the multimedia data playing window;
- and
- receiving new first information and new second information from a rendering thread in response to a trigger instruction, the new first information being different from the first information, the new second information being different from the second information, the new first information being used to instruct the transparent area to be painted, the new second information being used to instruct the multimedia data playing window to be painted, wherein the trigger instruction comprises at least one of:
- a user scroll instruction, a page up instruction, or a page down instruction.
Dependencies are inferred from the claim text.