summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
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
commitdfb1dd6a8c0c0b0ecde302fae266d9a37617dfda (patch)
tree1a7f03afc9b8d074c1e1f19de52f41a6b86baea4 /cmds/bootanimation/BootAnimation.cpp
parentc0046aab0c4a5fd3ae091040c739652a0a4c029e (diff)
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 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions