What is the purpose of DEMO_CAMERA_BUFFER_COUNT in demo csi_mipi_yuv.c?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What is the purpose of DEMO_CAMERA_BUFFER_COUNT in demo csi_mipi_yuv.c?

1,247 次查看
Mc2023
Contributor IV

Hello All,

What is the purpose of DEMO_CAMERA_BUFFER_COUNT in demo csi_mipi_yuv.c?

Remark: I am using i.MX RT1160 Evaluation Kit.

Best regards,

标记 (3)
0 项奖励
回复
6 回复数

1,222 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @Mc2023 

It is the size of the empty frame buffer to transmit to the buffer queue of the camera.

Best Regards, Miguel.

0 项奖励
回复

1,219 次查看
Mc2023
Contributor IV

Hi @Miguel04,

Thanks for your reply!

Could you tell me why the value was set to 4?

Best regards,

Mustafa

0 项奖励
回复

1,216 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @Mc2023 

Could you tell me which example are you using? I have DEMO_CAMERA_BUFFER_COUNT set to a value of 3.

Best Regards, Miguel.

0 项奖励
回复

1,213 次查看
Mc2023
Contributor IV

Hi @Miguel04,

I am using the demo: evkmimxrt1160_csi_mipi_yuv_cm7

Best regards,

1,202 次查看
Miguel04
NXP TechSupport
NXP TechSupport

@Mc2023 

It is a parameter for the camera used, on the readme file the example says it use the OV5640 camera, and in the datasheet it is specified that the camera needs Two frames after the strobe request is submitted, the third frame is correctly exposed.

Best Regards, Miguel.

0 项奖励
回复

1,210 次查看
Mc2023
Contributor IV

Sorry! Yes the value is 3