diff options
author | Chong Zhang <chz@google.com> | 2019-07-12 11:36:47 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2019-07-12 11:42:07 -0700 |
commit | 5d3913335c7975e5bd0290f93682784796efa07f (patch) | |
tree | 68c081c47a531807af8c1fc400d60f1a42b891c0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1cac4fada87c563980ef75990b1f799d177a97df (diff) |
Retrieve one frame at a time sequentially
Use getFrameAtIndex sequentially and retrieve one frame at a time,
MediaMetadataRetriever internally will reuse the decoder and frame
memory in this case. This is as efficient and holds up less shared
memory (as we only need one temp frame).
bug: 120414514
Change-Id: I58ddc5df63edaf480875ce2651bf18a037793aad
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions