[关闭]
@leaveye 2015-06-11T04:58:39.000000Z 字数 697 阅读 1118

w1302 DSP 接口

w1302 DSP 接口 设计 性能


Overview

每个 DSP 传输的交互过程如下。(在新窗口打开可放大)

- Encoder (DSP#0) Decoder (DSP#1)
R Encoder Read Flow Decoder Read Flow
W Encoder Write Flow Decoder Write Flow

Benchmark

API (dsp_read/write()) 方式

statistic period = 100

test case enc dec
dec onlyF - 33.3
enc only 35.2 / 26.0C -
enc + decL 33.5 / 25.0S / 22.0C 33.5 / 24.9S / 22.1C
enc + dec (unfinished) (unfinished)

F: read from file
S: with convert(YUYV->YUV420) in additional thread
C: with convert(YUYV->YUV420) embedded in api
L: data flow linked up. (the encoded data frames are passed to the decoder directly)

ARM 不同类型内存区的速度比较

从 \ 到 malloc() mmap(fb) mmap(pcie)
malloc() 1G+ ~1G 35.3M
mmap(fb) 27.3M 26.5M 15.4M
mmap(pcie) 17.3M 25.5M 13.3M

to be continued

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注