Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wow... nice catch!

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