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,8 +115,8 @@ 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,
|
||||
uint32_t size)
|
||||
int host_video_dqbuf(struct host_video_dev_s *vdev, uint8_t *addr,
|
||||
uint32_t size)
|
||||
{
|
||||
struct v4l2_buffer buf;
|
||||
|
||||
|
|
|
@ -43,8 +43,8 @@ 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,
|
||||
uint32_t size);
|
||||
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,
|
||||
uint32_t denom, uint32_t numer);
|
||||
|
|
|
@ -307,9 +307,9 @@ void sim_video_loop(void)
|
|||
|
||||
if (g_sim_video_priv.next_buf)
|
||||
{
|
||||
ret = host_video_dq_buf(g_sim_video_priv.vdev,
|
||||
g_sim_video_priv.next_buf,
|
||||
g_sim_video_priv.buf_size);
|
||||
ret = host_video_dqbuf(g_sim_video_priv.vdev,
|
||||
g_sim_video_priv.next_buf,
|
||||
g_sim_video_priv.buf_size);
|
||||
if (ret > 0)
|
||||
{
|
||||
g_sim_video_priv.capture_cb(0, ret);
|
||||
|
|
Loading…
Reference in New Issue