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

Side by Side Diff: content/public/common/content_switches.cc

Issue 827443003: Add querying supported formats to V4L2 VEA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 // Disables HW decode acceleration for WebRTC. 868 // Disables HW decode acceleration for WebRTC.
869 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 869 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
870 870
871 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 871 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
872 // ignores this switch on its stable and beta channels. 872 // ignores this switch on its stable and beta channels.
873 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 873 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
874 874
875 // Disables HW encode acceleration for WebRTC. 875 // Disables HW encode acceleration for WebRTC.
876 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 876 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
877 877
878 // Enables VP8 HW encode acceleration for WebRTC.
879 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding";
880
881 // Enables H264 HW encode acceleration for WebRTC. 878 // Enables H264 HW encode acceleration for WebRTC.
882 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; 879 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding";
883 880
884 // Override the maximum framerate as can be specified in calls to getUserMedia. 881 // Override the maximum framerate as can be specified in calls to getUserMedia.
885 // This flag expects a value. Example: --max-gum-fps=17.5 882 // This flag expects a value. Example: --max-gum-fps=17.5
886 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; 883 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps";
887 #endif 884 #endif
888 885
889 #if defined(OS_ANDROID) 886 #if defined(OS_ANDROID)
890 // Disable user gesture requirement for media playback. 887 // Disable user gesture requirement for media playback.
(...skipping 30 matching lines...) Expand all
921 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 918 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
922 #endif 919 #endif
923 920
924 // Disable web audio API. 921 // Disable web audio API.
925 const char kDisableWebAudio[] = "disable-webaudio"; 922 const char kDisableWebAudio[] = "disable-webaudio";
926 923
927 #if defined(OS_CHROMEOS) 924 #if defined(OS_CHROMEOS)
928 // Disables panel fitting (used for mirror mode). 925 // Disables panel fitting (used for mirror mode).
929 const char kDisablePanelFitting[] = "disable-panel-fitting"; 926 const char kDisablePanelFitting[] = "disable-panel-fitting";
930 927
931 // Enables VA-API accelerated video encode. 928 // Disables VA-API accelerated video encode.
932 const char kDisableVaapiAcceleratedVideoEncode[] = 929 const char kDisableVaapiAcceleratedVideoEncode[] =
933 "disable-vaapi-accelerated-video-encode"; 930 "disable-vaapi-accelerated-video-encode";
934 #endif 931 #endif
935 932
936 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 933 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
937 // Allows sending text-to-speech requests to speech-dispatcher, a common 934 // Allows sending text-to-speech requests to speech-dispatcher, a common
938 // Linux speech service. Because it's buggy, the user must explicitly 935 // Linux speech service. Because it's buggy, the user must explicitly
939 // enable it so that visiting a random webpage can't cause instability. 936 // enable it so that visiting a random webpage can't cause instability.
940 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; 937 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
941 #endif 938 #endif
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 985 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
989 return false; 986 return false;
990 // Default. 987 // Default.
991 return group_name == "Enabled"; 988 return group_name == "Enabled";
992 } 989 }
993 #endif 990 #endif
994 991
995 // Don't dump stuff here, follow the same order as the header. 992 // Don't dump stuff here, follow the same order as the header.
996 993
997 } // namespace switches 994 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698