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

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.h

Issue 2345123002: Attach color space information to hardware decoded NV12 video frames. (Closed)
Patch Set: compile fixes for several platforms Created 4 years, 3 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/gpu/dxva_video_decode_accelerator_win.h
diff --git a/media/gpu/dxva_video_decode_accelerator_win.h b/media/gpu/dxva_video_decode_accelerator_win.h
index e44a71909e4808c3db4a0e28afbf11a8d38c0bfb..3142456057baa7b3848ad54f7f03fb4aa59cd3a7 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.h
+++ b/media/gpu/dxva_video_decode_accelerator_win.h
@@ -36,6 +36,7 @@
#include "media/gpu/gpu_video_decode_accelerator_helpers.h"
#include "media/gpu/media_gpu_export.h"
#include "media/video/video_decode_accelerator.h"
+#include "ui/gfx/color_space.h"
interface IMFSample;
interface IDirect3DSurface9;
@@ -73,6 +74,8 @@ class H264ConfigChangeDetector {
bool config_changed() const { return config_changed_; }
+ gfx::ColorSpace current_color_space() const;
+
private:
// These fields are used to track the SPS/PPS in the H.264 bitstream and
// are eventually compared against the SPS/PPS in the bitstream to detect

Powered by Google App Engine
This is Rietveld 408576698