Low power video composition using a stream out buffer
AssigneeIntel Corporation
InventorsYunbiao Lin, Changliang Wang, Tiehan Lu, Qingyuan Zhang, Li Xu, Bo Zhao, Changwon Rhee
Life of this patent
Estimating the term…
Abstract
Techniques related to compositing video content are discussed. Such techniques may include generating transparency data for a surface of first video content and storing it in a stream out buffer, accessing the transparency data via the stream out buffer when there is no change to the surface of the first video content, and compositing the first video content with second video content based on the accessed transparency data.
Claims25
A computer-implemented method for compositing video content comprising:
- generating, at a first composition operation of a plurality of composition operations to composite first video content and second video content, first transparency data associated with a surface of the first video content, wherein the first video content comprises an alpha channel;
- detecting, at a second video composition operation of the plurality of composition operations, no change in the first video content or a change in the first video content based on analysis of the alpha channel of the first video content;
- and
- in response to no change in the first video content being detected at the second video composition operation:
- accessing, at the second video composition operation, the first transparency data;
- copying, at the second video composition operation, a first region of a surface of the second video content based on a first transparency indicator of the first transparency data;
- and blending, at the second video composition operation, a second region of the surface of the second video content with an associated region of the surface of the first video content based on a first non-transparency indicator of the first transparency data to generate composited video data;
- or
- in response to the change in the first video content being detected at the second video composition operation:
- generating, at the second video composition operation, second transparency data associated with a second surface of the first video content, wherein the second surface corresponds to the change, wherein the second transparency data comprises a second transparency indicator and a second non-transparency indicator;
- copying, at the second video composition operation, a third region of the surface of the second video content based on the second transparency indicator;
- and blending, at the second video composition operation, a fourth region of the surface of the second video content with an associated region of the second surface of the first video content based on the second non-transparency indicator of the transparency data to generate the composited video data.
A system for compositing video content comprising:
- a memory comprising a surface allocation buffer and a stream out buffer associated with first video content;
- and
- a graphics processor coupled to the memory, the graphics processor to:
- generate, at a first composition operation of a plurality of composition operations to composite the first video content and second video content, first transparency data associated with a surface of the first video content, wherein the first video content comprises an alpha channel;
- detect, at a second video composition operation of the plurality of composition operations, no change in the first video content or a change in the first video content based on analysis of the alpha channel of the first video content;
- and
- in response to no change in the first video content being detected at the second video composition operation:
- access, at the second video composition operation, the first transparency data;
- copy, at the second video composition operation, a first region of a surface of the second video content based on a first transparency indicator of the first transparency data;
- and to blend, at the second video composition operation, a second region of the surface of the second video content with an associated region of the surface of the first video content based on a first non-transparency indicator of the first transparency data to generate composited video data;
- or
- in response to the change in the first video content being detected at the second video composition operation:
- generate, at the second video composition operation, second transparency data associated with a second surface of the first video content, wherein the second surface corresponds to the change, wherein the second transparency data comprises a second transparency indicator and a second non-transparency indicator;
- copy, at the second video composition operation, a third region of the surface of the second video content based on the second transparency indicator;
- and blend, at the second video composition operation, a fourth region of the surface of the second video content with an associated region of the second surface of the first video content based on the second non-transparency indicator of the transparency data to generate the composited video data.
At least one non-transitory machine readable medium comprising a plurality of instructions that, in response to being executed on a computing device, cause the computing device to composite video content by:
- generating, at a first composition operation of a plurality of composition operations to composite first video content and second video content, first transparency data associated with a surface of the first video content, wherein the first video content comprises an alpha channel;
- detecting, at a second video composition operation of the plurality of composition operations, no change in the first video content or a change in the first video content based on analysis of the alpha channel of the first video content;
- and
- in response to no change in the first video content being detected at the second video composition operation:
- accessing, at the second video composition operation, the first transparency data;
- copying, at the second video composition operation, a first region of a surface of the second video content based on a first transparency indicator of the first transparency data;
- and blending, at the second video composition operation, a second region of the surface of the second video content with an associated region of the surface of the first video content based on a first non-transparency indicator of the first transparency data to generate composited video data;
- or
- in response to the change in the first video content being detected at the second video composition operation:
- generating, at the second video composition operation, second transparency data associated with a second surface of the first video content, wherein the second surface corresponds to the change, wherein the second transparency data comprises a second transparency indicator and a second non-transparency indicator, copying, at the second video composition operation, a third region of the surface of the second video content based on the second transparency indicator, and blending, at the second video composition operation, a fourth region of the surface of the second video content with an associated region of the second surface of the first video content based on the second non-transparency indicator of the transparency data to generate the composited video data.
Dependencies are inferred from the claim text.