Changeset 140158 in webkit
- Timestamp:
- Jan 18, 2013 9:01:03 AM (11 years ago)
- Location:
- trunk/Source/Platform
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/Platform/ChangeLog
r139352 r140158 1 2013-01-18 Dana Jansens <danakj@chromium.org> 2 3 [chromium] Remove the contents of WebVideoFrame class 4 https://bugs.webkit.org/show_bug.cgi?id=106037 5 6 Reviewed by James Robinson. 7 8 This class becomes an empty base class now, used only for the API 9 boundary. 10 11 * chromium/public/WebVideoFrame.h: 12 (WebKit): 13 1 14 2013-01-10 Tommy Widenflycht <tommyw@google.com> 2 15 -
trunk/Source/Platform/chromium/public/WebVideoFrame.h
r132448 r140158 37 37 namespace WebKit { 38 38 39 // A proxy video frame interface to communicate frame data between chromium 40 // and WebKit. 41 // Keep in sync with chromium's media::VideoFrame::Format. 39 // A base class for the container which holds a media::VideoFrame. 42 40 class WebVideoFrame { 43 41 public: 44 enum {45 rgbPlane = 0,46 numRGBPlanes = 147 };48 enum {49 yPlane = 0,50 uPlane = 1,51 vPlane = 2,52 numYUVPlanes = 353 };54 enum { maxPlanes = 3 };55 56 enum Format {57 FormatInvalid = 0,58 FormatRGB32 = 4,59 FormatYV12 = 6,60 FormatYV16 = 7,61 FormatEmpty = 9,62 FormatI420 = 11,63 FormatNativeTexture = 12,64 };65 66 42 virtual ~WebVideoFrame() { } 67 virtual Format format() const { return FormatInvalid; }68 virtual unsigned width() const { return 0; }69 virtual unsigned height() const { return 0; }70 virtual unsigned planes() const { return 0; }71 virtual int stride(unsigned plane) const { return 0; }72 virtual const void* data(unsigned plane) const { return 0; }73 virtual unsigned textureId() const { return 0; }74 virtual unsigned textureTarget() const { return 0; }75 virtual WebKit::WebRect visibleRect() const { return WebKit::WebRect(); }76 virtual WebKit::WebSize textureSize() const { return WebKit::WebSize(); }77 43 }; 78 44
Note: See TracChangeset
for help on using the changeset viewer.