commit | 5d3913335c7975e5bd0290f93682784796efa07f | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Jul 12 11:36:47 2019 -0700 |
committer | Chong Zhang <chz@google.com> | Fri Jul 12 11:42:07 2019 -0700 |
tree | 68c081c47a531807af8c1fc400d60f1a42b891c0 | |
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