include/nuttx/video: remove validate_buf
Removing validate_buf since it's only locally called in driver Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
parent
71c34d6391
commit
aeed8f5d26
@ -256,7 +256,6 @@ const struct imgdata_ops_s g_cxd56_cisif_ops =
|
||||
{
|
||||
.init = cxd56_cisif_init,
|
||||
.uninit = cxd56_cisif_uninit,
|
||||
.validate_buf = cxd56_cisif_validate_buf,
|
||||
.set_buf = cxd56_cisif_set_buf,
|
||||
.validate_frame_setting = cxd56_cisif_validate_frame_setting,
|
||||
.start_capture = cxd56_cisif_start_capture,
|
||||
|
@ -103,7 +103,6 @@ static const struct imgdata_ops_s g_sim_video_data_ops =
|
||||
{
|
||||
.init = sim_video_data_init,
|
||||
.uninit = sim_video_data_uninit,
|
||||
.validate_buf = sim_video_data_validate_buf,
|
||||
.set_buf = sim_video_data_set_buf,
|
||||
.validate_frame_setting = sim_video_data_validate_frame_setting,
|
||||
.start_capture = sim_video_data_start_capture,
|
||||
|
@ -73,7 +73,6 @@ struct imgdata_ops_s
|
||||
CODE int (*init)(void);
|
||||
CODE int (*uninit)(void);
|
||||
|
||||
CODE int (*validate_buf)(uint8_t *addr, uint32_t size);
|
||||
CODE int (*set_buf)(uint8_t *addr, uint32_t size);
|
||||
|
||||
CODE int (*validate_frame_setting)(uint8_t nr_datafmts,
|
||||
|
Loading…
Reference in New Issue
Block a user