Home
last modified time | relevance | path

Searched refs:bits_per_sample (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Dg722_decode.c163 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()
Dg722_encode.c164 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()
Dg722_enc_dec.h68 int bits_per_sample; member
106 int bits_per_sample; member
/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h104 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/
Dtinycap.c55 uint16_t bits_per_sample; member
164 header.bits_per_sample = pcm_format_to_bits(format); in main()
165 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; in main()
166 header.block_align = channels * (header.bits_per_sample / 8); in main()
Dtinyplay.c58 uint16_t bits_per_sample; member
156 chunk_fmt.bits_per_sample, period_size, period_count); in main()
/external/webrtc/webrtc/voice_engine/
Dvoe_base_impl.h87 int bits_per_sample,
93 int bits_per_sample,
97 void PullRenderData(int bits_per_sample,
Dvoe_base_impl.cc143 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/
Dtiff.c866 static int32 TIFFReadPixels(TIFF *tiff,size_t bits_per_sample, in TIFFReadPixels() argument
872 (void) bits_per_sample; in TIFFReadPixels()
920 uint16 bits_per_sample,uint16 samples_per_pixel) in GetJPEGMethod() argument
948 if ((photometric != PHOTOMETRIC_SEPARATED) || (bits_per_sample != 8) || in GetJPEGMethod()
1119 bits_per_sample, in ReadTIFFImage() local
1209 (TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE,&bits_per_sample) != 1) || in ReadTIFFImage()
1291 "Bits per sample: %u",bits_per_sample); in ReadTIFFImage()
1302 image->depth=(size_t) bits_per_sample; in ReadTIFFImage()
1492 (pow(2.0,1.0*bits_per_sample) <= MaxColormapSize)) in ReadTIFFImage()
1497 colors=(size_t) GetQuantumRange(bits_per_sample)+1; in ReadTIFFImage()
[all …]
/external/flac/libFLAC/
Dstream_encoder_framing.c91 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample > 0); in FLAC__add_metadata_block()
92 …FLAC__ASSERT(metadata->data.stream_info.bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO… in FLAC__add_metadata_block()
93 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.bits_per_sample-1, FLAC__STREA… in FLAC__add_metadata_block()
310 …FLAC__ASSERT(header->bits_per_sample > 0 && header->bits_per_sample <= (1u << FLAC__STREAM_METADAT… in FLAC__frame_add_header()
311 switch(header->bits_per_sample) { in FLAC__frame_add_header()
Dstream_encoder.c655 if(encoder->protected_->bits_per_sample >= 32) in init_stream_internal_()
658 …if(encoder->protected_->bits_per_sample < FLAC__MIN_BITS_PER_SAMPLE || encoder->protected_->bits_p… in init_stream_internal_()
681 if(encoder->protected_->bits_per_sample < 16) { in init_stream_internal_()
684 …_precision = flac_max(FLAC__MIN_QLP_COEFF_PRECISION, 2 + encoder->protected_->bits_per_sample / 2); in init_stream_internal_()
686 else if(encoder->protected_->bits_per_sample == 16) { in init_stream_internal_()
721 encoder->protected_->bits_per_sample != 8 && in init_stream_internal_()
722 encoder->protected_->bits_per_sample != 12 && in init_stream_internal_()
723 encoder->protected_->bits_per_sample != 16 && in init_stream_internal_()
724 encoder->protected_->bits_per_sample != 20 && in init_stream_internal_()
725 encoder->protected_->bits_per_sample != 24 in init_stream_internal_()
[all …]
Dstream_decoder.c894 return decoder->protected_->bits_per_sample; in FLAC__stream_decoder_get_bits_per_sample()
1634 decoder->private_->stream_info.data.stream_info.bits_per_sample = x+1; in read_metadata_streaminfo_()
2054 unsigned bps = decoder->private_->frame.header.bits_per_sample; in read_frame_()
2156 decoder->protected_->bits_per_sample = decoder->private_->frame.header.bits_per_sample; in read_frame_()
2340 …decoder->private_->frame.header.bits_per_sample = decoder->private_->stream_info.data.stream_info. in read_frame_header_()
2345 decoder->private_->frame.header.bits_per_sample = 8; in read_frame_header_()
2348 decoder->private_->frame.header.bits_per_sample = 12; in read_frame_header_()
2351 decoder->private_->frame.header.bits_per_sample = 16; in read_frame_header_()
2354 decoder->private_->frame.header.bits_per_sample = 20; in read_frame_header_()
2357 decoder->private_->frame.header.bits_per_sample = 24; in read_frame_header_()
[all …]
/external/python/cpython2/Doc/library/
Dsndhdr.rst20 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/flac/libFLAC/include/protected/
Dstream_decoder.h46 unsigned bits_per_sample; member
Dstream_encoder.h94 unsigned bits_per_sample; member
/external/webrtc/talk/media/base/
Daudiorenderer.h42 int bits_per_sample,
Dfakemediaengine.h369 int bits_per_sample, in OnData() argument
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_player.cc57 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()
Dopensles_player.h99 size_t bits_per_sample);
/external/webrtc/talk/app/webrtc/
Drtpsender.cc45 int bits_per_sample, in OnData() argument
51 sink_->OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
Drtpsender.h58 int bits_per_sample,
Dmediastreaminterface.h152 int bits_per_sample,
/external/flac/include/FLAC/
Dformat.h424 unsigned bits_per_sample; member
534 unsigned bits_per_sample; member
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc1156 int bits_per_sample, in OnData() argument
1165 bits_per_sample, in OnData()