Home
last modified time | relevance | path

Searched refs:Fs (Results 1 – 25 of 219) sorted by relevance

123456789

/external/libopus/celt/dump_modes/
Ddump_modes.c61 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes()
80 standard = (mode->Fs == 400*(opus_int32)mode->shortMdctSize); in dump_modes()
81 framerate = mode->Fs/mode->shortMdctSize; in dump_modes()
85 fprintf(file, "#ifndef DEF_EBANDS%d_%d\n", mode->Fs, mdctSize); in dump_modes()
86 fprintf(file, "#define DEF_EBANDS%d_%d\n", mode->Fs, mdctSize); in dump_modes()
87 …fprintf (file, "static const opus_int16 eBands%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->nbEBands… in dump_modes()
106 fprintf(file, "#ifndef DEF_ALLOC_VECTORS%d_%d\n", mode->Fs, mdctSize); in dump_modes()
107 fprintf(file, "#define DEF_ALLOC_VECTORS%d_%d\n", mode->Fs, mdctSize); in dump_modes()
108 …fprintf (file, "static const unsigned char allocVectors%d_%d[%d] = {\n", mode->Fs, mdctSize, mode-… in dump_modes()
130 fprintf(file, "#ifndef DEF_PULSE_CACHE%d\n", mode->Fs/mdctSize); in dump_modes()
[all …]
Ddump_modes_arm_ne10.c60 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes_arch_init()
78 fprintf(file, "#ifndef NE10_FFT_PARAMS%d_%d\n", mode->Fs, mdctSize); in dump_mode_arch()
79 fprintf(file, "#define NE10_FFT_PARAMS%d_%d\n", mode->Fs, mdctSize); in dump_mode_arch()
151 fprintf(file, "#endif /* end NE10_FFT_PARAMS%d_%d */\n", mode->Fs, mdctSize); in dump_mode_arch()
/external/libopus/celt/
Dmodes.c90 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands) in compute_ebands() argument
96 if (Fs == 400*(opus_int32)frame_size) in compute_ebands()
106 if (bark_freq[nBark+1]*2 >= Fs) in compute_ebands()
179 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize) in compute_allocation_table()
195 … if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize) in compute_allocation_table()
202 … a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1]; in compute_allocation_table()
203 … a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize; in compute_allocation_table()
224 CELTMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error) in opus_custom_mode_create() argument
247 if (Fs == static_mode_list[i]->Fs && in opus_custom_mode_create()
266 if (Fs < 8000 || Fs > 96000) in opus_custom_mode_create()
[all …]
/external/libopus/src/
Dopus_encoder.c79 opus_int32 Fs; member
182 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) in opus_encoder_init() argument
189 if((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)||(channels!=1&&channels!=2)|| in opus_encoder_init()
207 st->Fs = Fs; in opus_encoder_init()
217 st->silk_mode.API_sampleRate = st->Fs; in opus_encoder_init()
232 err = celt_encoder_init(celt_enc, Fs, channels, st->arch); in opus_encoder_init()
242 st->bitrate_bps = 3000+Fs*channels; in opus_encoder_init()
250 st->encoder_buffer = st->Fs/100; in opus_encoder_init()
256 st->delay_compensation = st->Fs/250; in opus_encoder_init()
266 tonality_analysis_init(&st->analysis, st->Fs); in opus_encoder_init()
[all …]
Dopus_decoder.c59 opus_int32 Fs; /** Sampling rate (at the API level) */ member
85 …celt_assert(st->Fs == 48000 || st->Fs == 24000 || st->Fs == 16000 || st->Fs == 12000 || st->Fs == … in validate_opus_decoder()
86 celt_assert(st->DecControl.API_sampleRate == st->Fs); in validate_opus_decoder()
116 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) in opus_decoder_init() argument
122 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) in opus_decoder_init()
139 st->Fs = Fs; in opus_decoder_init()
140 st->DecControl.API_sampleRate = st->Fs; in opus_decoder_init()
148 ret = celt_decoder_init(celt_dec, Fs, channels); in opus_decoder_init()
154 st->frame_size = Fs/400; in opus_decoder_init()
159 OpusDecoder *opus_decoder_create(opus_int32 Fs, int channels, int *error) in opus_decoder_create() argument
[all …]
Dopus_multistream_encoder.c431 opus_int32 Fs, in opus_multistream_encoder_init_impl() argument
474 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 2, application); in opus_multistream_encoder_init_impl()
482 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 1, application); in opus_multistream_encoder_init_impl()
499 opus_int32 Fs, in opus_multistream_encoder_init() argument
507 return opus_multistream_encoder_init_impl(st, Fs, channels, streams, in opus_multistream_encoder_init()
514 opus_int32 Fs, in opus_multistream_surround_encoder_init() argument
580 return opus_multistream_encoder_init_impl(st, Fs, channels, *streams, in opus_multistream_surround_encoder_init()
586 opus_int32 Fs, in opus_multistream_encoder_create() argument
611 …ret = opus_multistream_encoder_init(st, Fs, channels, streams, coupled_streams, mapping, applicati… in opus_multistream_encoder_create()
623 opus_int32 Fs, in opus_multistream_surround_encoder_create() argument
[all …]
Dopus_multistream_decoder.c68 opus_int32 Fs, in opus_multistream_decoder_init() argument
99 ret=opus_decoder_init((OpusDecoder*)ptr, Fs, 2); in opus_multistream_decoder_init()
105 ret=opus_decoder_init((OpusDecoder*)ptr, Fs, 1); in opus_multistream_decoder_init()
114 opus_int32 Fs, in opus_multistream_decoder_create() argument
138 ret = opus_multistream_decoder_init(st, Fs, channels, streams, coupled_streams, mapping); in opus_multistream_decoder_create()
150 opus_int32 len, int nb_streams, opus_int32 Fs) in opus_multistream_packet_validate() argument
168 tmp_samples = opus_packet_get_nb_samples(data, packet_offset, Fs); in opus_multistream_packet_validate()
190 opus_int32 Fs; in opus_multistream_decode_native() local
206 MUST_SUCCEED(opus_multistream_decoder_ctl(st, OPUS_GET_SAMPLE_RATE(&Fs))); in opus_multistream_decode_native()
207 frame_size = IMIN(frame_size, Fs/25*3); in opus_multistream_decode_native()
[all …]
Danalysis.c161 … void *_x, opus_val32 *y, opus_val32 S[3], int subframe, int offset, int c1, int c2, int C, int Fs) in downmix_and_resample() argument
170 if (Fs == 48000) in downmix_and_resample()
174 } else if (Fs == 16000) { in downmix_and_resample()
192 if (Fs == 48000) in downmix_and_resample()
195 } else if (Fs == 24000) { in downmix_and_resample()
197 } else if (Fs == 16000) { in downmix_and_resample()
215 void tonality_analysis_init(TonalityAnalysisState *tonal, opus_int32 Fs) in tonality_analysis_init() argument
219 tonal->Fs = Fs; in tonality_analysis_init()
253 if (len > tonal->Fs/50 && pos != tonal->write_pos) in tonality_get_info()
396 tonal->read_subframe += len/(tonal->Fs/400); in tonality_get_info()
[all …]
Danalysis.h50 opus_int32 Fs; member
88 void tonality_analysis_init(TonalityAnalysisState *analysis, opus_int32 Fs);
99 int analysis_frame_size, int frame_size, int c1, int c2, int C, opus_int32 Fs,
Dopus.c174 opus_int32 Fs) in opus_packet_get_samples_per_frame() argument
180 audiosize = (Fs<<audiosize)/400; in opus_packet_get_samples_per_frame()
183 audiosize = (data[0]&0x08) ? Fs/50 : Fs/100; in opus_packet_get_samples_per_frame()
187 audiosize = Fs*60/1000; in opus_packet_get_samples_per_frame()
189 audiosize = (Fs<<audiosize)/100; in opus_packet_get_samples_per_frame()
Dopus_projection_decoder.c125 int opus_projection_decoder_init(OpusProjectionDecoder *st, opus_int32 Fs, in opus_projection_decoder_init() argument
171 get_multistream_decoder(st), Fs, channels, streams, coupled_streams, mapping); in opus_projection_decoder_init()
177 opus_int32 Fs, int channels, int streams, int coupled_streams, in opus_projection_decoder_create() argument
200 ret = opus_projection_decoder_init(st, Fs, channels, streams, coupled_streams, in opus_projection_decoder_create()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DManifestFactoryTest.java14 import org.robolectric.res.Fs;
45 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/MergedManifest.xml")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
47 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-resources")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
49 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-assets")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
56 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/MergedManifest.xml")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
58 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-resources")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
60 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-assets")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
92 .isEqualTo(Fs.fromURL(getClass().getClassLoader().getResource("TestAndroidManifest.xml"))); in whenConfigSpecified_overridesValuesFromFile()
94 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-resources")); in whenConfigSpecified_overridesValuesFromFile()
96 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-assets")); in whenConfigSpecified_overridesValuesFromFile()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeInference.java101 List<ResolvedType> Fs = formalParameterTypes(methodDeclaration); in instantiationInference() local
109 C = testForApplicabilityByStrictInvocation(Fs, es, theta); in instantiationInference()
115 C = testForApplicabilityByLooseInvocation(Fs, es, theta); in instantiationInference()
121 C = testForApplicabilityByVariableArityInvocation(Fs, es, theta); in instantiationInference()
641 …raintFormulaSet> testForApplicabilityByStrictInvocation(List<ResolvedType> Fs, List<Expression> es, in testForApplicabilityByStrictInvocation() argument
643 int n = Fs.size(); in testForApplicabilityByStrictInvocation()
655 ResolvedType fi = Fs.get(i); in testForApplicabilityByStrictInvocation()
670 return Optional.of(constraintSetFromArgumentsSubstitution(Fs, es, theta, k)); in testForApplicabilityByStrictInvocation()
677 …traintFormulaSet> testForApplicabilityByLooseInvocation(List<ResolvedType> Fs, List<Expression> es, in testForApplicabilityByLooseInvocation() argument
679 int n = Fs.size(); in testForApplicabilityByLooseInvocation()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java14 import org.robolectric.res.Fs;
25 return Fs.newFile(resourcesBaseDirFile()); in resourcesBaseDir()
51Fs fs = Fs.fromJar(getDependencyResolver().getLocalArtifactUrl(sdkConfig.getAndroidSdkDependency()… in systemResources()
58Fs sdkResFs = Fs.fromJar(getDependencyResolver().getLocalArtifactUrl(new SdkConfig(apiLevel).getAn… in sdkResources()
/external/libopus/include/
Dopus_multistream.h258 opus_int32 Fs,
268 opus_int32 Fs,
328 opus_int32 Fs,
338 opus_int32 Fs,
505 opus_int32 Fs,
549 opus_int32 Fs,
Dopus.h209 opus_int32 Fs,
230 opus_int32 Fs,
424 opus_int32 Fs,
442 opus_int32 Fs,
556 …nt opus_packet_get_samples_per_frame(const unsigned char *data, opus_int32 Fs) OPUS_ARG_NONNULL(1);
584 …et_get_nb_samples(const unsigned char packet[], opus_int32 len, opus_int32 Fs) OPUS_ARG_NONNULL(1);
Dopus_projection.h162 opus_int32 Fs,
216 opus_int32 Fs,
398 opus_int32 Fs,
449 opus_int32 Fs,
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java58 Fs.JarFs.JarFsFile mockTestFile = mock(Fs.JarFs.JarFsFile.class); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
62 Fs.JarFs.JarFsFile mockTestDir = mock(Fs.JarFs.JarFsFile.class); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
104 Fs.JarFs.JarFsFile mockTestFile = mock(Fs.JarFs.JarFsFile.class); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath()
108 Fs.JarFs.JarFsFile mockTestDir = mock(Fs.JarFs.JarFsFile.class); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java7 import org.robolectric.res.Fs;
27 Fs.newFile(dependencyResolver.getLocalArtifactUrl(compileTimeJar).getFile()); in getCompileTimeSystemResourcesFile()
43Fs systemResFs = Fs.fromJar(dependencyResolver.getLocalArtifactUrl(sdkConfig.getAndroidSdkDependen… in createRuntimeSdkResourcePath()
DDefaultManifestFactory.java11 import org.robolectric.res.Fs;
65 return Fs.fromURL(manifestUrl); in resolveFile()
82 return Fs.fromURL(url); in getFsFileFromProperty()
87 return Fs.fileFromPath(path); in getFsFileFromProperty()
/external/tensorflow/tensorflow/contrib/specs/
DREADME.md15 - built-in layers are capitalized, not CamelCase (Relu, Fs, etc.)
16 - built-in layers that are common are usually two letters (Cr, Fs, etc.)
24 is a conjunction of a base layer and the activation. For example, `Fs`
82 net = Cr(64, [5, 5]) | Fs(10)
86 net = (Cr(64, [5, 5]) | Mp([2, 2])) ** 3 | Fs(10)
91 net = cmp_ ** 3 | Fs(10)
118 cr5_ = Cr(_1=[5, 5]); net = cr5_(64) ** 3 | Fs(10)
123 debug(); net = Cr(64, [5, 5]) | Fs(10)
132 spec = "net = (Cr(64, [5, 5]) | Mp([2, 2])) ** 3 | Fs(10)"
138 spec = "net = (Cr(64, [5, 5]) | Mp([2, 2])) ** depth | Fs(10)"
[all …]
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp218 static void add_stop_color(SkRasterPipeline_GradientCtx* ctx, size_t stop, SkPMColor4f Fs, SkPMColo… in add_stop_color() argument
219 (ctx->fs[0])[stop] = Fs.fR; in add_stop_color()
220 (ctx->fs[1])[stop] = Fs.fG; in add_stop_color()
221 (ctx->fs[2])[stop] = Fs.fB; in add_stop_color()
222 (ctx->fs[3])[stop] = Fs.fA; in add_stop_color()
238 SkPMColor4f Fs = { in init_stop_evenly() local
245 c_l.fR - Fs.fR*(stop/gapCount), in init_stop_evenly()
246 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly()
247 c_l.fB - Fs.fB*(stop/gapCount), in init_stop_evenly()
248 c_l.fA - Fs.fA*(stop/gapCount), in init_stop_evenly()
[all …]
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp218 static void add_stop_color(SkRasterPipeline_GradientCtx* ctx, size_t stop, SkPMColor4f Fs, SkPMColo… in add_stop_color() argument
219 (ctx->fs[0])[stop] = Fs.fR; in add_stop_color()
220 (ctx->fs[1])[stop] = Fs.fG; in add_stop_color()
221 (ctx->fs[2])[stop] = Fs.fB; in add_stop_color()
222 (ctx->fs[3])[stop] = Fs.fA; in add_stop_color()
238 SkPMColor4f Fs = { in init_stop_evenly() local
245 c_l.fR - Fs.fR*(stop/gapCount), in init_stop_evenly()
246 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly()
247 c_l.fB - Fs.fB*(stop/gapCount), in init_stop_evenly()
248 c_l.fA - Fs.fA*(stop/gapCount), in init_stop_evenly()
[all …]
/external/libopus/tests/
Dtest_opus_projection.c199 const opus_int32 Fs = 48000; in test_creation_arguments() local
208 st_enc = opus_projection_ambisonics_encoder_create(Fs, channels, in test_creation_arguments()
226 st_dec = opus_projection_decoder_create(Fs, channels, streams, in test_creation_arguments()
288 const opus_int32 Fs = 48000; in test_encode_decode() local
307 st_enc = opus_projection_ambisonics_encoder_create(Fs, channels, in test_encode_decode()
336 st_dec = opus_projection_decoder_create(Fs, channels, streams, coupled, in test_encode_decode()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFs.java25 abstract public class Fs { class
26 public static Fs fromJar(URL url) { in fromJar()
44 Fs fs = new JarFs(new File(parts[0])); in fileFromPath()
58 Fs fs = fromJar(new URL(parts[0])); in fromURL()
85 static class JarFs extends Fs {

123456789