/frameworks/av/cmds/stagefright/ |
WaveWriter.h | 26 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);
|
/external/webp/src/utils/ |
rescaler.c | 27 int dst_stride, int num_channels, int x_add, int x_sub, 36 wrk->num_channels = num_channels; 49 wrk->frow = work + num_channels * dst_width; 54 const int x_stride = wrk->num_channels; 55 const int x_out_max = wrk->dst_width * wrk->num_channels; 102 const int x_out_max = wrk->dst_width * wrk->num_channels; 129 for (channel = 0; channel < wrk->num_channels; ++channel) {
|
rescaler.h | 24 int num_channels; // bytes to jump between pixels member in struct:__anon18248 42 int num_channels,
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Scene.cpp | 31 #define G (Scene::GRASS * Scene::NUM_CHANNELS) 32 #define S (Scene::GRASS_SHADOW * Scene::NUM_CHANNELS) 33 #define H (Scene::HILL * Scene::NUM_CHANNELS) 34 #define W (Scene::WALL * Scene::NUM_CHANNELS) 35 #define R (Scene::ROOF * Scene::NUM_CHANNELS) 36 #define D (Scene::DOOR * Scene::NUM_CHANNELS) 37 #define C (Scene::CHIMNEY * Scene::NUM_CHANNELS) 38 #define I (Scene::WINDOW * Scene::NUM_CHANNELS) 39 #define U (Scene::SUN * Scene::NUM_CHANNELS) 40 #define K (Scene::SKY * Scene::NUM_CHANNELS) [all...] |
Scene.h | 83 NUM_CHANNELS 128 uint32_t mCurrentColors[NUM_MATERIALS*NUM_CHANNELS];
|
/frameworks/ex/variablespeed/jni/ |
sola_time_scaler.h | 45 // @param num_channels number of interleaved channels in the signal. 46 void Init(int sample_rate, int num_channels) { 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
|
ring_buffer.h | 42 // @param num_channels: number of channels of the original audio. 44 void Init(int size, int num_channels, int num_readers); 77 // Returns a pointer to num_frames x num_channels contiguous samples for
|
ring_buffer.cc | 23 void RingBuffer::Init(int size, int num_channels, int num_readers) { 25 num_channels_ = num_channels;
|
/system/extras/sound/ |
playwav.c | 112 uint16_t num_channels; member in struct:wav_header 114 uint32_t byte_rate; /* sample_rate * num_channels * bps / 8 */ 115 uint16_t block_align; /* num_channels * bps / 8 */ 166 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, 185 play_file(hdr.sample_rate, hdr.num_channels, 207 hdr.num_channels = channels; 209 hdr.byte_rate = hdr.sample_rate * hdr.num_channels * 2; 210 hdr.block_align = hdr.num_channels * 2; 235 cfg.channel_count = hdr.num_channels;
|
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/ |
msm-adie-codec.h | 116 u32 num_channels, 120 u32 num_channels, 140 u32 num_channels, u32 vol_percentage /* in percentage */); 143 u32 num_channels, u32 volume /* in percentage */);
|
/external/webrtc/src/common_audio/vad/ |
vad_core.c | 92 for (i = 0; i < 16 * NUM_CHANNELS; i++) 316 WebRtc_Word16 feature_vector[NUM_CHANNELS], total_power; 383 nmean2ptr = &inst->noise_means[NUM_CHANNELS]; 385 smean2ptr = &inst->speech_means[NUM_CHANNELS]; 387 nstd2ptr = &inst->noise_stds[NUM_CHANNELS]; 389 sstd2ptr = &inst->speech_stds[NUM_CHANNELS]; 393 for (n = 0; n < NUM_CHANNELS; n++) 405 probn[1] = (WebRtc_Word32)(kNoiseDataWeights[n + NUM_CHANNELS] * tmp32_1); 415 probs[1] = (WebRtc_Word32)(kSpeechDataWeights[n + NUM_CHANNELS] * tmp32_1); 488 for (n = 0; n < NUM_CHANNELS; n++ [all...] |
vad_core.h | 36 WebRtc_Word16 index_vector[16 * NUM_CHANNELS]; 37 WebRtc_Word16 low_value_vector[16 * NUM_CHANNELS]; 39 WebRtc_Word16 mean_value[NUM_CHANNELS];
|
vad_defines.h | 19 #define NUM_CHANNELS 6 // Eight frequency bands 21 #define NUM_TABLE_VALUES NUM_CHANNELS * NUM_MODELS
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ak4xxx-adda.h | 45 unsigned int num_channels; member in struct:snd_akm4xxx_dac_channel 53 unsigned int num_channels; member in struct:snd_akm4xxx_adc_channel
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ak4xxx-adda.h | 45 unsigned int num_channels; member in struct:snd_akm4xxx_dac_channel 53 unsigned int num_channels; member in struct:snd_akm4xxx_adc_channel
|
/external/webrtc/src/modules/audio_processing/ |
echo_control_mobile_impl.cc | 86 assert(audio->num_channels() == apm_->num_reverse_channels()); 93 for (int j = 0; j < audio->num_channels(); j++) { 121 assert(audio->num_channels() == apm_->num_output_channels()); 127 for (int i = 0; i < audio->num_channels(); i++) {
|
audio_buffer.h | 28 int num_channels() const;
|
echo_cancellation_impl.cc | 80 assert(audio->num_channels() == apm_->num_reverse_channels()); 87 for (int j = 0; j < audio->num_channels(); j++) { 119 assert(audio->num_channels() == apm_->num_output_channels()); 126 for (int i = 0; i < audio->num_channels(); i++) {
|
gain_control_impl.cc | 79 if (audio->num_channels() > 1) { 105 assert(audio->num_channels() == num_handles()); 159 assert(audio->num_channels() == num_handles());
|
/frameworks/av/media/libstagefright/ |
XINGSeeker.cpp | 95 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;
|
/hardware/qcom/msm8960/kernel-headers/linux/mfd/ |
msm-adie-codec.h | 99 u32 num_channels, 102 u32 num_channels,
|
/external/tinyalsa/ |
tinycap.c | 50 uint16_t num_channels; member in struct:wav_header 138 header.num_channels = channels; 150 frames = capture_sample(file, card, device, header.num_channels,
|
tinyplay.c | 54 uint16_t num_channels; member in struct:chunk_fmt 155 play_sample(file, card, device, chunk_fmt.num_channels, chunk_fmt.sample_rate,
|
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 41 * @num_channels: size of the channel info array 46 int size_from_channelarray(struct iio_channel_info *channels, int num_channels) 50 while (i < num_channels) { 88 * @num_channels: the number of active channels 92 int num_channels) 96 for (k = 0; k < num_channels; k++) { 441 int num_channels; local 560 ret = enable(dev_dir_name, &infoarray, &num_channels); 601 ret = disable_q_out(dev_dir_name, &infoarray, &num_channels); 604 ret = build_channel_array(dev_dir_name, &infoarray, &num_channels); [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
arec.c | 78 uint16_t num_channels; member in struct:wav_header 80 uint32_t byte_rate; /* sample_rate * num_channels * bps / 8 */ 81 uint16_t block_align; /* num_channels * bps / 8 */ 448 hdr.num_channels = ch; 470 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, 474 hdr.num_channels = ch; 482 return record_file(hdr.sample_rate, hdr.num_channels, fd, count, flag, device);
|