Lines Matching refs:vbuf
66 struct video_buffer *vbuf; in HAL_DCMI_FrameEventCallback() local
70 vbuf = k_fifo_get(&dev_data->fifo_in, K_NO_WAIT); in HAL_DCMI_FrameEventCallback()
72 if (vbuf == NULL) { in HAL_DCMI_FrameEventCallback()
77 vbuf->timestamp = k_uptime_get_32(); in HAL_DCMI_FrameEventCallback()
78 memcpy(vbuf->buffer, dev_data->buffer, vbuf->bytesused); in HAL_DCMI_FrameEventCallback()
80 k_fifo_put(&dev_data->fifo_out, vbuf); in HAL_DCMI_FrameEventCallback()
293 struct video_buffer *vbuf) in video_stm32_dcmi_enqueue() argument
302 if (buffer_size > vbuf->size) { in video_stm32_dcmi_enqueue()
306 vbuf->bytesused = buffer_size; in video_stm32_dcmi_enqueue()
307 vbuf->line_offset = 0; in video_stm32_dcmi_enqueue()
309 k_fifo_put(&data->fifo_in, vbuf); in video_stm32_dcmi_enqueue()
316 struct video_buffer **vbuf, in video_stm32_dcmi_dequeue() argument
325 *vbuf = k_fifo_get(&data->fifo_out, timeout); in video_stm32_dcmi_dequeue()
326 if (*vbuf == NULL) { in video_stm32_dcmi_dequeue()