firmware/general/package/grainmedia-osdrv-gm8136/files/sensor/config/gmlib_720p.cfg

132 lines
3.3 KiB
INI

; GM8135S Product Configuration
[VERSION]
VERSION = 1.0
[GRAPH_TYPE]
; graph type: 1(DVR with display 3DI), 2(IPCAM)
GRAPH_TYPE = 1
[RESOLUTION]
; Set resolution information = resolution_keyword/width/height
CONFIG1 = 8M/3840/2160
CONFIG2 = 7M/3264/2176
CONFIG3 = 6M/3072/2048
CONFIG4 = 5M/2592/1944
CONFIG5 = 4M/2304/1728
CONFIG6 = 3M/2048/1536
CONFIG7 = 1080P/1920/1080
CONFIG8 = 1.3M/1280/1024
CONFIG9 = 1.2M/1280/960
CONFIG10 = 1080I/1920/540
CONFIG11 = 1M/1280/800
CONFIG12 = 720P/1280/720
CONFIG13 = 960H/960/576
CONFIG14 = SVGA/800/600
CONFIG15 = 720I/1280/360
CONFIG16 = D1/720/576
CONFIG17 = VGA/640/480
CONFIG18 = nHD/640/360
CONFIG19 = 2CIF/360/596
CONFIG20 = HD1/720/288
CONFIG21 = CIF/360/288
CONFIG22 = QCIF/176/144
[BITRATE]
; Set minimum compressed ratio = 10%(better compressed) ~ 90%(worser compressed)
MIN_COMPRESSED_RATIO = 20
; Set maximum bitrate = resolution_keyword/bitrate
MAX_BITRATE = 720P/2048K, D1/1024K
[RECORD]
; Capture buffer DDR : ddr_channel
CHIP0_CAP_DDR = 0
; Encode reference DDR: ddr_channel
CHIP0_REFER_DDR = 0
; Scaler output DDR : ddr_channel
CHIP0_SCL_DDR = 0
; IVS output DDR : ddr_channel
CHIP0_IVS_DDR = 0
; CAP_CONFIG = resolution_keywords/channels/total_fps/CHIPx_CAP_DDR, ...
CAP_CONFIG = 720P/1/30/CHIP0_CAP_DDR, VGA/1/30/CHIP0_CAP_DDR
; Capture buffer with extra size = resolution_keyword/total_count/CHIPx_CAP_DDR, ...
;EXTRA_CAP_OUT = 1080P/1/CHIP0_CAP_DDR
; Scaler substream output buffer = resolution_keyword/channels/CHIPx_SCL_DDR, ...
SCALER_CONFIG = 720P/1/CHIP0_SCL_DDR
; IVS output buffer = size/channels/CHIPx_IVS_DDR, ...
;IVS_CONFIG = 4573344/1/CHIP0_IVS_DDR
; Bitstream output buffer = resolution_keyword/channels/total_fps, ...
STREAM_CONFIG = 720P/1/30, VGA/1/30
; Encode bitstream buffer : buffer_time(ms)/ddr_channel
BUFFER_TIME = 330/0
; Scaler substream output buffer count per channel
SCALER_COUNT = 2
; IVS output buffer count per channel
;IVS_COUNT = 2.5
; Two level scaling for substream better image quality (spends more bandwidth), 1:enable 0:disable
TWO_LEVEL_SCALING_ENABLE = 0
; Set capture output with YUV420 auto mode (over 960H with yuv420), 1:enable 0:disable
BUFFER_YUV420 = 0
; Set capture output with DPCM mode, 1:enable 0:disable
BUFFER_DPCM = 0
[AUDIO_ENCODE]
; Audio encode = sample_rate/stereo/bits/channels
AU_ENC_CONFIG = 48K/mono/16/1
; Audio encode maximum number of samples per frame
MAX_FRAME_SAMPLES = 2048
; Audio encode bitstream buffer : buffer_time(ms)/ddr_channel
BUFFER_TIME = 128/0
[AUDIO_PLAYBACK]
; Audio playback = sample_rate/stereo/bits/channels
AU_PLAYBACK_CONFIG = 48K/mono/16/1
; Audio playback maximum number of samples per frame
MAX_FRAME_SAMPLES = 2048
; Audio playback bitstream buffer : buffer_time(ms)/ddr_channel
BUFFER_TIME = 128/0
[BUFFER_CAPTURE]
; Encode capture buffer three slop: resolution_keyword/fps/count,...
CONFIG1 = 720P/30/2, 720P/15/2, 720P/1/2
CONFIG2 = VGA/30/2, VGA/15/2, VGA/1/2
;CONFIG3 = D1/30/4, D1/15/3, D1/1/2
;CONFIG4 = CIF/30/6, CIF/15/4, CIF/1/2
CAPTURE_MAX_FPS = 25
[SNAPSHOT]
YUV_MAX_WIDTH = 640
YUV_MAX_HEIGHT = 360
MAX_BITSTREAM_SIZE = 262144
;Only for 8135
[RESERVED_BUFFER]
; To reduce memory usage, set reserved_ratio = 0
RESERVED_RATIO = 0
[ENCODE_DIDN]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
CONFIG1 = 720P/1/30/0