Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Unified Diff: webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm

Issue 2975613002: Adjust for initial cropping when adapting frame. (Closed)
Patch Set: Rebase Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/Video/objcvideotracksource.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm b/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm
index 72c9a264232d2184f118359973098a169f851266..7d3669f33d41f66d1f350bf4a8cf6673a8de3f7c 100644
--- a/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm
+++ b/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm
@@ -21,11 +21,11 @@
int _bufferHeight;
int _cropWidth;
int _cropHeight;
- int _cropX;
- int _cropY;
}
@synthesize pixelBuffer = _pixelBuffer;
+@synthesize cropX = _cropX;
+@synthesize cropY = _cropY;
- (instancetype)initWithPixelBuffer:(CVPixelBufferRef)pixelBuffer {
return [self initWithPixelBuffer:pixelBuffer
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/Video/objcvideotracksource.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698