Effect display method and apparatus, device, and storage medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsYang LV, Ruifeng MA
Life of this patent
Estimating the term…
Abstract
The present disclosure provides an effect display method and apparatus, a device, and a storage medium. The effect display method includes: periodically sending, by a control thread, an effect data request to a preview thread, where the control thread contains at least one effect control; returning, by the preview thread, at least one piece of effect data to the control thread according to the data request; and rendering, by the control thread, the at least one piece of effect data to obtain at least one intermediate effect image, and displaying the at least one intermediate effect image.
Claims21
A effect display method, comprising:
- periodically sending, by a control thread, an effect data request to a preview thread, wherein the control thread contains at least one effect control;
- returning, by the preview thread, at least one piece of effect data to the control thread according to the data request;
- and
- rendering, by the control thread, the at least one piece of effect data to obtain at least one intermediate effect image, and displaying the at least one intermediate effect image.
(canceled)
An electronic device, comprising:
- at least one processing apparatus;
- a storage apparatus configured to store at least one program, wherein
- the at least one program, when executed by the at least one processing apparatus, causes the at least one processing apparatus to:
- periodically send, by a control thread, an effect data request to a preview thread, wherein the control thread contains at least one effect control;
- return, by the preview thread, at least one piece of effect data to the control thread according to the data request;
- and
- render, by the control thread, the at least one piece of effect data to obtain at least one intermediate effect image, and displaying the at least one intermediate effect image.
A computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processing apparatus, causes the processing apparatus to:
- periodically send, by a control thread, an effect data request to a preview thread, wherein the control thread contains at least one effect control:
- return, by the preview thread, at least one piece of effect data to the control thread according to the data request;
- and
- render, by the control thread, the at least one piece of effect data to obtain at least one intermediate effect image, and displaying the at least one intermediate effect image.
Dependencies are inferred from the claim text.