i.MX8MP: Video buffer access

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

i.MX8MP: Video buffer access

1,779 次查看
artsiomstaliaro
Contributor IV

Dears,

in "i.MX 8M Plus Camera and Display Guide" document (IMX8MPCDUG), in "3.4 Arbitrary Resolution Control" there is picture 17 shows 2 output buffers.

artsiomstaliaro_0-1687180899605.png

How can I access both buffers (before and after DeWrap)?

0 项奖励
回复
3 回复数

1,755 次查看
malik_cisse
Senior Contributor I

Hi,
IMHO You cannot access both outputs at the same time  (before and after DeWrap). You can do  (before or after DeWrap). The doc says "If the Dewarp output is used"

malik_cisse_0-1687246018610.png

 


If Dewarp is deactivated in device tree or set to bypass in corresponding JSON config file, you get ISP Scale Down output. If Dewarp is used, all Images are passed through Dewarp before you can access them.
Also, "output buffers" are only accessible via V4L2 API (e.g doing: gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video0 ! video/x-raw,width=3840,height=2160 ! videoconvert ! pngenc ! multifilesink location=test.png)
Community, correct me if I am wrong I don't think you can access video output buffers outside of V4L2. 

1,749 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

(y)

0 项奖励
回复

1,440 次查看
artsiomstaliaro
Contributor IV
Would be nice if you guys in NXP can fix buffer accessing problems in IMX95 for example.
Like accessing full resolution image and accessing image after scaler
0 项奖励
回复