Hardware resource allocation method for sequence frame image playing

The invention discloses a hardware resource allocation method for sequence frame image playing. The hardware resource allocation method comprises the steps that 1, a memory usage threshold, a CPU usage threshold and a playing strategy are set; 2, a to-be-played sequence frame image file is acquired,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN GENG, SHI LINGBO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a hardware resource allocation method for sequence frame image playing. The hardware resource allocation method comprises the steps that 1, a memory usage threshold, a CPU usage threshold and a playing strategy are set; 2, a to-be-played sequence frame image file is acquired, wherein the sequence frame file comprises multiple frames of images; 3, the multiple frames of images are input into a CPU for decoding sequentially, and the memory usage conditions when the sequence frame image file is played are acquired separately; and 4, the memory usage conditions are comparedwith the set threshold, and the image playing modes are dynamically allocated according to the preset strategy. 本发明公开了种序列帧图像播放的硬件资源分配方法,包括:步骤1)设定内存占用阈值和CPU占用阈值以及播放策略;步骤2)获取要播放的序列帧图像文件,该序列帧文件包括多帧图像;步骤3)将每帧图像依次输入CPU中进行解码,并分别获取在播放所述序列帧图像文件时,需要占用的内存占用情况;步骤4)根据内存占用情况和设定的阈值进行对比,并按照预设的策略动态分配图像的播放方式。