hi_compress_mode
Description
Defines the video data compression modes.
Prototype
HI_COMPRESS_MODE_NONE = 0 HI_COMPRESS_MODE_SEG = 1 HI_COMPRESS_MODE_TILE = 2 HI_COMPRESS_MODE_HFBC = 3 HI_COMPRESS_MODE_LINE = 4 HI_COMPRESS_MODE_FRAME = 5 HI_COMPRESS_MODE_BUTT = 6
Members
Member |
Description |
|---|---|
HI_COMPRESS_MODE_NONE |
Compression disabled. |
HI_COMPRESS_MODE_SEG |
Segment-based compression, in 256-byte segments. |
HI_COMPRESS_MODE_TILE |
Tile-based compression. |
HI_COMPRESS_MODE_HFBC |
HFBC compression mode specific to Ascend AI Processor, in the unit of 64 x 8 |
HI_COMPRESS_MODE_LINE |
Line-based compression. A line is compressed as a segment. For example, in ISP WDR mode, the internal raw images are compressed by line. |
HI_COMPRESS_MODE_FRAME |
Frame-based compression. An entire frame is compressed as a segment. For example, in ISP linear mode, the internal raw images are compressed by frame. The internal reference frames and reconstruction frames of 3DNR are also compressed by frame. |
HI_COMPRESS_MODE_BUTT |
Reserved. |