DescriptionPrepare MediaCodecVideoEncoder for surface textures.
This make small refactorings to MediaVideoEncoder to prepare for adding support to encode from textures. The C++ layer does not have any functional changes.
- Moves ResetEncoder to always work on the codec thread
- Adds use of ThreadChecker.
- Change Java MediaEncoder.Init to return true or false and introduce method getInputBuffers.
- Add simple unit test for Java MediaCodecVideoEncoder.
BUG=webrtc:4993
Committed: https://crrev.com/90754174d98d6b71fd4aaed897bd54980f7e59c4
Cr-Commit-Position: refs/heads/master@{#10250}
Patch Set 1 #Patch Set 2 : Self review #
Total comments: 26
Patch Set 3 : Rebased #Patch Set 4 : addressed comments #Patch Set 5 : #
Messages
Total messages: 9 (3 generated)
|