/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/chromium_org/media/audio/ |
audio_power_monitor.cc | 34 const int num_channels = buffer.channels(); local 35 if (num_frames <= 0 || num_channels <= 0) 44 for (int i = 0; i < num_channels; ++i) { 66 average_power_ = std::max(0.0f, std::min(1.0f, sum_power / num_channels));
|
audio_power_monitor_unittest.cc | 25 TestScenario(const float* data, int num_channels, int num_frames, 28 CreatePopulatedBuffer(data, num_channels, num_frames); 65 const float* data, int num_channels, int num_frames) { 66 bus_ = AudioBus::Create(num_channels, kFramesPerBuffer); 67 for (int ch = 0; ch < num_channels; ++ch) {
|
/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...] |
/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 */);
|
/hardware/qcom/msm8x74/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/chromium_org/third_party/libwebp/utils/ |
rescaler.c | 29 int dst_stride, int num_channels, int x_add, int x_sub, 38 wrk->num_channels = num_channels; 51 wrk->frow = work + num_channels * dst_width; 56 const int x_stride = wrk->num_channels; 57 const int x_out_max = wrk->dst_width * wrk->num_channels; 104 const int x_out_max = wrk->dst_width * wrk->num_channels; 131 for (channel = 0; channel < wrk->num_channels; ++channel) {
|
rescaler.h | 26 int num_channels; // bytes to jump between pixels member in struct:__anon14035 44 int num_channels,
|
/external/webp/src/utils/ |
rescaler.c | 29 int dst_stride, int num_channels, int x_add, int x_sub, 38 wrk->num_channels = num_channels; 51 wrk->frow = work + num_channels * dst_width; 56 const int x_stride = wrk->num_channels; 57 const int x_out_max = wrk->dst_width * wrk->num_channels; 104 const int x_out_max = wrk->dst_width * wrk->num_channels; 131 for (channel = 0; channel < wrk->num_channels; ++channel) {
|
rescaler.h | 26 int num_channels; // bytes to jump between pixels member in struct:__anon30422 44 int num_channels,
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_zscan.c | 109 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 123 for (i = 0; i < zscan->num_channels; ++i) 148 for (i = 0; i < zscan->num_channels; ++i) { 151 * (i - (signed)zscan->num_channels / 2))); 186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); 187 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 189 for (i = 0; i < zscan->num_channels; ++i) 196 for (i = 0; i < zscan->num_channels; ++i) 207 for (i = 0; i < zscan->num_channels; ++i) 210 for (i = 0; i < zscan->num_channels; ++i [all...] |
vl_zscan.h | 45 unsigned num_channels; member in struct:vl_zscan 78 unsigned num_channels);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.c | 109 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 123 for (i = 0; i < zscan->num_channels; ++i) 148 for (i = 0; i < zscan->num_channels; ++i) { 151 * (i - (signed)zscan->num_channels / 2))); 186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); 187 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); 189 for (i = 0; i < zscan->num_channels; ++i) 196 for (i = 0; i < zscan->num_channels; ++i) 207 for (i = 0; i < zscan->num_channels; ++i) 210 for (i = 0; i < zscan->num_channels; ++i [all...] |
vl_zscan.h | 45 unsigned num_channels; member in struct:vl_zscan 78 unsigned num_channels);
|
/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++) {
|
/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;
|