MPP示例程序sample_virvi2vo中缺少sample_virvi2vo.conf文件

这里提供一下sample_virvi2vo.conf文件:sample_virvi2vo.zip (476 字节)

sample_virvi2vo.conf文件内容:

########### paramter (ref to tulip_cedarx.conf)############
[parameter]
capture_width = 360
capture_height = 640
display_x = 0
display_y = 640
display_width = 320
display_height = 240
layer_num = 0
isp_dev = 0
vipp_dev = 0

capture_width2 = 0
capture_height2 = 640
display_x2 = 0
display_y2 = 0
display_width2 = 0
display_height2 = 640
layer_num2 = 4
isp_dev2 = 0
vipp_dev2 = 4

capture_width3 = 0
capture_height3 = 360
display_x3 = 240
display_y3 = 320
display_width3 = 0
display_height3 = 320
layer_num3 = 5
isp_dev3 = 0
vipp_dev3 = 0

add_ui_layer = 0
ui_test_layer = 9
ui_display_width = 480
ui_display_height = 640

# disp_type is lcd, hdmi, cvbs
disp_type = "lcd"

# pic_format is yu12, yv12, nv21, nv12, nv21s
pic_format = nv21
frame_rate = 20
test_duration = 20 #unit:s

如果您使用的是7寸RGB屏,请修改一下参数:

[parameter]
capture_width = 360
capture_height = 640
display_x = 0
display_y = 0
display_width = 1024
display_height = 600
layer_num = 0
isp_dev = 0
vipp_dev = 0

如果您使用的是4寸MIPI屏,请修改一下参数:

[parameter]
capture_width = 360
capture_height = 640
display_x = 0
display_y = 0
display_width = 480
display_height = 800
layer_num = 0
isp_dev = 0
vipp_dev = 0

为啥capture_width 和capture_height 是 360 x 640呢 gc 这个摄像头不是1920hx1080v 分辨率嘛?