Fx

Fx

0个粉丝

1

问答

0

专栏

0

资料

Fx  发布于  2025-09-02 14:29:13
采纳率 0%
1个问答
270

海思3519dv500, 配好了sensor, 使用官方的源码 uvc_app, 后端软件是黑屏的,还要配置什么吗?

   
  • 这个是运行时板端的输出:
    ./sample_uvc

@@@@@ UVC App Sample @@@@@

configfs-gadget gadget: uvc: uvc_function_set_alt(0, 0)
configfs-gadget gadget: uvc: reset UVC Control
configfs-gadget gadget: uvc: uvc_function_set_alt(1, 0)
configfs-gadget gadget: uvc: uvc_function_set_alt(1, 0)
configfs-gadget gadget: uvc: uvc_function_set_alt(1, 0)
dwc3 10320000.dwc3: request 00000000520b0dd2 was not queued to ep1in
set format=NV21 640x360
configfs-gadget gadget: uvc: uvc_function_set_alt(1, 3)
configfs-gadget gadget: reset UVC
linear mode
===IMX327 1080P 30fps 12bit LINE Init OK!===
ISP Dev 0 running !

这是查看板端的信息:
cat /proc/umap/mipi_rx:

Module: [MIPI_RX], Build Time[Jan 25 2024, 09:25:23]
——-mipi lane divide mode——————————————————————————————————————————————-
mode lane divide
0 8
——-mipi dev attr——————————————————————————————————————————————————-
devno work_mode data_rate data_type wdr_mode img_x img_y img_w img_h
0 mipi X1 raw12 none 0 0 1920 1080
——-mipi lane info——————————————————————————————————————————————————-
devno lane_id speed_mode
0 0, 1, 2, 3, -1, -1, -1, -1 LE1500Mbps
——-mipi clk info——————————————————————————————————————————————————-
devno enable
0 Y
———sns clk info——————————————————————————————————————————————————-
devno enable
0 Y
——-mipi phy data info———————————————————————————
phy_id lane_id phy_data mipi_data lvds_data freq
0 0, 1, 2, 3 0x40,0xa0,0x6c,0x40 0x4f,0x7b,0x2d,0xc2 0xf0,0xc6,0x65,0x80 27MHZ
1 4, 5, 6, 7 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00 n/a
——-mipi detect info——————————————————————————
devno vc width height
0 0 1920 1080

cat /proc/umap/vi:
————————————————————vi dev attr1——————————————————————————————————
dev_id dev_status intf_mode work_mode comp_mask0 comp_mask1 scan_mode
0 enable mipi 1mux fff00000 0 progressive
————————————————————vi dev attr2——————————————————————————————————
dev_id data_seq data_type data_reverse width height data_rate irq_affinity
0 yvyu raw N 1920 1080 x1 0
————————————————————vi thermo sns attr———————————————————————————————
dev_id work_mode ooc_width ooc_height ooc_bitwidth cfg_num frame_rate sd_mux0 sd_mux1 sd_mux2 sd_mux3
————————————————————vi dev detect info———————————————————————————————
dev_id valid_width valid_height em_data_size total_width vfb_height vbb_height
0 1920 1080 0 17599 0 37
————————————————————vi stitch grp attr———————————————————————————————
grp_id stitch_en cfg_mode max_pts_gap pipe_num pipe_id
————————————————————vi bind attr——————————————————————————————————
dev_id pipe_num pipe_id
0 1 0
————————————————————vi wdr fusion grp attr—————————————————————————————
grp_id wdr_mode cache_line pipe_num pipe_id pipe_reverse
0 none 1080 1 0 N

cat /proc/umap/isp:
————————————————————module/control param——————————————————————————————
proc_param stat_intvl update_pos int_bothalf int_timeout pwm_number run_wakeup
30 1 0 0 200 0 0

port_int_delay quick_start ldci_tprflten long_frm_int_en be_buf_num ob_update_pos alg_run_sel
0 0 0 0 8 frame end normal
————————————————————isp mode————————————————————————————————————
stitch_mode running_mode block_num data_mode run_once
normal online 1 raw 0
————————————————————sensor info——————————————————————————————————-
sensor_type dev
i2c 4
————————————————————drv info————————————————————————————————————
vi_pipe int_cnt int_t max_int_t avg_int_t int_gap_t max_gap_t int_rat
0 3403 204 234 203 33362 700597 30

int_type pt_int_cnt pt_int_t pt_max_int_t pt_int_gap_t pt_max_gap_t pt_int_rat reset_cnt
start 0 0 0 0 0 0 4

fe_stat_t fe_stat_max_t cp_stat_t cp_stat_max_t be_stat_t be_stat_max_t be_stat_lost
26 32 32 61 85 102 0

be_end_t be_end_max_t sensor_cfg_t sensor_max_t sensor_avg_t
0 0 6 32 5

sync_cfg_gap sync_cfg_gap_max sync_cfg_gap_min ldci_comp_err_cnt stitch_pts_cnt sync_id_err_cnt
33362 733970 33351 0 0 0
————————————————————pubattr info——————————————————————————————————
wnd_x wnd_y wnd_w wnd_h sns_w sns_h sns_mode flip mirror bayer
0 24 1920 1080 1920 1080 0 0 0 gbrg

crop_en crop_x crop_y crop_w crop_h wdr_mode
0 0 0 1920 1080 linear

————————————————————send raw isp frame info————————————————————————————-
————————————————————fe roi info——————————————————————————————————-
fe_roi_en fe_roi_x fe_roi_y fe_roi_w fe_roi_h
0 0 0 1919 1079
————————————————————share mem info—————————————————————————————————
share_all_en share[0] share[1] share[2] share[3] share[4]

cat /proc/umap/vpss

[VPSS] Version: [HI3519DV500_MPP_V1.0.1.1 B040 Release], Build Time[Jan 25 2024, 09:25:23]

————————————————————vpss module param———————————————————————————————-
schedule_mode max_out_width max_out_height high_profile
NORMAL 8192 8192 N

————————————————————vpss grp cfg1—————————————————————————————————-
grp is_rotation_input_support is_dis_gyro_support is_motion_denoise_support
0 N N N

————————————————————vpss grp cfg2—————————————————————————————————-
grp max_split_num max_out_rgn_num is_save_out_lut out_lut_buf_size
0 3 1 N 0

————————————————————vpss grp attr1—————————————————————————————————
grp max_w max_h pixel_fmt src_rate dst_rate user_ctrl backup
0 3840 2160 YVU-SP420 -1 -1 Y N

————————————————————vpss grp attr2—————————————————————————————————
grp buf_share_en buf_share_chn dci ie dei_mode dei_width dei_height mcf_en act_buf_share
0 N 0 N N OFF 0 0 N N

————————————————————vpss grp crop info———————————————————————————————
grp crop_en coord x y width height trim_x trim_y trim_width trim_height
0 N ABS 0 0 0 0 0 0 3840 2160

————————————————————vpss grp 3dnr attr———————————————————————————————
grp enable type ref_cmp motion_mode
0 N VIDEO N NORM

————————————————————vpss 3dnr param————————————————————————————————-

————————————————————frame interrupt attr——————————————————————————————
grp int_type early_line
0 START 0

————————————————————vpss grp gdc param———————————————————————————————
grp in_width in_height lut_cell_size
0 3840 2160 16

————————————————————vpss grp spread attr——————————————————————————————
grp enable coef

我不知道 vpss 为什么是 4k 的, 我的sensor 只支持 1080p, 希望各位大佬能给点意见, 在此感谢!

我来回答
回答3个
时间排序
认可量排序

素质男孩最有素质

0个粉丝

0

问答

0

专栏

0

资料

素质男孩最有素质 2025-09-02 16:11:38
认可0

用适配SDK里的uvc_app

Fx
Fx   回复   素质男孩最有素质  2025-09-03 14:16:24
0

就是用的 sdk 里的 uvc_app, 好像我的vpss 输出到 uvc 这里是不是有问题呀,
————————————————————vpss chn output status—————————————————————————————
grp chn enable width height pixel_fmt video_format dynamic_range cmp_mode send_ok frame_rate proc_time
0 0 Y 0 0 YVU-SP422 LINEAR SDR8 NONE 0 0 0
0 4 Y 1920 1080 PKG422 LINEAR SDR8 NONE 0 0 0

素质男孩最有素质
素质男孩最有素质   回复   Fx  2025-09-04 09:05:09
0

你看一下快速体验手册的uvc测试的命令是什么

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区