1. 硬件获取渠道及型号: 自研
3. 问题模块:摄像头接入模块
4. 问题描述:
J5 MIPI RX3接口通过96712解串器同时接入4路AR0233 RAW数据格式摄像头,配置帧率25fps,通过TROS Sensor Centor启动;在没有开启摄像头同步触发的情况下,4路摄像头帧率正常,开始同步触发后,发现某1路(有时候2路)摄像头的帧率会下降到12~13帧左右。
通过sysfs查看cimdma输入帧率pipe line 2丢帧:

请问可能是什么原因。
5. 摄像头配置:
root@j5dvb:/map/basic_sample_new/config/sensor_center/camera/j5dvb/RX1_RX3# cat hb_j5dev.json
{
"config_number": 1,
"board_name": "xj5dvb",
"config_0": {
"comment": "ar0233 and ovx8b raw12 25fps on host1 max9295-max96712",
"interface_type": "mipi",
"lpwm_num":4,
"lpwm_0":{
"lpwm_index":0,
"lpwm_enable":"0x2",
"trigger_mode":2,
"offset_us":[
1,
1,
1,
1
],
"period_us":[
40000,
40000,
40000,
40000
],
"duty_us":[
10,
10,
10,
10
]
},
"lpwm_1":{
"lpwm_index":1,
"lpwm_enable":"0x0",
"trigger_mode":2,
"offset_us":[
1,
1,
1,
1
],
"period_us":[
40000,
40000,
40000,
40000
],
"duty_us":[
10,
10,
10,
10
]
},
"lpwm_2":{
"lpwm_index":2,
"lpwm_enable":"0x0",
"trigger_mode":2,
"offset_us":[
1,
1,
1,
1
],
"period_us":[
40000,
40000,
40000,
40000
],
"duty_us":[
10,
10,
10,
10
]
},
"lpwm_3":{
"lpwm_index":3,
"lpwm_enable":"0x8",
"trigger_mode":2,
"offset_us":[
1,
1,
1,
1
],
"period_us":[
40000,
40000,
40000,
40000
],
"duty_us":[
10,
10,
10,
10
]
},
"deserial_num": 2,
"deserial_0": {
"deserial_name": "max96712",
"deserial_addr": "0x29",
"bus_type": 0,
"bus_num": 5,
"mfp_index": 4,
"power_mode": 0,
"gpio_pin": [
487,
331
],
"gpio_level": [
0,
0
]
},
"deserial_1": {
"deserial_name": "max96712",
"deserial_addr": "0x29",
"bus_type": 0,
"bus_num": 3,
"mfp_index": 8,
"power_mode": 1,
"gpio_pin": [
487,
331
],
"gpio_level": [
0,
0
]
},
"port_number": 6,
"port_0": {
"dev_port": 0,
"bus_type": 0,
"bus_num": 5,
"entry_num": 1,
"serial_addr1": "0xff",
"serial_addr": "0x41",
"sensor_addr": "0x11",
"sensor_name": "ar0233",
"reg_width": 16,
"extra_mode": 4,
"config_index": 1280,
"sensor_mode": 5,
"fps": 25,
"resolution": 1280,
"deserial_index": 0,
"deserial_port": 0,
"data_path": "./config/sensor_center/camera/j5dvb/RX1_RX3/cim_config.json",
"config_path": "/system/etc/cam/hb_mipi_ar0233_raw12_%dfps_%dP.json"
},
"port_1": {
"dev_port": 1,
"bus_type": 0,
"bus_num": 5,
"entry_num": 1,
"serial_addr1": "0xff",
"serial_addr": "0x42",
"sensor_addr": "0x36",
"sensor_name": "ovx8b",
"reg_width": 16,
"extra_mode": 0,
"config_index": 262,
"sensor_mode": 5,
"fps": 25,
"resolution": 2160,
"deserial_index": 0,
"deserial_port": 1,
"data_path": "./config/sensor_center/camera/j5dvb/RX1_RX3/cim_config.json",
"config_path": "/system/etc/cam/hb_mipi_ovx8b_raw12_%dfps_%dP.json"
},
"port_2": {
"dev_port": 2,
"bus_type": 0,
"bus_num": 3,
"deserial_index": 1,
"deserial_port": 0,
"entry_num": 3,
"config_index": 1280,
"serial_addr1": "0xff",
"serial_addr": "0x41",
"sensor_addr": "0x11",
"sensor_name": "ar0233",
"sensor_mode": 5,
"reg_width": 16,
"extra_mode": 5,
"fps": 25,
"resolution": 1280,
"config_path": "/system/etc/cam/hb_mipi_ar0233_raw12_%dfps_%dP.json",
"data_path": "./config/sensor_center/camera/j5dvb/RX1_RX3/cim_config.json"
},
"port_3": {
"dev_port": 3,
"bus_type": 0,
"bus_num": 3,
"deserial_index": 1,
"deserial_port": 1,
"entry_num": 3,
"config_index": 1280,
"serial_addr1": "0xff",
"serial_addr": "0x42",
"sensor_addr": "0x12",
"sensor_name": "ar0233",
"sensor_mode": 5,
"reg_width": 16,
"extra_mode": 5,
"fps": 25,
"resolution": 1280,
"config_path": "/system/etc/cam/hb_mipi_ar0233_raw12_%dfps_%dP.json",
"data_path": "./config/sensor_center/camera/j5dvb/RX1_RX3/cim_config.json"
},
"port_4": {
"dev_port": 4,
"bus_type": 0,
"bus_num": 3,
"deserial_index": 1,
"deserial_port": 2,
"dev_port": 1,
"entry_num": 3,
"config_index": 1280,
"serial_addr1": "0xff",
"serial_addr": "0x43",
"sensor_addr": "0x13",
"sensor_name": "ar0233",
"sensor_mode": 5,
"reg_width": 16,
"extra_mode": 5,
"fps": 25,
"resolution": 1280,
"config_path": "/system/etc/cam/hb_mipi_ar0233_raw12_%dfps_%dP.json",
"data_path": "./config/sensor_center/camera/j5dvb/RX1_RX3/cim_config.json"
},
"port_5": {
"dev_port": 5,
"bus_type": 0,
"bus_num": 3,
"deserial_index": 1,
"deserial_port": 3,
"dev_port": 1,
"entry_num": 3,
"config_index": 1280,
"serial_addr1": "0xff",
"serial_addr": "0x44",
"sensor_addr": "0x14",
"sensor_name": "ar0233",
"sensor_mode": 5,
"reg_width": 16,
"extra_mode": 5,
"fps": 25,
"resolution": 1280,
"config_path": "/system/etc/cam/hb_mipi_ar0233_raw12_%dfps_%dP.json",
"data_path": "./config/sensor_center/camera/j5dvb/RX1_RX3/cim_config.json"
}
}
}
{
"pipeline0": {
"cim": {
"input": {
"mipi": {
"enable": 1,
"width": 1920,
"height": 1280,
"format": 44,
"rx_index": 1,
"vc_index": 0,
"channels": 1,
"raw16_splict": 0,
"dbg_clear": 0,
"y_uv_swap": 0,
"tag_enable": 0,
"function": {
"enable_frame_id": 1,
"enable_bypass": 0,
"enable_pattern": 0,
"hdr_mode": 0,
"set_init_frame_id": 1,
"set_bypass_channels": 1
}
}
},
"output": {
"pym": {
"pym0_en": 0,
"pym1_en": 0
},
"isp0": {
"isp_ch0": 1,
"isp_ch1": 0,
"isp_ch2": 0,
"isp_ch3": 0
},
"isp1": {
"isp_ch0": 0,
"isp_ch1": 0,
"isp_ch2": 0,
"isp_ch3": 0
}
}
}
},
"pipeline1": {
"cim": {
"input": {
"mipi": {
"enable": 1,
"width": 3840,
"height": 2160,
"format": 44,
"rx_index": 1,
"vc_index": 1,
"channels": 1,
"raw16_splict": 0,
"dbg_clear": 0,
"y_uv_swap": 0,
"tag_enable": 0,
"function": {
"enable_frame_id": 1,
"enable_bypass": 0,
"enable_pattern": 0,
"hdr_mode": 0,
"set_init_frame_id": 1,
"set_bypass_channels": 1
}
}
},
"output": {
"pym": {
"pym0_en": 0,
"pym1_en": 0
},
"isp0": {
"isp_ch0": 0,
"isp_ch1": 1,
"isp_ch2": 0,
"isp_ch3": 0
},
"isp1": {
"isp_ch0": 0,
"isp_ch1": 0,
"isp_ch2": 0,
"isp_ch3": 0
}
}
}
},
"pipeline2": {
"cim_dma": {
"input": {
"mipi": {
"enable": 1,
"width": 1920,
"height": 1280,
"format": 44,
"rx_index": 3,
"vc_index": 0,
"raw16_splict": 0,
"dbg_clear": 0,
"y_uv_swap": 0,
"tag_enable": 0,
"function": {
"enable_frame_id": 1,
"enable_DMA": 1,
"pack_mode": 1,
"enable_bypass": 0,
"enable_id_decoder": 0,
"set_init_frame_id": 1,
"set_bypass_channels": 1,
"enable_pattern": 0
}
}
},
"output": {
"ddr": {
"enable": 1,
"format": 44,
"width": 1920,
"height": 1280,
"buf_num": 6,
"cached": 0,
"use_ispbuf": 1
}
}
}
},
"pipeline3": {
"cim_dma": {
"input": {
"mipi": {
"enable": 1,
"width": 1920,
"height": 1280,
"format": 44,
"rx_index": 3,
"vc_index": 1,
"raw16_splict": 0,
"dbg_clear": 0,
"y_uv_swap": 0,
"tag_enable": 0,
"function": {
"enable_frame_id": 1,
"enable_DMA": 1,
"pack_mode": 1,
"enable_bypass": 0,
"enable_id_decoder": 0,
"set_init_frame_id": 1,
"set_bypass_channels": 1,
"enable_pattern": 0
}
}
},
"output": {
"ddr": {
"enable": 1,
"format": 44,
"width": 1920,
"height": 1280,
"buf_num": 6,
"cached": 0,
"use_ispbuf": 1
}
}
}
},
"pipeline4": {
"cim_dma": {
"input": {
"mipi": {
"enable": 1,
"width": 1920,
"height": 1280,
"format": 44,
"rx_index": 3,
"vc_index": 2,
"raw16_splict": 0,
"dbg_clear": 0,
"y_uv_swap": 0,
"tag_enable": 0,
"function": {
"enable_frame_id": 1,
"enable_DMA": 1,
"pack_mode": 1,
"enable_bypass": 0,
"enable_id_decoder": 0,
"set_init_frame_id": 1,
"set_bypass_channels": 1,
"enable_pattern": 0
}
}
},
"output": {
"ddr": {
"enable": 1,
"format": 44,
"width": 1920,
"height": 1280,
"buf_num": 6,
"cached": 0,
"use_ispbuf": 1
}
}
}
},
"pipeline5": {
"cim_dma": {
"input": {
"mipi": {
"enable": 1,
"width": 1920,
"height": 1280,
"format": 44,
"rx_index": 3,
"vc_index": 3,
"raw16_splict": 0,
"dbg_clear": 0,
"y_uv_swap": 0,
"tag_enable": 0,
"function": {
"enable_frame_id": 1,
"enable_DMA": 1,
"pack_mode": 1,
"enable_bypass": 0,
"enable_id_decoder": 0,
"set_init_frame_id": 1,
"set_bypass_channels": 1,
"enable_pattern": 0
}
}
},
"output": {
"ddr": {
"enable": 1,
"format": 44,
"width": 1920,
"height": 1280,
"buf_num": 6,
"cached": 0,
"use_ispbuf": 1
}
}
}
}
}
{
"pipeline0": {
"isp": {
"hw_id": 0,
"ctx_id": 0,
"sched_mode": 1,
"hdr_mode": 1,
"width": 1920,
"height": 1280,
"frame_rate": 25,
"input_crop_enable": 0,
"input_crop_x": 0,
"input_crop_y": 0,
"input_crop_width": 0,
"input_crop_height": 0,
"output_crop_enable": 0,
"output_crop_x": 0,
"output_crop_y": 0,
"output_crop_width": 0,
"output_crop_height": 0,
"isp_stream_output_format": 1,
"isp_dma_output_format": 0,
"calib_mode": 1,
"calib_lname": "/system/etc/cam/lib_ar0233RGGB_Pwl12_WS_Fov100.so",
"isp_algo_state": 1
},
"pym": {
"pym_config": {
"pym_hw_id": 0,
"pym_mode": 4,
"output_buf_num": 6,
"time_out": 2000,
"y_hor_coeff4": 0,
"y_hor_coeff3": 1,
"y_hor_coeff2": 1,
"y_hor_coeff1": 0,
"y_hor_coeff0": 0,
"y_ver_coeff4": 0,
"y_ver_coeff3": 1,
"y_ver_coeff2": 1,
"y_ver_coeff1": 0,
"y_ver_coeff0": 0,
"c_hor_coeff4": 0,
"c_hor_coeff3": 1,
"c_hor_coeff2": 1,
"c_hor_coeff1": 0,
"c_hor_coeff0": 0,
"c_ver_coeff4": 0,
"c_ver_coeff3": 1,
"c_ver_coeff2": 1,
"c_ver_coeff1": 0,
"c_ver_coeff0": 0,
"y_right_shift": 2,
"c_right_shift": 2
},
"pym_ctrl": {
"source_en": 1,
"src_uv_bypass": 0,
"src_in_width": 1920,
"src_in_height": 1280,
"src_in_stride_y": 1920,
"src_in_stride_uv": 1920,
"src_start_top": 0,
"src_start_left": 0,
"src_region_width": 1920,
"src_region_height": 1280,
"src_out_stride_y": 1920,
"src_out_stride_uv": 1920,
"suffix_hb_val": 68,
"prefix_hb_val": 2,
"suffix_vb_val": 20,
"prefix_vb_val": 2,
"pixel_num_before_sol": 16,
"gs_max_layer_en": 5,
"gs_en": 0,
"gs_uv_bypass": 0,
"gauss_info": [
{
"gs_start_top": 20,
"gs_start_left": 50,
"gs_region_width": 480,
"gs_region_height": 300,
"gs_stride_y": 480,
"gs_stride_uv": 480
},
{
"gs_start_top": 10,
"gs_start_left": 40,
"gs_region_width": 240,
"gs_region_height": 130,
"gs_stride_y": 240,
"gs_stride_uv": 240
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 130,
"gs_region_height": 70,
"gs_stride_y": 130,
"gs_stride_uv": 130
},
{
"gs_start_top": 10,
"gs_start_left": 0,
"gs_region_width": 64,
"gs_region_height": 32,
"gs_stride_y": 64,
"gs_stride_uv": 64
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 0,
"gs_region_height": 0,
"gs_stride_y": 0,
"gs_stride_uv": 0
}
],
"bl_max_layer_en": 0,
"bl_en": 0,
"bl_uv_bypass": 0,
"bilinear_info": [
{
"bl_start_top": 64,
"bl_start_left": 32,
"bl_region_width": 320,
"bl_region_height": 240,
"bl_stride_y": 320,
"bl_stride_uv": 320
},
{
"bl_start_top": 6,
"bl_start_left": 64,
"bl_region_width": 240,
"bl_region_height": 80,
"bl_stride_y": 240,
"bl_stride_uv": 240
},
{
"bl_start_top": 16,
"bl_start_left": 8,
"bl_region_width": 120,
"bl_region_height": 60,
"bl_stride_y": 120,
"bl_stride_uv": 120
},
{
"bl_start_top": 0,
"bl_start_left": 12,
"bl_region_width": 48,
"bl_region_height": 32,
"bl_stride_y": 48,
"bl_stride_uv": 48
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 0,
"bl_region_height": 0,
"bl_stride_y": 0,
"bl_stride_uv": 0
}
],
"upscale_roi_en": 1,
"us_roi_uv_bypass": 0,
"us_roi_start_left": 0,
"us_roi_start_top": 0,
"us_roi_region_width": 480,
"us_roi_region_height": 240,
"us_roi_stride_y": 640,
"us_roi_stride_uv": 640,
"us_roi_out_width": 640,
"us_roi_out_height": 480,
"ds_roi_en": 0,
"ds_roi_uv_bypass": 0,
"ds_roi": [
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 50,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 800,
"ds_roi_stride_uv": 800,
"ds_roi_out_width": 800,
"ds_roi_out_height": 480
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 16,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 700,
"ds_roi_stride_uv": 700,
"ds_roi_out_width": 700,
"ds_roi_out_height": 500
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 8,
"ds_roi_start_left": 48,
"ds_roi_region_width": 720,
"ds_roi_region_height": 480,
"ds_roi_stride_y": 640,
"ds_roi_stride_uv": 640,
"ds_roi_out_width": 640,
"ds_roi_out_height": 320
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 18,
"ds_roi_start_left": 24,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 320,
"ds_roi_stride_uv": 320,
"ds_roi_out_width": 320,
"ds_roi_out_height": 160
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 512,
"ds_roi_stride_uv": 512,
"ds_roi_out_width": 512,
"ds_roi_out_height": 240
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 10,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 122,
"ds_roi_stride_uv": 122,
"ds_roi_out_width": 122,
"ds_roi_out_height": 32
}
],
"pre_line_int_0_set": 0,
"pre_line_int_1_set": 0,
"pre_line_int_2_set": 0,
"pre_line_int_3_set": 0,
"pre_line_int_4_set": 0,
"pre_line_int_5_set": 0,
"pre_line_int_6_set": 0,
"pre_line_int_7_set": 0
}
},
"gdc": {
"input_width": 1920,
"input_height": 1280,
"output_width": 1920,
"output_height": 1280,
"buf_num": 8,
"fb_buf_num": 8
}
},
"pipeline1": {
"isp": {
"hw_id": 0,
"ctx_id": 1,
"sched_mode": 1,
"hdr_mode": 1,
"width": 3840,
"height": 2160,
"frame_rate": 25,
"input_crop_enable": 0,
"input_crop_x": 0,
"input_crop_y": 0,
"input_crop_width": 0,
"input_crop_height": 0,
"output_crop_enable": 0,
"output_crop_x": 0,
"output_crop_y": 0,
"output_crop_width": 0,
"output_crop_height": 0,
"isp_stream_output_format": 1,
"isp_dma_output_format": 0,
"calib_mode": 1,
"calib_lname": "/system/etc/cam/lib_x8bRGGB_pwl12_PH_Fov120.so",
"isp_algo_state": 1
},
"pym": {
"pym_config": {
"pym_hw_id": 0,
"pym_mode": 4,
"output_buf_num": 6,
"time_out": 6000,
"y_hor_coeff4": 0,
"y_hor_coeff3": 1,
"y_hor_coeff2": 1,
"y_hor_coeff1": 0,
"y_hor_coeff0": 0,
"y_ver_coeff4": 0,
"y_ver_coeff3": 1,
"y_ver_coeff2": 1,
"y_ver_coeff1": 0,
"y_ver_coeff0": 0,
"c_hor_coeff4": 0,
"c_hor_coeff3": 1,
"c_hor_coeff2": 1,
"c_hor_coeff1": 0,
"c_hor_coeff0": 0,
"c_ver_coeff4": 0,
"c_ver_coeff3": 1,
"c_ver_coeff2": 1,
"c_ver_coeff1": 0,
"c_ver_coeff0": 0,
"y_right_shift": 2,
"c_right_shift": 2
},
"pym_ctrl": {
"source_en": 1,
"src_uv_bypass": 0,
"src_in_width": 3840,
"src_in_height": 2160,
"src_in_stride_y": 3840,
"src_in_stride_uv": 3840,
"src_start_top": 0,
"src_start_left": 0,
"src_region_width": 3840,
"src_region_height": 2160,
"src_out_stride_y": 3840,
"src_out_stride_uv": 3840,
"suffix_hb_val": 68,
"prefix_hb_val": 2,
"suffix_vb_val": 20,
"prefix_vb_val": 2,
"pixel_num_before_sol": 16,
"gs_max_layer_en": 5,
"gs_en": 31,
"gs_uv_bypass": 0,
"gauss_info": [
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 1920,
"gs_region_height": 1080,
"gs_stride_y": 1920,
"gs_stride_uv": 1920
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 960,
"gs_region_height": 540,
"gs_stride_y": 960,
"gs_stride_uv": 960
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 480,
"gs_region_height": 270,
"gs_stride_y": 480,
"gs_stride_uv": 480
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 240,
"gs_region_height": 134,
"gs_stride_y": 240,
"gs_stride_uv": 240
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 120,
"gs_region_height": 60,
"gs_stride_y": 128,
"gs_stride_uv": 128
}
],
"bl_max_layer_en": 5,
"bl_en": 31,
"bl_uv_bypass": 0,
"bilinear_info": [
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 1920,
"bl_region_height": 1080,
"bl_stride_y": 1920,
"bl_stride_uv": 1920
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 960,
"bl_region_height": 540,
"bl_stride_y": 960,
"bl_stride_uv": 960
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 480,
"bl_region_height": 270,
"bl_stride_y": 480,
"bl_stride_uv": 480
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 240,
"bl_region_height": 134,
"bl_stride_y": 240,
"bl_stride_uv": 240
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 120,
"bl_region_height": 60,
"bl_stride_y": 128,
"bl_stride_uv": 128
}
],
"upscale_roi_en": 1,
"us_roi_uv_bypass": 0,
"us_roi_start_left": 0,
"us_roi_start_top": 0,
"us_roi_region_width": 1920,
"us_roi_region_height": 1080,
"us_roi_stride_y": 1920,
"us_roi_stride_uv": 1920,
"us_roi_out_width": 1920,
"us_roi_out_height": 1080,
"ds_roi_en": 63,
"ds_roi_uv_bypass": 0,
"ds_roi": [
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 1280,
"ds_roi_region_height": 720,
"ds_roi_stride_y": 1280,
"ds_roi_stride_uv": 1280,
"ds_roi_out_width": 1280,
"ds_roi_out_height": 720
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 1280,
"ds_roi_region_height": 720,
"ds_roi_stride_y": 1280,
"ds_roi_stride_uv": 1280,
"ds_roi_out_width": 1280,
"ds_roi_out_height": 720
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 1280,
"ds_roi_region_height": 720,
"ds_roi_stride_y": 1280,
"ds_roi_stride_uv": 1280,
"ds_roi_out_width": 1280,
"ds_roi_out_height": 720
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 1280,
"ds_roi_region_height": 720,
"ds_roi_stride_y": 1280,
"ds_roi_stride_uv": 1280,
"ds_roi_out_width": 1280,
"ds_roi_out_height": 720
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 1280,
"ds_roi_region_height": 720,
"ds_roi_stride_y": 1280,
"ds_roi_stride_uv": 1280,
"ds_roi_out_width": 1280,
"ds_roi_out_height": 720
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 1280,
"ds_roi_region_height": 720,
"ds_roi_stride_y": 1280,
"ds_roi_stride_uv": 1280,
"ds_roi_out_width": 1280,
"ds_roi_out_height": 720
}
],
"pre_line_int_0_set": 0,
"pre_line_int_1_set": 0,
"pre_line_int_2_set": 0,
"pre_line_int_3_set": 0,
"pre_line_int_4_set": 0,
"pre_line_int_5_set": 0,
"pre_line_int_6_set": 0,
"pre_line_int_7_set": 0
}
},
"gdc": {
"input_width": 1920,
"input_height": 1080,
"output_width": 1920,
"output_height": 1080,
"buf_num": 8,
"fb_buf_num": 8
}
},
"pipeline2": {
"isp": {
"hw_id": 1,
"ctx_id": 4,
"sched_mode": 1,
"hdr_mode": 1,
"width": 1920,
"height": 1280,
"frame_rate": 25,
"input_crop_enable": 0,
"input_crop_x": 0,
"input_crop_y": 0,
"input_crop_width": 0,
"input_crop_height": 0,
"output_crop_enable": 0,
"output_crop_x": 0,
"output_crop_y": 0,
"output_crop_width": 0,
"output_crop_height": 0,
"isp_stream_output_format": 1,
"isp_dma_output_format": 0,
"calib_mode": 1,
"calib_lname": "/system/etc/cam/lib_ar0233RGGB_Pwl12_WS_Fov100.so",
"isp_algo_state": 1
},
"pym": {
"pym_config": {
"pym_hw_id": 1,
"pym_mode": 4,
"output_buf_num": 6,
"time_out": 2000,
"y_hor_coeff4": 0,
"y_hor_coeff3": 1,
"y_hor_coeff2": 1,
"y_hor_coeff1": 0,
"y_hor_coeff0": 0,
"y_ver_coeff4": 0,
"y_ver_coeff3": 1,
"y_ver_coeff2": 1,
"y_ver_coeff1": 0,
"y_ver_coeff0": 0,
"c_hor_coeff4": 0,
"c_hor_coeff3": 1,
"c_hor_coeff2": 1,
"c_hor_coeff1": 0,
"c_hor_coeff0": 0,
"c_ver_coeff4": 0,
"c_ver_coeff3": 1,
"c_ver_coeff2": 1,
"c_ver_coeff1": 0,
"c_ver_coeff0": 0,
"y_right_shift": 2,
"c_right_shift": 2
},
"pym_ctrl": {
"source_en": 1,
"src_uv_bypass": 0,
"src_in_width": 1920,
"src_in_height": 1280,
"src_in_stride_y": 1920,
"src_in_stride_uv": 1920,
"src_start_top": 0,
"src_start_left": 0,
"src_region_width": 1920,
"src_region_height": 1280,
"src_out_stride_y": 1920,
"src_out_stride_uv": 1920,
"suffix_hb_val": 68,
"prefix_hb_val": 2,
"suffix_vb_val": 20,
"prefix_vb_val": 2,
"pixel_num_before_sol": 16,
"gs_max_layer_en": 5,
"gs_en": 0,
"gs_uv_bypass": 0,
"gauss_info": [
{
"gs_start_top": 20,
"gs_start_left": 50,
"gs_region_width": 480,
"gs_region_height": 300,
"gs_stride_y": 480,
"gs_stride_uv": 480
},
{
"gs_start_top": 10,
"gs_start_left": 40,
"gs_region_width": 240,
"gs_region_height": 130,
"gs_stride_y": 240,
"gs_stride_uv": 240
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 130,
"gs_region_height": 70,
"gs_stride_y": 130,
"gs_stride_uv": 130
},
{
"gs_start_top": 10,
"gs_start_left": 0,
"gs_region_width": 64,
"gs_region_height": 32,
"gs_stride_y": 64,
"gs_stride_uv": 64
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 0,
"gs_region_height": 0,
"gs_stride_y": 0,
"gs_stride_uv": 0
}
],
"bl_max_layer_en": 0,
"bl_en": 0,
"bl_uv_bypass": 0,
"bilinear_info": [
{
"bl_start_top": 64,
"bl_start_left": 32,
"bl_region_width": 320,
"bl_region_height": 240,
"bl_stride_y": 320,
"bl_stride_uv": 320
},
{
"bl_start_top": 6,
"bl_start_left": 64,
"bl_region_width": 240,
"bl_region_height": 80,
"bl_stride_y": 240,
"bl_stride_uv": 240
},
{
"bl_start_top": 16,
"bl_start_left": 8,
"bl_region_width": 120,
"bl_region_height": 60,
"bl_stride_y": 120,
"bl_stride_uv": 120
},
{
"bl_start_top": 0,
"bl_start_left": 12,
"bl_region_width": 48,
"bl_region_height": 32,
"bl_stride_y": 48,
"bl_stride_uv": 48
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 0,
"bl_region_height": 0,
"bl_stride_y": 0,
"bl_stride_uv": 0
}
],
"upscale_roi_en": 1,
"us_roi_uv_bypass": 0,
"us_roi_start_left": 0,
"us_roi_start_top": 0,
"us_roi_region_width": 480,
"us_roi_region_height": 240,
"us_roi_stride_y": 640,
"us_roi_stride_uv": 640,
"us_roi_out_width": 640,
"us_roi_out_height": 480,
"ds_roi_en": 0,
"ds_roi_uv_bypass": 0,
"ds_roi": [
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 50,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 800,
"ds_roi_stride_uv": 800,
"ds_roi_out_width": 800,
"ds_roi_out_height": 480
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 16,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 700,
"ds_roi_stride_uv": 700,
"ds_roi_out_width": 700,
"ds_roi_out_height": 500
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 8,
"ds_roi_start_left": 48,
"ds_roi_region_width": 720,
"ds_roi_region_height": 480,
"ds_roi_stride_y": 640,
"ds_roi_stride_uv": 640,
"ds_roi_out_width": 640,
"ds_roi_out_height": 320
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 18,
"ds_roi_start_left": 24,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 320,
"ds_roi_stride_uv": 320,
"ds_roi_out_width": 320,
"ds_roi_out_height": 160
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 512,
"ds_roi_stride_uv": 512,
"ds_roi_out_width": 512,
"ds_roi_out_height": 240
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 10,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 122,
"ds_roi_stride_uv": 122,
"ds_roi_out_width": 122,
"ds_roi_out_height": 32
}
],
"pre_line_int_0_set": 0,
"pre_line_int_1_set": 0,
"pre_line_int_2_set": 0,
"pre_line_int_3_set": 0,
"pre_line_int_4_set": 0,
"pre_line_int_5_set": 0,
"pre_line_int_6_set": 0,
"pre_line_int_7_set": 0
}
},
"gdc": {
"input_width": 1920,
"input_height": 1280,
"output_width": 1920,
"output_height": 1280,
"buf_num": 8,
"fb_buf_num": 8
}
},
"pipeline3": {
"isp": {
"hw_id": 1,
"ctx_id": 5,
"sched_mode": 1,
"hdr_mode": 1,
"width": 1920,
"height": 1280,
"frame_rate": 25,
"input_crop_enable": 0,
"input_crop_x": 0,
"input_crop_y": 0,
"input_crop_width": 0,
"input_crop_height": 0,
"output_crop_enable": 0,
"output_crop_x": 0,
"output_crop_y": 0,
"output_crop_width": 0,
"output_crop_height": 0,
"isp_stream_output_format": 1,
"isp_dma_output_format": 0,
"calib_mode": 1,
"calib_lname": "/system/etc/cam/lib_ar0233RGGB_Pwl12_WS_Fov100.so",
"isp_algo_state": 1
},
"pym": {
"pym_config": {
"pym_hw_id": 1,
"pym_mode": 4,
"output_buf_num": 6,
"time_out": 2000,
"y_hor_coeff4": 0,
"y_hor_coeff3": 1,
"y_hor_coeff2": 1,
"y_hor_coeff1": 0,
"y_hor_coeff0": 0,
"y_ver_coeff4": 0,
"y_ver_coeff3": 1,
"y_ver_coeff2": 1,
"y_ver_coeff1": 0,
"y_ver_coeff0": 0,
"c_hor_coeff4": 0,
"c_hor_coeff3": 1,
"c_hor_coeff2": 1,
"c_hor_coeff1": 0,
"c_hor_coeff0": 0,
"c_ver_coeff4": 0,
"c_ver_coeff3": 1,
"c_ver_coeff2": 1,
"c_ver_coeff1": 0,
"c_ver_coeff0": 0,
"y_right_shift": 2,
"c_right_shift": 2
},
"pym_ctrl": {
"source_en": 1,
"src_uv_bypass": 0,
"src_in_width": 1920,
"src_in_height": 1280,
"src_in_stride_y": 1920,
"src_in_stride_uv": 1920,
"src_start_top": 0,
"src_start_left": 0,
"src_region_width": 1920,
"src_region_height": 1280,
"src_out_stride_y": 1920,
"src_out_stride_uv": 1920,
"suffix_hb_val": 68,
"prefix_hb_val": 2,
"suffix_vb_val": 20,
"prefix_vb_val": 2,
"pixel_num_before_sol": 16,
"gs_max_layer_en": 5,
"gs_en": 0,
"gs_uv_bypass": 0,
"gauss_info": [
{
"gs_start_top": 20,
"gs_start_left": 50,
"gs_region_width": 480,
"gs_region_height": 300,
"gs_stride_y": 480,
"gs_stride_uv": 480
},
{
"gs_start_top": 10,
"gs_start_left": 40,
"gs_region_width": 240,
"gs_region_height": 130,
"gs_stride_y": 240,
"gs_stride_uv": 240
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 130,
"gs_region_height": 70,
"gs_stride_y": 130,
"gs_stride_uv": 130
},
{
"gs_start_top": 10,
"gs_start_left": 0,
"gs_region_width": 64,
"gs_region_height": 32,
"gs_stride_y": 64,
"gs_stride_uv": 64
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 0,
"gs_region_height": 0,
"gs_stride_y": 0,
"gs_stride_uv": 0
}
],
"bl_max_layer_en": 0,
"bl_en": 0,
"bl_uv_bypass": 0,
"bilinear_info": [
{
"bl_start_top": 64,
"bl_start_left": 32,
"bl_region_width": 320,
"bl_region_height": 240,
"bl_stride_y": 320,
"bl_stride_uv": 320
},
{
"bl_start_top": 6,
"bl_start_left": 64,
"bl_region_width": 240,
"bl_region_height": 80,
"bl_stride_y": 240,
"bl_stride_uv": 240
},
{
"bl_start_top": 16,
"bl_start_left": 8,
"bl_region_width": 120,
"bl_region_height": 60,
"bl_stride_y": 120,
"bl_stride_uv": 120
},
{
"bl_start_top": 0,
"bl_start_left": 12,
"bl_region_width": 48,
"bl_region_height": 32,
"bl_stride_y": 48,
"bl_stride_uv": 48
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 0,
"bl_region_height": 0,
"bl_stride_y": 0,
"bl_stride_uv": 0
}
],
"upscale_roi_en": 1,
"us_roi_uv_bypass": 0,
"us_roi_start_left": 0,
"us_roi_start_top": 0,
"us_roi_region_width": 480,
"us_roi_region_height": 240,
"us_roi_stride_y": 640,
"us_roi_stride_uv": 640,
"us_roi_out_width": 640,
"us_roi_out_height": 480,
"ds_roi_en": 0,
"ds_roi_uv_bypass": 0,
"ds_roi": [
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 50,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 800,
"ds_roi_stride_uv": 800,
"ds_roi_out_width": 800,
"ds_roi_out_height": 480
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 16,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 700,
"ds_roi_stride_uv": 700,
"ds_roi_out_width": 700,
"ds_roi_out_height": 500
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 8,
"ds_roi_start_left": 48,
"ds_roi_region_width": 720,
"ds_roi_region_height": 480,
"ds_roi_stride_y": 640,
"ds_roi_stride_uv": 640,
"ds_roi_out_width": 640,
"ds_roi_out_height": 320
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 18,
"ds_roi_start_left": 24,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 320,
"ds_roi_stride_uv": 320,
"ds_roi_out_width": 320,
"ds_roi_out_height": 160
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 512,
"ds_roi_stride_uv": 512,
"ds_roi_out_width": 512,
"ds_roi_out_height": 240
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 10,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 122,
"ds_roi_stride_uv": 122,
"ds_roi_out_width": 122,
"ds_roi_out_height": 32
}
],
"pre_line_int_0_set": 0,
"pre_line_int_1_set": 0,
"pre_line_int_2_set": 0,
"pre_line_int_3_set": 0,
"pre_line_int_4_set": 0,
"pre_line_int_5_set": 0,
"pre_line_int_6_set": 0,
"pre_line_int_7_set": 0
}
},
"gdc": {
"input_width": 1920,
"input_height": 1280,
"output_width": 1920,
"output_height": 1280,
"buf_num": 8,
"fb_buf_num": 8
}
},
"pipeline4": {
"isp": {
"hw_id": 1,
"ctx_id": 6,
"sched_mode": 1,
"hdr_mode": 1,
"width": 1920,
"height": 1280,
"frame_rate": 25,
"input_crop_enable": 0,
"input_crop_x": 0,
"input_crop_y": 0,
"input_crop_width": 0,
"input_crop_height": 0,
"output_crop_enable": 0,
"output_crop_x": 0,
"output_crop_y": 0,
"output_crop_width": 0,
"output_crop_height": 0,
"isp_stream_output_format": 1,
"isp_dma_output_format": 0,
"calib_mode": 1,
"calib_lname": "/system/etc/cam/lib_ar0233RGGB_Pwl12_WS_Fov100.so",
"isp_algo_state": 1
},
"pym": {
"pym_config": {
"pym_hw_id": 1,
"pym_mode": 4,
"output_buf_num": 6,
"time_out": 2000,
"y_hor_coeff4": 0,
"y_hor_coeff3": 1,
"y_hor_coeff2": 1,
"y_hor_coeff1": 0,
"y_hor_coeff0": 0,
"y_ver_coeff4": 0,
"y_ver_coeff3": 1,
"y_ver_coeff2": 1,
"y_ver_coeff1": 0,
"y_ver_coeff0": 0,
"c_hor_coeff4": 0,
"c_hor_coeff3": 1,
"c_hor_coeff2": 1,
"c_hor_coeff1": 0,
"c_hor_coeff0": 0,
"c_ver_coeff4": 0,
"c_ver_coeff3": 1,
"c_ver_coeff2": 1,
"c_ver_coeff1": 0,
"c_ver_coeff0": 0,
"y_right_shift": 2,
"c_right_shift": 2
},
"pym_ctrl": {
"source_en": 1,
"src_uv_bypass": 0,
"src_in_width": 1920,
"src_in_height": 1280,
"src_in_stride_y": 1920,
"src_in_stride_uv": 1920,
"src_start_top": 0,
"src_start_left": 0,
"src_region_width": 1920,
"src_region_height": 1280,
"src_out_stride_y": 1920,
"src_out_stride_uv": 1920,
"suffix_hb_val": 68,
"prefix_hb_val": 2,
"suffix_vb_val": 20,
"prefix_vb_val": 2,
"pixel_num_before_sol": 16,
"gs_max_layer_en": 5,
"gs_en": 0,
"gs_uv_bypass": 0,
"gauss_info": [
{
"gs_start_top": 20,
"gs_start_left": 50,
"gs_region_width": 480,
"gs_region_height": 300,
"gs_stride_y": 480,
"gs_stride_uv": 480
},
{
"gs_start_top": 10,
"gs_start_left": 40,
"gs_region_width": 240,
"gs_region_height": 130,
"gs_stride_y": 240,
"gs_stride_uv": 240
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 130,
"gs_region_height": 70,
"gs_stride_y": 130,
"gs_stride_uv": 130
},
{
"gs_start_top": 10,
"gs_start_left": 0,
"gs_region_width": 64,
"gs_region_height": 32,
"gs_stride_y": 64,
"gs_stride_uv": 64
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 0,
"gs_region_height": 0,
"gs_stride_y": 0,
"gs_stride_uv": 0
}
],
"bl_max_layer_en": 0,
"bl_en": 0,
"bl_uv_bypass": 0,
"bilinear_info": [
{
"bl_start_top": 64,
"bl_start_left": 32,
"bl_region_width": 320,
"bl_region_height": 240,
"bl_stride_y": 320,
"bl_stride_uv": 320
},
{
"bl_start_top": 6,
"bl_start_left": 64,
"bl_region_width": 240,
"bl_region_height": 80,
"bl_stride_y": 240,
"bl_stride_uv": 240
},
{
"bl_start_top": 16,
"bl_start_left": 8,
"bl_region_width": 120,
"bl_region_height": 60,
"bl_stride_y": 120,
"bl_stride_uv": 120
},
{
"bl_start_top": 0,
"bl_start_left": 12,
"bl_region_width": 48,
"bl_region_height": 32,
"bl_stride_y": 48,
"bl_stride_uv": 48
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 0,
"bl_region_height": 0,
"bl_stride_y": 0,
"bl_stride_uv": 0
}
],
"upscale_roi_en": 1,
"us_roi_uv_bypass": 0,
"us_roi_start_left": 0,
"us_roi_start_top": 0,
"us_roi_region_width": 480,
"us_roi_region_height": 240,
"us_roi_stride_y": 640,
"us_roi_stride_uv": 640,
"us_roi_out_width": 640,
"us_roi_out_height": 480,
"ds_roi_en": 0,
"ds_roi_uv_bypass": 0,
"ds_roi": [
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 50,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 800,
"ds_roi_stride_uv": 800,
"ds_roi_out_width": 800,
"ds_roi_out_height": 480
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 16,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 700,
"ds_roi_stride_uv": 700,
"ds_roi_out_width": 700,
"ds_roi_out_height": 500
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 8,
"ds_roi_start_left": 48,
"ds_roi_region_width": 720,
"ds_roi_region_height": 480,
"ds_roi_stride_y": 640,
"ds_roi_stride_uv": 640,
"ds_roi_out_width": 640,
"ds_roi_out_height": 320
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 18,
"ds_roi_start_left": 24,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 320,
"ds_roi_stride_uv": 320,
"ds_roi_out_width": 320,
"ds_roi_out_height": 160
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 512,
"ds_roi_stride_uv": 512,
"ds_roi_out_width": 512,
"ds_roi_out_height": 240
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 10,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 122,
"ds_roi_stride_uv": 122,
"ds_roi_out_width": 122,
"ds_roi_out_height": 32
}
],
"pre_line_int_0_set": 0,
"pre_line_int_1_set": 0,
"pre_line_int_2_set": 0,
"pre_line_int_3_set": 0,
"pre_line_int_4_set": 0,
"pre_line_int_5_set": 0,
"pre_line_int_6_set": 0,
"pre_line_int_7_set": 0
}
},
"gdc": {
"input_width": 1920,
"input_height": 1280,
"output_width": 1920,
"output_height": 1280,
"buf_num": 8,
"fb_buf_num": 8
}
},
"pipeline5": {
"isp": {
"hw_id": 1,
"ctx_id": 7,
"sched_mode": 1,
"hdr_mode": 1,
"width": 1920,
"height": 1280,
"frame_rate": 25,
"input_crop_enable": 0,
"input_crop_x": 0,
"input_crop_y": 0,
"input_crop_width": 0,
"input_crop_height": 0,
"output_crop_enable": 0,
"output_crop_x": 0,
"output_crop_y": 0,
"output_crop_width": 0,
"output_crop_height": 0,
"isp_stream_output_format": 1,
"isp_dma_output_format": 0,
"calib_mode": 1,
"calib_lname": "/system/etc/cam/lib_ar0233RGGB_Pwl12_WS_Fov100.so",
"isp_algo_state": 1
},
"pym": {
"pym_config": {
"pym_hw_id": 1,
"pym_mode": 4,
"output_buf_num": 6,
"time_out": 2000,
"y_hor_coeff4": 0,
"y_hor_coeff3": 1,
"y_hor_coeff2": 1,
"y_hor_coeff1": 0,
"y_hor_coeff0": 0,
"y_ver_coeff4": 0,
"y_ver_coeff3": 1,
"y_ver_coeff2": 1,
"y_ver_coeff1": 0,
"y_ver_coeff0": 0,
"c_hor_coeff4": 0,
"c_hor_coeff3": 1,
"c_hor_coeff2": 1,
"c_hor_coeff1": 0,
"c_hor_coeff0": 0,
"c_ver_coeff4": 0,
"c_ver_coeff3": 1,
"c_ver_coeff2": 1,
"c_ver_coeff1": 0,
"c_ver_coeff0": 0,
"y_right_shift": 2,
"c_right_shift": 2
},
"pym_ctrl": {
"source_en": 1,
"src_uv_bypass": 0,
"src_in_width": 1920,
"src_in_height": 1280,
"src_in_stride_y": 1920,
"src_in_stride_uv": 1920,
"src_start_top": 0,
"src_start_left": 0,
"src_region_width": 1920,
"src_region_height": 1280,
"src_out_stride_y": 1920,
"src_out_stride_uv": 1920,
"suffix_hb_val": 68,
"prefix_hb_val": 2,
"suffix_vb_val": 20,
"prefix_vb_val": 2,
"pixel_num_before_sol": 16,
"gs_max_layer_en": 5,
"gs_en": 0,
"gs_uv_bypass": 0,
"gauss_info": [
{
"gs_start_top": 20,
"gs_start_left": 50,
"gs_region_width": 480,
"gs_region_height": 300,
"gs_stride_y": 480,
"gs_stride_uv": 480
},
{
"gs_start_top": 10,
"gs_start_left": 40,
"gs_region_width": 240,
"gs_region_height": 130,
"gs_stride_y": 240,
"gs_stride_uv": 240
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 130,
"gs_region_height": 70,
"gs_stride_y": 130,
"gs_stride_uv": 130
},
{
"gs_start_top": 10,
"gs_start_left": 0,
"gs_region_width": 64,
"gs_region_height": 32,
"gs_stride_y": 64,
"gs_stride_uv": 64
},
{
"gs_start_top": 0,
"gs_start_left": 0,
"gs_region_width": 0,
"gs_region_height": 0,
"gs_stride_y": 0,
"gs_stride_uv": 0
}
],
"bl_max_layer_en": 0,
"bl_en": 0,
"bl_uv_bypass": 0,
"bilinear_info": [
{
"bl_start_top": 64,
"bl_start_left": 32,
"bl_region_width": 320,
"bl_region_height": 240,
"bl_stride_y": 320,
"bl_stride_uv": 320
},
{
"bl_start_top": 6,
"bl_start_left": 64,
"bl_region_width": 240,
"bl_region_height": 80,
"bl_stride_y": 240,
"bl_stride_uv": 240
},
{
"bl_start_top": 16,
"bl_start_left": 8,
"bl_region_width": 120,
"bl_region_height": 60,
"bl_stride_y": 120,
"bl_stride_uv": 120
},
{
"bl_start_top": 0,
"bl_start_left": 12,
"bl_region_width": 48,
"bl_region_height": 32,
"bl_stride_y": 48,
"bl_stride_uv": 48
},
{
"bl_start_top": 0,
"bl_start_left": 0,
"bl_region_width": 0,
"bl_region_height": 0,
"bl_stride_y": 0,
"bl_stride_uv": 0
}
],
"upscale_roi_en": 1,
"us_roi_uv_bypass": 0,
"us_roi_start_left": 0,
"us_roi_start_top": 0,
"us_roi_region_width": 480,
"us_roi_region_height": 240,
"us_roi_stride_y": 640,
"us_roi_stride_uv": 640,
"us_roi_out_width": 640,
"us_roi_out_height": 480,
"ds_roi_en": 0,
"ds_roi_uv_bypass": 0,
"ds_roi": [
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 50,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 800,
"ds_roi_stride_uv": 800,
"ds_roi_out_width": 800,
"ds_roi_out_height": 480
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 20,
"ds_roi_start_left": 16,
"ds_roi_region_width": 900,
"ds_roi_region_height": 600,
"ds_roi_stride_y": 700,
"ds_roi_stride_uv": 700,
"ds_roi_out_width": 700,
"ds_roi_out_height": 500
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 8,
"ds_roi_start_left": 48,
"ds_roi_region_width": 720,
"ds_roi_region_height": 480,
"ds_roi_stride_y": 640,
"ds_roi_stride_uv": 640,
"ds_roi_out_width": 640,
"ds_roi_out_height": 320
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 18,
"ds_roi_start_left": 24,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 320,
"ds_roi_stride_uv": 320,
"ds_roi_out_width": 320,
"ds_roi_out_height": 160
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 0,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 512,
"ds_roi_stride_uv": 512,
"ds_roi_out_width": 512,
"ds_roi_out_height": 240
},
{
"ds_roi_layer": 0,
"ds_roi_sel": 0,
"ds_roi_start_top": 0,
"ds_roi_start_left": 10,
"ds_roi_region_width": 520,
"ds_roi_region_height": 450,
"ds_roi_stride_y": 122,
"ds_roi_stride_uv": 122,
"ds_roi_out_width": 122,
"ds_roi_out_height": 32
}
],
"pre_line_int_0_set": 0,
"pre_line_int_1_set": 0,
"pre_line_int_2_set": 0,
"pre_line_int_3_set": 0,
"pre_line_int_4_set": 0,
"pre_line_int_5_set": 0,
"pre_line_int_6_set": 0,
"pre_line_int_7_set": 0
}
},
"gdc": {
"input_width": 1920,
"input_height": 1280,
"output_width": 1920,
"output_height": 1280,
"buf_num": 8,
"fb_buf_num": 8
}
}
}
root@j5dvb:/system/etc/cam# cat hb_mipi_ar0233_raw12_25fps_1280P.json
{
"mipi": {
"base": {
"lane": 4,
"datatype":"0x2c",
"mclk": 24,
"mipiclk": 4800,
"fps": 25,
"width": 2048,
"height": 1280,
"linelenth": 2400,
"framelenth": 1700,
"settle": 30
},
"host": {
"enable": 1,
"hsa": 0,
"hbp": 0,
"hsd": 0,
"vc_num": 4,
"vc0_index": 0,
"vc1_index": 1,
"vc2_index": 2,
"vc3_index": 3
},
"dev": {
"enable": 1,
"vpg": 0,
"ipi_lines": 0
}
}
}

