Remove unused code from RealtimeOutgoingVideoSourceCocoa
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2018 17:51:46 +0000 (17:51 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2018 17:51:46 +0000 (17:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=190666

Reviewed by Eric Carlson.

No change of behavior, removed no longer used code.

* platform/mediastream/mac/RealtimeOutgoingVideoSourceCocoa.cpp:
(): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237224 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/mediastream/mac/RealtimeOutgoingVideoSourceCocoa.cpp

index aa46b77..7df541b 100644 (file)
@@ -1,3 +1,15 @@
+2018-10-17  Youenn Fablet  <youenn@apple.com>
+
+        Remove unused code from RealtimeOutgoingVideoSourceCocoa
+        https://bugs.webkit.org/show_bug.cgi?id=190666
+
+        Reviewed by Eric Carlson.
+
+        No change of behavior, removed no longer used code.
+
+        * platform/mediastream/mac/RealtimeOutgoingVideoSourceCocoa.cpp:
+        (): Deleted.
+
 2018-10-17  Ali Juma  <ajuma@chromium.org>
 
         Flaky IntersectionObserver web platform tests involving style updates
index 702b733..4419bae 100644 (file)
@@ -43,39 +43,6 @@ ALLOW_UNUSED_PARAMETERS_END
 #include <pal/cf/CoreMediaSoftLink.h>
 #include "CoreVideoSoftLink.h"
 
-namespace libyuv {
-extern "C" {
-typedef enum RotationMode {
-  kRotate0 = 0,      // No rotation.
-  kRotate90 = 90,    // Rotate 90 degrees clockwise.
-  kRotate180 = 180,  // Rotate 180 degrees.
-  kRotate270 = 270,  // Rotate 270 degrees clockwise.
-
-  // Deprecated.
-  kRotateNone = 0,
-  kRotateClockwise = 90,
-  kRotateCounterClockwise = 270,
-} RotationModeEnum;
-
-int ConvertToI420(webrtc::VideoType src_video_type,
-                  const uint8_t* src_frame,
-                  size_t src_size,
-                  uint8_t* dst_y,
-                  int dst_stride_y,
-                  uint8_t* dst_u,
-                  int dst_stride_u,
-                  uint8_t* dst_v,
-                  int dst_stride_v,
-                  int crop_x,
-                  int crop_y,
-                  int src_width,
-                  int src_height,
-                  int crop_width,
-                  int crop_height,
-                  RotationMode rotation);
-}
-}
-
 namespace WebCore {
 using namespace PAL;