Searched refs:constraints (Results 1 - 25 of 171) sorted by relevance

1234567

/external/webrtc/talk/app/webrtc/
H A Dlocalaudiosource_unittest.cc44 webrtc::FakeConstraints constraints; local
45 constraints.AddMandatory(
47 constraints.AddOptional(
49 constraints.AddOptional(MediaConstraintsInterface::kDAEchoCancellation, true);
50 constraints.AddOptional(MediaConstraintsInterface::kAutoGainControl, true);
51 constraints.AddOptional(
53 constraints.AddMandatory(MediaConstraintsInterface::kNoiseSuppression, false);
54 constraints.AddOptional(MediaConstraintsInterface::kHighpassFilter, true);
55 constraints.AddOptional(MediaConstraintsInterface::kAecDump, true);
59 &constraints);
72 webrtc::FakeConstraints constraints; local
80 webrtc::FakeConstraints constraints; local
94 webrtc::FakeConstraints constraints; local
107 webrtc::FakeConstraints constraints; local
[all...]
H A Dlocalaudiosource.cc42 // Convert constraints to audio options. Return false if constraints are
44 void FromConstraints(const MediaConstraintsInterface::Constraints& constraints, argument
46 // This design relies on the fact that all the audio constraints are actually
47 // "options", i.e. boolean-valued and always satisfiable. If the constraints
48 // are extended to include non-boolean values or actual format constraints,
74 for (const auto& constraint : constraints) {
90 const MediaConstraintsInterface* constraints) {
93 source->Initialize(options, constraints);
99 const MediaConstraintsInterface* constraints) {
88 Create( const PeerConnectionFactoryInterface::Options& options, const MediaConstraintsInterface* constraints) argument
97 Initialize( const PeerConnectionFactoryInterface::Options& options, const MediaConstraintsInterface* constraints) argument
[all...]
H A Dvideosource_unittest.cc145 const webrtc::MediaConstraintsInterface* constraints) {
149 constraints, false);
172 // Initialize without constraints.
187 // Initialize without constraints.
248 // Test that the capture output is CIF if we set max constraints to CIF.
251 FakeConstraints constraints; local
252 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352);
253 constraints.AddMandatory(MediaConstraintsInterface::kMaxHeight, 288);
254 constraints.AddMandatory(MediaConstraintsInterface::kMaxFrameRate, 5);
256 CreateVideoSource(&constraints);
144 CreateVideoSource( const webrtc::MediaConstraintsInterface* constraints) argument
269 FakeConstraints constraints; local
290 FakeConstraints constraints; local
311 FakeConstraints constraints; local
321 FakeConstraints constraints; local
353 FakeConstraints constraints; local
370 FakeConstraints constraints; local
380 FakeConstraints constraints; local
389 FakeConstraints constraints; local
399 FakeConstraints constraints; local
405 FakeConstraints constraints; local
418 FakeConstraints constraints; local
432 FakeConstraints constraints; local
445 FakeConstraints constraints; local
457 FakeConstraints constraints; local
473 FakeConstraints constraints; local
515 FakeConstraints constraints; local
533 FakeConstraints constraints; local
543 FakeConstraints constraints; local
[all...]
H A Dlocalaudiosource.h49 const MediaConstraintsInterface* constraints);
65 const MediaConstraintsInterface* constraints);
H A Dmediaconstraintsinterface.cc38 // Specified by draft-alvestrand-constraints-resolution-00b
48 // Audio constraints.
88 // Below constraints should be used during PeerConnection construction.
136 // |key| and return its value as |value|. |constraints| can be null.
138 // among the mandatory constraints.
142 // Note: Because this uses FindFirst, repeated optional constraints whose
145 bool FindConstraint(const MediaConstraintsInterface* constraints, argument
149 if (!constraints) {
152 if (constraints->GetMandatory().FindFirst(key, &string_value)) {
157 if (constraints
[all...]
/external/tensorflow/tensorflow/contrib/keras/api/keras/constraints/
H A D__init__.py15 """Keras built-in constraints functions."""
22 from tensorflow.python.keras._impl.keras.constraints import Constraint
23 from tensorflow.python.keras._impl.keras.constraints import max_norm
24 from tensorflow.python.keras._impl.keras.constraints import MaxNorm
25 from tensorflow.python.keras._impl.keras.constraints import min_max_norm
26 from tensorflow.python.keras._impl.keras.constraints import MinMaxNorm
27 from tensorflow.python.keras._impl.keras.constraints import non_neg
28 from tensorflow.python.keras._impl.keras.constraints import NonNeg
29 from tensorflow.python.keras._impl.keras.constraints import unit_norm
30 from tensorflow.python.keras._impl.keras.constraints impor
[all...]
/external/tensorflow/tensorflow/python/keras/constraints/
H A D__init__.py15 """Keras built-in constraints functions."""
22 from tensorflow.python.keras._impl.keras.constraints import Constraint
23 from tensorflow.python.keras._impl.keras.constraints import max_norm
24 from tensorflow.python.keras._impl.keras.constraints import MaxNorm
25 from tensorflow.python.keras._impl.keras.constraints import min_max_norm
26 from tensorflow.python.keras._impl.keras.constraints import MinMaxNorm
27 from tensorflow.python.keras._impl.keras.constraints import non_neg
28 from tensorflow.python.keras._impl.keras.constraints import NonNeg
29 from tensorflow.python.keras._impl.keras.constraints import unit_norm
30 from tensorflow.python.keras._impl.keras.constraints impor
[all...]
/external/webrtc/talk/app/webrtc/objc/public/
H A DRTCPeerConnectionFactory.h53 constraints:(RTCMediaConstraints *)constraints
58 constraints:(RTCMediaConstraints *)constraints
65 // |constraints| decides video resolution and frame rate but can be NULL.
67 constraints:(RTCMediaConstraints *)constraints;
H A DRTCAVFoundationVideoSource.h42 constraints:(RTCMediaConstraints*)constraints;
/external/webrtc/talk/app/webrtc/objc/
H A DRTCMediaConstraints+Internal.h38 webrtc::RTCMediaConstraintsNative *constraints; variable
H A DRTCPeerConnection+Internal.h41 constraints:(const webrtc::MediaConstraintsInterface *)constraints;
45 constraints:(const webrtc::MediaConstraintsInterface *)constraints
H A DRTCPeerConnectionFactory.mm93 constraints:(RTCMediaConstraints *)constraints
97 constraints:constraints.constraints
103 constraints:(RTCMediaConstraints*)constraints
112 constraints:constraints.constraints];
[all...]
H A DRTCAVFoundationVideoSource.mm38 constraints:(RTCMediaConstraints*)constraints {
44 constraints.constraints);
H A DRTCMediaConstraints.mm38 // TODO(hughv): Add accessors for mandatory and optional constraints.
60 webrtc::MediaConstraintsInterface::Constraints constraints;
62 constraints.push_back(webrtc::MediaConstraintsInterface::Constraint(
65 return constraints;
72 - (const webrtc::RTCMediaConstraintsNative*)constraints {
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dgpu_layout_assignment.cc46 HloInstruction* instr, LayoutConstraints* constraints) {
107 constraints->points_to_analysis().GetBufferDefinedAt(
112 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(input_shape, instr, 0));
113 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(filter_shape, instr, 1));
115 constraints->SetBufferLayout(output_shape.layout(), *call_result_buf));
117 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(output_shape, instr, 0));
118 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(filter_shape, instr, 1));
120 constraints->SetBufferLayout(input_shape.layout(), *call_result_buf));
122 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(input_shape, instr, 0));
123 TF_RETURN_IF_ERROR(constraints
45 AddBackendConstraintsToDnnConvCustomCall( HloInstruction* instr, LayoutConstraints* constraints) argument
133 AddBackendConstraints( LayoutConstraints* constraints) argument
154 PropagateOperandConstraint( const OperandLayoutConstraint& layout_constraint, LayoutConstraints* constraints) argument
207 PropagateBufferConstraint( const BufferLayoutConstraint& buffer_constraint, LayoutConstraints* constraints) argument
[all...]
H A Dgpu_layout_assignment.h27 // layout constraints for operands and results of library calls.
35 Status AddBackendConstraints(LayoutConstraints* constraints) override;
38 LayoutConstraints* constraints) override;
41 LayoutConstraints* constraints) override;
/external/webrtc/webrtc/api/objctests/
H A DRTCMediaConstraintsTest.mm29 RTCMediaConstraints *constraints = [[RTCMediaConstraints alloc]
33 [constraints nativeConstraints];
44 - (void)expectConstraints:(NSDictionary *)constraints
47 EXPECT_EQ(constraints.count, nativeConstraints.size());
49 for (NSString *key in constraints) {
50 NSString *value = constraints[key];
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dcpu_layout_assignment.cc97 LayoutConstraints* constraints) {
100 const HloComputation* computation = constraints->computation();
111 // These constraints are not hard constraints. Ideally, we should decide
119 constraints->SetOperandLayout(input_shape, convolution, 0));
121 constraints->SetOperandLayout(filter_shape, convolution, 1));
123 constraints->SetInstructionLayout(output_shape, convolution));
127 TF_RETURN_IF_ERROR(constraints->SetOperandLayout(
134 // These constraints are not hard constraints
96 AddBackendConstraints( LayoutConstraints* constraints) argument
[all...]
H A Dcpu_layout_assignment.h27 // layout constraints for operands and results of library calls.
35 Status AddBackendConstraints(LayoutConstraints* constraints) override;
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
H A DPeerConnectionFactory.java95 MediaConstraints constraints,
102 nativeFactory, rtcConfig, constraints, nativeObserver);
111 MediaConstraints constraints,
115 return createPeerConnection(rtcConfig, constraints, observer);
124 VideoCapturer capturer, MediaConstraints constraints) {
126 nativeFactory, capturer.takeNativeVideoCapturer(), constraints));
134 public AudioSource createAudioSource(MediaConstraints constraints) { argument
135 return new AudioSource(nativeCreateAudioSource(nativeFactory, constraints));
235 MediaConstraints constraints, long nativeObserver);
242 MediaConstraints constraints);
93 createPeerConnection( PeerConnection.RTCConfiguration rtcConfig, MediaConstraints constraints, PeerConnection.Observer observer) argument
109 createPeerConnection( List<PeerConnection.IceServer> iceServers, MediaConstraints constraints, PeerConnection.Observer observer) argument
123 createVideoSource( VideoCapturer capturer, MediaConstraints constraints) argument
233 nativeCreatePeerConnection( long nativeFactory, PeerConnection.RTCConfiguration rtcConfig, MediaConstraints constraints, long nativeObserver) argument
240 nativeCreateVideoSource( long nativeFactory, long nativeVideoCapturer, MediaConstraints constraints) argument
247 nativeCreateAudioSource( long nativeFactory, MediaConstraints constraints) argument
[all...]
/external/clang/test/CodeGen/
H A Dnvptx-inlineasm-ptx.c4 void constraints() { function
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
H A DConstraintFormulaSet.java39 List<ConstraintFormula> constraints = new LinkedList<>(constraintFormulas);
41 while (constraints.size() > 0) {
42 ConstraintFormula constraintFormula = constraints.remove(0);
44 constraints.addAll(reductionResult.getConstraintFormulas());
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
H A DRTCMediaConstraints+JSON.m29 // TODO(tkchin): figure out json formats for optional constraints.
30 RTCMediaConstraints *constraints =
34 return constraints;
/external/webrtc/webrtc/api/objc/
H A DRTCMediaConstraints.mm79 (NSDictionary<NSString *, NSString *> *)constraints {
81 for (NSString *key in constraints) {
84 NSAssert([constraints[key] isKindOfClass:[NSString class]],
85 @"%@ is not an NSString.", constraints[key]);
87 key.stdString, constraints[key].stdString));
/external/tensorflow/tensorflow/python/keras/_impl/keras/
H A Dconstraints_test.py15 """Tests for Keras weights constraints."""
44 fn = keras.constraints.get(name)
45 ref_fn = getattr(keras.constraints, name)()
47 config = keras.constraints.serialize(fn)
48 fn = keras.constraints.deserialize(config)
55 norm_instance = keras.constraints.max_norm(m)
60 norm_instance = keras.constraints.max_norm(2.0)
73 non_neg_instance = keras.constraints.non_neg()
79 unit_norm_instance = keras.constraints.unit_norm()
93 norm_instance = keras.constraints
[all...]

Completed in 767 milliseconds

1234567