I try to build mmdc.c/mmdc.h on the Anddoid BSP N7.1.2_2.0.0 by
copy mmdc directory in git/test/mmdc of LinuxBSP.
And edit android_v7_defconfig as CONFIG_DEVMEM=y and CONFIG_DEVKMEM=y to enable /dev/mem.
And try to profile MMDC with mmdc2 command as following.
sabresd_6dq:/ # mmdc2 PRE
MMDC new Profiling results:
Measure time: 500ms
Total cycles count: 264046176
Busy cycles count: 14065631
Read accesses count: 0
Write accesses count: 0
Read bytes count: 0
Write bytes count: 0
Avg. Read burst size: 0
Avg. Write burst size: 0
Read: 0.00 MB/s / Write: 0.00 MB/s Total: 0.00 MB/s
Overall Bus Load: 0%
Bytes Access: 0
It is not change with video playback both Cactus Player and Gallery.
In Linxu BSP it can show some small traffic almost 3% in PRE3
Is it mean that Android BSP is not use PRE/PRG feature?