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

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

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

1,406 次查看
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,011 次查看
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 项奖励
回复