Searched refs:framerate_q (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavdevice/ |
D | fbdev_dec.c | 51 AVRational framerate_q; ///< framerate member 134 st->avg_frame_rate = fbdev->framerate_q; in fbdev_read_header() 136 fbdev->width * fbdev->height * fbdev->bytes_per_pixel * av_q2d(fbdev->framerate_q) * 8; in fbdev_read_header() 142 fbdev->framerate_q.num, fbdev->framerate_q.den, in fbdev_read_header() 170 fbdev->time_frame += INT64_C(1000000) / av_q2d(fbdev->framerate_q); in fbdev_read_packet() 223 { "framerate","", OFFSET(framerate_q), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC },
|
D | v4l2.c | 654 AVRational framerate_q = { 0 }; in v4l2_set_parameters() local 658 (ret = av_parse_video_rate(&framerate_q, s->framerate)) < 0) { in v4l2_set_parameters() 727 } else if (framerate_q.num && framerate_q.den) { in v4l2_set_parameters() 732 framerate_q.den, framerate_q.num); in v4l2_set_parameters() 733 tpf->numerator = framerate_q.den; in v4l2_set_parameters() 734 tpf->denominator = framerate_q.num; in v4l2_set_parameters() 743 if (framerate_q.num != tpf->denominator || in v4l2_set_parameters() 744 framerate_q.den != tpf->numerator) { in v4l2_set_parameters() 748 framerate_q.den, framerate_q.num, in v4l2_set_parameters()
|
D | vfwcap.c | 258 AVRational framerate_q; in vfw_read_header() local 325 ret = av_parse_video_rate(&framerate_q, ctx->framerate); in vfw_read_header() 373 (framerate_q.den*1000000) / framerate_q.num; in vfw_read_header() 384 st->avg_frame_rate = framerate_q; in vfw_read_header()
|