Searched defs:num_channels (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/cmds/stagefright/
H A DWaveWriter.h26 uint16_t num_channels, uint32_t sampling_rate)
30 write_u16(num_channels);
32 write_u32(sampling_rate * num_channels * 2);
33 write_u16(num_channels * 2);
25 WaveWriter(const char *filename, uint16_t num_channels, uint32_t sampling_rate) argument
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Ds_tmp3dec_file.h87 int32 num_channels; member in struct:__anon462
/frameworks/av/media/libstagefright/
H A DXINGSeeker.cpp95 int num_channels; local
97 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels,
107 if (num_channels != 1) offset += 32;
110 if (num_channels != 1) offset += 17;
H A DMP3Extractor.cpp148 int sample_rate, num_channels, bitrate; local
151 &sample_rate, &num_channels, &bitrate)) {
288 int num_channels; local
291 header, &frame_size, &sample_rate, &num_channels, &bitrate);
313 mMeta->setInt32(kKeyChannelCount, num_channels);
H A DMPEG4Extractor.cpp1036 uint32_t num_channels = 0; local
1038 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) {
1039 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels);
1305 uint32_t num_channels = U16_AT(&buffer[16]); local
1313 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate);
1316 chunk, num_channels, sample_size, sample_rate);
1317 mLastTrack->meta->setInt32(kKeyChannelCount, num_channels);
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
H A Dpvmp3decoder_api.h183 int16 num_channels; member in struct:tPVMP3DecoderExternal
/frameworks/ex/variablespeed/jni/
H A Dring_buffer.cc23 void RingBuffer::Init(int size, int num_channels, int num_readers) { argument
25 num_channels_ = num_channels;
H A Dsola_time_scaler.h45 // @param num_channels number of interleaved channels in the signal.
46 void Init(int sample_rate, int num_channels) { argument
48 num_channels_ = num_channels;
85 // @param num_channels number of channels of the signal to process
89 void Init(double sample_rate, int num_channels, double initial_speed,
107 // @param num_frames number of frames (num_samples / num_channels)
125 int num_channels() const { return num_channels_; } function in class:video_editing::SolaTimeScaler
H A Dsola_time_scaler.cc81 int num_channels,
88 num_channels_ = num_channels;
80 Init(double sample_rate, int num_channels, double initial_speed, double window_duration, double overlap_duration) argument
/frameworks/base/cmds/bootanimation/
H A DAudioPlayer.cpp49 uint16_t num_channels; member in struct:chunk_fmt
271 config.channels = chunkFmt->num_channels;
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal.cpp117 int band, int max_channels, wifi_channel *channels, int *num_channels) {
116 wifi_get_valid_channels(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp561 unsigned num_channels = bits.getBits(3); local
564 CHECK_EQ(num_channels, 1u); // stereo!
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp383 params.buckets[i].num_channels = getIntField(env, bucket, "num_channels");
384 ALOGD("Initialized num_channels to %d", params.buckets[i].num_channels);
386 for (int j = 0; j < params.buckets[i].num_channels; j++) {
1035 int num_channels = 0; local
1037 channels, &num_channels);
1040 jintArray channelArray = env->NewIntArray(num_channels);
1046 env->SetIntArrayRegion(channelArray, 0, num_channels, channels);
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp66 int num_channels = 0; variable
327 if(num_channels > 0){
336 params.buckets[0].num_channels = num_channels;
338 for(int i = 0; i < num_channels; i++){
356 params.buckets[0].num_channels = 2;
365 params.buckets[1].num_channels = 8; // driver should ignore list since band is specified
381 params.buckets[2].num_channels = 1;
448 params.buckets[0].num_channels = 0;
994 for (num_channels
1149 int num_channels = 0, i; local
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java1241 int num_channels; field in class:WifiNative.BucketSettings

Completed in 6128 milliseconds