Home
last modified time | relevance | path

Searched refs:num_channels (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/cmds/stagefright/
DWaveWriter.h26 uint16_t num_channels, uint32_t sampling_rate) in WaveWriter() argument
30 write_u16(num_channels); in WaveWriter()
32 write_u32(sampling_rate * num_channels * 2); in WaveWriter()
33 write_u16(num_channels * 2); in WaveWriter()
/frameworks/ex/variablespeed/jni/
Dsola_time_scaler.h46 void Init(int sample_rate, int num_channels) { in Init() argument
48 num_channels_ = num_channels; in Init()
89 void Init(double sample_rate, int num_channels, double initial_speed,
125 int num_channels() const { return num_channels_; } in num_channels() function
Dring_buffer.cc23 void RingBuffer::Init(int size, int num_channels, int num_readers) { in Init() argument
25 num_channels_ = num_channels; in Init()
Dring_buffer.h44 void Init(int size, int num_channels, int num_readers);
Dsola_time_scaler.cc81 int num_channels, in Init() argument
88 num_channels_ = num_channels; in Init()
/frameworks/av/media/libstagefright/
DXINGSeeker.cpp95 int num_channels; in CreateFromSource() local
97 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels, in CreateFromSource()
107 if (num_channels != 1) offset += 32; in CreateFromSource()
110 if (num_channels != 1) offset += 17; in CreateFromSource()
DMP3Extractor.cpp148 int sample_rate, num_channels, bitrate; in Resync() local
151 &sample_rate, &num_channels, &bitrate)) { in Resync()
288 int num_channels; in MP3Extractor() local
291 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor()
313 mMeta->setInt32(kKeyChannelCount, num_channels); in MP3Extractor()
DMPEG4Extractor.cpp1036 uint32_t num_channels = 0; in parseChunk() local
1038 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) { in parseChunk()
1039 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels); in parseChunk()
1305 uint32_t num_channels = U16_AT(&buffer[16]); in parseChunk() local
1313 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate); in parseChunk()
1316 chunk, num_channels, sample_size, sample_rate); in parseChunk()
1317 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels); in parseChunk()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp190 pVars->num_channels = (info->mode == MPG_MD_MONO) ? 1 : 2; in pvmp3_framedecoder()
191 pExt->num_channels = pVars->num_channels; in pvmp3_framedecoder()
362 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder()
405 if (pVars->num_channels == 2) in pvmp3_framedecoder()
441 for (ch = 0; ch < pVars->num_channels; ch++) in pvmp3_framedecoder()
490 pVars->num_channels, in pvmp3_framedecoder()
497 ptrOutBuffer += pVars->num_channels * SUBBANDS_NUMBER * FILTERBANK_BANDS; in pvmp3_framedecoder()
659 pVars->num_channels = 0; in pvmp3_InitDecoder()
Ds_tmp3dec_file.h87 int32 num_channels; member
/frameworks/opt/net/wifi/service/tools/halutil/
Dhalutil.cpp66 int num_channels = 0; variable
327 if(num_channels > 0){ in startScan()
336 params.buckets[0].num_channels = num_channels; in startScan()
338 for(int i = 0; i < num_channels; i++){ in startScan()
356 params.buckets[0].num_channels = 2; in startScan()
365 params.buckets[1].num_channels = 8; // driver should ignore list since band is specified in startScan()
381 params.buckets[2].num_channels = 1; in startScan()
448 params.buckets[0].num_channels = 0; in scanOnce()
994 for (num_channels = 0; j < argc && isxdigit(argv[j][0]); j++, num_channels++) { in readTestOptions()
995 channel_list[num_channels] = atoi(argv[j]); in readTestOptions()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
Dpvmp3decoder_api.h183 int16 num_channels; member
/frameworks/base/cmds/bootanimation/
DAudioPlayer.cpp49 uint16_t num_channels; member
271 config.channels = chunkFmt->num_channels; in threadLoop()
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp383 params.buckets[i].num_channels = getIntField(env, bucket, "num_channels"); in android_net_wifi_startScan()
384 ALOGD("Initialized num_channels to %d", params.buckets[i].num_channels); in android_net_wifi_startScan()
386 for (int j = 0; j < params.buckets[i].num_channels; j++) { in android_net_wifi_startScan()
1035 int num_channels = 0; in android_net_wifi_getValidChannels() local
1037 channels, &num_channels); in android_net_wifi_getValidChannels()
1040 jintArray channelArray = env->NewIntArray(num_channels); in android_net_wifi_getValidChannels()
1046 env->SetIntArrayRegion(channelArray, 0, num_channels, channels); in android_net_wifi_getValidChannels()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp295 || mConfig->num_channels != mNumChannels) { in onQueueFilled()
297 mNumChannels = mConfig->num_channels; in onQueueFilled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScanningServiceImpl.java783 bucketSettings.num_channels = 0;
882 boolean added = (bucket.num_channels == 0) in addScanRequestToBucket()
884 Log.d(TAG, "existing " + bucket.num_channels + " channels "); in addScanRequestToBucket()
907 || (bucket.num_channels + newChannels.size()) > bucket.channels.length) { in addScanRequestToBucket()
909 bucket.num_channels = 0; in addScanRequestToBucket()
919 … WifiNative.ChannelSettings channelSettings = bucket.channels[bucket.num_channels]; in addScanRequestToBucket()
921 bucket.num_channels++; in addScanRequestToBucket()
952 if (mSettings.buckets[i].num_channels != 0 in compressBuckets()
DWifiNative.java1241 int num_channels; field in WifiNative.BucketSettings
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java197 int num_channels = in.readInt();
198 settings.channels = new ChannelSpec[num_channels];
199 for (int i = 0; i < num_channels; i++) {
/frameworks/opt/net/wifi/service/lib/
Dwifi_hal.cpp117 int band, int max_channels, wifi_channel *channels, int *num_channels) { in wifi_get_valid_channels() argument
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp561 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio() local
564 CHECK_EQ(num_channels, 1u); // stereo! in dequeueAccessUnitPCMAudio()