Chromium Code Reviews
DescriptionSplit out AVDA cleanups from SetSurface() change.
This shifts various pieces of AVDA code around to make it easier
to implement MediaCodec.setSurface(). There are no functional
changes within this CL, just cleanups and relocations. Namely:
- OnFrameAvailableHandler moves into AVDASharedState since we'll
change AVDASharedState instances in the future when the surface
changes.
- The map of codec images is now owned by AVDAPictureBufferManager;
consequently, self-registration in the AVDACodecImage is removed.
- Elided some methods to remove duplicate internal work.
- AVDACodecImages are now held by refptr in AVDAPictureBufferManager
since we'll need to call code which would otherwise drop their
last ref in the future.
BUG=662251
TEST=playback still works.
Committed: https://crrev.com/d65783431437f61ed9962c4e6968fce6103ca2e1
Cr-Commit-Position: refs/heads/master@{#430064}
Patch Set 1 : Cleanup. #
Total comments: 4
Dependent Patchsets: Messages
Total messages: 12 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||