首页> 外国专利> SYSTEM AND METHOD FOR IMPLEMENTING REAL-TIME ANIMATION USING MULTI-THREAD

SYSTEM AND METHOD FOR IMPLEMENTING REAL-TIME ANIMATION USING MULTI-THREAD

机译:利用多线程实现实时动画的系统和方法

摘要

The present invention relates to a real time video rendering method and system using a multi-thread, and wherein the system operates a main thread and an animation thread for playing an animation video, the animation thread fetches animation data which is to be rendered for the next, processes the animation data into graphics data and stores the graphics data in a buffer while the main thread renders and displays a buffered animation graphic. Thus, the main thread swaps a main thread buffer and an animation thread buffer in the next and displays newly updated video data in a buffer on a screen. The video real time rendering method using a multi-thread according to the present invention includes: a step that a microprocessor generates a main thread and an animation thread according to a request for a video from a user; a step that the main thread renders video data which exists in a first memory and displays the video data on a screen; a step that the animation thread fetches video data which is to be rendered for the next, processes the video data into graphics data and stores the data in a second memory; a step that the main thread swaps the first memory and the second memory; and a step that the main thread renders newly updated video data in the first memory and displays the data on the screen. [Reference numerals] (110) Input unit; (120) First memory; (130) Second memory; (140) Micro processor; (150) Image processing unit
机译:本发明涉及一种使用多线程的实时视频渲染方法和系统,其中该系统操作主线程和动画线程以播放动画视频,该动画线程获取要为该动画渲染的动画数据。接下来,将动画数据处理为图形数据,并将图形数据存储在缓冲区中,同时主线程渲染并显示缓冲的动画图形。因此,主线程在下一个交换主线程缓冲区和动画线程缓冲区,并在屏幕上的缓冲区中显示新更新的视频数据。根据本发明的使用多线程的视频实时渲染方法包括:步骤:微处理器根据来自用户的视频请求,生成主线程和动画线程;主线程渲染存在于第一存储器中的视频数据并将其显示在屏幕上的步骤;动画线程获取下一个要渲染的视频数据,将视频数据处理为图形数据并将该数据存储在第二存储器中的步骤;主线程交换第一存储器和第二存储器的步骤;主线程在第一存储器中渲染新近更新的视频数据,并在屏幕上显示该数据。 [附图标记](110)输入单元; (120)第一记忆; (130)第二记忆; (140)微处理器; (150)图像处理单元

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号