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?

945件の閲覧回数
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 返答(返信)

920件の閲覧回数
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 件の賞賛
返信

917件の閲覧回数
Mc2023
Contributor IV

Hi @Miguel04,

Thanks for your reply!

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

Best regards,

Mustafa

0 件の賞賛
返信

914件の閲覧回数
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 件の賞賛
返信

911件の閲覧回数
Mc2023
Contributor IV

Hi @Miguel04,

I am using the demo: evkmimxrt1160_csi_mipi_yuv_cm7

Best regards,

900件の閲覧回数
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 件の賞賛
返信

908件の閲覧回数
Mc2023
Contributor IV

Sorry! Yes the value is 3