液晶与显示, 2019, 34 (11): 1124, 网络出版: 2019-12-10
实时视频流缩放系统设计
Design of real-time video stream scaling system
摘要
针对目前视频源的分辨率与显示器支持的分辨率不对应, 导致无法在目标显示器上播放的问题, 提出一种实时视频流缩放系统的硬件结构设计。该系统基于双三次插值图像算法, 采用了流水线的设计思路对算法的浮点运算进行优化, 采用乒乓操作的思想避免了视频流输入与输出不同步的情况, 减少了计算延时, 易于FPGA的实现, 在提高系统运算速度的同时减少了对硬件资源的消耗, 并在VIVADO环境中对该设计进行测试验证, 实现了任意比例缩放。实验结果表明, 该图像缩放系统支持分辨率为3 840×2 160的实时图像缩放, 并以最低100×100的分辨率输出, 达到了预期的效果。
Abstract
The resolution of the video source does not correspond to the resolution supported by the display, causing problems that cannot be played on the target display. A hardware architecture design of real-time video stream scaling system is proposed. The system is based on bicubic interpolation image algorithm, the pipeline design idea is adopted to optimize the floating-point operation of the algorithm,and the idea of pingpong operation avoids the asynchronism between input and output of video stream, which reduces the computation delay and eases the implementation of the FPGA. It improves the operation speed of the system and reduces the consumption of hardware resources. The design is tested and verified in the VIVADO environment, and achieves arbitrary scaling. Finally, the design was tested and verified in the VIVADO environment, and any scaling was achieved, which confirmed the correctness of the design. The experimental results show that the image zooming system supports real-time image zooming with a resolution of 3 840×2 160, and outputs the image at a resolution of 100×100, which achieves the desired results.
严飞, 陆宝毅, 刘银萍, 刘卿卿, 陈伟. 实时视频流缩放系统设计[J]. 液晶与显示, 2019, 34(11): 1124. YAN Fei, LU Bao-yi, LIU Yin-ping, LIU Qing-qing, CHEN Wei. Design of real-time video stream scaling system[J]. Chinese Journal of Liquid Crystals and Displays, 2019, 34(11): 1124.