Currently, MetadataRetrieverImpl uses MediaCodecVideoRenderer to renderering frames to capture. It suffers from 2 issues: - MediaCodecVideoRenderer has a lot of logic to time frame release, including drop frames if late or try to keep up with feeding speed etc... These are not necessary at all for frame retrieval. - MediaCodecVideoRenderer always tries to render 1 frame after video surface update. This may some times lead to the wrong image being rendered for MetadataRetriever. This CL replaces this with a custom video renderer, that does not time frame releases, and only render first frame after position reset / renderer re-enabling. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207276937
| Name |
Last commit
|
Last Update |
|---|---|---|
| .idea | Loading commit data... | |
| demos | Loading commit data... | |
| extensions | Loading commit data... | |
| gradle/wrapper | Loading commit data... | |
| library | Loading commit data... | |
| playbacktests | Loading commit data... | |
| testutils | Loading commit data... | |
| testutils_robolectric | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .hgignore | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| ISSUE_TEMPLATE | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... | |
| RELEASENOTES.md | Loading commit data... | |
| build.gradle | Loading commit data... | |
| constants.gradle | Loading commit data... | |
| core_settings.gradle | Loading commit data... | |
| gradle.properties | Loading commit data... | |
| gradlew | Loading commit data... | |
| gradlew.bat | Loading commit data... | |
| javadoc_combined.gradle | Loading commit data... | |
| javadoc_library.gradle | Loading commit data... | |
| javadoc_util.gradle | Loading commit data... | |
| publish.gradle | Loading commit data... | |
| settings.gradle | Loading commit data... |