diff --git a/sdk/objc/helpers/RTCYUVHelper.h b/sdk/objc/helpers/RTCYUVHelper.h index 2e6309c034..ec8ce48355 100644 --- a/sdk/objc/helpers/RTCYUVHelper.h +++ b/sdk/objc/helpers/RTCYUVHelper.h @@ -31,7 +31,7 @@ RTC_OBJC_EXPORT dstV:(uint8_t*)dstV dstStrideV:(int)dstStrideV width:(int)width - width:(int)height + height:(int)height mode:(RTCVideoRotation)mode; + (int)I420ToNV12:(const uint8_t*)srcY @@ -45,7 +45,7 @@ RTC_OBJC_EXPORT dstUV:(uint8_t*)dstUV dstStrideUV:(int)dstStrideUV width:(int)width - width:(int)height; + height:(int)height; + (int)I420ToNV21:(const uint8_t*)srcY srcStrideY:(int)srcStrideY @@ -58,7 +58,7 @@ RTC_OBJC_EXPORT dstUV:(uint8_t*)dstUV dstStrideUV:(int)dstStrideUV width:(int)width - width:(int)height; + height:(int)height; + (int)I420ToARGB:(const uint8_t*)srcY srcStrideY:(int)srcStrideY diff --git a/sdk/objc/helpers/RTCYUVHelper.mm b/sdk/objc/helpers/RTCYUVHelper.mm index 3f610ff990..4a39d469da 100644 --- a/sdk/objc/helpers/RTCYUVHelper.mm +++ b/sdk/objc/helpers/RTCYUVHelper.mm @@ -27,7 +27,7 @@ + (void)I420Rotate:(const uint8_t*)srcY dstV:(uint8_t*)dstV dstStrideV:(int)dstStrideV width:(int)width - width:(int)height + height:(int)height mode:(RTCVideoRotation)mode { libyuv::I420Rotate(srcY, srcStrideY, @@ -57,7 +57,7 @@ + (int)I420ToNV12:(const uint8_t*)srcY dstUV:(uint8_t*)dstUV dstStrideUV:(int)dstStrideUV width:(int)width - width:(int)height { + height:(int)height { return libyuv::I420ToNV12(srcY, srcStrideY, srcU, @@ -83,7 +83,7 @@ + (int)I420ToNV21:(const uint8_t*)srcY dstUV:(uint8_t*)dstUV dstStrideUV:(int)dstStrideUV width:(int)width - width:(int)height { + height:(int)height { return libyuv::I420ToNV21(srcY, srcStrideY, srcU,