hi_compress_mode
Description
Defines the video data compression modes.
Prototype
typedef enum {
HI_COMPRESS_MODE_NONE = 0,
HI_COMPRESS_MODE_SEG,
HI_COMPRESS_MODE_TILE,
HI_COMPRESS_MODE_HFBC,
HI_COMPRESS_MODE_LINE,
HI_COMPRESS_MODE_FRAME,
HI_COMPRESS_MODE_BUTT
} hi_compress_mode;
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 |