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:
Peter Bee 2022-12-16 14:58:49 +08:00 committed by Xiang Xiao
parent 71c34d6391
commit aeed8f5d26
3 changed files with 0 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,