Searched refs:frame_rate_base (Results 1 – 3 of 3) sorted by relevance
809 / (double)video_st->codec.frame_rate_base; in getProperty()1137 int frame_rate, frame_rate_base; in icv_add_video_stream_FFMPEG() local1199 frame_rate_base=1; in icv_add_video_stream_FFMPEG()1200 while (fabs((double)frame_rate/frame_rate_base) - fps > 0.001){ in icv_add_video_stream_FFMPEG()1201 frame_rate_base*=10; in icv_add_video_stream_FFMPEG()1202 frame_rate=(int)(fps*frame_rate_base + 0.5); in icv_add_video_stream_FFMPEG()1206 c->time_base.num = frame_rate_base; in icv_add_video_stream_FFMPEG()1210 AVRational req = {frame_rate, frame_rate_base}; in icv_add_video_stream_FFMPEG()1226 c->frame_rate_base = frame_rate_base; in icv_add_video_stream_FFMPEG()2010 int frame_rate_base = 1; in addVideoStream() local[all …]
220 int frame_rate_base = 1; in initEncoder() local221 while (fabs(static_cast<double>(frame_rate) / frame_rate_base) - fps > 0.001) in initEncoder()223 frame_rate_base *= 10; in initEncoder()224 frame_rate = static_cast<int>(fps*frame_rate_base + 0.5); in initEncoder()226 int FrameRate[] = { frame_rate, frame_rate_base }; in initEncoder()
75 c->frame_rate_base = 1; in add_video_stream()