Skip to content

Commit 9f39c3d

Browse files
authored
Fix naming for yuv helper (#113)
* add PrivacyInfo.xcprivacy to darwin frameworks. * Fix some function naming of yuv helper. * revert changes.
1 parent 50b6436 commit 9f39c3d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sdk/objc/helpers/RTCYUVHelper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RTC_OBJC_EXPORT
3131
dstV:(uint8_t*)dstV
3232
dstStrideV:(int)dstStrideV
3333
width:(int)width
34-
width:(int)height
34+
height:(int)height
3535
mode:(RTCVideoRotation)mode;
3636

3737
+ (int)I420ToNV12:(const uint8_t*)srcY
@@ -45,7 +45,7 @@ RTC_OBJC_EXPORT
4545
dstUV:(uint8_t*)dstUV
4646
dstStrideUV:(int)dstStrideUV
4747
width:(int)width
48-
width:(int)height;
48+
height:(int)height;
4949

5050
+ (int)I420ToNV21:(const uint8_t*)srcY
5151
srcStrideY:(int)srcStrideY
@@ -58,7 +58,7 @@ RTC_OBJC_EXPORT
5858
dstUV:(uint8_t*)dstUV
5959
dstStrideUV:(int)dstStrideUV
6060
width:(int)width
61-
width:(int)height;
61+
height:(int)height;
6262

6363
+ (int)I420ToARGB:(const uint8_t*)srcY
6464
srcStrideY:(int)srcStrideY

sdk/objc/helpers/RTCYUVHelper.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ + (void)I420Rotate:(const uint8_t*)srcY
2727
dstV:(uint8_t*)dstV
2828
dstStrideV:(int)dstStrideV
2929
width:(int)width
30-
width:(int)height
30+
height:(int)height
3131
mode:(RTCVideoRotation)mode {
3232
libyuv::I420Rotate(srcY,
3333
srcStrideY,
@@ -57,7 +57,7 @@ + (int)I420ToNV12:(const uint8_t*)srcY
5757
dstUV:(uint8_t*)dstUV
5858
dstStrideUV:(int)dstStrideUV
5959
width:(int)width
60-
width:(int)height {
60+
height:(int)height {
6161
return libyuv::I420ToNV12(srcY,
6262
srcStrideY,
6363
srcU,
@@ -83,7 +83,7 @@ + (int)I420ToNV21:(const uint8_t*)srcY
8383
dstUV:(uint8_t*)dstUV
8484
dstStrideUV:(int)dstStrideUV
8585
width:(int)width
86-
width:(int)height {
86+
height:(int)height {
8787
return libyuv::I420ToNV21(srcY,
8888
srcStrideY,
8989
srcU,

0 commit comments

Comments
 (0)