Lines Matching refs:bytes_per_sample
158 unsigned int sample_rate, bytes_per_sample, channels; in idcin_read_header() local
165 bytes_per_sample = avio_rl32(pb); in idcin_read_header()
180 if (bytes_per_sample < 1 || bytes_per_sample > 2) { in idcin_read_header()
182 bytes_per_sample); in idcin_read_header()
225 st->codecpar->bits_per_coded_sample = bytes_per_sample * 8; in idcin_read_header()
226 st->codecpar->bit_rate = sample_rate * bytes_per_sample * 8 * channels; in idcin_read_header()
227 st->codecpar->block_align = idcin->block_align = bytes_per_sample * channels; in idcin_read_header()
228 if (bytes_per_sample == 1) in idcin_read_header()
235 bytes_per_sample * channels; in idcin_read_header()
237 bytes_per_sample * channels; in idcin_read_header()
240 (sample_rate / 14) * bytes_per_sample * channels; in idcin_read_header()