Skip to content

Commit

Permalink
Fix naming for yuv helper (#113)
Browse files Browse the repository at this point in the history
* add PrivacyInfo.xcprivacy to darwin frameworks.

* Fix some function naming of yuv helper.

* revert changes.
  • Loading branch information
cloudwebrtc authored Apr 25, 2024
1 parent 50b6436 commit 9f39c3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sdk/objc/helpers/RTCYUVHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions sdk/objc/helpers/RTCYUVHelper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 9f39c3d

Please sign in to comment.