[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

commit-queue at webkit.org commit-queue at webkit.org
Sun Feb 20 23:12:35 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 684ea185f1d147419b09701609038ff955a2312e
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 18 23:27:08 2011 +0000

    2011-01-18  Victoria Kirst  <vrk at chromium.org>
    
            Reviewed by Kenneth Russell.
    
            [chromium] Adding support for YV16 video frame formats.
            https://bugs.webkit.org/show_bug.cgi?id=52345
    
            * platform/graphics/chromium/VideoLayerChromium.cpp:
            (WebCore::VideoLayerChromium::determineTextureFormat):
            (WebCore::VideoLayerChromium::draw):
    2011-01-18  Victoria Kirst  <vrk at chromium.org>
    
            Reviewed by Kenneth Russell.
    
            [chromium] Adding support for YV16 video frame formats.
            https://bugs.webkit.org/show_bug.cgi?id=52345
    
            * src/VideoFrameChromiumImpl.cpp:
            (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76075 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 08ba35e..815969d 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2011-01-18  Victoria Kirst  <vrk at chromium.org>
+
+        Reviewed by Kenneth Russell.
+
+        [chromium] Adding support for YV16 video frame formats.
+        https://bugs.webkit.org/show_bug.cgi?id=52345
+
+        * platform/graphics/chromium/VideoLayerChromium.cpp:
+        (WebCore::VideoLayerChromium::determineTextureFormat):
+        (WebCore::VideoLayerChromium::draw):
+
 2011-01-18  David Hyatt  <hyatt at apple.com>
 
         Reviewed by Dan Bernstein.
diff --git a/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp b/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp
index 81264b3..776b83f 100644
--- a/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp
+++ b/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp
@@ -264,6 +264,7 @@ unsigned VideoLayerChromium::determineTextureFormat(VideoFrameChromium* frame)
 {
     switch (frame->format()) {
     case VideoFrameChromium::YV12:
+    case VideoFrameChromium::YV16:
         return GraphicsContext3D::LUMINANCE;
     case VideoFrameChromium::RGBA:
         return GraphicsContext3D::RGBA;
@@ -330,6 +331,7 @@ void VideoLayerChromium::draw()
 
     switch (m_frameFormat) {
     case VideoFrameChromium::YV12:
+    case VideoFrameChromium::YV16:
         drawYUV(sv);
         break;
     case VideoFrameChromium::RGBA:
diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog
index 0fef902..0fea222 100644
--- a/Source/WebKit/chromium/ChangeLog
+++ b/Source/WebKit/chromium/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-18  Victoria Kirst  <vrk at chromium.org>
+
+        Reviewed by Kenneth Russell.
+
+        [chromium] Adding support for YV16 video frame formats.
+        https://bugs.webkit.org/show_bug.cgi?id=52345
+
+        * src/VideoFrameChromiumImpl.cpp:
+        (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
+
 2011-01-18  Adam Klein  <adamk at chromium.org>
 
         Reviewed by Darin Fisher.
diff --git a/Source/WebKit/chromium/src/VideoFrameChromiumImpl.cpp b/Source/WebKit/chromium/src/VideoFrameChromiumImpl.cpp
index 99e3e1e..86545b7 100644
--- a/Source/WebKit/chromium/src/VideoFrameChromiumImpl.cpp
+++ b/Source/WebKit/chromium/src/VideoFrameChromiumImpl.cpp
@@ -111,6 +111,7 @@ const IntSize VideoFrameChromiumImpl::requiredTextureSize(unsigned plane) const
 {
     switch (format()) {
     case RGBA:
+    case YV16:
         return IntSize(stride(plane), height());
     case YV12:
         if (plane == static_cast<unsigned>(yPlane))

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list