Searched refs:p_code_block (Results 1 – 1 of 1) sorted by relevance
109 static OPJ_BOOL opj_tcd_code_block_dec_allocate (opj_tcd_cblk_dec_t * p_code_block);119 static OPJ_BOOL opj_tcd_code_block_enc_allocate (opj_tcd_cblk_enc_t * p_code_block);1011 OPJ_BOOL opj_tcd_code_block_enc_allocate (opj_tcd_cblk_enc_t * p_code_block) in opj_tcd_code_block_enc_allocate() argument1013 if (! p_code_block->data) { in opj_tcd_code_block_enc_allocate()1015 … p_code_block->data = (OPJ_BYTE*) opj_malloc(OPJ_J2K_DEFAULT_CBLK_DATA_SIZE*2); /*why +1 ?*/ in opj_tcd_code_block_enc_allocate()1016 if(! p_code_block->data) { in opj_tcd_code_block_enc_allocate()1020 p_code_block->data[0] = 0; in opj_tcd_code_block_enc_allocate()1021 p_code_block->data+=1; in opj_tcd_code_block_enc_allocate()1024 p_code_block->layers = (opj_tcd_layer_t*) opj_malloc(100 * sizeof(opj_tcd_layer_t)); in opj_tcd_code_block_enc_allocate()1025 if (! p_code_block->layers) { in opj_tcd_code_block_enc_allocate()[all …]