Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dv4l2_buffers.c63 int64_t v4l2_pts; in v4l2_set_pts() local
69 v4l2_pts = av_rescale_q(pts, v4l2_get_timebase(out), v4l2_timebase); in v4l2_set_pts()
70 out->buf.timestamp.tv_usec = v4l2_pts % USEC_PER_SEC; in v4l2_set_pts()
71 out->buf.timestamp.tv_sec = v4l2_pts / USEC_PER_SEC; in v4l2_set_pts()
76 int64_t v4l2_pts; in v4l2_get_pts() local
79 v4l2_pts = (int64_t)avbuf->buf.timestamp.tv_sec * USEC_PER_SEC + in v4l2_get_pts()
82 return av_rescale_q(v4l2_pts, v4l2_timebase, v4l2_get_timebase(avbuf)); in v4l2_get_pts()