Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.c323 struct mmal_buffer *mmal_buf) in buffer_cb() argument
327 container_of(mmal_buf, struct vb2_mmal_buffer, mmal); in buffer_cb()
331 __func__, status, buf, mmal_buf->length, mmal_buf->mmal_flags, in buffer_cb()
332 mmal_buf->pts); in buffer_cb()
343 if (mmal_buf->length == 0) { in buffer_cb()
380 if (dev->capture.vc_start_timestamp != -1 && mmal_buf->pts) { in buffer_cb()
382 s64 runtime_us = mmal_buf->pts - in buffer_cb()
389 dev->capture.vc_start_timestamp, mmal_buf->pts, in buffer_cb()
398 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, mmal_buf->length); in buffer_cb()
399 if (mmal_buf->mmal_flags & MMAL_BUFFER_HEADER_FLAG_KEYFRAME) in buffer_cb()
[all …]