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

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: fix nit 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 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 // Disables HW decode acceleration for WebRTC. 873 // Disables HW decode acceleration for WebRTC.
874 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 874 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
875 875
876 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 876 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
877 // ignores this switch on its stable and beta channels. 877 // ignores this switch on its stable and beta channels.
878 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 878 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
879 879
880 // Disables HW encode acceleration for WebRTC. 880 // Disables HW encode acceleration for WebRTC.
881 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 881 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
882 882
883 // Enables VP8 HW encode acceleration for WebRTC.
884 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding";
885
886 // Enables H264 HW encode acceleration for WebRTC. 883 // Enables H264 HW encode acceleration for WebRTC.
887 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; 884 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding";
888 885
889 // Override the maximum framerate as can be specified in calls to getUserMedia. 886 // Override the maximum framerate as can be specified in calls to getUserMedia.
890 // This flag expects a value. Example: --max-gum-fps=17.5 887 // This flag expects a value. Example: --max-gum-fps=17.5
891 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; 888 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps";
892 #endif 889 #endif
893 890
894 #if defined(OS_ANDROID) 891 #if defined(OS_ANDROID)
895 // Disable user gesture requirement for media playback. 892 // Disable user gesture requirement for media playback.
(...skipping 30 matching lines...) Expand all
926 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 923 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
927 #endif 924 #endif
928 925
929 // Disable web audio API. 926 // Disable web audio API.
930 const char kDisableWebAudio[] = "disable-webaudio"; 927 const char kDisableWebAudio[] = "disable-webaudio";
931 928
932 #if defined(OS_CHROMEOS) 929 #if defined(OS_CHROMEOS)
933 // Disables panel fitting (used for mirror mode). 930 // Disables panel fitting (used for mirror mode).
934 const char kDisablePanelFitting[] = "disable-panel-fitting"; 931 const char kDisablePanelFitting[] = "disable-panel-fitting";
935 932
936 // Enables VA-API accelerated video encode. 933 // Disables VA-API accelerated video encode.
937 const char kDisableVaapiAcceleratedVideoEncode[] = 934 const char kDisableVaapiAcceleratedVideoEncode[] =
938 "disable-vaapi-accelerated-video-encode"; 935 "disable-vaapi-accelerated-video-encode";
939 #endif 936 #endif
940 937
941 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 938 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
942 // Allows sending text-to-speech requests to speech-dispatcher, a common 939 // Allows sending text-to-speech requests to speech-dispatcher, a common
943 // Linux speech service. Because it's buggy, the user must explicitly 940 // Linux speech service. Because it's buggy, the user must explicitly
944 // enable it so that visiting a random webpage can't cause instability. 941 // enable it so that visiting a random webpage can't cause instability.
945 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; 942 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
946 #endif 943 #endif
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 990 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
994 return false; 991 return false;
995 // Default. 992 // Default.
996 return group_name == "Enabled"; 993 return group_name == "Enabled";
997 } 994 }
998 #endif 995 #endif
999 996
1000 // Don't dump stuff here, follow the same order as the header. 997 // Don't dump stuff here, follow the same order as the header.
1001 998
1002 } // namespace switches 999 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698