Add some more test cases for RTCCVPixelBuffer.
Also fix rendering of certain i420 buffers in debug quicklook. Bug: None Change-Id: I793915c3a5a1fcb4cd7b24383d1579655e9a7c28 Reviewed-on: https://webrtc-review.googlesource.com/72080 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23005}
This commit is contained in:

committed by
Commit Bot

parent
1a759c6354
commit
2efb665e27
@ -127,9 +127,9 @@
|
||||
_i420Buffer->DataV(),
|
||||
_i420Buffer->StrideV(),
|
||||
ctxData,
|
||||
_i420Buffer->width() * 4,
|
||||
_i420Buffer->width(),
|
||||
_i420Buffer->height());
|
||||
CGBitmapContextGetBytesPerRow(c),
|
||||
CGBitmapContextGetWidth(c),
|
||||
CGBitmapContextGetHeight(c));
|
||||
|
||||
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
|
||||
UIGraphicsEndImageContext();
|
||||
|
Reference in New Issue
Block a user