Searched refs:hdr_info (Results 1 – 4 of 4) sorted by relevance
193 static int ac3_sync(uint64_t state, AACAC3ParseContext *hdr_info, in ac3_sync() argument216 hdr_info->sample_rate = hdr.sample_rate; in ac3_sync()217 hdr_info->bit_rate = hdr.bit_rate; in ac3_sync()218 hdr_info->channels = hdr.channels; in ac3_sync()219 hdr_info->channel_layout = hdr.channel_layout; in ac3_sync()220 hdr_info->samples = hdr.num_blocks * 256; in ac3_sync()221 hdr_info->service_type = hdr.bitstream_mode; in ac3_sync()223 hdr_info->service_type = AV_AUDIO_SERVICE_TYPE_KARAOKE; in ac3_sync()225 hdr_info->codec_id = AV_CODEC_ID_EAC3; in ac3_sync()226 else if (hdr_info->codec_id == AV_CODEC_ID_NONE) in ac3_sync()[all …]
30 static int aac_sync(uint64_t state, AACAC3ParseContext *hdr_info, in aac_sync() argument49 hdr_info->sample_rate = hdr.sample_rate; in aac_sync()50 hdr_info->channels = ff_mpeg4audio_channels[hdr.chan_config]; in aac_sync()51 hdr_info->samples = hdr.samples; in aac_sync()52 hdr_info->bit_rate = hdr.bit_rate; in aac_sync()
44 int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info,
3092 AACADTSHeaderInfo hdr_info; local3096 size = ff_adts_header_parse(gb, &hdr_info);3098 if (!ac->warned_num_aac_frames && hdr_info.num_aac_frames != 1) {3106 if (hdr_info.chan_config) {3107 ac->oc[1].m4ac.chan_config = hdr_info.chan_config;3111 hdr_info.chan_config)) < 0)3135 ac->oc[1].m4ac.sample_rate = hdr_info.sample_rate;3136 ac->oc[1].m4ac.sampling_index = hdr_info.sampling_index;3137 ac->oc[1].m4ac.object_type = hdr_info.object_type;3140 ac->oc[0].m4ac.chan_config != hdr_info.chan_config ||[all …]