HomeSort by relevance Sort by last modified time
    Searched refs:bytes_per_sample (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/content/browser/speech/
audio_buffer.cc 12 AudioChunk::AudioChunk(int bytes_per_sample)
13 : bytes_per_sample_(bytes_per_sample) {
16 AudioChunk::AudioChunk(const uint8* data, size_t length, int bytes_per_sample)
18 bytes_per_sample_(bytes_per_sample) {
19 DCHECK_EQ(length % bytes_per_sample, 0U);
44 AudioBuffer::AudioBuffer(int bytes_per_sample)
45 : bytes_per_sample_(bytes_per_sample) {
46 DCHECK(bytes_per_sample == 1 ||
47 bytes_per_sample == 2 ||
48 bytes_per_sample == 4)
    [all...]
audio_buffer.h 21 explicit AudioChunk(int bytes_per_sample);
22 AudioChunk(const uint8* data, size_t length, int bytes_per_sample);
25 int bytes_per_sample() const { return bytes_per_sample_; } function in class:content::AudioChunk
46 explicit AudioBuffer(int bytes_per_sample);
audio_encoder.cc 80 DCHECK_EQ(raw_audio.bytes_per_sample(), 2);
google_one_shot_remote_engine.cc 234 DCHECK_EQ(data.bytes_per_sample(), config_.audio_num_bits_per_sample / 8);
  /external/flac/libFLAC/include/private/
md5.h 42 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
  /external/chromium_org/media/base/
audio_bus.h 58 // |bytes_per_sample| per value. Values are scaled and bias corrected during
62 void FromInterleaved(const void* source, int frames, int bytes_per_sample);
63 void ToInterleaved(int frames, int bytes_per_sample, void* dest) const;
64 void ToInterleavedPartial(int start_frame, int frames, int bytes_per_sample,
72 int bytes_per_sample);
audio_bus.cc 241 int frames, int bytes_per_sample) {
243 switch (bytes_per_sample) {
273 int bytes_per_sample) {
274 FromInterleavedPartial(source, 0, frames, bytes_per_sample);
277 void AudioBus::ToInterleaved(int frames, int bytes_per_sample,
279 ToInterleavedPartial(0, frames, bytes_per_sample, dest);
284 int bytes_per_sample, void* dest) const {
286 switch (bytes_per_sample) {
301 memset(dest, 0, frames * bytes_per_sample);
  /external/chromium_org/remoting/codec/
audio_encoder_verbatim.cc 21 DCHECK_NE(AudioPacket::BYTES_PER_SAMPLE_INVALID, packet->bytes_per_sample());
audio_decoder_verbatim.cc 24 (packet->bytes_per_sample() != AudioPacket::BYTES_PER_SAMPLE_2) ||
audio_decoder_opus.cc 105 decoded_packet->bytes_per_sample();
128 decoded_packet->bytes_per_sample();
audio_encoder_opus.cc 141 DCHECK_EQ(kBytesPerSample, packet->bytes_per_sample());
  /external/qemu/distrib/sdl-1.2.15/src/audio/paudio/
SDL_paudio.c 237 int bytes_per_sample; local
330 bytes_per_sample = 1;
336 bytes_per_sample = 1;
343 bytes_per_sample = 2;
350 bytes_per_sample = 2;
358 bytes_per_sample = 2;
364 bytes_per_sample = 2;
399 / bytes_per_sample
405 / bytes_per_sample
409 paud_init.bsize = bytes_per_sample * spec->channels
    [all...]
  /external/chromium_org/media/audio/
simple_sources_unittest.cc 20 static const uint32 bytes_per_sample = 2; local
25 AudioParameters::kTelephoneSampleRate, bytes_per_sample * 8, samples);
audio_input_device.cc 303 const int bytes_per_sample = sizeof(memory[0]);
310 audio_bus_->FromInterleaved(memory, audio_bus_->frames(), bytes_per_sample);
  /frameworks/base/media/mca/filterfw/jni/
jni_native_frame.cpp 170 jint bytes_per_sample) {
174 if ((size / 4) != (frame->Size() / bytes_per_sample)) {
185 switch (bytes_per_sample) {
207 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample);
220 jint bytes_per_sample) {
227 if ((size / 4) != (frame->Size() / bytes_per_sample)) {
234 switch (bytes_per_sample) {
259 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample);
jni_native_frame.h 68 jint bytes_per_sample);
75 jint bytes_per_sample);
  /external/flac/libFLAC/
md5.c 277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
285 if(channels == 2 && bytes_per_sample == 2) {
291 else if(channels == 1 && bytes_per_sample == 2) {
298 if(bytes_per_sample == 2) {
326 else if(bytes_per_sample == 3) {
358 else if(bytes_per_sample == 1) {
382 else { /* bytes_per_sample == 4, maybe optimize more later */
398 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
400 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample;
403 if((size_t)channels > SIZE_MAX / (size_t)bytes_per_sample)
    [all...]
  /external/srec/srec/EventLog/include/
riff.h 62 * number of channels * bytes_per_sample
66 * bytes_per_sample * 8 (PCM-specific field)
229 int bytes_per_sample,
  /external/chromium_org/media/filters/
audio_file_reader.cc 131 size_t bytes_per_sample = av_get_bytes_per_sample(codec_context_->sample_fmt);
229 av_frame->data[0], current_frame, frames_read, bytes_per_sample);
  /external/chromium_org/media/audio/cras/
cras_unified.cc 351 uint32 bytes_per_sample = bytes_per_frame_ / params_.channels(); local
352 input_bus_->FromInterleaved(input_samples, frames, bytes_per_sample);
369 output_bus_->ToInterleaved(frames_filled, bytes_per_sample, output_samples);
  /external/chromium_org/content/renderer/media/
webrtc_audio_device_impl.cc 131 int bytes_per_sample = output_audio_parameters_.bits_per_sample() / 8; local
133 channels * samples_per_10_msec * bytes_per_sample;
144 bytes_per_sample,
  /external/chromium_org/remoting/client/
audio_player.cc 38 DCHECK_EQ(kSampleSizeBytes, packet->bytes_per_sample());
  /external/srec/srec/EventLog/src/
riff.c 769 /* assuming nchannels = 1, usually bytes_per_sample==blockAlign / nchannels (not aurora!) */
939 * sampling rate = bytes_per_sample = -1; other fields of WaveFormat undefined
946 int bytes_per_sample,
967 (bytes_per_sample == -1 && format_tag != WAVEFORMAT_AURORA &&
974 if (bytes_per_sample > 0)
975 num_samples = num_bytes / bytes_per_sample;
1024 bytes_sec = (short)(rate * num_channels * bytes_per_sample);
1025 block_align = bytes_per_sample * num_channels;
1042 if (bytes_per_sample == 2)
  /external/chromium_org/media/audio/win/
audio_unified_win.cc 738 const int bytes_per_sample = input_format_.Format.wBitsPerSample >> 3; local
785 data_ptr, num_captured_frames, bytes_per_sample);
952 const int bytes_per_sample = output_format_.Format.wBitsPerSample >> 3; local
    [all...]
audio_low_latency_output_win.cc 540 const int bytes_per_sample = format_.Format.wBitsPerSample >> 3; local
543 frames_filled, bytes_per_sample, audio_data);

Completed in 1591 milliseconds

1 2