DescriptionDelete method webrtc::VideoFrame::native_handle.
Instead, use the corresponding method on VideoFrameBuffer. In the process,
reduce code duplication in frame comparison functions used in
the test code.
Make FramesEqual use FrameBufsEqual. Make the latter support texture frames.
The cl also refactors VideoFrame::CopyFrame to use I420Buffer::Copy. This
has possibly undesired side effects of never reusing the frame buffer of
the destination frame, and producing a frame buffer which may use different
stride than the source frame.
BUG=webrtc:5682
Committed: https://crrev.com/26acec4772a426f46388cacd315a6af2affe4679
Cr-Commit-Position: refs/heads/master@{#12373}
Patch Set 1 #Patch Set 2 : Use preprocessor hack instead of RTC_DEPRECATED, for testing. #Patch Set 3 : Update android encoder. Fix FrameEquals. #Patch Set 4 : Another android fix. #Patch Set 5 : Make EqualFramesVector and ExpectEqualFramesVector ignore timestamps. #
Total comments: 5
Patch Set 6 : Cleanup TODOs. #
Total comments: 1
Patch Set 7 : Delete the native_handle method. #
Total comments: 2
Patch Set 8 : Add missing braces. #
Messages
Total messages: 39 (15 generated)
|