Is there a framebuffer into which /dev/fb0 and /dev/fb2 are combined?

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

Is there a framebuffer into which /dev/fb0 and /dev/fb2 are combined?

跳至解决方案
5,506 次查看
fcs
Contributor IV

I am able to encode live PAL video with the following:

gst-launch-0.10 -e mfw_v4lsrc sensor-width=720 sensor-height=288 capture-width=720 capture-height=576 preview=true preview-width=1024 preview-height=768 fps-n=25 bg=true ! mfw_vpuencoder ! avimux name=mux ! filesink location=/mnt/usb1/PALfps25f.avi

I can call ioctl so that the graphics and the video are 50/50 alpha blended on the LCD screen. However I would like to be able to encode what is on the screen, rather than the raw PAL video. Is there a place in RAM where the two framebuffers (graphics /dev/fb0 and video /dev/fb2) are combined and stored, or is the combined image sent straight to the LCD display?

标签 (3)
1 解答
1,939 次查看
imxcommunitysco
Senior Contributor II

The combination is done by hw on the fly. The result will send to panel directly, not go back to memory.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,940 次查看
imxcommunitysco
Senior Contributor II

The combination is done by hw on the fly. The result will send to panel directly, not go back to memory.

0 项奖励
回复
1,939 次查看
PatrickChau
Contributor II

I think this is not the case, I just did the combination by mapping fb2, and then combine the data with fb0, it also read by mapping.

0 项奖励
回复
1,939 次查看
fcs
Contributor IV

What if we changed the data flow as shown in iMX53RM.pdf section 45.3.1.4.1, it suggests VF2 sends data to Fmem+DSx, can Fmem be accessed from a kernel driver or userspace code?

0 项奖励
回复