sim/video: rename dq_buf to dqbuf

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
Peter Bee 2022-12-20 12:21:52 +08:00 committed by Xiang Xiao
parent 8e6185f4ad
commit a897fe3005
3 changed files with 7 additions and 7 deletions

View File

@ -115,7 +115,7 @@ struct host_video_dev_s *host_video_init(const char *host_video_dev_path)
return vdev;
}
int host_video_dq_buf(struct host_video_dev_s *vdev, uint8_t *addr,
int host_video_dqbuf(struct host_video_dev_s *vdev, uint8_t *addr,
uint32_t size)
{
struct v4l2_buffer buf;

View File

@ -43,7 +43,7 @@ struct host_video_dev_s *host_video_init(const char *host_video_dev_path);
int host_video_uninit(struct host_video_dev_s *vdev);
int host_video_start_capture(struct host_video_dev_s *vdev);
int host_video_stop_capture(struct host_video_dev_s *vdev);
int host_video_dq_buf(struct host_video_dev_s *vdev, uint8_t *addr,
int host_video_dqbuf(struct host_video_dev_s *vdev, uint8_t *addr,
uint32_t size);
int host_video_set_fmt(struct host_video_dev_s *vdev,
uint16_t width, uint16_t height, uint32_t fmt,

View File

@ -307,7 +307,7 @@ void sim_video_loop(void)
if (g_sim_video_priv.next_buf)
{
ret = host_video_dq_buf(g_sim_video_priv.vdev,
ret = host_video_dqbuf(g_sim_video_priv.vdev,
g_sim_video_priv.next_buf,
g_sim_video_priv.buf_size);
if (ret > 0)