Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: media/renderers/gpu_video_accelerator_factories.h

Issue 1306693002: media: Convert I420 VideoFrame to UYVY GpuMemoryBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/CHECK_EQ/DCHECK_EQ. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/skcanvas_video_renderer.cc ('k') | media/renderers/mock_gpu_video_accelerator_factories.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/gpu_video_accelerator_factories.h
diff --git a/media/renderers/gpu_video_accelerator_factories.h b/media/renderers/gpu_video_accelerator_factories.h
index c6f728e9b8d8ddabdd9d5cbb9e9c73de56a2931a..5a8ba0b979be32428fe9dadb8b4183b0aff9ebe8 100644
--- a/media/renderers/gpu_video_accelerator_factories.h
+++ b/media/renderers/gpu_video_accelerator_factories.h
@@ -12,6 +12,7 @@
#include "gpu/command_buffer/client/gles2_interface.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "media/base/media_export.h"
+#include "media/base/video_types.h"
#include "media/video/video_decode_accelerator.h"
#include "media/video/video_encode_accelerator.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -70,6 +71,9 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories
virtual bool ShouldUseGpuMemoryBuffersForVideoFrames() const = 0;
virtual unsigned ImageTextureTarget() = 0;
+ // Pixel format of the hardware video frames created when GpuMemoryBuffers
+ // video frames are enabled.
+ virtual VideoPixelFormat VideoFrameOutputFormat() = 0;
virtual bool IsTextureRGSupported() = 0;
virtual gpu::gles2::GLES2Interface* GetGLES2Interface() = 0;
« no previous file with comments | « media/blink/skcanvas_video_renderer.cc ('k') | media/renderers/mock_gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698