US 12,406,322 B2
Casting control method and apparatus
Cheng Luo, Wuhan (CN); Changliang Wang, Hangzhou (CN); Xiaofei Zhong, Wuhan (CN); Gang Li, Wuhan (CN); and Ruoxi Liu, Wuhan (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Mar. 23, 2023, as Appl. No. 18/188,876.
Application 18/188,876 is a continuation of application No. PCT/CN2021/114438, filed on Aug. 25, 2021.
Claims priority of application No. 202011027392.2 (CN), filed on Sep. 25, 2020.
Prior Publication US 2023/0230196 A1, Jul. 20, 2023
Int. Cl. G06T 1/20 (2006.01); H04L 65/65 (2022.01); H04N 7/01 (2006.01); H04N 19/42 (2014.01)
CPC G06T 1/20 (2013.01) [H04N 7/01 (2013.01); H04N 19/42 (2014.11); H04L 65/65 (2022.05)] 20 Claims
OG exemplary drawing
 
1. A method, applied to a first electronic device, wherein the first electronic device comprises a graphics processing unit (GPU) and a hardware composer (HWC), and the method comprises:
when the first electronic device is in a casting state, determining whether a to-be-synthesized layer corresponding to multimedia information to be cast and displayed comprises a video security layer;
determining that the to-be-synthesized layer does not comprise the video security layer;
separately sending, from SurfaceFlinger, the to-be-synthesized layer to the GPU and the HWC in response to determining that the to-be-synthesized layer does not comprise the video security layer;
simultaneously synthesizing the same to-be-synthesized layer in parallel by using the GPU and the HWC, to obtain a first layer synthesized by the GPU and a second layer synthesized by the HWC;
sending the first layer synthesized by the GPU to a second electronic device, to display the multimedia information corresponding to the first layer on the second electronic device; and
displaying the multimedia information corresponding to the second layer synthesized by the HWC.