Searched refs:audio_par (Results 1 – 4 of 4) sorted by relevance
61 AVCodecParameters *audio_par, *video_par; in yop_read_header() local72 audio_par = audio_stream->codecpar; in yop_read_header()73 audio_par->codec_type = AVMEDIA_TYPE_AUDIO; in yop_read_header()74 audio_par->codec_id = AV_CODEC_ID_ADPCM_IMA_APC; in yop_read_header()75 audio_par->channels = 1; in yop_read_header()76 audio_par->channel_layout = AV_CH_LAYOUT_MONO; in yop_read_header()77 audio_par->sample_rate = 22050; in yop_read_header()
42 AVCodecParameters *audio_par, *video_par; member208 if (swf->audio_par) { in swf_write_header()213 swf->audio_par = par; in swf_write_header()252 if (!swf->audio_par) in swf_write_header()255 swf->samples_per_frame = (swf->audio_par->sample_rate * rate_base) / rate; in swf_write_header()336 if (swf->audio_par && swf->audio_par->codec_id == AV_CODEC_ID_MP3) { in swf_write_header()341 switch(swf->audio_par->sample_rate) { in swf_write_header()351 if (swf->audio_par->channels == 2) in swf_write_header()457 if (swf->audio_par && av_fifo_size(swf->audio_fifo)) { in swf_write_video()
115 AVCodecParameters *audio_par; member300 5 * !!flv->audio_par + in write_metadata()334 if (flv->audio_par) { in write_metadata()336 put_amf_double(pb, flv->audio_par->bit_rate / 1024.0); in write_metadata()339 put_amf_double(pb, flv->audio_par->sample_rate); in write_metadata()342 put_amf_double(pb, flv->audio_par->codec_id == AV_CODEC_ID_PCM_U8 ? 8 : 16); in write_metadata()345 put_amf_bool(pb, flv->audio_par->channels == 2); in write_metadata()348 put_amf_double(pb, flv->audio_par->codec_tag); in write_metadata()407 put_amf_bool(pb, !!flv->audio_par); in write_metadata()510 int channels = flv->audio_par->channels in flv_write_codec_header()[all …]
5082 AVCodecParameters *audio_par = s->streams[1]->codecpar; in mov_write_uuidprof_tag() local5083 int audio_rate = audio_par->sample_rate; in mov_write_uuidprof_tag()5087 int audio_kbitrate = audio_par->bit_rate / 1000; in mov_write_uuidprof_tag()5122 avio_wb32(pb, audio_par->channels); in mov_write_uuidprof_tag()