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; |