摘要
构建基于S3C2410A的JPEG XR编解码硬件系统,在S3C2410A上移植定制并优化的JPEG XR编解码算法,实现将采集的RGB格式原图进行编码和解码的过程。把采集的RGB格式图像无损转换为YUV 4∶4∶4图像格式,码流结构采用空间模式,对原JPEG XR编解码程序简化。结合S3C2410A自身的体系结构特征,使S3C2410A工作在ARM状态,采用32位总线宽度和32位小端方式的存储空间格式,给出数据块定义和存储空间分配方案,进行基于S3C2410A的汇编级优化。最终将定制并优化的JPEG XR编解码交叉编译为32位ARM指令代码,移植到S3C2410A上,实现对采集的RGB格式图像进行JPEG XR编码和解码的过程。对定制和优化前后进行了运行时间的测试,定制和优化效果明显。
Building the hardware system of JPEG XR codec based on the S3C2d.10A,customized and optimized JPEG XR codec algorithm is transplanted on the S3C2410A,which achieves encoding the captured RGB format image and decoding process. The captured RGB format image non-destructive converted as YUV 4:4:4 image format,using spatial patterns as bit stream structure,simplifying the procedure of the original JPEG XR codec. According to S3C2410A structural characteristics ,S3C2410A working at the ARM state ,adopting 32-bit bus width and 32-bit little-endian mode of storage format ,given the data block definition and storage space allocation scheme,optimizing JPEG XR codec at assembly-level based on S3C2410A. Eventually the customized and optimized JPEG XR codec is cross-compiled for the 32-bit ARM code and which is transplanted to the S3C2410A,achieving encoding the captured RGB format image and decoding process. Testing the running time of before and after customization and optimization show that the effet of customization and optimization is obvious.
出处
《电视技术》
北大核心
2012年第13期16-18,67,共4页
Video Engineering
基金
河南省科技攻关计划项目(102102210434)
河南省教育厅自然科学基础研究计划项目(2009C520004
2010C520006
2010B520020)
关键词
JPEG
XR
图像格式
编码
解码
实现
优化
JPEG XR
image format
encoding
decoding
realization
optimization