Lines Matching refs:format
84 bool is_audio_format(uint32_t format) in is_audio_format() argument
86 return (format & PROBE_MASK_FMT_TYPE) != 0 && (format & PROBE_MASK_AUDIO_FMT) == 0; in is_audio_format()
89 int init_wave(struct dma_frame_parser *p, uint32_t buffer_id, uint32_t format) in init_wave() argument
91 bool audio = is_audio_format(format); in init_wave()
117 p->files[i].fmt = format; in init_wave()
123 p->files[i].header.riff.format = HEADER_WAVE; in init_wave()
127 …p->files[i].header.fmt.num_channels = ((format & PROBE_MASK_NB_CHANNELS) >> PROBE_SHIFT_NB_CHANNEL… in init_wave()
128 …p->files[i].header.fmt.sample_rate = sample_rate[(format & PROBE_MASK_SAMPLE_RATE) >> PROBE_SHIFT_… in init_wave()
129 …p->files[i].header.fmt.bits_per_sample = (((format & PROBE_MASK_CONTAINER_SIZE) >> PROBE_SHIFT_CON… in init_wave()
155 offsetof(struct riff_chunk, format); in finalize_wave_files()
176 packet->format + in validate_data_packet()
300 p->packet->format); in parser_parse_data()