summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2019-07-12 11:36:47 -0700
committerChong Zhang <chz@google.com>2019-07-12 11:42:07 -0700
commit5d3913335c7975e5bd0290f93682784796efa07f (patch)
tree68c081c47a531807af8c1fc400d60f1a42b891c0 /tools/aapt2/java/JavaClassGenerator.cpp
parent1cac4fada87c563980ef75990b1f799d177a97df (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