Home
last modified time | relevance | path

Searched refs:frame_period (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Dmpegtsenc.c917 int64_t frame_period = 0; in enable_pcr_generation_for_stream() local
924frame_period = av_rescale_rnd(frame_size, PCR_TIME_BASE, pcr_st->codecpar->sample_rate, AV_ROUND_U… in enable_pcr_generation_for_stream()
926frame_period = av_rescale_rnd(pcr_st->avg_frame_rate.den, PCR_TIME_BASE, pcr_st->avg_frame_rate.nu… in enable_pcr_generation_for_stream()
928 if (frame_period > 0 && frame_period <= PCR_TIME_BASE / 10) in enable_pcr_generation_for_stream()
929 ts_st->pcr_period = frame_period * (PCR_TIME_BASE / 10 / frame_period); in enable_pcr_generation_for_stream()
Davidec.c483 int codec_type, stream_index, frame_period; in avi_read_header() local
510 frame_period = 0; in avi_read_header()
559 frame_period = avio_rl32(pb); in avi_read_header()
660 if (frame_period) { in avi_read_header()
662 ast->scale = frame_period; in avi_read_header()