oem_cvr: rkadk: support multiple sensor

Signed-off-by: Zhichao Yu <zhichao.yu@rock-chips.com>
Change-Id: Ib80ad558e166106c6d3208a0664cc4c5f8de1377
This commit is contained in:
Zhichao Yu
2021-09-10 11:15:55 +08:00
parent 589eef680b
commit 2db1a56f9f
2 changed files with 46 additions and 46 deletions

View File

@ -0,0 +1,34 @@
[version]
version = 1.1.0
[common]
sensor_count = 1
rec_unmute = TRUE
enable_speaker = TRUE
speaker_volume = 70
mic_unmute = TRUE
mic_volume = 70
osd_time_format = 0
osd = TRUE
boot_sound = TRUE
osd_speed = FALSE
[audio]
audio_node = default
sample_format = 1
channels = 1
samplerate = 16000
samples_per_frame = 1024
bitrate = 64000
ai_layout = 0
vqe_mode = 1
[thumb]
thumb_width = 320
thumb_height = 180
venc_chn = 15

View File

@ -1,39 +1,5 @@
[version]
version = 1.1.0
[common]
sensor_count = 1
rec_unmute = TRUE
enable_speaker = TRUE
speaker_volume = 70
mic_unmute = TRUE
mic_volume = 70
osd_time_format = 0
osd = TRUE
boot_sound = TRUE
osd_speed = FALSE
[audio]
audio_node = default
sample_format = 1
channels = 1
samplerate = 16000
samples_per_frame = 1024
bitrate = 64000
ai_layout = 0
vqe_mode = 1
[thumb]
thumb_width = 320
thumb_height = 180
venc_chn = 15
[sensor.0]
[sensor]
max_width = 2688
max_height = 1520
framerate = 30
@ -47,7 +13,7 @@ hdr = 0
antifog = 0
[sensor.0.vi.0]
[vi.0]
chn_id = 0
device_name = rkispp_m_bypass
buf_cnt = 4
@ -57,7 +23,7 @@ pix_fmt = FBC0
module = RECORD_MAIN|PHOTO
[sensor.0.vi.1]
[vi.1]
chn_id = 1
device_name = rkispp_scale0
buf_cnt = 4
@ -67,7 +33,7 @@ pix_fmt = NV12
module = RECORD_MAIN|PHOTO
[sensor.0.vi.2]
[vi.2]
chn_id = 2
device_name = rkispp_scale1
buf_cnt = 2
@ -77,7 +43,7 @@ pix_fmt = NV12
module = NONE
[sensor.0.vi.3]
[vi.3]
chn_id = 3
device_name = rkispp_scale2
buf_cnt = 4
@ -87,7 +53,7 @@ pix_fmt = NV12
module = RECORD_SUB|PREVIEW|LIVE|DISP
[sensor.0.rec]
[record]
record_type = 0
pre_record_time = 0
pre_record_mode = 0
@ -95,7 +61,7 @@ lapse_multiple = 30
file_num = 1
[sensor.0.rec.0]
[record.0]
record_time = 60
splite_time = 60
lapse_interval = 60
@ -116,7 +82,7 @@ hier_qp_delta = -3,0,0,0
hier_frame_num = 3,0,0,0
[sensor.0.rec.1]
[record.1]
record_time = 60
splite_time = 60
lapse_interval = 60
@ -137,14 +103,14 @@ hier_qp_delta = -3,0,0,0
hier_frame_num = 3,0,0,0
[sensor.0.photo]
[photo]
image_width = 2688
image_height = 1520
snap_num = 1
venc_chn = 2
[sensor.0.stream]
[preview]
width = 1280
height = 720
bitrate = 4194304
@ -162,7 +128,7 @@ hier_qp_delta = -3,0,0,0
hier_frame_num = 3,0,0,0
[sensor.0.live]
[live]
width = 1280
height = 720
bitrate = 4194304
@ -180,7 +146,7 @@ hier_qp_delta = -3,0,0,0
hier_frame_num = 3,0,0,0
[sensor.0.disp]
[display]
width = 720
height = 1280
enable_buf_pool = TRUE