mirror of
https://github.com/intel/isa-l.git
synced 2025-11-01 21:13:09 +01:00
igzip: Create flag signifying existence of buffer history
Create a flag signifying the existence of buffer history so a literal does not have to be encoded on every call of isal_deflate_body and isal_deflate_finish. Change-Id: I3750cac7e5f19fbaa190e19fb929172c16289723 Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
This commit is contained in:
@@ -240,7 +240,7 @@ struct isal_zstate {
|
||||
uint32_t tmp_out_end; //!< temporary variable
|
||||
uint32_t has_eob; //!< keeps track of eob on the last deflate block
|
||||
uint32_t has_eob_hdr; //!< keeps track of eob hdr (with BFINAL set)
|
||||
uint32_t left_over; //!< keeps track of overflow bytes
|
||||
uint32_t has_hist; //!< flag to track if there is match history
|
||||
|
||||
DECLARE_ALIGNED(uint8_t buffer[2 * IGZIP_HIST_SIZE + ISAL_LOOK_AHEAD], 32); //!< Internal buffer
|
||||
DECLARE_ALIGNED(uint16_t head[IGZIP_HASH_SIZE], 16); //!< Hash array
|
||||
|
||||
Reference in New Issue
Block a user