Method and device for merging graphic layers
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorsYanjie Wang, Chenyang Zhu
Life of this patent
Estimating the term…
Abstract
A method for merging graphic layers is provided. The method includes: receiving a plurality of graphic layers in a current frame; assigning sequence numbers to the graphic layers according to an overlay order; judging whether a first graphic layer and a second graphic layer vary in a period; merging the first graphic layer with the second graphic layer when judging that the first graphic layer and the second graphic layer do not vary in the period; and displaying the graphic layers in order of the sequence numbers according to the sequence numbers, wherein the first graphic layer and the second graphic layer are adjacent graphic layers.
Claims28
A method for merging graphic layers, comprising:
- receiving a plurality of graphic layers in a current frame;
- assigning sequence numbers to the graphic layers according to an overlay order;
- judging whether a first graphic layer and a second graphic layer vary in a period;
- merging the first graphic layer with the second graphic layer when judging that the first graphic layer and the second graphic layer do not vary in the period;
- and
- displaying the graphic layers in order of the sequence numbers,
- wherein the first graphic layer and the second graphic layer are adjacent graphic layers;
- wherein the step of judging whether the first graphic layer and the second graphic layer vary in the period further comprises:
- judging whether receiving a geometric distortion symbol;
- judging whether a buffer corresponding to the first graphic layer and a buffer corresponding to the second graphic layer vary when not receiving the geometric distortion symbol;
- and
- judging that the first graphic layer and the second graphic layer do not vary when judging that the buffer corresponding to the first graphic layer and the buffer corresponding to the second graphic layer do not vary.
A method for merging graphic layers, comprising:
- receiving a plurality of graphic layers in a current frame;
- assigning sequence numbers to the graphic layers according to an overlay order;
- assigning a weight value to each graphic layer according to a manner;
- establishing a layer order according to the sequence numbers and the weight values;
- judging whether a first graphic layer and a second graphic layer vary in a period;
- and
- merging the first graphic layer with the second graphic layer when judging that the first graphic layer and the second graphic layer do not vary in the period;
- wherein the first graphic layer and the second graphic layer are adjacent graphic layers;
- wherein the step of judging whether the first graphic layer and the second graphic layer vary in the period further comprises:
- judging whether receiving a geometric distortion symbol;
- judging whether a buffer corresponding to the first graphic layer and a buffer corresponding to the second graphic layer vary when not receiving the geometric distortion symbol;
- and
- judging that the first graphic layer and the second graphic layer do not vary when judging that the buffer corresponding to the first graphic layer and the buffer corresponding to the second graphic layer do not vary.
A device for merging graphic layers, comprising:
- a control circuit;
- a processor installed in the control circuit;
- and
- a memory installed in the control circuit and operatively coupled to the processor;
- wherein the processor is configured to execute a program code stored in the memory to instruct a hardware composer to:
- receive a plurality of graphic layers in a current frame;
- assign sequence numbers to the graphic layers according to an overlay order;
- judge whether a first graphic layer and a second graphic layer vary in a period;
- merge the first graphic layer with the second graphic layer when judging that the first graphic layer and the second graphic layer do not vary in the period;
- and
- display the graphic layers in order of the sequence numbers according to the sequence numbers,
- wherein the first graphic layer and the second graphic layer are adjacent graphic layers;
- wherein the step that the hardware composer judges whether the first graphic layer and the second graphic layer vary in the period further comprises:
- judging whether receiving a geometric distortion symbol;
- judging whether a buffer corresponding to the first graphic layer and a buffer corresponding to the second graphic layer vary when not receiving the geometric distortion symbol;
- and
- judging that the first graphic layer and the second graphic layer do not vary when judging that the buffer corresponding to the first graphic layer and the buffer corresponding to the second graphic layer do not vary.
A device for merging graphic layers, comprising:
- a control circuit;
- a processor installed in the control circuit;
- and
- a memory installed in the control circuit and operatively coupled to the processor;
- wherein the processor is configured to execute a program code stored in the memory to instruct a hardware composer to:
- receive a plurality of graphic layers in a current frame;
- assign sequence numbers to the graphic layers according to an overlay order;
- assign a weight value to each graphic layer according to a manner;
- establish a layer order according to the sequence numbers and the weight values;
- judge whether a first graphic layer and a second graphic layer vary in a period;
- and
- merge the first graphic layer with the second graphic layer when judging that the first graphic layer and the second graphic layer do not vary in the period;
- wherein the first graphic layer and the second graphic layer are adjacent graphic layers;
- wherein the step that the hardware composer judges whether the first graphic layer and the second graphic layer vary in the period further comprises:
- judging whether receiving a geometric distortion symbol;
- judging whether a buffer corresponding to the first graphic layer and a buffer corresponding to the second graphic layer vary when not receiving the geometric distortion symbol;
- and
- judging that the first graphic layer and the second graphic layer do not vary when judging that the buffer corresponding to the first graphic layer and the buffer corresponding to the second graphic layer do not vary.
Dependencies are inferred from the claim text.