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

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: removed debugging cruft 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
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..132a8b27a3b0edcaf3ef0615c2f4cc539c654af4 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.h
@@ -73,7 +73,7 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
// passed to the IMFTransform interface implemented by the h.264 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.
DaleCurtis 2014/11/25 00:32:55 s/h.264/codec/ everywhere in this file?
luken 2014/11/25 01:07:02 I cleaned up the comments manually.
@@ -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

Powered by Google App Engine
This is Rietveld 408576698