Lines Matching refs:fps
854 double fps = r2d(ic->streams[video_stream]->avg_frame_rate); in get_fps() local
856 double fps = r2d(ic->streams[video_stream]->r_frame_rate); in get_fps()
860 if (fps < eps_zero) in get_fps()
862 fps = r2d(ic->streams[video_stream]->avg_frame_rate); in get_fps()
866 if (fps < eps_zero) in get_fps()
868 fps = 1.0 / r2d(ic->streams[video_stream]->codec->time_base); in get_fps()
871 return fps; in get_fps()
1000 double fps, int width, int height, bool isColor );
1133 double fps, int pixel_format) in icv_add_video_stream_FFMPEG() argument
1198 frame_rate=(int)(fps+0.5); in icv_add_video_stream_FFMPEG()
1200 while (fabs((double)frame_rate/frame_rate_base) - fps > 0.001){ in icv_add_video_stream_FFMPEG()
1202 frame_rate=(int)(fps*frame_rate_base + 0.5); in icv_add_video_stream_FFMPEG()
1569 double fps, int width, int height, bool is_color ) in open() argument
1580 if(fps <= 0) in open()
1701 double bitrate = MIN(bitrate_scale*fps*width*height, (double)INT_MAX/2); in open()
1706 fps, codec_pix_fmt); in open()
1878 CvVideoWriter_FFMPEG* cvCreateVideoWriter_FFMPEG( const char* filename, int fourcc, double fps, in cvCreateVideoWriter_FFMPEG() argument
1883 if( writer->open( filename, fourcc, fps, width, height, isColor != 0 )) in cvCreateVideoWriter_FFMPEG()
1916 bool open(const char* fileName, int width, int height, double fps);
1922 …FormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_…
1969 …FormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_… in addVideoStream() argument
2009 int frame_rate = static_cast<int>(fps+0.5); in addVideoStream()
2011 while (fabs(static_cast<double>(frame_rate)/frame_rate_base) - fps > 0.001) in addVideoStream()
2014 frame_rate = static_cast<int>(fps*frame_rate_base + 0.5); in addVideoStream()
2074 bool OutputMediaStream_FFMPEG::open(const char* fileName, int width, int height, double fps) in open() argument
2111 …video_st_ = addVideoStream(oc_, codec_id, width, height, width * height * bitrate_scale, fps, code… in open()
2176 …am_FFMPEG* create_OutputMediaStream_FFMPEG(const char* fileName, int width, int height, double fps) in create_OutputMediaStream_FFMPEG() argument
2180 if (stream->open(fileName, width, height, fps)) in create_OutputMediaStream_FFMPEG()