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

Unified Diff: media/renderers/gpu_video_accelerator_factories.h

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 2 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
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 3c2424db72a6d73792f5cf0c944681817804f9a1..f85969e4c866dcb2604dadd69fc6d59c4b53089c 100644
--- a/media/renderers/gpu_video_accelerator_factories.h
+++ b/media/renderers/gpu_video_accelerator_factories.h
@@ -65,6 +65,7 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories {
UYVY, // One 422 GMB
NV12_SINGLE_GMB, // One NV12 GMB
NV12_DUAL_GMB, // One R8, one RG88 GMB
+ Y16, // One RG88 GMB
};
// Return whether GPU encoding/decoding is enabled.
@@ -99,9 +100,9 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories {
virtual bool ShouldUseGpuMemoryBuffersForVideoFrames() const = 0;
virtual unsigned ImageTextureTarget(gfx::BufferFormat format) = 0;
- // Pixel format of the hardware video frames created when GpuMemoryBuffers
- // video frames are enabled.
- virtual OutputFormat VideoFrameOutputFormat() = 0;
+ // Pixel format of the hardware video frames of provided video type,
+ // created when GpuMemoryBuffers video frames are enabled.
+ virtual OutputFormat VideoFrameOutputFormat(media::VideoPixelFormat) = 0;
virtual std::unique_ptr<ScopedGLContextLock> GetGLContextLock() = 0;
« no previous file with comments | « media/capture/video/win/video_capture_device_win.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