Skip to content

Commit

Permalink
support imx385 hdr mode in ai and encode_app (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
goatxiu authored Oct 21, 2022
1 parent 298b229 commit c50b8aa
Show file tree
Hide file tree
Showing 9 changed files with 4,152 additions and 0 deletions.
531 changes: 531 additions & 0 deletions package/ai/code/imx385_2frame.conf

Large diffs are not rendered by default.

531 changes: 531 additions & 0 deletions package/ai/code/imx385_3frame.conf

Large diffs are not rendered by default.

531 changes: 531 additions & 0 deletions package/ai/code/imx385_normal.conf

Large diffs are not rendered by default.

531 changes: 531 additions & 0 deletions package/encode_app/src/imx385_2frame.conf

Large diffs are not rendered by default.

531 changes: 531 additions & 0 deletions package/encode_app/src/imx385_3frame.conf

Large diffs are not rendered by default.

531 changes: 531 additions & 0 deletions package/encode_app/src/imx385_normal.conf

Large diffs are not rendered by default.

322 changes: 322 additions & 0 deletions package/encode_app/src/imx385_video_1920x1080_2frame.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,322 @@
{
"sensor0": {
"sensor0_name": "m00_f_IMX385 0-001a",
"sensor0_cfg_file": "imx385_2frame.conf",
"sensor0_total_size": {
"sensor0_total_width": 2200,
"sensor0_total_height": 1125
},
"sensor0_active_size": {
"sensor0_active_width": 1920,
"sensor0_active_height": 1080
},
"/dev/video2": {
"video2_used": 0,
"video2_width": 1920,
"video2_height": 1080,
"video2_out_format": 1
},
"/dev/video3": {
"video3_used": 1,
"video3_width": 1080,
"video3_height": 608,
"video3_out_format": 1
},
"/dev/video4": {
"video4_used": 0,
"video4_width": 800,
"video4_height": 1080,
"video4_out_format": 1
},
"/dev/video5": {
"video5_used": 0,
"video5_width": 320,
"video5_height": 320,
"video5_height_r": 240,
"video5_out_format": 1,
"video5_pitch": 320
}
},
"sensor1": {
"sensor1_name": "m01_f_imx219_1 3-0010",
"sensor1_cfg_file": "imx219_1.conf",
"sensor1_total_size": {
"sensor1_total_width": 3476,
"sensor1_total_height": 1166
},
"sensor1_active_size": {
"sensor1_active_width": 1920,
"sensor1_active_height": 1080
},
"/dev/video6": {
"video6_used": 0,
"video6_width": 1920,
"video6_height": 1080,
"video6_out_format": 1
},
"/dev/video7": {
"video7_used": 0,
"video7_width": 1080,
"video7_height": 720,
"video7_out_format": 1
},
"/dev/video8": {
"video8_used": 0,
"video8_width": 640,
"video8_height": 480,
"video8_out_format": 1
},
"/dev/video9": {
"video9_used": 0,
"video9_width": 320,
"video9_height": 240,
"video9_height_r": 240,
"video9_out_format": 1,
"video9_pitch": 320
}
},
"mipi_csi2": {
"csi0_used": 1,
"csi0_sony_wdr": 1,
"csi0_lane_nb": 2,
"csi0_dl0_map": 1,
"csi0_dl1_map": 2,
"csi0_dl2_map": 3,
"csi0_dl3_map": 4,
"csi00_datatype_select0": 44,
"csi00_datatype_select1": 42,
"csi00_vc_select": 1,
"csi01_datatype_select0": 44,
"csi01_datatype_select1": 42,
"csi01_vc_select": 2,
"csi02_datatype_select0": 44,
"csi02_datatype_select1": 42,
"csi02_vc_select": 4,
"csi1_used": 1,
"csi1_sony_wdr": 0,
"csi1_lane_nb": 2,
"csi1_dl0_map": 1,
"csi1_dl1_map": 2,
"csi1_dl2_map": 3,
"csi1_dl3_map": 4,
"csi10_datatype_select0": 44,
"csi10_datatype_select1": 42,
"csi10_vc_select": 1
},
"isp_vi": {
"vi_wrap": {
"dphy_mode": 0,
"sony_mode": 0,
"sensor0_interface_en": 1,
"sensor0_tpg_w_en": 0,
"sensor0_tpg_r_en": 0,
"sensor0_wdr_sensor_vendor": 0,
"sensor0_wdr_mode": 1,
"sensor0_mipi_mode": 0,
"sensor0_isp_pipeline": 1,
"sensor1_interface_en": 1,
"sensor1_tpg_w_en": 0,
"sensor1_tpg_r_en": 0,
"sensor1_wdr_sensor_vendor": 0,
"sensor1_wdr_mode": 0,
"sensor1_mipi_mode": 0,
"sensor1_isp_pipeline": 2,
"sensor2_interface_en": 0,
"sensor2_tpg_w_en": 0,
"sensor2_tpg_r_en": 0,
"sensor2_wdr_sensor_vendor": 0,
"sensor2_wdr_mode": 0,
"sensor2_mipi_mode": 0,
"sensor2_isp_pipeline": 2
},
"vi_pipe00": {
"p00_win_mode_en": 1,
"p00_input_ch_sel": 1,
"p00_ch_mode_sel": 1,
"p00_pixel_type": 0,
"p00_yuv_in_format": 0,
"p00_yuv_out_format": 0,
"p00_yuv422_order": 0,
"p00_pixel_width": 2,
"p00_data_out_timming_ctrl": 3,
"p00_sync_pulse_mode": 0,
"p00_sen_mipi_clk_pol": 1,
"p00_sen_mipi_vsync_pol": 0,
"p00_sen_mipi_hsync_pol": 0,
"p00_sen_mipi_field_pol": 1,
"p00_isp_clk_pol": 1,
"p00_isp_vsync_pol": 1,
"p00_isp_hsync_pol": 1,
"p00_isp_field_pol": 1,
"p00_tpg_w_en": 0,
"p00_tpg_r_en": 0,
"p00_w_st_width": 0,
"p00_w_st_height": 16383,
"p00_r_st_width": 279,
"p00_r_st_height": 44,
"p00_tof_mode_enable": 0,
"p00_vi_pipe_tpg_tof_frm_num": 3,
"p00_vi_pipe_tpg_tof_frm_stride": 66432
},
"vi_pipe01": {
"p01_win_mode_en": 1,
"p01_input_ch_sel": 1,
"p01_ch_mode_sel": 1,
"p01_pixel_type": 0,
"p01_yuv_in_format": 0,
"p01_yuv_out_format": 0,
"p01_yuv422_order": 0,
"p01_pixel_width": 2,
"p01_data_out_timming_ctrl": 3,
"p01_sync_pulse_mode": 0,
"p01_sen_mipi_clk_pol": 1,
"p01_sen_mipi_vsync_pol": 0,
"p01_sen_mipi_hsync_pol": 0,
"p01_sen_mipi_field_pol": 1,
"p01_isp_clk_pol": 1,
"p01_isp_vsync_pol": 1,
"p01_isp_hsync_pol": 1,
"p01_isp_field_pol": 1,
"p01_tpg_w_en": 0,
"p01_tpg_r_en": 0,
"p01_total_width": 2200,
"p01_total_height": 1125,
"p01_in_width": 1920,
"p01_in_height": 1080,
"p01_w_st_width": 0,
"p01_w_st_height": 16383,
"p01_r_st_width": 279,
"p01_r_st_height": 44,
"p01_vi_pipe_w_addr_y0 ": 0,
"p01_vi_pipe_w_addr_y1 ": 0,
"p01_vi_pipe_w_addr_uv0": 0,
"p01_vi_pipe_w_addr_uv1": 0,
"p01_vi_pipe_r_addr_y0 ": 0,
"p01_vi_pipe_r_addr_y1 ": 0,
"p01_vi_pipe_addr_stride": 0,
"p01_tof_mode_enable": 0,
"p01_vi_pipe_tpg_tof_frm_num": 3,
"p01_vi_pipe_tpg_tof_frm_stride": 66432
},
"vi_pipe02": {
"p02_win_mode_en": 1,
"p02_input_ch_sel": 1,
"p02_ch_mode_sel": 1,
"p02_pixel_type": 0,
"p02_yuv_in_format": 0,
"p02_yuv_out_format": 0,
"p02_yuv422_order": 0,
"p02_pixel_width": 2,
"p02_data_out_timming_ctrl": 3,
"p02_sync_pulse_mode": 0,
"p02_sen_mipi_clk_pol": 1,
"p02_sen_mipi_vsync_pol": 0,
"p02_sen_mipi_hsync_pol": 0,
"p02_sen_mipi_field_pol": 1,
"p02_isp_clk_pol": 1,
"p02_isp_vsync_pol": 1,
"p02_isp_hsync_pol": 1,
"p02_isp_field_pol": 1,
"p02_tpg_w_en": 0,
"p02_tpg_r_en": 0,
"p02_total_width": 2200,
"p02_total_height": 1125,
"p02_in_width": 1920,
"p02_in_height": 1080,
"p02_w_st_width": 0,
"p02_w_st_height": 16383,
"p02_r_st_width": 279,
"p02_r_st_height": 44,
"p02_vi_pipe_w_addr_y0 ": 0,
"p02_vi_pipe_w_addr_y1 ": 0,
"p02_vi_pipe_w_addr_uv0": 0,
"p02_vi_pipe_w_addr_uv1": 0,
"p02_vi_pipe_r_addr_y0 ": 0,
"p02_vi_pipe_r_addr_y1 ": 0,
"p02_vi_pipe_addr_stride": 0,
"p02_tof_mode_enable": 0,
"p02_vi_pipe_tpg_tof_frm_num": 3,
"p02_vi_pipe_tpg_tof_frm_stride": 66432
},
"vi_pipe10": {
"p10_win_mode_en": 1,
"p10_input_ch_sel": 1,
"p10_ch_mode_sel": 1,
"p10_pixel_type": 0,
"p10_yuv_in_format": 0,
"p10_yuv_out_format": 0,
"p10_yuv422_order": 0,
"p10_pixel_width": 2,
"p10_data_out_timming_ctrl": 3,
"p10_sync_pulse_mode": 0,
"p10_sen_mipi_clk_pol": 1,
"p10_sen_mipi_vsync_pol": 0,
"p10_sen_mipi_hsync_pol": 0,
"p10_sen_mipi_field_pol": 1,
"p10_isp_clk_pol": 1,
"p10_isp_vsync_pol": 1,
"p10_isp_hsync_pol": 1,
"p10_isp_field_pol": 1,
"p10_tpg_w_en": 0,
"p10_tpg_r_en": 0,
"p10_total_width": 2200,
"p10_total_height": 1125,
"p10_in_width": 1920,
"p10_in_height": 1080,
"p10_w_st_width": 0,
"p10_w_st_height": 16383,
"p10_r_st_width": 279,
"p10_r_st_height": 44,
"p10_vi_pipe_w_addr_y0 ": 0,
"p10_vi_pipe_w_addr_y1 ": 0,
"p10_vi_pipe_w_addr_uv0": 0,
"p10_vi_pipe_w_addr_uv1": 0,
"p10_vi_pipe_r_addr_y0 ": 0,
"p10_vi_pipe_r_addr_y1 ": 0,
"p10_vi_pipe_addr_stride": 0,
"p10_tof_mode_enable": 0,
"p10_vi_pipe_tpg_tof_frm_num": 3,
"p10_vi_pipe_tpg_tof_frm_stride": 66432
},
"vi_dvp00": {
"dvp00_win_mode_en": 1,
"dvp00_input_ch_sel": 1,
"dvp00_ch_mode_sel": 1,
"dvp00_pixel_type": 0,
"dvp00_yuv_in_format": 0,
"dvp00_yuv_out_format": 0,
"dvp00_yuv422_order": 0,
"dvp00_pixel_width": 2,
"dvp00_data_out_timming_ctrl": 3,
"dvp00_sync_pulse_mode": 0,
"dvp00_sen_mipi_clk_pol": 1,
"dvp00_sen_mipi_vsync_pol": 0,
"dvp00_sen_mipi_hsync_pol": 0,
"dvp00_sen_mipi_field_pol": 1,
"dvp00_isp_clk_pol": 1,
"dvp00_isp_vsync_pol": 1,
"dvp00_isp_hsync_pol": 1,
"dvp00_isp_field_pol": 1,
"dvp00_tpg_w_en": 0,
"dvp00_tpg_r_en": 0,
"dvp00_total_width": 2200,
"dvp00_total_height": 1125,
"dvp00_in_width": 1920,
"dvp00_in_height": 1080,
"dvp00_w_st_width": 0,
"dvp00_w_st_height": 16383,
"dvp00_r_st_width": 279,
"dvp00_r_st_height": 44,
"dvp00_vi_pipe_w_addr_y0 ": 0,
"dvp00_vi_pipe_w_addr_y1 ": 0,
"dvp00_vi_pipe_w_addr_uv0": 0,
"dvp00_vi_pipe_w_addr_uv1": 0,
"dvp00_vi_pipe_r_addr_y0 ": 0,
"dvp00_vi_pipe_r_addr_y1 ": 0,
"dvp00_vi_pipe_addr_stride": 0,
"dvp00_tof_mode_enable": 0,
"dvp00_vi_pipe_tpg_tof_frm_num": 3,
"dvp00_vi_pipe_tpg_tof_frm_stride": 66432
}
}
}
Loading

0 comments on commit c50b8aa

Please sign in to comment.