Software ISP on the IMX8Mini

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

Software ISP on the IMX8Mini

跳至解决方案
665 次查看
VishnuSidda
Contributor III

We are using a IMX8mini, previously we used to work with imx8mplus which has the inbuilt hardware ISP, but the IMX8Mini does't have the hardware ISP support. 

What are the options do we have to do the debayering, 3A, gamma and other ISP functionalities. In my exploration, we found NXP Soft ISP not available on the imx8mini, libcamera is not officially supported on the imx8mini and we have no experience in integrating the libcamera and their pipeline handlers stuff.

One more thing, in imx8mplus we routed video through the ISP or there is a provision to route video through ISI in capture mode. How does that happens in the imx8mini, no vvcam stack stuff?
By the way, our camera doesnt have inbuilt ISP, we have to perform the software ISP on the processor itself.

I hope some of you guys know this.

Thanks and regrads

S Vishnu  

标记 (4)
0 项奖励
回复
1 解答
551 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @VishnuSidda,

On the i.MX8M Mini, the camera data goes straight from the sensor to memory using CSI + ISI. ISI is not an ISP; it only moves images around and can resize them a bit. There is no stage where RAW images can be processed like on i.MX8M Plus, and there is no vvcam or Soft ISP stack available.

Libcamera is supported only in a very limited way on i.MX8M Mini. It works only with cameras that already have an ISP inside the sensor (so‑called “smart cameras”). Libcamera on i.MX8MM does not add ISP features; it just helps manage capture. It cannot replace a missing ISP.

Doing a full software ISP on the CPU is technically possible but not recommended due to high CPU load, power consumption, and complexity, and NXP does not provide or support such a solution on i.MX8M Mini.

In i.MX8M Mini is capture only for cameras. If ISP features are required, they must be handled outside the SoC.

Best Regards,

Chavira

在原帖中查看解决方案

0 项奖励
回复
2 回复数
50 次查看
kieranbingham
Contributor I

libcamera has a GPU implementation of the SoftISP which could be used on the i.MX8MM but may not give high throughput as I don't think the GPU on the i.MX8MM is very large. It functions, but not at high framerates, so it likely depends on what your requirements are.

0 项奖励
回复
552 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @VishnuSidda,

On the i.MX8M Mini, the camera data goes straight from the sensor to memory using CSI + ISI. ISI is not an ISP; it only moves images around and can resize them a bit. There is no stage where RAW images can be processed like on i.MX8M Plus, and there is no vvcam or Soft ISP stack available.

Libcamera is supported only in a very limited way on i.MX8M Mini. It works only with cameras that already have an ISP inside the sensor (so‑called “smart cameras”). Libcamera on i.MX8MM does not add ISP features; it just helps manage capture. It cannot replace a missing ISP.

Doing a full software ISP on the CPU is technically possible but not recommended due to high CPU load, power consumption, and complexity, and NXP does not provide or support such a solution on i.MX8M Mini.

In i.MX8M Mini is capture only for cameras. If ISP features are required, they must be handled outside the SoC.

Best Regards,

Chavira

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2362513%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMX8Mini%20%E4%B8%8A%E7%9A%84%E8%BD%AF%E4%BB%B6%20ISP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2362513%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E4%BB%AC%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20IMX8mini%EF%BC%8C%E4%BB%A5%E5%89%8D%E6%88%91%E4%BB%AC%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20IMX8mplus%EF%BC%8C%E5%AE%83%E6%9C%89%E5%86%85%E7%BD%AE%E7%A1%AC%E4%BB%B6%20ISP%EF%BC%8C%E4%BD%86%20IMX8Mini%20%E4%B8%8D%E6%94%AF%E6%8C%81%E7%A1%AC%E4%BB%B6%20ISP%E3%80%82%20%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E4%BB%AC%E5%8F%AF%E4%BB%A5%E9%80%89%E6%8B%A9%E5%93%AA%E4%BA%9B%E6%96%B9%E5%BC%8F%E6%9D%A5%E8%BF%9B%E8%A1%8C%E5%8E%BB%E6%AF%9B%E5%88%BA%E3%80%813A%E3%80%81%E4%BC%BD%E9%A9%AC%E5%92%8C%E5%85%B6%E4%BB%96%20ISP%20%E5%8A%9F%E8%83%BD%E3%80%82%E5%9C%A8%E6%88%91%E7%9A%84%E6%8E%A2%E7%B4%A2%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BB%AC%E5%8F%91%E7%8E%B0imx8mini%E4%B8%8A%E4%B8%8D%E6%8F%90%E4%BE%9B%E6%81%A9%E6%99%BA%E6%B5%A6%E8%BD%AF%E4%BA%92%E8%81%94%E7%BD%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%EF%BC%8Cimx8mini%E4%B8%8D%E6%AD%A3%E5%BC%8F%E6%94%AF%E6%8C%81libcamera%EF%BC%8C%E8%80%8C%E4%B8%94%E6%88%91%E4%BB%AC%E5%9C%A8%E9%9B%86%E6%88%90libcamera%E5%8F%8A%E5%85%B6%E6%B5%81%E6%B0%B4%E7%BA%BF%E5%A4%84%E7%90%86%E7%A8%8B%E5%BA%8F%E6%96%B9%E9%9D%A2%E6%B2%A1%E6%9C%89%E7%BB%8F%E9%AA%8C%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%BF%98%E6%9C%89%E4%B8%80%E4%BB%B6%E4%BA%8B%EF%BC%8C%E5%9C%A8imx8mplus%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BB%AC%E9%80%9A%E8%BF%87%E4%BA%92%E8%81%94%E7%BD%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%E8%B7%AF%E7%94%B1%E8%A7%86%E9%A2%91%EF%BC%8C%E6%88%96%E8%80%85%E6%9C%89%E9%85%8D%E7%BD%AE%E5%9C%A8%E6%8D%95%E8%8E%B7%E6%A8%A1%E5%BC%8F%E4%B8%8B%E9%80%9A%E8%BF%87ISI%E8%B7%AF%E7%94%B1%E8%A7%86%E9%A2%91%E3%80%82%E5%9C%A8%E6%B2%A1%E6%9C%89%20vvcam%20%E6%A0%88%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8Cimx8mini%20%E6%98%AF%E5%A6%82%E4%BD%95%E5%81%9A%E5%88%B0%E8%BF%99%E4%B8%80%E7%82%B9%E7%9A%84%EF%BC%9F%3CBR%20%2F%3E%E9%A1%BA%E4%BE%BF%E8%AF%B4%E4%B8%80%E4%B8%8B%EF%BC%8C%E6%88%91%E4%BB%AC%E7%9A%84%E7%9B%B8%E6%9C%BA%E6%B2%A1%E6%9C%89%E5%86%85%E7%BD%AE%20ISP%EF%BC%8C%E5%BF%85%E9%A1%BB%E5%9C%A8%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%8A%E6%89%A7%E8%A1%8C%E8%BD%AF%E4%BB%B6%20ISP%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E5%B8%8C%E6%9C%9B%E4%BD%A0%E4%BB%AC%E4%B8%AD%E6%9C%89%E4%BA%BA%E7%9F%A5%E9%81%93%E8%BF%99%E4%B8%80%E7%82%B9%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%B0%A2%E8%B0%A2%3C%2FP%3E%3CP%3ES%20Vishnu%20%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2362513%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208%20%E7%B3%BB%E5%88%97%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2363542%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Software%20ISP%20on%20the%20IMX8Mini%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2363542%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256223%22%20target%3D%22_blank%22%3E%40SiddavatamVishnu%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%9C%A8%20i.MX8M%20Mini%20%E4%B8%8A%EF%BC%8C%E6%91%84%E5%83%8F%E5%A4%B4%E6%95%B0%E6%8D%AE%E9%80%9A%E8%BF%87%20CSI%20%2B%20ISI%20%E7%9B%B4%E6%8E%A5%E4%BB%8E%E4%BC%A0%E6%84%9F%E5%99%A8%E4%BC%A0%E8%BE%93%E5%88%B0%E5%86%85%E5%AD%98%E3%80%82ISI%20%E4%B8%8D%E6%98%AF%E4%BA%92%E8%81%94%E7%BD%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%EF%BC%9B%E5%AE%83%E5%8F%AA%E8%83%BD%E7%A7%BB%E5%8A%A8%E5%9B%BE%E5%83%8F%E5%B9%B6%E8%B0%83%E6%95%B4%E5%85%B6%E5%A4%A7%E5%B0%8F%E3%80%82i.MX8M%20Plus%20%E6%B2%A1%E6%9C%89%E5%A4%84%E7%90%86%20RAW%20%E5%9B%BE%E5%83%8F%E7%9A%84%E9%98%B6%E6%AE%B5%EF%BC%8C%E4%B9%9F%E6%B2%A1%E6%9C%89%20vvcam%20%E6%88%96%20Soft%20ISP%20%E6%A0%88%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3Ei.MX8M%20Mini%20%E4%BB%85%E4%BB%A5%E9%9D%9E%E5%B8%B8%E6%9C%89%E9%99%90%E7%9A%84%E6%96%B9%E5%BC%8F%E6%94%AF%E6%8C%81%20Libcamera%E3%80%82%E5%AE%83%E5%8F%AA%E9%80%82%E7%94%A8%E4%BA%8E%E4%BC%A0%E6%84%9F%E5%99%A8%E5%86%85%E5%B7%B2%E5%AE%89%E8%A3%85%20ISP%20%E7%9A%84%E7%9B%B8%E6%9C%BA%EF%BC%88%E5%8D%B3%E6%89%80%E8%B0%93%E7%9A%84%20%22%E6%99%BA%E8%83%BD%E7%9B%B8%E6%9C%BA%22%EF%BC%89%E3%80%82i.MX8mm%20%E4%B8%8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82%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%87%B4%E4%BB%A5%E6%9C%80%E5%B4%87%E9%AB%98%E7%9A%84%E6%95%AC%E6%84%8F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%E6%9F%A5%E7%BB%B4%E6%8B%89%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2393933%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Software%20ISP%20on%20the%20IMX8Mini%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2393933%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Elibcamera%20%E6%9C%89%E4%B8%80%E4%B8%AA%E5%9F%BA%E4%BA%8E%20GPU%20%E7%9A%84%20SoftISP%20%E5%AE%9E%E7%8E%B0%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%9C%A8%20i.MX8MM%20%E4%B8%8A%E4%BD%BF%E7%94%A8%EF%BC%8C%E4%BD%86%E5%8F%AF%E8%83%BD%E4%B8%8D%E4%BC%9A%E6%8F%90%E4%BE%9B%E9%AB%98%E5%90%9E%E5%90%90%E9%87%8F%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%88%91%E8%AE%A4%E4%B8%BA%20i.MX8MM%20%E4%B8%8A%E7%9A%84%20GPU%20%E5%B9%B6%E4%B8%8D%E5%A4%A7%E3%80%82%E5%AE%83%E5%8F%AF%E4%BB%A5%E8%BF%90%E8%A1%8C%EF%BC%8C%E4%BD%86%E5%B8%A7%E7%8E%87%E4%B8%8D%E9%AB%98%EF%BC%8C%E6%89%80%E4%BB%A5%E8%BF%99%E5%8F%AF%E8%83%BD%E5%8F%96%E5%86%B3%E4%BA%8E%E6%82%A8%E7%9A%84%E5%85%B7%E4%BD%93%E9%9C%80%E6%B1%82%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E