Convert 8bit grayscale buffer to be accepted by vpuenc gstreamer element?

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

Convert 8bit grayscale buffer to be accepted by vpuenc gstreamer element?

1,405件の閲覧回数
chriswhittenbur
Contributor I

I have a monochrom image sensor connected to my imx6q board, capturing 30fps 1280x960 8bit grayscale images using gstreamer and the mfw_v4lsrc element.  Converting from 8bit grayscale to I420 should be quick, but it appears memcpy out of a dma coherent buffer is very inefficient.  What other tricks can I use to do this in hardware?  Converting to I420 should involve just growing the buffer by 614,400 bytes and filling that area with 128.

ラベル(3)
1 返信

1,010件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

how did you change capture the grayscale? one can use the mxc_v4l2_capture.out to test, maybe you can give me the mail address, I can send the demo code for how to capture 8bit grayscale data to you. or if you have already create SR, pls tell me the SR number. I posted here failed.

0 件の賞賛
返信