US 12,308,002 B2
Frame rate switching method and apparatus
Lifeng Cai, Shenzhen (CN); Xuechen Sun, Shenzhen (CN); and Kai Zhang, Shenzhen (CN)
Assigned to HONOR DEVICE CO., LTD., Shenzhen (CN)
Appl. No. 18/033,999
Filed by HONOR DEVICE CO., LTD., Shenzhen (CN)
PCT Filed Sep. 8, 2022, PCT No. PCT/CN2022/117925
§ 371(c)(1), (2) Date Apr. 26, 2023,
PCT Pub. No. WO2023/124225, PCT Pub. Date Jul. 6, 2023.
Claims priority of application No. 202111650488.9 (CN), filed on Dec. 29, 2021; and application No. 202210191921.5 (CN), filed on Feb. 28, 2022.
Prior Publication US 2024/0386867 A1, Nov. 21, 2024
Int. Cl. G09G 5/395 (2006.01); H04N 21/431 (2011.01); H04N 21/4402 (2011.01); H04N 21/443 (2011.01)
CPC G09G 5/395 (2013.01) [H04N 21/431 (2013.01); H04N 21/440281 (2013.01); H04N 21/4438 (2013.01); G09G 2340/0435 (2013.01); G09G 2370/16 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A frame rate switching method, comprising:
drawing and rendering, by an application thread, a first image frame at a frame interval corresponding to a first frame rate in a first period;
drawing and rendering, by the application thread, a second image frame at a frame interval corresponding to a second frame rate in a second period, wherein the second period is preceded by the first period, and the second frame rate is different from the first frame rate;
transmitting, by a compositing thread, a first frame-rate-switching request to a hardware composer thread in a third period, wherein the transmitting comprises calling, by the compositing thread, a function in the third period to cause the hardware composer thread to switch from the first frame rate to the second frame rate, wherein the third period is preceded by the second period, or the third period coincides with the second period; and
switching, by the hardware composer thread, from the first frame rate to the second frame rate in response to the first frame-rate-switching request so that the second image frame is displayed at the second frame rate.