Patent ID: 11910068
Assignee: SHANGHAI BILIBILI TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 15:
16. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, upon executed by one or more processors of an electronic device, cause the electronic device to perform operations comprising:
reading video information of a 3D video to be rendered;
determining an image format of the 3D video according to the video information;
generating a first spherical model and a second spherical model according to the image format;
reading a frame image of the 3D video, wherein the frame image comprises a first sub-image and a second sub-image;
obtaining angle-of-view rotation data and image scaling data;
rendering the frame image according to the angle-of-view rotation data and the image scaling data, wherein the first sub-image is rendered to the first spherical model to obtain a first spherical image, and the second sub-image is rendered to the second spherical model to obtain a second spherical image; and
outputting images in a viewport area of the first spherical image and the second spherical image to a display device,
wherein the one or more programs further comprising instructions, upon executed by the one or more processors of the electronic device, cause the electronic device to perform operations comprising:
calculating a ratio of the height to the width;
in response to determining the ratio is 1:1, determining that the image format of the 3D video is an up-down format; and
in response to determining the ratio is 1:4, determining that the image format of the 3D video is a left-right format.