Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 1885) sorted by relevance

12345678910>>...76

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c135 static void FilterSegment(const double* in_data, PitchFilterParam* parameters, in FilterSegment() argument
144 int pos = parameters->index + PITCH_BUFFSIZE; in FilterSegment()
147 int pos_lag = pos - parameters->lag_offset; in FilterSegment()
149 for (n = 0; n < parameters->num_samples; ++n) { in FilterSegment()
152 parameters->damper_state[m] = parameters->damper_state[m - 1]; in FilterSegment()
157 sum += parameters->buffer[pos_lag + m] * parameters->interpol_coeff[m]; in FilterSegment()
160 parameters->damper_state[0] = parameters->gain * sum; in FilterSegment()
162 if (parameters->mode == kPitchFilterPreGain) { in FilterSegment()
163 int lag_index = parameters->index - parameters->lag_offset; in FilterSegment()
168 parameters->damper_state_dg[j][m] = in FilterSegment()
[all …]
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc190 cricket::AudioSendParameters parameters; in TestSendBandwidth() local
191 parameters.codecs.push_back(codec); in TestSendBandwidth()
192 parameters.max_bandwidth_bps = max_bitrate; in TestSendBandwidth()
193 EXPECT_EQ(expected_result, channel_->SetSendParameters(parameters)); in TestSendBandwidth()
476 cricket::AudioRecvParameters parameters; in TEST_F() local
477 parameters.codecs.push_back(kIsacCodec); in TEST_F()
478 parameters.codecs.push_back(kPcmuCodec); in TEST_F()
479 parameters.codecs.push_back(kTelephoneEventCodec); in TEST_F()
480 parameters.codecs[0].id = 106; // collide with existing telephone-event in TEST_F()
481 parameters.codecs[2].id = 126; in TEST_F()
[all …]
/external/ImageMagick/coders/
Djp2.c274 parameters; in ReadJP2Image() local
326 opj_set_default_decoder_parameters(&parameters); in ReadJP2Image()
329 parameters.cp_reduce=StringToInteger(option); in ReadJP2Image()
332 parameters.cp_layer=StringToInteger(option); in ReadJP2Image()
333 if (opj_setup_decoder(jp2_codec,&parameters) == 0) in ReadJP2Image()
678 opj_cparameters_t *parameters) in CinemaProfileCompliance() argument
683 parameters->tile_size_on=OPJ_FALSE; in CinemaProfileCompliance()
684 parameters->cp_tdx=1; in CinemaProfileCompliance()
685 parameters->cp_tdy=1; in CinemaProfileCompliance()
686 parameters->tp_flag='C'; in CinemaProfileCompliance()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc58 ChannelParameters& parameters = channel_parameters_[channel_ix]; in Update() local
69 sample_energy < parameters.energy_update_threshold) || in Update()
76 if (sample_energy < parameters.energy_update_threshold) { in Update()
78 parameters.energy_update_threshold = std::max(sample_energy, 1); in Update()
79 parameters.low_energy_update_threshold = 0; in Update()
195 ChannelParameters& parameters = channel_parameters_[channel]; in IncrementEnergyThreshold() local
197 (kThresholdIncrement * parameters.low_energy_update_threshold) >> 16; in IncrementEnergyThreshold()
199 (parameters.energy_update_threshold & 0xFF); in IncrementEnergyThreshold()
201 ((parameters.energy_update_threshold>>8) & 0xFF)) << 8; in IncrementEnergyThreshold()
202 parameters.low_energy_update_threshold += temp_energy; in IncrementEnergyThreshold()
[all …]
/external/ceres-solver/internal/ceres/
Dautodiff_cost_function_test.cc59 double** parameters = new double*[2]; in TEST() local
60 parameters[0] = new double[2]; in TEST()
61 parameters[1] = new double[2]; in TEST()
63 parameters[0][0] = 1; in TEST()
64 parameters[0][1] = 2; in TEST()
66 parameters[1][0] = 3; in TEST()
67 parameters[1][1] = 4; in TEST()
75 cost_function->Evaluate(parameters, &residuals, NULL); in TEST()
77 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST()
86 delete[] parameters[0]; in TEST()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DTelephoneNumber.java57 protected NameValueList parameters; field in TelephoneNumber
61 parameters = new NameValueList(); in TelephoneNumber()
68 parameters.delete(name); in deleteParm()
82 return (String) parameters.getValue(POSTDIAL); in getPostDial()
90 return (String) parameters.getValue(ISUB); in getIsdnSubaddress()
97 return parameters.getValue(POSTDIAL) != null; in hasPostDial()
105 return parameters.hasNameValue(pname); in hasParm()
127 parameters.delete(POSTDIAL); in removePostDial()
142 parameters = p; in setParameters()
157 parameters.set(nv); in setPostDial()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc68 const VCMProtectionParameters* parameters) { in ProtectionFactor() argument
82 VCMFecMethod::ProtectionFactor(parameters); in ProtectionFactor()
83 if (_lowRttNackMs == -1 || parameters->rtt < _lowRttNackMs) { in ProtectionFactor()
89 } else if (_highRttNackMs == -1 || parameters->rtt < _highRttNackMs) { in ProtectionFactor()
106 const VCMProtectionParameters* parameters) { in ComputeMaxFramesFec() argument
107 if (parameters->numLayers > 2) { in ComputeMaxFramesFec()
118 parameters->frameRate / in ComputeMaxFramesFec()
119 static_cast<float>(1 << (parameters->numLayers - 1)); in ComputeMaxFramesFec()
121 static_cast<int>(2.0f * base_layer_framerate * parameters->rtt / 1000.0f + in ComputeMaxFramesFec()
137 const VCMProtectionParameters* parameters) { in BitRateTooLowForFec() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DParametricGaussianFunction.java83 public double value(double x, double[] parameters) throws ZeroException { in value() argument
84 validateParameters(parameters); in value()
85 final double a = parameters[0]; in value()
86 final double b = parameters[1]; in value()
87 final double c = parameters[2]; in value()
88 final double d = parameters[3]; in value()
124 public double[] gradient(double x, double[] parameters) throws ZeroException { in gradient() argument
126 validateParameters(parameters); in gradient()
127 final double b = parameters[1]; in gradient()
128 final double c = parameters[2]; in gradient()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DParametersHeader.java54 protected NameValueList parameters; field in ParametersHeader
59 this.parameters = new NameValueList(); in ParametersHeader()
65 this.parameters = new NameValueList(); in ParametersHeader()
71 this.parameters = new NameValueList(sync); in ParametersHeader()
84 return this.parameters.getParameter(name); in getParameter()
95 return this.parameters.getValue(name); in getParameterValue()
106 return parameters.getNames(); in getParameterNames()
115 return parameters != null && !parameters.isEmpty(); in hasParameters()
127 this.parameters.delete(name); in removeParameter()
149 NameValue nv = parameters.getNameValue(name); in setParameter()
[all …]
/external/libbrillo/brillo/
Dmime_utils_unittest.cc25 mime::Parameters parameters; in TEST() local
27 mime::Split("application/json;charset=utf-8", &s1, &s2, &parameters)); in TEST()
31 EXPECT_EQ(1, parameters.size()); in TEST()
32 EXPECT_EQ(mime::parameters::kCharset, parameters.front().first); in TEST()
33 EXPECT_EQ("utf-8", parameters.front().second); in TEST()
35 mime::Combine(s1, s2, parameters)); in TEST()
39 mime::Parameters parameters; in TEST() local
44 parameters = mime::GetParameters("text/plain; charset=iso-8859-1;foo=bar"); in TEST()
45 EXPECT_EQ(2, parameters.size()); in TEST()
46 EXPECT_EQ(mime::parameters::kCharset, parameters[0].first); in TEST()
[all …]
/external/bison/darwin-lib/
Dc++defs.h99 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ argument
100 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
102 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
105 rettype (*const func) parameters = ::rpl_func; \
109 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
119 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
122 rettype (*const func) parameters = \
123 reinterpret_cast<rettype(*)parameters>(::rpl_func); \
127 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
145 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ argument
[all …]
/external/bison/build-aux/snippet/
Dc++defs.h115 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ argument
116 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
118 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
121 rettype (*const func) parameters = ::rpl_func; \
125 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
135 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
138 rettype (*const func) parameters = \
139 reinterpret_cast<rettype(*)parameters>(::rpl_func); \
143 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
161 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ argument
[all …]
/external/bison/linux-lib/
Dc++defs.h99 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ argument
100 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
102 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
105 rettype (*const func) parameters = ::rpl_func; \
109 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ argument
119 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
122 rettype (*const func) parameters = \
123 reinterpret_cast<rettype(*)parameters>(::rpl_func); \
127 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ argument
145 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ argument
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DParameterizedTypeName.java30 private final ImmutableList<TypeName> parameters; field in ParameterizedTypeName
32 ParameterizedTypeName(ClassName type, Iterable<? extends TypeName> parameters) { in ParameterizedTypeName() argument
34 this.parameters = ImmutableList.<TypeName>copyOf(parameters); in ParameterizedTypeName()
41 public ImmutableList<TypeName> parameters() { in parameters() method in ParameterizedTypeName
42 return parameters; in parameters()
49 for (TypeName parameter : parameters) { in referencedClasses()
58 Iterator<? extends TypeName> parameterIterator = parameters.iterator(); in write()
75 && this.parameters.equals(that.parameters); in equals()
83 return Objects.hashCode(type, parameters); in hashCode()
92 TypeName... parameters) { in create() argument
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
41 public Command(String name, String[] parameters) { in Command() argument
43 Assert.notNull(parameters, "parameters"); in Command()
45 this.parameters = copy(parameters); in Command()
53 public Command(String name, List parameters) { in Command() argument
54 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
68 return copy(parameters); in getParameters()
79 return parameters[index]; in getRequiredString()
88 return (parameters.length > index) ? parameters[index] : null; in getParameter()
118 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dopenjpeg.c337 void OPJ_CALLCONV opj_set_default_decoder_parameters(opj_dparameters_t *parameters) { in opj_set_default_decoder_parameters() argument
338 if(parameters) { in opj_set_default_decoder_parameters()
339 memset(parameters, 0, sizeof(opj_dparameters_t)); in opj_set_default_decoder_parameters()
341 parameters->cp_layer = 0; in opj_set_default_decoder_parameters()
342 parameters->cp_reduce = 0; in opj_set_default_decoder_parameters()
344 parameters->decod_format = -1; in opj_set_default_decoder_parameters()
345 parameters->cod_format = -1; in opj_set_default_decoder_parameters()
346 parameters->flags = 0; in opj_set_default_decoder_parameters()
349 parameters->jpwl_correct = OPJ_FALSE; in opj_set_default_decoder_parameters()
350 parameters->jpwl_exp_comps = JPWL_EXPECTED_COMPONENTS; in opj_set_default_decoder_parameters()
[all …]
/external/apache-http/src/org/apache/http/message/
DBasicHeaderElement.java92 private final NameValuePair[] parameters; field in BasicHeaderElement
105 final NameValuePair[] parameters) { in BasicHeaderElement() argument
112 if (parameters != null) { in BasicHeaderElement()
113 this.parameters = parameters; in BasicHeaderElement()
115 this.parameters = new NameValuePair[] {}; in BasicHeaderElement()
155 return (NameValuePair[])this.parameters.clone(); in getParameters()
165 return this.parameters.length; in getParameterCount()
178 return this.parameters[index]; in getParameter()
194 for (int i = 0; i < this.parameters.length; i++) { in getParameterByName()
195 NameValuePair current = this.parameters[ i ]; in getParameterByName()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/command/
DCommand.java34 private String[] parameters; field in Command
42 public Command(String name, String[] parameters) { in Command() argument
44 Assert.notNull(parameters, "parameters"); in Command()
46 this.parameters = copy(parameters); in Command()
55 public Command(String name, List parameters) { in Command() argument
56 this(name, (String[]) parameters.toArray(new String[parameters.size()])); in Command()
70 return copy(parameters); in getParameters()
83 return parameters[index]; in getRequiredParameter()
93 return (parameters.length > index) ? parameters[index] : null; in getParameter()
124 String str = name + Arrays.asList(parameters); in hashCode()
[all …]

12345678910>>...76