Home
last modified time | relevance | path

Searched refs:kOn (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/util/
Dthreshold_curve_unittest.cc41 enum RelativePosition { kBelow, kOn, kAbove }; enumerator
46 RTC_CHECK(pos == kBelow || pos == kOn || pos == kAbove); in CheckRelativePosition()
99 CheckRelativePosition(curve, {x, p1.y + 1}, kOn); // F in TEST()
100 CheckRelativePosition(curve, {x, p1.y + 0}, kOn); // P1 in TEST()
118 CheckRelativePosition(curve, {x, (p1.y + p2.y) / 2}, kOn); // M in TEST()
130 CheckRelativePosition(curve, {x, p2.y + 0}, kOn); // P2 in TEST()
140 CheckRelativePosition(curve, {x, p2.y + 0}, kOn); // Y in TEST()
180 CheckRelativePosition(curve, {x, p1.y + 1}, kOn); // D in TEST()
181 CheckRelativePosition(curve, {x, p1.y + 0}, kOn); // P1 in TEST()
189 CheckRelativePosition(curve, {x, p1.y + 0}, kOn); // G in TEST()
[all …]
/external/angle/src/compiler/translator/
DDirectiveHandler.cpp87 const char kOn[] = "on"; in handlePragma() local
93 if (value == kOn) in handlePragma()
102 if (value == kOn) in handlePragma()
111 if (value == kOn) in handlePragma()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c628 static const int kOn = 1; in SetupSocket() local
651 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEPORT, &kOn, sizeof(kOn)); in SetupSocket()
653 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSocket()
668 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
672 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVDSTADDR, &kOn, sizeof(kOn)); in SetupSocket()
678 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVIF, &kOn, sizeof(kOn)); in SetupSocket()
689 setsockopt(*sktPtr, IPPROTO_IP, IP_RECVTTL, &kOn, sizeof(kOn)); in SetupSocket()
746 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_2292_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
755 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_2292_HOPLIMIT, &kOn, sizeof(kOn)); in SetupSocket()
787 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_V6ONLY, &kOn, sizeof(kOn)); in SetupSocket()
/external/swiftshader/src/OpenGL/compiler/
DDirectiveHandler.cpp63 static const char kOn[] = "on"; in handlePragma() local
75 if (value == kOn) mPragma.optimize = true; in handlePragma()
81 if (value == kOn) mPragma.debug = true; in handlePragma()
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc485 codec_settings_.VP9()->interLayerPred = InterLayerPredMode::kOn; in TEST_F()
651 InterLayerPredMode::kOff, InterLayerPredMode::kOn, in TEST_F()
681 inter_layer_pred == InterLayerPredMode::kOn || in TEST_F()
698 inter_layer_pred != InterLayerPredMode::kOn); in TEST_F()
704 inter_layer_pred == InterLayerPredMode::kOn); in TEST_F()
720 InterLayerPredMode::kOff, InterLayerPredMode::kOn, in TEST_F()
747 if (inter_layer_pred == InterLayerPredMode::kOn) { in TEST_F()
778 InterLayerPredMode::kOff, InterLayerPredMode::kOn, in TEST_F()
814 inter_layer_pred == InterLayerPredMode::kOn); in TEST_F()
832 codec_settings_.VP9()->interLayerPred = InterLayerPredMode::kOn; in TEST_F()
[all …]
/external/skqp/gm/
Ddashing.cpp446 constexpr int kOn = 4; in onDraw() local
448 constexpr int kIntervalLength = kOn + kOff; in onDraw()
479 drawline(canvas, kOn, kOff, paint, in onDraw()
490 drawline(canvas, kOn, kOff, paint, in onDraw()
/external/webrtc/video/
Dfull_stack_tests.cc835 streams, 1, 1, 0, InterLayerPredMode::kOn, std::vector<SpatialLayer>(), in TEST()
985 std::vector<VideoStream>(), 0, 3, 2, InterLayerPredMode::kOn, in TEST()
1103 streams, 2, 1, 0, InterLayerPredMode::kOn, std::vector<SpatialLayer>(), in TEST()
1131 streams, 2, 1, 0, InterLayerPredMode::kOn, std::vector<SpatialLayer>(), in TEST()
1157 streams, 0, 1, 0, InterLayerPredMode::kOn, std::vector<SpatialLayer>(), in TEST()
1229 streams, 2, 1, 0, InterLayerPredMode::kOn, std::vector<SpatialLayer>(), in TEST()
Dscreenshare_loopback.cc193 return webrtc::InterLayerPredMode::kOn; in InterLayerPred()
Dvideo_loopback.cc256 return InterLayerPredMode::kOn; in InterLayerPred()
Dsv_loopback.cc335 return InterLayerPredMode::kOn; in IntToInterLayerPredMode()
/external/webrtc/api/video_codecs/
Dvideo_codec.h54 kOn = 1, // Inter-layer prediction is enabled. enumerator
Dvideo_encoder.cc47 vp9_settings.interLayerPred = InterLayerPredMode::kOn; in GetDefaultVp9Settings()
/external/webrtc/api/test/
Dvideo_quality_test_fixture.h98 InterLayerPredMode inter_layer_pred = InterLayerPredMode::kOn;
/external/skia/gm/
Ddashing.cpp418 constexpr int kOn = 4; in onDraw() local
420 constexpr int kIntervalLength = kOn + kOff; in onDraw()
451 drawline(canvas, kOn, kOff, paint, in onDraw()
462 drawline(canvas, kOn, kOff, paint, in onDraw()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc244 inter_layer_pred_(InterLayerPredMode::kOn), in VP9EncoderImpl()
609 inter_layer_pred_ == InterLayerPredMode::kOn; in InitEncode()
762 case InterLayerPredMode::kOn: in InitAndSetControlSettings()
777 inter_layer_pred_ == InterLayerPredMode::kOn && in InitAndSetControlSettings()
1134 (inter_layer_pred_ == InterLayerPredMode::kOn || in PopulateCodecSpecific()
1285 if (inter_layer_pred_ != InterLayerPredMode::kOn) { in FillReferenceIndices()
1377 inter_layer_pred_ == InterLayerPredMode::kOn || in SetReferences()
/external/skia/src/sksl/
DSkSLCompiler.h106 kOn, enumerator
DSkSLCompiler.cpp447 case OverrideFlag::kOn: in convertProgram()
458 case OverrideFlag::kOn: in convertProgram()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c1159 static const int kOn = 1; in SetupSockets() local
1172 err = setsockopt(self->tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1186 err = setsockopt(self->udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1211 err = setsockopt(self->llq_tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1225 err = setsockopt(self->llq_udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1254 err = setsockopt(self->tlssd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
/external/webrtc/call/
Dcall_perf_tests.cc70 enum class FecMode { kOn, kOff }; enumerator
261 if (fec == FecMode::kOn) { in TestAudioVideoSync()
361 TestAudioVideoSync(FecMode::kOn, CreateOrder::kVideoFirst, in TEST_F()
/external/webrtc/test/pc/e2e/analyzer/video/
Dquality_analyzing_video_encoder.cc88 case InterLayerPredMode::kOn: in InitEncode()
/external/webrtc/test/scenario/
Dvideo_stream.cc90 return InterLayerPredMode::kOn; in ToInterLayerPredMode()
/external/skia/tools/viewer/
DViewer.cpp2447 Compiler::EnableOptimizer(OverrideFlag::kOn); in drawImGui()
2451 Compiler::EnableOptimizer(OverrideFlag::kOn); in drawImGui()
2452 Compiler::EnableInliner(OverrideFlag::kOn); in drawImGui()
/external/webrtc/media/engine/
Dwebrtc_video_engine.cc493 {"on", webrtc::InterLayerPredMode::kOn}, in ConfigureVideoEncoderSettings()
507 vp9_settings.interLayerPred = webrtc::InterLayerPredMode::kOn; in ConfigureVideoEncoderSettings()
Dwebrtc_video_engine_unittest.cc3681 webrtc::InterLayerPredMode::kOn),