• Home
  • Raw
  • Download

Lines Matching refs:l_code_block

1159 …                         opj_tcd_cblk_enc_t* l_code_block = l_current_precinct->cblks.enc + cblkno;  in opj_tcd_init_tile()  local
1161 if (! opj_tcd_code_block_enc_allocate(l_code_block)) { in opj_tcd_init_tile()
1165 l_code_block->x0 = opj_int_max(cblkxstart, l_current_precinct->x0); in opj_tcd_init_tile()
1166 l_code_block->y0 = opj_int_max(cblkystart, l_current_precinct->y0); in opj_tcd_init_tile()
1167 l_code_block->x1 = opj_int_min(cblkxend, l_current_precinct->x1); in opj_tcd_init_tile()
1168 l_code_block->y1 = opj_int_min(cblkyend, l_current_precinct->y1); in opj_tcd_init_tile()
1170 if (! opj_tcd_code_block_enc_allocate_data(l_code_block)) { in opj_tcd_init_tile()
1174 … opj_tcd_cblk_dec_t* l_code_block = l_current_precinct->cblks.dec + cblkno; in opj_tcd_init_tile() local
1176 if (! opj_tcd_code_block_dec_allocate(l_code_block)) { in opj_tcd_init_tile()
1180 l_code_block->x0 = opj_int_max(cblkxstart, l_current_precinct->x0); in opj_tcd_init_tile()
1181 l_code_block->y0 = opj_int_max(cblkystart, l_current_precinct->y0); in opj_tcd_init_tile()
1182 l_code_block->x1 = opj_int_min(cblkxend, l_current_precinct->x1); in opj_tcd_init_tile()
1183 l_code_block->y1 = opj_int_min(cblkyend, l_current_precinct->y1); in opj_tcd_init_tile()
2286 opj_tcd_cblk_dec_t * l_code_block = p_precinct->cblks.dec; in opj_tcd_code_block_dec_deallocate() local
2287 if (l_code_block) { in opj_tcd_code_block_dec_deallocate()
2300 if (l_code_block->segs) { in opj_tcd_code_block_dec_deallocate()
2301 opj_free(l_code_block->segs); in opj_tcd_code_block_dec_deallocate()
2302 l_code_block->segs = 00; in opj_tcd_code_block_dec_deallocate()
2305 if (l_code_block->chunks) { in opj_tcd_code_block_dec_deallocate()
2306 opj_free(l_code_block->chunks); in opj_tcd_code_block_dec_deallocate()
2307 l_code_block->chunks = 00; in opj_tcd_code_block_dec_deallocate()
2310 opj_aligned_free(l_code_block->decoded_data); in opj_tcd_code_block_dec_deallocate()
2311 l_code_block->decoded_data = NULL; in opj_tcd_code_block_dec_deallocate()
2313 ++l_code_block; in opj_tcd_code_block_dec_deallocate()
2328 opj_tcd_cblk_enc_t * l_code_block = p_precinct->cblks.enc; in opj_tcd_code_block_enc_deallocate() local
2329 if (l_code_block) { in opj_tcd_code_block_enc_deallocate()
2334 if (l_code_block->data) { in opj_tcd_code_block_enc_deallocate()
2337 opj_free(l_code_block->data - 1); in opj_tcd_code_block_enc_deallocate()
2338 l_code_block->data = 00; in opj_tcd_code_block_enc_deallocate()
2341 if (l_code_block->layers) { in opj_tcd_code_block_enc_deallocate()
2342 opj_free(l_code_block->layers); in opj_tcd_code_block_enc_deallocate()
2343 l_code_block->layers = 00; in opj_tcd_code_block_enc_deallocate()
2346 if (l_code_block->passes) { in opj_tcd_code_block_enc_deallocate()
2347 opj_free(l_code_block->passes); in opj_tcd_code_block_enc_deallocate()
2348 l_code_block->passes = 00; in opj_tcd_code_block_enc_deallocate()
2350 ++l_code_block; in opj_tcd_code_block_enc_deallocate()