/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
D | g722_decode.c | 163 s->bits_per_sample = 6; in WebRtc_g722_decode_init() 165 s->bits_per_sample = 7; in WebRtc_g722_decode_init() 167 s->bits_per_sample = 8; in WebRtc_g722_decode_init() 170 if ((options & G722_PACKED) && s->bits_per_sample != 8) in WebRtc_g722_decode_init() 268 if (s->in_bits < s->bits_per_sample) in WebRtc_g722_decode() 273 code = s->in_buffer & ((1 << s->bits_per_sample) - 1); in WebRtc_g722_decode() 274 s->in_buffer >>= s->bits_per_sample; in WebRtc_g722_decode() 275 s->in_bits -= s->bits_per_sample; in WebRtc_g722_decode() 282 switch (s->bits_per_sample) in WebRtc_g722_decode()
|
D | g722_encode.c | 164 s->bits_per_sample = 6; in WebRtc_g722_encode_init() 166 s->bits_per_sample = 7; in WebRtc_g722_encode_init() 168 s->bits_per_sample = 8; in WebRtc_g722_encode_init() 171 if ((options & G722_PACKED) && s->bits_per_sample != 8) in WebRtc_g722_encode_init() 378 code = (0xC0 | ilow) >> (8 - s->bits_per_sample); in WebRtc_g722_encode() 411 code = ((ihigh << 6) | ilow) >> (8 - s->bits_per_sample); in WebRtc_g722_encode() 418 s->out_bits += s->bits_per_sample; in WebRtc_g722_encode()
|
D | g722_enc_dec.h | 68 int bits_per_sample; member 106 int bits_per_sample; member
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io.cc | 49 char bits_per_sample[2]; member 194 core::EncodeFixed16(format_chunk->bits_per_sample, kBitsPerSample); in EncodeAudioAsS16LEWav() 249 uint16 bits_per_sample; in DecodeLin16WaveAsFloatVector() local 250 TF_RETURN_IF_ERROR(ReadValue<uint16>(wav_string, &bits_per_sample, &offset)); in DecodeLin16WaveAsFloatVector() 251 if (bits_per_sample != 16) { in DecodeLin16WaveAsFloatVector() 253 "Can only read 16-bit WAV files, but received ", bits_per_sample); in DecodeLin16WaveAsFloatVector() 256 ((bits_per_sample * *channel_count) + 7) / 8; in DecodeLin16WaveAsFloatVector()
|
/external/u-boot/drivers/sound/ |
D | max98095.c | 144 unsigned int rate, unsigned int bits_per_sample) in max98095_hw_params() argument 162 switch (bits_per_sample) { in max98095_hw_params() 173 __func__, bits_per_sample); in max98095_hw_params() 477 int bits_per_sample) in max98095_do_init() argument 508 bits_per_sample); in max98095_do_init() 576 int bits_per_sample) in max98095_init() argument 589 bits_per_sample); in max98095_init()
|
D | wm8994.c | 283 unsigned int sampling_rate, unsigned int bits_per_sample, in wm8994_hw_params() argument 317 switch (bits_per_sample) { in wm8994_hw_params() 869 int bits_per_sample, unsigned int channels) in wm8994_init() argument 906 bits_per_sample, channels); in wm8994_init()
|
D | wm8994.h | 67 int bits_per_sample, unsigned int channels);
|
/external/webrtc/webrtc/modules/audio_device/include/ |
D | audio_device_defines.h | 104 int bits_per_sample, in OnData() argument 117 int bits_per_sample, in PushCaptureData() argument 126 virtual void PullRenderData(int bits_per_sample, in PullRenderData() argument 163 size_t bits_per_sample() const { return kBitsPerSample; } in bits_per_sample() function
|
/external/tinyalsa/ |
D | tinycap.c | 55 uint16_t bits_per_sample; member 165 header.bits_per_sample = pcm_format_to_bits(format); in main() 166 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; in main() 167 header.block_align = channels * (header.bits_per_sample / 8); in main()
|
D | tinyplay.c | 59 uint16_t bits_per_sample; member 158 chunk_fmt.bits_per_sample, period_size, period_count, chunk_header.sz); in main()
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_base_impl.h | 87 int bits_per_sample, 93 int bits_per_sample, 97 void PullRenderData(int bits_per_sample,
|
D | voe_base_impl.cc | 143 int bits_per_sample, int sample_rate, in OnData() argument 145 PushCaptureData(voe_channel, audio_data, bits_per_sample, sample_rate, in OnData() 150 int bits_per_sample, int sample_rate, in PushCaptureData() argument 165 void VoEBaseImpl::PullRenderData(int bits_per_sample, in PullRenderData() argument 171 assert(bits_per_sample == 16); in PullRenderData()
|
/external/ImageMagick/coders/ |
D | tiff.c | 1011 uint16 bits_per_sample,uint16 samples_per_pixel) in GetJPEGMethod() argument 1041 if ((photometric != PHOTOMETRIC_SEPARATED) || (bits_per_sample != 8) || in GetJPEGMethod() 1284 bits_per_sample, in ReadTIFFImage() local 1377 (TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE,&bits_per_sample) != 1) || in ReadTIFFImage() 1385 if (((sample_format != SAMPLEFORMAT_IEEEFP) || (bits_per_sample == 64)) && in ReadTIFFImage() 1386 ((bits_per_sample <= 0) || (bits_per_sample > 32))) in ReadTIFFImage() 1464 "Bits per sample: %u",bits_per_sample); in ReadTIFFImage() 1475 image->depth=(size_t) bits_per_sample; in ReadTIFFImage() 1606 (pow(2.0,1.0*bits_per_sample) <= MaxColormapSize)) in ReadTIFFImage() 1611 colors=(size_t) GetQuantumRange(bits_per_sample)+1; in ReadTIFFImage() [all …]
|
/external/flac/libFLAC/ |
D | stream_encoder_framing.c | 95 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample > 0); in FLAC__add_metadata_block() 96 …FLAC__ASSERT(metadata->data.stream_info.bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO… in FLAC__add_metadata_block() 97 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.bits_per_sample-1, FLAC__STREA… in FLAC__add_metadata_block() 315 …FLAC__ASSERT(header->bits_per_sample > 0 && header->bits_per_sample <= (1u << FLAC__STREAM_METADAT… in FLAC__frame_add_header() 316 switch(header->bits_per_sample) { in FLAC__frame_add_header()
|
D | stream_encoder.c | 652 if(encoder->protected_->bits_per_sample >= 32) in init_stream_internal_() 655 …if(encoder->protected_->bits_per_sample < FLAC__MIN_BITS_PER_SAMPLE || encoder->protected_->bits_p… in init_stream_internal_() 678 if(encoder->protected_->bits_per_sample < 16) { in init_stream_internal_() 681 …_precision = flac_max(FLAC__MIN_QLP_COEFF_PRECISION, 2 + encoder->protected_->bits_per_sample / 2); in init_stream_internal_() 683 else if(encoder->protected_->bits_per_sample == 16) { in init_stream_internal_() 718 encoder->protected_->bits_per_sample != 8 && in init_stream_internal_() 719 encoder->protected_->bits_per_sample != 12 && in init_stream_internal_() 720 encoder->protected_->bits_per_sample != 16 && in init_stream_internal_() 721 encoder->protected_->bits_per_sample != 20 && in init_stream_internal_() 722 encoder->protected_->bits_per_sample != 24 in init_stream_internal_() [all …]
|
D | stream_decoder.c | 881 return decoder->protected_->bits_per_sample; in FLAC__stream_decoder_get_bits_per_sample() 1621 decoder->private_->stream_info.data.stream_info.bits_per_sample = x+1; in read_metadata_streaminfo_() 2041 unsigned bps = decoder->private_->frame.header.bits_per_sample; in read_frame_() 2143 decoder->protected_->bits_per_sample = decoder->private_->frame.header.bits_per_sample; in read_frame_() 2329 …decoder->private_->frame.header.bits_per_sample = decoder->private_->stream_info.data.stream_info.… in read_frame_header_() 2334 decoder->private_->frame.header.bits_per_sample = 8; in read_frame_header_() 2337 decoder->private_->frame.header.bits_per_sample = 12; in read_frame_header_() 2340 decoder->private_->frame.header.bits_per_sample = 16; in read_frame_header_() 2343 decoder->private_->frame.header.bits_per_sample = 20; in read_frame_header_() 2346 decoder->private_->frame.header.bits_per_sample = 24; in read_frame_header_() [all …]
|
/external/python/cpython2/Doc/library/ |
D | sndhdr.rst | 20 sampling_rate, channels, frames, bits_per_sample)``. The value for *type* 27 of frames or ``-1``. The last item in the tuple, *bits_per_sample*, will either
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | opensles_player.cc | 57 audio_parameters_.bits_per_sample()); in OpenSLESPlayer() 192 size_t bits_per_sample) { in CreatePCMConfiguration() argument 194 RTC_CHECK_EQ(bits_per_sample, SL_PCMSAMPLEFORMAT_FIXED_16); in CreatePCMConfiguration()
|
D | opensles_player.h | 99 size_t bits_per_sample);
|
/external/flac/libFLAC/include/protected/ |
D | stream_decoder.h | 46 unsigned bits_per_sample; member
|
D | stream_encoder.h | 94 unsigned bits_per_sample; member
|
/external/webrtc/talk/media/base/ |
D | audiorenderer.h | 42 int bits_per_sample,
|
/external/webrtc/talk/app/webrtc/ |
D | rtpsender.cc | 45 int bits_per_sample, in OnData() argument 51 sink_->OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
|
D | rtpsender.h | 58 int bits_per_sample,
|
/external/flac/include/FLAC/ |
D | format.h | 424 unsigned bits_per_sample; member 534 unsigned bits_per_sample; member
|