Hardware Accelerated Video Playback doesn't work on IA
authorqing.zhang <qing.zhang@intel.com>
Wed, 27 Mar 2013 10:49:02 +0000 (06:49 -0400)
committerGerrit Code Review <gerrit2@kim11>
Thu, 28 Mar 2013 08:55:48 +0000 (17:55 +0900)
commitc8d52f59fefa39533322223815b0c4825eda8324
tree67418614c2fd2f6a05f222ed082cbfa39499da5a
parent9bf01bf7cb4263a045a17282ece13e4add71ced6
Hardware Accelerated Video Playback doesn't work on IA

[Title] Be fixed. Unable to play accelerated HTML5 video in browser in IA.
[Issue#] TDIS-4849; TSZP-5002
[Problem] No support for Vaapi Sink to play accelerated video playback.
[Cause] Current solution relies on xvimagesink for accelerated video playbac
[Solution] On IA, Vaapi is used to provide the hardware accelerated video
           playback. This patch adds support for it, guarded with
           USE(ACCELERATED_VIDEO_VAAPI). This is set to true for IA. The pat
           also disables blending for video when RGBX visual is used
           instead of RGBA. This is also guarded under the same flag.
           So there is no change in the default behaviour but only for IA.
           The Changes related to vaapi in VideoLayerTizen are based on
           initial contribution from Zhao Halley,Kondapally Kalyan.

           * H264 -> HW Decoding -> HW Rendering;
           * OGV  -> SW Decoding -> HW Rendering.

Change-id: I11790303e8eacbce756a7273f3802cc05ea367af
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
Source/WebCore/platform/graphics/gstreamer/tizen/SharedVideoPlatformSurfaceTizen.cpp
Source/WebCore/platform/graphics/gstreamer/tizen/SharedVideoPlatformSurfaceTizen.h
Source/WebCore/platform/graphics/gstreamer/tizen/VideoLayerTizen.cpp
Source/WebCore/platform/graphics/gstreamer/tizen/VideoLayerTizen.h
Source/WebCore/platform/graphics/surfaces/tizen/GraphicsSurfaceTizen.cpp
Source/WebCore/platform/graphics/texmap/tizen/PlatformSurfaceTextureGL.cpp
Source/cmake/OptionsTizen.cmake