Updated comment arguments in MPPImageUtils
This commit is contained in:
parent
4d2dd50703
commit
68fdf6b6cb
|
@ -148,8 +148,8 @@ using ::mediapipe::ImageFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<ImageFrame> imageFrame =
|
std::unique_ptr<ImageFrame> imageFrame =
|
||||||
absl::make_unique<ImageFrame>(::mediapipe::ImageFormat::SRGB, /*width=*/width,
|
absl::make_unique<ImageFrame>(::mediapipe::ImageFormat::SRGB, width,
|
||||||
/*height=*/height, stride, static_cast<uint8 *>(rgbPixelData),
|
height, stride, static_cast<uint8 *>(rgbPixelData),
|
||||||
/*deleter=*/free);
|
/*deleter=*/free);
|
||||||
|
|
||||||
return imageFrame;
|
return imageFrame;
|
||||||
|
@ -223,7 +223,7 @@ using ::mediapipe::ImageFrame;
|
||||||
CGColorSpaceRelease(colorSpace);
|
CGColorSpaceRelease(colorSpace);
|
||||||
|
|
||||||
std::unique_ptr<ImageFrame> imageFrame = absl::make_unique<ImageFrame>(
|
std::unique_ptr<ImageFrame> imageFrame = absl::make_unique<ImageFrame>(
|
||||||
mediapipe::ImageFormat::SRGB, /*width=*/(int)width, /*height=*/(int)height, (int)bytesPerRow,
|
mediapipe::ImageFormat::SRGB, (int)width, (int)height, (int)bytesPerRow,
|
||||||
static_cast<uint8 *>(pixelDataToReturn),
|
static_cast<uint8 *>(pixelDataToReturn),
|
||||||
/*deleter=*/free);
|
/*deleter=*/free);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user