Searched refs:bits_per_sample (Results 1 – 11 of 11) sorted by relevance
54 uint16_t bits_per_sample; member157 header.bits_per_sample = pcm_format_to_bits(format); in main()158 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; in main()159 header.block_align = channels * (header.bits_per_sample / 8); in main()
58 uint16_t bits_per_sample; member156 chunk_fmt.bits_per_sample, period_size, period_count); in main()
91 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()
655 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 …]
894 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_()2048 unsigned bps = decoder->private_->frame.header.bits_per_sample; in read_frame_()2150 decoder->protected_->bits_per_sample = decoder->private_->frame.header.bits_per_sample; in read_frame_()2334 …decoder->private_->frame.header.bits_per_sample = decoder->private_->stream_info.data.stream_info.… in read_frame_header_()2339 decoder->private_->frame.header.bits_per_sample = 8; in read_frame_header_()2342 decoder->private_->frame.header.bits_per_sample = 12; in read_frame_header_()2345 decoder->private_->frame.header.bits_per_sample = 16; in read_frame_header_()2348 decoder->private_->frame.header.bits_per_sample = 20; in read_frame_header_()2351 decoder->private_->frame.header.bits_per_sample = 24; in read_frame_header_()[all …]
710 if(block1->bits_per_sample != block2->bits_per_sample) in compare_block_data_streaminfo_()
2139 block->bits_per_sample = ((((unsigned)(b[2] & 0x01)) << 4) | (((unsigned)(b[3] & 0xf0)) >> 4)) + 1; in read_metadata_block_data_streaminfo_cb_()2556 const unsigned bps1 = block->bits_per_sample - 1; in write_metadata_block_data_streaminfo_cb_()
46 unsigned bits_per_sample; member
94 unsigned bits_per_sample; member
424 unsigned bits_per_sample; member534 unsigned bits_per_sample; member
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...