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

Unified Diff: trunk/src/media/video/capture/win/sink_filter_win.cc

Issue 342253002: Revert 278338 "Smart Revert 276260 "Win Video Capture: Add suppo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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: trunk/src/media/video/capture/win/sink_filter_win.cc
===================================================================
--- trunk/src/media/video/capture/win/sink_filter_win.cc (revision 278552)
+++ trunk/src/media/video/capture/win/sink_filter_win.cc (working copy)
@@ -7,6 +7,8 @@
#include "base/logging.h"
#include "media/video/capture/win/sink_input_pin_win.h"
+namespace media {
+
// Define GUID for I420. This is the color format we would like to support but
// it is not defined in the DirectShow SDK.
// http://msdn.microsoft.com/en-us/library/dd757532.aspx
@@ -14,9 +16,13 @@
GUID kMediaSubTypeI420 = {
0x30323449, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71}
};
+// UYVY synonym with BT709 color components, used in HD video. This variation
+// might appear in non-USB capture cards and it's implemented as a normal YUV
+// pixel format with the characters HDYC encoded in the first array word.
+GUID kMediaSubTypeHDYC = {
+ 0x43594448, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
+};
-namespace media {
-
SinkFilterObserver::~SinkFilterObserver() {}
SinkFilter::SinkFilter(SinkFilterObserver* observer)
« no previous file with comments | « trunk/src/media/video/capture/win/sink_filter_win.h ('k') | trunk/src/media/video/capture/win/video_capture_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698