diff options
author | James Dong <jdong@google.com> | 2010-05-27 16:05:58 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-05-28 10:44:20 -0700 |
commit | dfb1dd6a8c0c0b0ecde302fae266d9a37617dfda (patch) | |
tree | 1a7f03afc9b8d074c1e1f19de52f41a6b86baea4 /tools/preload/preload.iml | |
parent | c0046aab0c4a5fd3ae091040c739652a0a4c029e (diff) | |
download | frameworks_base-dfb1dd6a8c0c0b0ecde302fae266d9a37617dfda.zip frameworks_base-dfb1dd6a8c0c0b0ecde302fae266d9a37617dfda.tar.gz frameworks_base-dfb1dd6a8c0c0b0ecde302fae266d9a37617dfda.tar.bz2 |
Avoid copying for input recording frames in CameraSource
This is the part one.
- Let CameraSource be a MediaBufferObserver. It releases the recording frame when the ref count of a MediaBuffer containing
the recording frame drops to 0.
This reduces the CPU load from 90+% down to 50-60%.
Part two is related to the avoidance of copying the input video frames to the video encoder.
However, we are not able to use OMX_UseBuffer directly. Still work on the second part.
Change-Id: I906f1d054ae8bdcf82e1617f1fc120152f2eb2eb
Diffstat (limited to 'tools/preload/preload.iml')
0 files changed, 0 insertions, 0 deletions