From 68fdf6b6cbb99a32d04044def4ff15c141c41cdc Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Mon, 20 Feb 2023 11:27:21 +0530 Subject: [PATCH] Updated comment arguments in MPPImageUtils --- .../tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm b/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm index 13cfd3be..c8b2b8a6 100644 --- a/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm +++ b/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm @@ -148,8 +148,8 @@ using ::mediapipe::ImageFrame; } std::unique_ptr imageFrame = - absl::make_unique(::mediapipe::ImageFormat::SRGB, /*width=*/width, - /*height=*/height, stride, static_cast(rgbPixelData), + absl::make_unique(::mediapipe::ImageFormat::SRGB, width, + height, stride, static_cast(rgbPixelData), /*deleter=*/free); return imageFrame; @@ -223,7 +223,7 @@ using ::mediapipe::ImageFrame; CGColorSpaceRelease(colorSpace); std::unique_ptr imageFrame = absl::make_unique( - mediapipe::ImageFormat::SRGB, /*width=*/(int)width, /*height=*/(int)height, (int)bytesPerRow, + mediapipe::ImageFormat::SRGB, (int)width, (int)height, (int)bytesPerRow, static_cast(pixelDataToReturn), /*deleter=*/free);