Project import generated by Copybara.

GitOrigin-RevId: 1e13be30e2c6838d4a2ff768a39c414bc80534bb
This commit is contained in:
MediaPipe Team
2022-09-06 21:46:17 +00:00
committed by Sebastian Schmidt
parent 63e679d99c
commit 4dc4b19ddb
639 changed files with 71327 additions and 2078 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ static void EnsureOutputDirFor(NSString *outputFile) {
aWidth != bWidth ||
aHeight != bHeight) return NO;
size_t bytesPerPixel; // is there a generic way to get this from a pixel buffer?
size_t bytesPerPixel = 0; // is there a generic way to get this from a pixel buffer?
switch (aPixelFormat) {
case kCVPixelFormatType_32BGRA:
bytesPerPixel = 4;