Title: [140158] trunk/Source/Platform
Revision
140158
Author
[email protected]
Date
2013-01-18 09:01:03 -0800 (Fri, 18 Jan 2013)

Log Message

[chromium] Remove the contents of WebVideoFrame class
https://bugs.webkit.org/show_bug.cgi?id=106037

Reviewed by James Robinson.

This class becomes an empty base class now, used only for the API
boundary.

* chromium/public/WebVideoFrame.h:
(WebKit):

Modified Paths

Diff

Modified: trunk/Source/Platform/ChangeLog (140157 => 140158)


--- trunk/Source/Platform/ChangeLog	2013-01-18 16:49:41 UTC (rev 140157)
+++ trunk/Source/Platform/ChangeLog	2013-01-18 17:01:03 UTC (rev 140158)
@@ -1,3 +1,16 @@
+2013-01-18  Dana Jansens  <[email protected]>
+
+        [chromium] Remove the contents of WebVideoFrame class
+        https://bugs.webkit.org/show_bug.cgi?id=106037
+
+        Reviewed by James Robinson.
+
+        This class becomes an empty base class now, used only for the API
+        boundary.
+
+        * chromium/public/WebVideoFrame.h:
+        (WebKit):
+
 2013-01-10  Tommy Widenflycht  <[email protected]>
 
         MediaStream API: Adding the new id attribute to MediaStream and MediaStreamTrack

Modified: trunk/Source/Platform/chromium/public/WebVideoFrame.h (140157 => 140158)


--- trunk/Source/Platform/chromium/public/WebVideoFrame.h	2013-01-18 16:49:41 UTC (rev 140157)
+++ trunk/Source/Platform/chromium/public/WebVideoFrame.h	2013-01-18 17:01:03 UTC (rev 140158)
@@ -36,44 +36,10 @@
 
 namespace WebKit {
 
-// A proxy video frame interface to communicate frame data between chromium
-// and WebKit.
-// Keep in sync with chromium's media::VideoFrame::Format.
+// A base class for the container which holds a media::VideoFrame.
 class WebVideoFrame {
 public:
-    enum {
-        rgbPlane = 0,
-        numRGBPlanes = 1
-    };
-    enum {
-        yPlane = 0,
-        uPlane = 1,
-        vPlane = 2,
-        numYUVPlanes = 3
-    };
-    enum { maxPlanes = 3 };
-
-    enum Format {
-        FormatInvalid = 0,
-        FormatRGB32 = 4,
-        FormatYV12 = 6,
-        FormatYV16 = 7,
-        FormatEmpty = 9,
-        FormatI420 = 11,
-        FormatNativeTexture = 12,
-    };
-
     virtual ~WebVideoFrame() { }
-    virtual Format format() const { return FormatInvalid; }
-    virtual unsigned width() const { return 0; }
-    virtual unsigned height() const { return 0; }
-    virtual unsigned planes() const { return 0; }
-    virtual int stride(unsigned plane) const { return 0; }
-    virtual const void* data(unsigned plane) const { return 0; }
-    virtual unsigned textureId() const { return 0; }
-    virtual unsigned textureTarget() const { return 0; }
-    virtual WebKit::WebRect visibleRect() const { return WebKit::WebRect(); }
-    virtual WebKit::WebSize textureSize() const { return WebKit::WebSize(); }
 };
 
 } // namespace WebKit
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to