Lines Matching defs:fps
57 int fps;
95 struct dc1394_frame_rate *fps;
105 for (fps = dc1394_frame_rates; fps->frame_rate; fps++)
106 if (fps->frame_rate == frame_rate)
109 if (!fps->frame_rate || !fmt->width) {
110 av_log(c, AV_LOG_ERROR, "Can't find matching camera format for %s, %dx%d@%d:1000fps\n", avcodec_get_pix_fmt_name(pix_fmt),
122 vst->codec->time_base.den = fps->frame_rate;
135 dc1394->fps = fps->frame_rate;
137 vst->codec->bit_rate = av_rescale(dc1394->packet.size * 8, fps->frame_rate, 1000);
138 *select_fps = fps;
153 struct dc1394_frame_rate *fps = NULL;
155 if (dc1394_read_common(c,ap,&fmt,&fps) != 0)
174 fps->frame_rate_id, 8, 1,
215 dc1394->packet.pts = (dc1394->current_frame * 1000000) / dc1394->fps;
246 struct dc1394_frame_rate *fps = NULL;
248 if (dc1394_read_common(c,ap,&fmt,&fps) != 0)
289 if (dc1394_video_set_framerate(dc1394->camera,fps->frame_rate_id) != DC1394_SUCCESS) {
290 av_log(c, AV_LOG_ERROR, "Couldn't set framerate %d \n",fps->frame_rate);
327 dc1394->packet.pts = (dc1394->current_frame * 1000000) / (dc1394->fps);