sim/video: rename dq_buf to dqbuf
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
parent
8e6185f4ad
commit
a897fe3005
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue