i.MX8MP: Video buffer access

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8MP: Video buffer access

1,780件の閲覧回数
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,756件の閲覧回数
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,750件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

(y)

0 件の賞賛
返信

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