12.7. JPEGEΒΆ

Debugging Information

# cat /proc/cvitek/jpege Module: [JPEGE] System Build Time [#1 SMP PREEMPT Sat Jan 23 02:50:26 CST 2021] -----MODULE PARAM------------------------------------------------- OnePack: 0 JpegeMiniBufMode: 0 JpegClearStreamBuf: 0 JpegeDeringMode: 0 -----CHN ATTR----------------------------------------------------- ID: 0 bMjpeg: Y PicType: YUV422 MaxWidth: 3840 MaxHeight: 2160 Width: 3840 Height: 2160 BufSize: 0 ByFrm: 1 MCU: 1 Qfactor: 0 C2GEn: 0 DcfEn: 0 

Debugging Information Analysis

recordJPEG Encodingprocessin, eachChannelEncodingAttribute, Status.

Parameter Description

Parameter

Description

MODULEPARAM

OnePack

obtain a streamMode

0: Obtain a stream in multi-packet mode.

1: Obtain a stream in single-packet mode.

JpegeMiniBufMode

allocateDatastreamBufferMode

0: DatastreamBufferAccording toresolutionperform allocate.

1: DatastreamBufferSizeunderis 32KB.

The user must ensure that the allocated stream buffer is large enough.

JpegClearStreamBuf

Set JPEG Encoding channelAttributetimeWhetherClearstreamBuffer.

0: DatastreamBufferandonundernumberberetain.

1: DatastreamBufferandonundernumberbeClear.

JpegeDeringMode

Enable JPEG Encoding channelgoeffectiveMode

0: Disable

1: Enable

insamequantizationTableand Qfactorunder, canreduce, ImageFileSizealsocan. butalsowilloneImageand.

CHN ATTR

ID

Channel number

bMjpeg

MJPEG encoding

No: JPEG

Yes: MJPEG Encoding

PicType

ImageType YVU422 or YVU420

MaxWidth

Encoding channelMaximumWidth (Unit: pixels)

MaxHeight

Encoding channelMaximumHeight (Unit: pixels)

Width

imageWidth

Height

imageHeight

BufSize

DatastreamBufferSize (Unit: bytes)

MCU

eachinform RISC-V system (ECS) inMinimumEncodingsingle (MCU) Quantity

ByFrm

WhetherpressFrameGetDatastream

Values: {0, 1}

Qfactor

Channel Qfactor

C2GEn

EnableConversionFunction

Values: {0, 1}

DcfEn

JPEG ImageWhetherhasFigure

Values: {0, 1}