Revert "Partial frame capture API part 1"
This reverts commit 8a21e1c9c95c9b9b570c84bdfeda0315ede9dc29. Reason for revert: breaks buildbots Original change's description: > Partial frame capture API part 1 > > Define new optional struct in VideoFrame to signal that the frame is a > changed part of a whole picture and add a flag to signal that partial > update may be issued by the VideoFrame source. > > Also, fix too strict assumptions in FrameBuffers PasteFrom methods. > Also, add ability to set a new buffer in video frame. > > > Bug: webrtc:10152 > Change-Id: Ie0da418fd60bc7a34334329292e0b860ec388788 > Reviewed-on: https://webrtc-review.googlesource.com/c/120405 > Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> > Reviewed-by: Erik Språng <sprang@webrtc.org> > Reviewed-by: Niels Moller <nisse@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#26489} TBR=ilnik@webrtc.org,nisse@webrtc.org,sprang@webrtc.org Change-Id: Ibf61f28e529a444882962b984474d4849bb44e4b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:10152 Reviewed-on: https://webrtc-review.googlesource.com/c/120760 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26490}
This commit is contained in:
committed by
Commit Bot
parent
8a21e1c9c9
commit
8102a1a8ea
@ -243,10 +243,8 @@ void I010Buffer::PasteFrom(const I010BufferInterface& picture,
|
||||
// Pasted picture has to be aligned so subsumpled UV plane isn't corrupted.
|
||||
RTC_CHECK(offset_col % 2 == 0);
|
||||
RTC_CHECK(offset_row % 2 == 0);
|
||||
RTC_CHECK(picture.width() % 2 == 0 ||
|
||||
picture.width() + offset_col == width());
|
||||
RTC_CHECK(picture.height() % 2 == 0 ||
|
||||
picture.height() + offset_row == height());
|
||||
RTC_CHECK(picture.width() % 2 == 0);
|
||||
RTC_CHECK(picture.height() % 2 == 0);
|
||||
|
||||
libyuv::CopyPlane_16(picture.DataY(), picture.StrideY(),
|
||||
MutableDataY() + StrideY() * offset_row + offset_col,
|
||||
|
||||
Reference in New Issue
Block a user