作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2014, Vol. 40 ›› Issue (12): 267-271. doi: 10.3969/j.issn.1000-3428.2014.12.050

• 多媒体技术及应用 • 上一篇    下一篇

基于视频流的嵌入式GUI系统设计与实现

陈利锋1,姚秀文2   

  1. 1.复旦大学计算机科学技术学院,上海 200433; 2.东海舰队训练基地,上海 200940
  • 收稿日期:2013-12-04 修回日期:2014-02-19 出版日期:2014-12-15 发布日期:2015-01-16
  • 作者简介:陈利锋(1977-),男,博士,主研方向:嵌入式系统应用,视频处理;姚秀文,讲师
  • 基金资助:
    “核高基”重大专项“视频芯片测试平台的DSP程序开发”(KCH230110)

Design and Implementation of Embedded GUI System Based on Video Stream

CHEN Lifeng1,YAO Xiuwen2   

  1. 1.College of Computer Science,Fudan University,Shanghai 200433,China;
    2.Training Center of East China Sea Fleet,Shanghai 200940,China
  • Received:2013-12-04 Revised:2014-02-19 Online:2014-12-15 Published:2015-01-16

摘要: 为在DaVinci嵌入系统中显示图形用户界面(GUI),提出一种基于DaVinci视频流的GUI系统设计方案。通过修改DaVinci Vpif接口Linux核心驱动,使其能够支持用户层和驱动层的多缓冲区共享队列。在Vpif的Linux核心驱动中加入增强型直接内存存取功能,实现缓冲区的自动调度。在用户层通过多层GUI系统,设计不依赖于Framebuffer、分层封装的嵌入式GUI界面,使得系统不仅能够支持视频流的处理,而且能在视频流上实现GUI系统与视频处理系统的切换。分析结果表明,该系统能提供用户图形化参数配置的界面,具有资源消耗少、效率高等特点。

关键词: TI达芬奇技术, 视频流, 嵌入式图形用户界面, 帧缓冲, Vpif接口, 共享内存

Abstract: This paper designs a Graphic User Interface(GUI) system based on DaVinci video stream to achieve displaying GUI in the DaVinci embedded system.It modifies DaVinci-Vpif’s Linux kernel driver,so that it can support multi-buffer-queue shared between user layer and kernel layer.Add Enhanced Direct Memory Access(EDMA) supports to Vpif’s Linux kernel driver which enables buffer scheduling automatically.On this basis,this paper brings out a well-designed multi-GUI system that works at the user layer,which gets an embedded GUI interface but need not rely on Framebuffer.The system not only supports the processing of the video stream,but also supports smooth switching between video stream based GUI system and video processing system.Results of this study can be used in a DaVinci-based video processing system to provide a graphical user interface for configuring parameters.The GUI system works well with less resource consumption and high efficiency.

Key words: TI DaVinci technology, video stream, embedded Graphic User Interface(GUI), frame buffer, Vpif port, shared memory

中图分类号: