Hybrid decoding
AssigneeShanghai Bilibili Technology Co., Ltd.
InventorWenjie YIN
Life of this patent
Estimating the term…
Abstract
Techniques for quickly displaying a first frame of a video using hybrid decoding are described herein. The disclosed techniques include starting a software decoding thread by a video player; initializing a software decoder by the software decoding thread; decoding and rendering images during a start period by the software decoder while starting a hardware decoding thread by the software decoding thread; initializing a hardware decoder by the hardware decoding thread; and decoding but not rendering the images during the start period by the hardware decoder. In this way, a first frame of a video can be displayed quickly, a waiting time can be reduced, and user experience can be improved.
Claims18
A method of fast displaying a first frame of a video using hybrid decoding, comprising:
- starting a software decoding thread by a video player;
- initializing a software decoder by the software decoding thread;
- decoding and rendering images during a start period by the software decoder while starting a hardware decoding thread by the software decoding thread;
- initializing a hardware decoder by the hardware decoding thread;
- and
- decoding but not rendering the images during the start period by the hardware decoder.
A system of fast displaying a first frame of a video using hybrid decoding, comprising:
- at least one processor;
- and
- at least one memory communicatively coupled to the at least one processor and storing instructions that upon execution by the at least one processor cause the system to:
- start a software decoding thread by a video player;
- initialize a software decoder by the software decoding thread;
- decode and render images during a start period by the software decoder while starting a hardware decoding thread by the software decoding thread;
- initialize a hardware decoder by the hardware decoding thread;
- and
- decode but not render the images during the start period by the hardware decoder.
A non-transitory computer-readable storage medium bearing computer-readable instructions that upon execution on a computing device cause the computing device at least to:
- start a software decoding thread by a video player;
- initialize a software decoder by the software decoding thread;
- decode and render images during a start period by the software decoder while starting a hardware decoding thread by the software decoding thread;
- initialize a hardware decoder by the hardware decoding thread;
- and
- decode but not render the images during the start period by the hardware decoder.
Dependencies are inferred from the claim text.