Proc调试信息(13.16--13.29)¶
VPSS¶
【调试信息】
~ # cat /proc/umap/vpss
[VPSS] Version: [V1.0.0.0 B010 Release], Build Time[Sep 6 2019, 15:02:04]
----------------------------------------vpss module param1------------------------------------
split_node_num coverex_ratio_support schedule_mode nr_low_delay_en multi_task high_profile weight_threshold
3 N NORMAL N N N 40
----------------------------------------vpss module param2------------------------------------
output_low_delay_support cal_cost_time_en
Y Y
----------------------------------------vpss grp attr1-------------------
grp max_w max_h pixel_fmt src_rate dst_rate user_ctrl backup nr nr_type nr_ref_cmp nr_motion_mode
0 1280 720 YVU-SP420 -1 -1 Y N N VIDEO Y NORM
----------------------------------------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 1920 1080 N N
----------------------------------------vpss grp param-------------------
grp contrast ie_strength sizer sizer_width sizer_height mosaic cover overlay luma
0 8 4 N 0 0 0 0 0 0
----------------------------------------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 1280 720
----------------------------------------vpss 3dnr x param-------------------------------------------------
grp version sf_strength tf_strength csf_strength ctf_strength cvbs_strength
0 VER_1 0 0 0 0 0
----------------------------------------vpss grp0 3dnr param----------------------------------------------
grp version opt_mode iso ref0_en ref1_en
0 VER_2 MANUAL 110 0 1
nry0_en nry1_en nry2_en nry3_en nrc0_en nrc1_en limit_range_en
1 1 1 1 1 1 0
sfs2_0 sfs2_1 sfs2_2 sfs2_3 sfc sfs1_c
0 0 0 0 31 40
sfs4_0 sfs4_1 sfs4_2 sfs4_3 sfs2_c
60 0 0 0 40
tfs0_0 tfs1_1 tfs0_2 sfs4_c
12 12 12 40
sfn_0 sfn_1 sfn_2 sfn_3 sfn0_c
4_4_4_4 0_2_4_0 0_2_4_0 0_2_4_0 6
sfn_4 sfn1_c
0_2_0_0 4
math_0 math0_1 math0_2 auto_math
128 0 0 33
math1_1
800-
----------------------------------------vpss 3dnr adv param----------------------------------------
grp mdz hard_tf_strength edz weak_tf_strength
----------------------------------------vpss chn crop info------------------------------------------------
grp chn crop_en coord x y width height trim_x trim_y trim_width trim_height
----------------------------------------vpss ldci attr---------------------------------------------
grp enable color_range blc_ctrl he_pos_weight he_pos_sigma he_pos_mean he_neg_weight he_neg_sigma he_neg_mean
----------------------------------------vpss chn cfg------------------------------------------------------
grp chn scale_ex_support chn_proc_ex_support
0 0 Y Y
----------------------------------------vpss chn attr1------------------------------------------------------
grp chn enable mode width height align mirror flip src_rate dst_rate depth pool_id
0 0 Y USER 1920 1080 16 N N -1 -1 0 6
---------------------------------------vpss chn attr2---------------------------------------------------
grp chn aspect video_x video_y video_w video_h bg_color border left_w right_w top_w bottom_w bd_color
0 0 NONE 0 0 0 0 0x0 N 0 0 0 0 0x0
----------------------------------------vpss chn attr3-------------------------------------------------
grp chn sharpen sp_strength quick_send act_quick_send scale_type
0 0 N 0 N N NORMAL
----------------------------------------vpss ext chn attr----------------------------
grp ext_chn enable src_chn width height src_rate dst_rate depth align src_type scale_type pool_id
0 4 Y 0 3840 2160 -1 -1 1 0 TAIL NORMAL 7
----------------------------------------vpss chn proc ex-----------------
grp chn rotate cover_ex mosaic_ex line overlay_ex luma aivdec
0 0 0 0 0 0 0 0 N
----------------------------------------vpss chn low delay attr-----------------------
grp chn enable line_cnt one_buf_en one_buf_addr act_low_delay_en
----------------------------------------vpss chn spread attr--------------------
grp chn enable coef
----------------------------------------vpss chn ldc v1 attr--------------
grp chn enable aspect x_ratio y_ratio xy_ratio center_x_offset center_y_offset distortion_ratio
----------------------------------------vpss chn ldc v3 attr------------------
grp chn enable aspect x_ratio y_ratio xy_ratio len_x len_y shift_x shift_y coef_intp_ratio
0 0 Y N 100 100 100 196195 195758 224940 99888 32768
src_calibration_ratio 0-8:
100000 -26748 6309 -616 0 0 0 0 3200000
src_calibration_ratio_next 0-8:
100000 0 0 0 0 0 0 0 3200000
----------------------------------vpss chn rotation_ex attr-------------------------------------------
grp chn enable rotation_type view_type angle x_offset y_offset width height
0 0 Y FREE ALL 180 0 0 1920 1080
----------------------------------------vpss chn fisheye attr-------------------------
grp chn enable mount_mode rgn_num bg_color_en bg_color lmf_en hor_offset ver_offset trapezoid_coef fan_strength
----------------------------------------vpss chn fisheye rgn attr----------------
grp chn rgn_index view_mode in_radius out_radius pan tilt hor_zoom ver_zoom out_x out_y out_w out_h
----------------------------------------frame interrupt attr--------------------------
grp int_type early_line
----------------------------------------vpss node status-----------------
grp free_num busy_num delay_num backup cur
0 8 0 0 NULL 1
----------------------------------------vpss grp work status-------------
grp recv_pic preview_lost new_do old_do new_undo old_undo start_fail start cost_time max_cost_time vpss
0 96 0 96 0 0 0 0 Y 21194 21277 0
----------------------------------------vpss grp video frame info--------
grp width height pixel_fmt video_format dynamic_range cmp_mode first_pic_pts cur_pic_pts
0 1280 720 YVU-SP420 LINEAR SDR8 NONE 0 0
----------------------------------------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 1280 720 YVU-SP420 LINEAR SDR8 NONE 96 31 0
----------------------------------------vpss drv work status-------------
link_int bus_err start_suc0 start_err0 node_err0 start_suc1 start_err1 node_err1 start_suc2 start_err2 node_err2
96 0 0 0 0 96 0 0 0 0 0
----------------------------------------vpss hardware node queue---------
free_num wait_num busy00 busy01 sel0 busy10 busy11 sel1 busy20 busy21 sel2 proc
771 0 0 0 0 0 0 0 0 0 0 0
----------------------------------------vpss int work status-------------
cnt_per_sec max_cnt_per_sec cost_time max_cost_time cost_time_per_sec max_cost_time_per_sec
32 32 951 995 29293 29293
【调试信息分析】
记录当前VPSS属性配置以及状态信息。
【参数说明】
|
关闭时VPSS proc中的cost_time、max_cost_time、proc_time、中断工作时间等信息不进行统计。 |
|||
VPSS通道输出分辨率指的是缩放模块的输出分辨率。
VPSS LDCI的proc信息(vpss ldci attr)仅SS524V100/SS522V100支持。开启LDCI功能时才会显示具体的属性值,否则只显示属性字段。
SS524V100/SS522V100/SS928V100的VPSS IP个数是1,vpss hardware node queue和vpss int work status中只有VPSS0相关的信息。
SS528V100/SS625V100/SS524V100/SS522V100/SS928V100/SS626V100无Proc队列,Proc队列的节点数是0。
SS928V100未开启OT_LDC_V3功能时proc信息不显示src_calibration_ratio和src_calibration_ratio_next。
SS928V100/SS626V100 vpss chn proc ex部分 proc信息仅固定角度旋转和亮度和有效。
vpss module param中schedule_mode参数是在SYS接口设置的,仅SS528V100/SS625V100/SS524V100/SS522V100/SS626V100支持。
仅SS928V100和SS626V100支持任意角度旋转。
vpss chn output status中的proc_time仅对物理通道生效。
仅SS528V100/SS625V100/SS524V100/SS522V100支持3DNR V1版本参数和3DNR高级参数。
仅SS928V100支持3DNR V2版本参数。
SS928V100 VPSS开启mcf_en时,通道处理比较复杂,部分通道处理相关proc信息未显示。
grp work status中cost_time和max_cost_time仅离线模式生效;对于SS928V100,开启mcf_en的组cost_time和max_cost_time无效。
SS928V100 3DNR参数中sfn_x四个参数使用下划线隔开。
vpss grp param中参数对于SS928V100无效。
buffer share、低延时的使能状态,用户设置的和实际生效的使用2个参数分别显示,互斥功能检查按用户设置的状态做检查。
AI¶
【调试信息】
# cat /proc/umap/ai
[AI] Version: [V1.0.0.0 B010 Release], Build Time: [Sep 7 2019, 16:16:38]
----------------------------------------ai dev attr----------------------
ai_dev work_mode sample_rate bit_width chn_cnt clk_select snd_mode point_num expand_flag frame_num
0 i2s_mas 16kHz 16bit 1 1 mono 480 0 30
----------------------------------------ai dev status0-------------------
ai_dev interrupt_cnt fifo_cnt buf_full_cnt frame_time max_frame_time trans_len isr_time
0 0 0 0 0 0 960 0
----------------------------------------ai dev status1-------------------
ai_dev max_isr_time cb_phys cb_size read_offset write_offset
0 0 69483000 2944 0 0
----------------------------------------ai dev extend status-------------
ai_dev track_mode mute volume
0 0 N 0
----------------------------------------ai chn status--------------------
ai_dev ai_chn state mode buf_full usr_queue_lost usr_frame_depth data0 data1 usr_get usr_release
0 0 enable normal 0 0 30 0 0 0 0
----------------------------------------ai chn resample status-----------
ai_dev ai_chn state resample_open point_num in_rate out_rate
0 0 enable N 0 (null) (null)
----------------------------------------ai chn vqe status0---------------
ai_dev ai_chn state vqe_open work_state rate point_num agc eq hpf rnr hdr drc write_file
0 0 enable Y comm 16kHz 480 Y N Y N N N N
----------------------------------------ai chn vqe status1---------------
ai_dev ai_chn state anr_open usr_mode nr_intensity noise_db_threshold music_probe_switch
0 0 enable Y N 0 0 0
----------------------------------------ai chn vqe status2---------------
ai_dev ai_chn state agc_open usr_mode noise_suppress_switch adjust_speed improve_snr max_gain noise_floor
0 0 enable Y N 0 0 0 0 0
----------------------------------------ai chn vqe status3---------------
ai_dev ai_chn state agc_open usr_mode output_mode target_level use_hpf
0 0 enable Y N 0 0 0
----------------------------------------ai chn vqe status4---------------
ai_dev ai_chn state hpf_open usr_mode hpf_freq
0 0 enable Y Y 150
----------------------------------------ai chn vqe status5---------------
ai_dev ai_chn state aec_open usr_mode aec_ao aec_fail cozy_noisy_mode double_talk_threshold
0 0 enable Y N ( 0, 0) 0 close - 0
----------------------------------------ai chn vqe status6---------------
ai_dev ai_chn state aec_open usr_mode near_all_pass_energy near_clean_sup_energy
0 0 enable Y N 0 0
----------------------------------------ai chn vqe status7---------------
ai_dev ai_chn state aec_open usr_mode voice_protect_freq_l voice_protect_freq_l1
0 0 enable Y N 0 0
----------------------------------------ai chn vqe status8---------------
ai_dev ai_chn state aec_open usr_mode echo_band_low echo_band_high echo_band_low2 echo_band_high2
0 0 enable Y N 0 0 0 0
----------------------------------------ai chn vqe status9---------------
ai_dev ai_chn state aec_open usr_mode erl_band[0] erl_band[1] erl_band[2] erl_band[3] erl_band[4] erl_band[5]
0 0 enable Y N 0 0 0 0 0 0
----------------------------------------ai chn vqe status10--------------
ai_dev ai_chn state aec_open usr_mode erl[0] erl[1] erl[2] erl[3] erl[4] erl[5] erl[6]
0 0 enable Y N 0 0 0 0 0 0 0
----------------------------------------ai chn vqe status11--------------------------------
ai_dev ai_chn state pnr_open usr_mode min_gain_limit snr_prior_limit ht_threshold hs_threshold alpha_ph
0 0 enable Y N 0 0 0 0 0
0 1 enable N N 0 0 0 0 0
----------------------------------------ai chn vqe status12-------------------------------------------------
ai_dev ai_chn state pnr_open usr_mode alpha_psd prior_snr_fixed cep_threshold speech_protect_threshold
0 0 enable Y N 0 0 0 0
0 1 enable N N 0 0 0 0
----------------------------------------ai chn vqe status13-------------------------------------------------
ai_dev ai_chn state pnr_open usr_mode hem_enable tcs_enable
0 0 enable Y N 0 0
0 1 enable N N 0 0
----------------------------------------ai chn vqe status14-------------------------------------------------
ai_dev ai_chn state nr_open usr_mode min_gain_limit snr_prior_limit ht_threshold hs_threshold prior_snr_fixed
0 0 enable Y N 0 0 0 0 0
0 1 enable N N 0 0 0 0 0
----------------------------------------ai chn vqe status15-------------------------------------------------
ai_dev ai_chn state nr_open usr_mode pri_noise_esti_mode prio_snr_threshold sm_prio_snr_threshold
0 0 enable Y N 0 0 0
0 1 enable N N 0 0 0
----------------------------------------ai chn vqe status16-------------------------------------------------
ai_dev ai_chn state agc_v2_open usr_mode target_level max_gain min_gain adjust_speed
0 0 enable Y N 0 0 0 0
0 1 enable N N 0 0 0 0
----------------------------------------ai chn vqe status17-------------------------------------------------
ai_dev ai_chn state eq_v2_open usr_mode 60 100 150 200 250 350 500 800 1200 1600
0 0 enable Y N 0 0 0 0 0 0 0 0 0 0
0 1 enable N N 0 0 0 0 0 0 0 0 0 0
----------------------------------------ai chn vqe status18-------------------------------------------------
ai_dev ai_chn state eq_v2_open usr_mode 2000 2400 2500 2800 3100 3400 3600 3800 3900 4000
0 0 enable Y N 0 0 0 0 0 0 0 0 0 0
0 1 enable N N 0 0 0 0 0 0 0 0 0 0
----------------------------------------ai chn vqe status19-------------------------------------------------
ai_dev ai_chn state eq_v2_open usr_mode 4500 5000 5500 6000 6500 7000 7300 7600 7800 8000
0 0 enable Y N 0 0 0 0 0 0 0 0 0 0
0 1 enable N N 0 0 0 0 0 0 0 0 0 0
----------------------------------------ai chn vqe status20-------------------------------------------------
ai_dev ai_chn state drc_open limiter_open dereverb_open fmp_open wnr_open
0 0 enable Y Y Y Y Y
0 1 enable N N N N N
【调试信息分析】
记录当前音频输入设备及通道的属性配置以及状态信息。
在实际使用中,VQE状态信息只会打印出使能后的功能模块信息。
【参数说明】
proc 信息中的编号在实际信息中可能与文中描述有差别,如PEQ中Q值在在实际显示的proc 中可能不是AI CHN VQE STATUS15,这与实际开启的VQE功能有关系。
AO¶
【调试信息】
# cat /proc/umap/ao
[AO] Version: [V1.0.0.0 B010 Release], Build Time: [Sep 7 2019, 16:16:34]
----------------------------------------ao dev attr----------------------
ao_dev work_mode sample_rate bit_width chn_cnt clk_select snd_mode point_num expand_flag frame_num
0 i2s_mas 16kHz 16bit 1 1 mono 480 0 30
----------------------------------------ao dev status0-------------------
ao_dev interrupt_cnt fifo_cnt buf_empty_cnt frame_time max_frame_time trans_len isr_time
0 0 0 0 0 0 960 0
----------------------------------------ao dev status1-------------------
ao_dev max_isr_time cb_phys cb_size read_offset write_offset
0 0 694b3000 2944 0 780
----------------------------------------ao dev extend status-------------
ao_dev track_mode mute volume
0 0 N 0
----------------------------------------ao chn status--------------------
ao_dev ao_chn state read write buf_empty data0 data1 resample_open point_num in_rate out_rate
0 0 enable 0 0 0 0 0 N 0 (null) (null)
0 8 enable 0 0 0 0 0 N 0 (null) (null)
----------------------------------------ao chn vqe status0---------------
ao_dev ao_chn state vqe_open work_state rate point_num anr agc eq hpf write_file
0 0 enable N comm (null) 0 N N N N N
【调试信息说明】
记录当前AO属性配置以及状态信息。
【参数说明】
|
由此项可以计算出实际的音频采样率。例如当此项为40000us 左右、每帧采样点个数配置为320时,可以计算出每秒采样8000 点,即采样率为8kHz。 |
||
AENC¶
【调试信息】
# cat /proc/umap/aenc
[AENC] Version: [V1.0.0.0 B010 Release], Build Time[Sep 7 2019, 12:07:10]
--------------aenc chn attr-------------------------------------------
chn_id payload_type adpcm_type point_num buf_size g726_rate
0 lpcm NULL 480 30 NULL
1 lpcm NULL 480 30 NULL
------------------aenc chn status-------------------------------------
chn_id recv_frame ai_queue_lost enc_ok frame_err buf_full get_stream release_stream mute
0 0 0 0 0 0 0 0 n
1 0 0 0 0 0 0 0 n
【调试信息分析】
记录当前音频编码属性配置以及状态信息。
【参数说明】
ADEC¶
【调试信息】
# cat /proc/umap/adec
[ADEC] Version: [V1.0.0.0 B010 Release], Build Time[Sep 7 2019, 12:07:05]
--------------adec chn attr-------------------------------------------
chn_id payload_type adpcm_type buf_size g726_rate mode orig_send_cnt send_cnt get_cnt put_cnt
0 lpcm NULL 20 NULL packet 0 0 0 0
1 lpcm NULL 20 NULL packet 0 0 0 0
【调试信息分析】
记录当前音频解码属性配置以及状态信息。
【参数说明】
ACODEC¶
【调试信息】
~ # cat /proc/umap/acodec
[ACODEC] Version: [V2.0.0.1 B020 Release], Build Time: [Dec 16 2019, 12:23:32]
--------------------------acodec total status----------------------------
i2s1_fs i2s1_width mixer_left mixer_right adc_clk dac_clk ana_mclk adc_hpf dac_deemph
16kHz 16bit in1_left in1_right fall fall fall y none
--------------------------acodec volume status1--------------------------
gain_left(dB) gain_right(dB) boost_left boost_right adc_left_volume(dB) adc_right_volume(dB)
6 6 0 0 0 0
--------------------------acodec volume status2--------------------------
dac_left_volume(dB) dac_right_volume(dB) mic_left_mute mic_right_mute dac_left_mute dac_right_mute
0 0 n n n n
-------------------------acodec power status-----------------------------
pd_linein_left pd_linein_right pd_adc_left pd_adc_right pd_dac_left pd_dac_right
n n n n n n
-------------------------acodec track status----------------------------
adc_left_sel adc_right_sel dac_left_sel dac_right_sel
left right left right
【调试信息分析】
记录当前acodec输入输出音量状态信息。
【参数说明】
VDEC¶
【调试信息】
~ # cat /proc/umap/vdec
[VDEC] Version: [V1.0.0.0 B010 Release], Build Time[Sep 13 2021, 14:45:48]
------------------------------module param--------------------------------------------------------
g_vdec_max_chn_num mini_buf_mode vb_src g_vdec_compat_mode
128 0 PRIVATE 0
max_video_width max_video_height max_slice_num vdh_msg_num schedule_mode
8192 8192 600 8 NORMAL
max_pic_width max_pic_height progressive_en dynamic_alloc_en capacity_strategy
16384 16384 0 0 0
-----------------------------chn comm attr & params--------------------------------------------
id type max_w max_h width height send_mode str_buf_size frame_buf_size frame_buf_cnt tmv_buf_size
0 H265 1920 1080 1920 1080 FRAME/ BLOCK 2073600 3146496 4 130560
id state display_num display_mode rotation set_user_pic enable_user_pic pic_pool_id tmv_pool_id
0 START 2 PLAYBACK 0 n n 3 4
---------------------------chn video attr & params-------------------------------------------
id vfmw_id ref_num tmv_en err_threshold dec_mode out_order compress_mode video_format
0 0 1 y 30 IPB DISPLAY n TILE
id max_vps_num max_sps_num max_pps_num max_slice_segment_num
0 16 16 64 600
id composite_dec_en quick_mark_mode deployment_mode
0 n ADAPT MODE0
-----------------------------chn pic attr & params-----------------------------------------------
id pixel_format alpha
0 N/A N/A
-----------------------------chn state------------------------------------------------------------
id protocol_err str_unsupport pack_err ref_num_err pic_size_err format_err pic_buf_size_err str_size_over
0 0 0 0 0 0 0 0 0
id pts_buf_free pts_buf_busy buf_len data_len rd_rgn_len scd_left_len wr_rgn_len
0 199 0 3086624 0 26304 2337310 0
id fps stream_end frame_end timer_cnt notify unique_id state send_vgs vgs_back
0 1 0 476 324 13 3 CREATED 0 0
------------------------detail stream state--------------------------------------------------
id mpi_send_cnt mpi_send_len end_code_cnt end_code_len vfmw_get_cnt vfmw_get_len vfmw_rls_cnt vfmw_rls_len
0 476 2431357 476 7616 936 2411240 934 2407483
id vfmw_latest_get_len vfmw_rls_fail_cnt mpi_send_gap
0 30 0 638
--------------------------detail frame store state-----------------------------------------------
id new_pic get_pic discard no_display mpi_get kernel_send kernel_rls meet_end frame_in_vdec
0 4 4 0 0 1 0 0 7 469
id free_node vfmw_node vgs_node vgs_working_node busy_node user_node ref_num
0 36 0 0 0 3 1 1
id vb_cnt max_vb_cnt rotate_vb_cnt
0 4 4 0
id available pic_vb_fail tmv_vb_fail rotate_vb_fail pic_size tmv_size rotate_size cur_pic_pts
0 0 0 0 0 3146496 130560 0 0
id dynamic_range color_gamut
0 SDR8 BT709
---------------------------detail user_data state-------------------------------------------
id enable max_user_data_len free_buf_len data_buf_len
0 1 1024 4096 0
id mpi_get_cnt mpi_get_len mpi_rls_cnt mpi_rls_len discard_cnt discard_len vdec_get_cnt vdec_get_len
0 0 0 0 0 0 0 0 0
---------------------------detail low_delay state-------------------------------------------
id input_enable output_enable line_num
0 0 0 540
【调试信息分析】
记录当前解码通道的使用状况及其属性配置。可用于检查属性配置以及当前解码通道统计状态。
【参数说明】
|
Linux系统可通过加载ssxxx_vdec.ko或ssxxx_ vdec.ko时设置模块参数g_vdec_max_chn_num配置。 |
||
VFMW¶
CTRL¶
【调试信息】
# cat /proc/umap/vfmw_ctrl
[VFMW] version:[V1.0.0.0 B010 Release] build time:[Aug 22 2019, 10:37:11]
----- module param ------------------------------------------------------
max_chan_num max_width max_height max_slice msg_num
128 16888 16888 600 8
----- ctrl --------------------------------------------------------------
check1 check2 version state ref_cnt ctx_size vir_num
1234abcd 1234abcd 2018101001 1 1 64 38
----- channel param -----------------------------------------------------
chan_id unid prio state max_wid max_hig dec_mod out_mod linear cmp_en err_thr slc_ldy out_ldy line_num
0 0 5 1 0 0 1 1 0 1 30 0 0 0
chan_id mdc_path max_vps max_sps max_pps max_slice ref_num stop_cnt reset_cnt usrdat_en usrdat_len
0 0 2 2 2 16 3 0 0 1 1024
----- fsp ---------------------------------------------------------------
check1 check2 state ref_cnt ctx_size
1234abcd 1234abcd init 1 17176
chan_id unid state width height req_frm req_pmv hav_frm hav_pmv use_frm use_pmv
0 0 1 704 512 2 4 0 0 2 2
----- voq ---------------------------------------------------------------
check1 check2 state ref_cnt ctx_size
1234abcd 1234abcd init 1 1464
chan_id unid state fps tail head history ins_cnt rcv_try rcv_ok rls_try rls_ok
0 0 1 99 24 24 24 27896 27896 27896 27896 27896
----- dps ---------------------------------------------------------------
check1 check2 state ref_cnt ctx_size ser_mod
1234abcd 1234abcd init 1 36896 0
chan_id unid state tail head mak_cnt rcv_try rcv_ok rls_ok node0 node1 node2
0 0 1 0 2 27896 105838 27896 27896 idle idle make
#
【调试信息分析】
记录VFMW当前解码通道的使用状况及其属性配置。可用于检查属性配置以及当前解码通道统计状态。
【参数说明】
STM¶
【调试信息】
~ # cat /proc/umap/vfmw_stm
[VFMW] version:[V1.0.0.0 B010 Release] build time:[Aug 22 2019, 10:56:57]
----- stm ---------------------------------------------------------------
check1 check2 state ref_cnt ctx_size hal_size
1234abcd 1234abcd 1 0 298736 12491776
----- thread ------------------------------------------------------------
id unid cmd state run_pos run_cnt chan_id
0 3 start start 5 326830 0
----- dev ---------------------------------------------------------------
dev_id unid state up_msg dn_msg str_cnt int_cnt str_seg ins_seg chan_id
0 0 idle 24576 20480 97387 97387 3 2 0
----- chan --------------------------------------------------------------
chan_id unid state prio raw_lst seg_lst std_vid buf_cfg
0 2 run 5 1 1 17 12441600
----- raw ---------------------------------------------------------------
chan_id tail head history push_num push_size have_num have_size num_cnt size_cnt fill_new last_cfg kbps
0 397 397 397 2 4443 0 0 208269 568392390 0 1 4215
----- seg ---------------------------------------------------------------
chan_id tail head history buf_size new_num num_cnt size_cnt rcv_try rcv_ok rls_try rls_ok
0 464 464 464 12441600 0 225744 568058979 382824 225744 225744 225744
【调试信息分析】
记录码流模块STM当前通道的使用状况及其属性配置。可用于检查属性配置以及当前通道统计状态。
【参数说明】
SYN¶
【调试信息】
# [VFMW] version:[V1.0.0.0 B010 Release] build time:[Aug 22 2019, 10:56:57]
----- syn ---------------------------------------------------------------
version ctx_size
2017070400 118740
----- thread ------------------------------------------------------------
id cmd state run_pos run_cnt
4 2 1 1 370907
----- channel -----------------------------------------------------------
chan_id state prio vid_std std_change rcv_seg_try rcv_seg_ok rcv_dps_try rcv_dps_ok
0 3 5 17 0 544370 321500 148037 148037
chan_id width height depth size_change total_vps total_sps total_pps slice_num frame_num
0 0 0 0 0 0 0 0 0 0
#
【调试信息分析】
记录语法模块SYN当前通道的使用状况及其属性配置。可用于检查属性配置以及当前通道统计状态。
【参数说明】
DEC¶
【调试信息】
~ # cat /proc/umap/vfmw_dec
[VFMW] version:[V1.0.0.0 B010 Release] build time:[Aug 22 2019, 10:56:57]
----- decode ------------------------------------------------------------
check1 check2 version ctx_size hal_size
1234abcd 1234abcd 2017092700 0 0
----- thread ------------------------------------------------------------
id state run_pos run_cnt chan_id
0 1 50 637563 0
----- dev ---------------------------------------------------------------
dev_id type state reg_num msg_num up_info cfg_num reset_cnt bd_int pd_int
0 1 1 8 8 4 202363 0 0 202363
----- channel -----------------------------------------------------------
chan_id state prio vid_std run_cnt dps_try dps_ok mem_try mem_ok cfg_task dec_task
0 2 5 17 828319 828319 202363 202363 202363 0 0
chan_id reg_try reg_ok msg_try msg_ok cur_radio err_frame
0 0 0 0 0 0 0
----- task --------------------------------------------------------------
chan_id task_id dps_id state dev_id msg_id reg_id start_cnt dec_slc
#
【调试信息分析】
记录解码模块DEC当前通道的使用状况及其属性配置。可用于检查属性配置以及当前通道统计状态。
【参数说明】
MDC¶
【调试信息】
~ # cat /proc/umap/vfmw_mdc
----- mdc clt img -----------------------------------------------------------------------------------------------------
chan_id head_c head_s rls_c rls_s rcv_try rcv_ok rls_try rls_ok
0 57 59 57 57 57 57 57 57
----- usr data --------------------------------------------------------------------------------------------------------
buf_len rd_head rd_tail wr_head wr_tail
8192 480 480 480 480
【调试信息分析】
记录解码模块MDC侧与ARM侧共享内存信息:MDC通道的帧存队列状态mdc clt img及其user data属性配置。可用于检查MDC侧与ARM侧交互状态。仅SS626V100有此调试信息。
【参数说明】
VDA¶
【调试信息】
# cat /proc/umap/vda
[VDA] version: [V1.0.0.0 B010 Release], build time[Sep 4 2019, 11:49:46]
----------------------------------------module param---------------------
vda_max_chn_num
128
----------------------------------------vda chn attr 1-------------------
vda_chn width height mode alg mb_size mb_bits ref_mode
0 352 288 0 1 1 0 0
buf_num interval bg_wgt rgn_num
8 4 128 1
----------------------------------------vda chn attr 2-------------------
vda_chn rgn x y width height sad_th ar_th occ_th uncover_th
0 0 0 0 352 288 100 0 0 0
obj_num sad obj pixel_num
128 1 1 1
----------------------------------------vda state 1----------------------
vda_chn rgn bg_phys bg_srd ref_phys ref_std schedule first
0 0 0 0 0 0 1 0
occ_cnt uncover_cnt vda_cnt ref_update
0 0 16 0
----------------------------------------vda state 2----------------------
vda_chn ref_update mem_phys mem_virt mem_size ref_phys
0 0 0x6f5cc000 0xffffff8009f44000 14720 0x695e1a00
rgn_idx
0
----------------------------------------vda state 3----------------------
vda_chn vi_send vdec_send vpss_send user_send receive lost
0 0 0 77 0 16 0
----------------------------------------vda call vgs state 1-------------
vda_chn call_cnt job_success job_fail task_success task_fail
0 16 16 0 16 0
end_success end_fail
16 0
----------------------------------------vda call vgs state 2-------------
vda_chn callback_cnt job_fin_ok job_fin_fail
0 16 16 0
【调试信息分析】
记录当前VDA属性配置以及状态信息,SS928V100不支持。
【参数说明】
AVS¶
【调试信息】
# cat /proc/umap/avs
[AVS] Version: [V2.0.2.0 B010 Release], Build Time[Aug 4 2020, 19:46:52]
----------------------------------------avs module param----------------------------------------------
working_set_size
252928
----------------------------------------avs grp attr------------------------------------------------------
grp mode start pipe_num sync_pipe_en src_rate dst_rate
0 BLEND Y 4 N -1 -1
----------------------------------------avs lut attr------------------------------------------------------
grp accuracy phys_addr[0] phys_addr[1] phys_addr[2] phys_addr[3]
0 HIGH 0x78d15000 0x79115000 0x79515000 0x79915000
----------------------------------------avs gain attr------------------------------------------------------
grp mode coef0 coef1 coef2 coef3
0 MANUAL 16384 16384 16384 16384
----------------------------------------avs out attr-------------------------------------------------------
grp projection_mode center_x center_y fov_x fov_y
0 EQUIRECTANGULAR 3040 560 18000 8000
grp orig_yaw orig_pitch orig_roll yaw pitch roll
0 0 0 0 0 0 0
----------------------------------------avs split attr------------------------------------------------------
grp pipe_num0 avs_pipe0 pipe_num1 avs_pipe1
----------------------------------------avs cube map attr-----------------------------------------------
grp bg_color_en bg_color surface_len start_point
----------------------------------------avs chn attr------------------------------------------------------
grp chn enable width height compress dynamic_range depth
0 0 Y 6080 2800 Y - 1
0 1 Y 3040 1400 N SDR8 1
----------------------------------------avs grp work status--------------------------------------------
grp start_fail cost_time max_cost_time
0 11070 18669467 33538168
----------------------------------------avs pipe queue-------------------------------------------------
grp free0 free1 free2 free3
0 2 2 2 2
grp busy0 busy1 busy2 busy3
0 2 2 2 2
----------------------------------------avs pipe work status-------------------------------------------
grp recv0 recv1 recv2 recv3
0 7 7 7 7
grp lost0 lost1 lost2 lost3
0 0 0 0 0
----------------------------------------avs chn output status------------------------------------------
grp chn width height pixel_fmt dynamic_range compress send_ok frame_rate
0 0 6080 2800 SP420 SDR8 Y 5 2
0 1 3040 1400 SP420 SDR8 N 3 1
【调试信息分析】
记录当前AVS属性配置以及状态信息。目前仅SS928V100支持。
【参数说明】
DIS¶
【调试信息】
~ # cat /proc/umap/dis
[DIS] Version: [V1.0.0.0 B010 Release], Build Time[Sep 6 2019, 15:02:04]
----------------------------------------dis chn cfg info------------------------------------------------------
chn mode motion_level pdt_type buf_num crop_ratio frame_rate camera_steady scale
0 6_DOF_GME NORM DV 10 80 30 N Y
----------------------------------------dis chn attr info-----------------------------------------------------
chn enable moving_subject_level rolling_shutter_coef timelag still_crop hor_limit ver_limit
0 Y 0 0 1000 N 1000 1000
----------------------------------------dis chn param info--------------------------------------------------
chn large_motion_stable_coef low_freq_motion_preserve low_freq_motion_freq fpd_adaptive_en
0 100 10 100 N
----------------------------------------dis chn sys cfg info--------------------------------------------------
chn bit_width in_width in_height out_width out_height
0 8 1920 1080 1920 1080
----------------------------------------dis debug info-------------------------------------------------------
chn node_num free_num busy_num task_num bypass_num norm_num sub_vgs_num sub_gme_num fail_num lost_num
0 20 17 3 28 0 28 1 1 0 0
chn vgs_time gme_time gme_hw_time vgs_max_time gme_max_time gme_hw_max_time
0 40134 64230 52818 51188 78590 67036
chn refresh_thresh convergence_frame
0 30 0
【调试信息分析】
记录DIS模块属性配置以及状态信息。目前仅SS928V100支持。
【参数说明】
GDC¶
【调试信息】
~ # cat /proc/umap/gdc
[GDC] Version: [V2.0.2.0 B020 Release],Build Time[Aug 11 2020, 17:42:09]
----------------------------------------module param-------------------------------------------------------
g_max_job_num g_max_task_num g_max_node_num
128 200 200
----------------------------------------recent job info-------------------------------------------------------
seq_no mod_name job_hdl task_num state in_size out_size cost_time hw_time
0 vi 84 0 proced 0 0 301325 0
1 vi 79 2 proced 4147200 4147200 443621 166399
2 vi 78 0 proced 0 0 449078 0
3 vi 77 2 proced 4147200 4147200 498595 166426
4 vi 76 2 proced 4147200 4147200 345401 178732
5 vi 73 0 proced 0 0 361357 0
6 vi 72 2 proced 4147200 4147200 400311 178765
7 vi 71 0 proced 0 0 232777 0
----------------------------------------max waste time job info--------------------------------------------
seq_no mod_name job_hdl task_num state in_size out_size cost_time hw_time
0 vi 77 2 proced 4147200 4147200 498595 166426
----------------------------------------recent job info2-----------------------------------------------------
seq_no ldc dis rotation spread fov fisheye pmf bypass low_delay pixel_format cmp_mode
0 0 0 0 1 0 0 0 0 0 YVU420->YVU420 NONE->NONE
1 0 0 0 0 0 1 0 0 0 YVU420->YVU420 NONE->NONE
2 0 0 0 1 0 0 0 0 0 YVU420->YVU420 NONE->NONE
3 0 0 0 1 0 0 0 0 0 YVU420->YVU420 NONE->NONE
4 0 0 0 0 0 1 0 0 0 YVU420->YVU420 NONE->NONE
5 0 0 0 1 0 0 0 0 0 YVU420->YVU420 NONE->NONE
6 0 0 0 1 0 0 0 0 0 YVU420->YVU420 NONE->NONE
7 0 0 0 0 0 1 0 0 0 YVU420->YVU420 NONE->NONE
----------------------------------------max waste time job info2------------------------------------------
seq_no ldc dis rotation spread fov fisheye pmf bypass low_delay pixel_format cmp_mode
0 0 0 0 1 0 0 0 0 0 YVU420->YVU420 NONE->NONE
----------------------------------------gdc job status--------------------------------------------------------
success fail cancel all_job_num free_num begin_num busy_num procing_num
24 0 0 128 120 0 3 5
----------------------------------------gdc task status------------------------------------------------------
success fail cancel all_task_num free_num busy_num
48 0 0 200 189 11
----------------------------------------gdc node status-----------------------------------------------------
all_node_num busy_num min_free max_in_job submit_fail interrupt_fail
200 6 188 2 0 0
----------------------------------------gdc int status--------------------------------------------------------
interrupt_num interrupt_time hal_proc_time
24 0 0
----------------------------------------gdc call vgs cover status--------------------------------------------
begin_success begin_fail task_success task_fail end_success end_fail callback_cnt
29 0 29 0 29 0 27
----------------------------------------gdc call vgs scale status--------------------------------------------
begin_success begin_fail task_success task_fail end_success end_fail callback_cnt
0 0 0 0 0 0 0
----------------------------------------gdc call correction status-------------------------------------------
begin_success begin_fail task_success task_fail end_success end_fail callback_cnt
301 0 328 0 301 0 298
【调试信息分析】
记录GDC模块最近完成的若干任务、最近耗时最大的任务、历史累计信息及中断相关信息。
【参数说明】
DCC¶
【调试信息】
~ # cat /proc/umap/dcc
[DCC] Version: [V1.0.0.0 B010 Release], Build Time[Jul 2 2021, 15:51:47]
-----DCC------------------------------------------------
idx state_m state_s mod_id send_mod send_id send_cmd rcv_mod rcv_id rcv_cmd
5 0 5 85 84 0 5 34 0 5
【调试信息分析】
记录当前DCC模块的状态调试信息,仅SS626V100支持。
【参数说明】
VDEC_ADAPT¶
【调试信息】
~ # cat /proc/umap/vdec_adapt
[VDEC_ADAPT] Version: [V1.0.0.0 B010 Release], Build Time[Sep 13 2021, 19:43:49]
----------------------------------------pic/tmv buf state---------------------------------------------------
id chn_id vfmw_id pic_num tmv_num
0 0 0 4 2
pic_blk vfmw_used vdec_used frozen ref_cnt blk_handle pool_id phy_addr length
0 0 1 0 0 196608 3 0x6ecec000 3146496
1 0 1 0 0 196609 3 0x6efec300 3146496
2 0 1 0 1 196610 3 0x6f2ec600 3146496
3 0 1 0 0 196611 3 0x6f5ec900 3146496
tmv_blk vfmw_used frozen ref_cnt blk_handle pool_id phy_addr length
0 0 0 1 262144 4 0x6f8ed000 130560
1 0 0 0 262145 4 0x6f90ce00 130560
【调试信息分析】
记录当前VDEC_ADAPT模块的状态调试信息,仅SS626V100支持。
【参数说明】