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

Unified Diff: content/common/gpu/media/dxva_video_decode_accelerator.h

Issue 719273003: adds vp8 and vp9 dxva accelerated decode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: load with altered search path Created 6 years, 1 month 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 | « no previous file | content/common/gpu/media/dxva_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/dxva_video_decode_accelerator.h
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.h b/content/common/gpu/media/dxva_video_decode_accelerator.h
index 10933573f0bcf076c98681d794a05f7d0425b02f..c544cf67e4e4dabda5f4b9de532369f5262ed67c 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.h
@@ -70,27 +70,27 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
typedef void* EGLSurface;
// Creates and initializes an instance of the D3D device and the
// corresponding device manager. The device manager instance is eventually
- // passed to the IMFTransform interface implemented by the h.264 decoder.
+ // passed to the IMFTransform interface implemented by the decoder.
bool CreateD3DDevManager();
- // Creates, initializes and sets the media types for the h.264 decoder.
+ // Creates, initializes and sets the media codec types for the decoder.
bool InitDecoder(media::VideoCodecProfile profile);
- // Validates whether the h.264 decoder supports hardware video acceleration.
+ // Validates whether the decoder supports hardware video acceleration.
bool CheckDecoderDxvaSupport();
// Returns information about the input and output streams. This includes
// alignment information, decoder support flags, minimum sample size, etc.
bool GetStreamsInfoAndBufferReqs();
- // Registers the input and output media types on the h.264 decoder. This
- // includes the expected input and output formats.
+ // Registers the input and output media types on the decoder. This includes
+ // the expected input and output formats.
bool SetDecoderMediaTypes();
- // Registers the input media type for the h.264 decoder.
+ // Registers the input media type for the decoder.
bool SetDecoderInputMediaType();
- // Registers the output media type for the h.264 decoder.
+ // Registers the output media type for the decoder.
bool SetDecoderOutputMediaType(const GUID& subtype);
// Passes a command message to the decoder. This includes commands like
@@ -223,6 +223,9 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
// WeakPtrFactory for posting tasks back to |this|.
base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
+
+ // Which codec we are decoding with hardware acceleration.
+ media::VideoCodec codec_;
};
} // namespace content
« no previous file with comments | « no previous file | content/common/gpu/media/dxva_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698