diff options
author | Wei-Ta Chen <weita@google.com> | 2011-09-30 18:08:38 -0700 |
---|---|---|
committer | Wei-Ta Chen <weita@google.com> | 2011-10-03 10:41:55 -0700 |
commit | 317e8c783928e5eddfa7af260218dc36bb47a826 (patch) | |
tree | 0f1f1c48bc2109ed02d49f46d439e676d65743f4 /NOTICE | |
parent | 575b49275691f5b539fe2c6dfde1741645dc3e93 (diff) | |
download | packages_apps_LegacyCamera-317e8c783928e5eddfa7af260218dc36bb47a826.zip packages_apps_LegacyCamera-317e8c783928e5eddfa7af260218dc36bb47a826.tar.gz packages_apps_LegacyCamera-317e8c783928e5eddfa7af260218dc36bb47a826.tar.bz2 |
Reduce the frame memory we allocate.
We increment the LR frame counter and the HR frame counter at the same
time and check the frame limit condition based on which counter hits the
limit first. We can just combine the MAX_FRAMES_HR and MAX_FRAMES_LR
to one. This reduces the memory we allocate to LR frames by 8~20 MBytes
depending on the size of an input frame.
Change-Id: I1b76d94db09985df21c946830295b94f39e99e59
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions