Lines Matching refs:dfltcc_state

20     struct dfltcc_deflate_state *dfltcc_state = GET_DFLTCC_DEFLATE_STATE(state);  in dfltcc_can_deflate()  local
29 dfltcc_state->level_mask)) in dfltcc_can_deflate()
33 if (!is_bit_set(dfltcc_state->common.af.fns, DFLTCC_GDHT) || in dfltcc_can_deflate()
34 !is_bit_set(dfltcc_state->common.af.fns, DFLTCC_CMPR) || in dfltcc_can_deflate()
35 !is_bit_set(dfltcc_state->common.af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate()
44 struct dfltcc_deflate_state *dfltcc_state = GET_DFLTCC_DEFLATE_STATE(state); in dfltcc_reset_deflate_state() local
46 dfltcc_reset_state(&dfltcc_state->common); in dfltcc_reset_deflate_state()
50 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK_DEBUG; in dfltcc_reset_deflate_state()
52 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK; in dfltcc_reset_deflate_state()
53 dfltcc_state->block_size = DFLTCC_BLOCK_SIZE; in dfltcc_reset_deflate_state()
54 dfltcc_state->block_threshold = DFLTCC_FIRST_FHT_BLOCK_SIZE; in dfltcc_reset_deflate_state()
55 dfltcc_state->dht_threshold = DFLTCC_DHT_MIN_SAMPLE_SIZE; in dfltcc_reset_deflate_state()
126 struct dfltcc_deflate_state *dfltcc_state = GET_DFLTCC_DEFLATE_STATE(state); in dfltcc_deflate() local
127 struct dfltcc_param_v0 *param = &dfltcc_state->common.param; in dfltcc_deflate()
175 strm->total_in > dfltcc_state->block_threshold && in dfltcc_deflate()
176 strm->avail_in >= dfltcc_state->dht_threshold) { in dfltcc_deflate()
190 dfltcc_state->block_threshold = in dfltcc_deflate()
191 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
208 if (no_flush && strm->avail_in > dfltcc_state->block_size) { in dfltcc_deflate()
209 masked_avail_in += (strm->avail_in - dfltcc_state->block_size); in dfltcc_deflate()
210 strm->avail_in = dfltcc_state->block_size; in dfltcc_deflate()
244 if (strm->total_in == 0 && dfltcc_state->block_threshold > 0) { in dfltcc_deflate()
266 strm->msg = oesc_msg(dfltcc_state->common.msg, param->oesc); in dfltcc_deflate()
288 dfltcc_state->block_threshold = in dfltcc_deflate()
289 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()