Video data frame caching and reading method, equipment and medium

The invention relates to a video data frame caching and reading method and device, and a medium. The method comprises the following steps: step S11, obtaining a new video data frame from an encoder; step S12, judging whether the FIFO queue exceeds a capacity threshold value or not, if so, executing...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHU LINGFENG, PAN XULIANG, WU YU, YUAN ZHIBIN
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 relates to a video data frame caching and reading method and device, and a medium. The method comprises the following steps: step S11, obtaining a new video data frame from an encoder; step S12, judging whether the FIFO queue exceeds a capacity threshold value or not, if so, executing step S13, and if not, executing step S17; step S13, positioning a video data frame at the head of the FIFO queue; step S14, judging whether the current video data frame is in a use state, if so, executing step S15, and if not, executing step S16; step S15, positioning a next video data frame, and repeating the step S14; step S16, deleting the current video data frame from the FIFO queue; and S17, inserting a new video data frame into the tail part of the FIFO queue. According to the invention, the video data frame in use is protected from being deleted, and the key frame can be directly positioned during decoding. 本发明涉及一种视频数据帧缓存及读取方法、设备及介质,所述方法包括:步骤S11、从编码器获取新的视频数据帧;步骤S12、判断FIFO队列是否超过容量阈值,若是,则执行步骤S13,若否,则执行步骤S17;步骤