Lines Matching refs:byte_count
125 unsigned int byte_count; member
130 uint64_t *byte_count) in parse_riff_chunk_header() argument
140 *byte_count = be32toh(chunk->size); in parse_riff_chunk_header()
142 *byte_count = le32toh(chunk->size); in parse_riff_chunk_header()
148 uint64_t *byte_count) in parse_riff_chunk() argument
167 err = parse_riff_chunk_header(state, &buf.chunk, byte_count); in parse_riff_chunk()
219 state->byte_count = be32toh(subchunk->size); in parse_wave_data_subchunk()
221 state->byte_count = le32toh(subchunk->size); in parse_wave_data_subchunk()
329 uint64_t byte_count; in parse_riff_wave_format() local
332 err = parse_riff_chunk(cntr, &byte_count); in parse_riff_wave_format()
347 uint64_t *byte_count) in wave_parser_pre_process() argument
384 *byte_count = state->byte_count; in wave_parser_pre_process()
399 uint64_t byte_count, bool be) in build_riff_chunk_header() argument
403 sizeof(struct wave_data_subchunk) + byte_count; in build_riff_chunk_header()
461 uint64_t byte_count, bool be) in build_wave_data_subchunk() argument
464 DATA_SUBCHUNK_ID, byte_count, be); in build_wave_data_subchunk()
468 uint64_t byte_count) in write_riff_chunk_for_wave() argument
484 if (byte_count > cntr->max_size - total_byte_count) in write_riff_chunk_for_wave()
487 total_byte_count += byte_count; in write_riff_chunk_for_wave()
506 build_wave_data_subchunk(&buf.data_subchunk, byte_count, state->be); in write_riff_chunk_for_wave()
514 uint64_t *byte_count) in wave_builder_pre_process() argument
535 return write_riff_chunk_for_wave(cntr, *byte_count); in wave_builder_pre_process()