Lines Matching refs:l_img_comp
343 opj_image_comp_t * l_img_comp,
1861 opj_image_comp_t * l_img_comp = 00; in opj_j2k_write_siz() local
1871 l_img_comp = l_image->comps; in opj_j2k_write_siz()
1928 …opj_write_bytes(l_current_ptr, l_img_comp->prec - 1 + (l_img_comp->sgnd << 7), 1); /* Ssiz_i … in opj_j2k_write_siz()
1931 opj_write_bytes(l_current_ptr, l_img_comp->dx, 1); /* XRsiz_i */ in opj_j2k_write_siz()
1934 opj_write_bytes(l_current_ptr, l_img_comp->dy, 1); /* YRsiz_i */ in opj_j2k_write_siz()
1937 ++l_img_comp; in opj_j2k_write_siz()
1968 opj_image_comp_t * l_img_comp = 00; in opj_j2k_read_siz() local
2102 l_img_comp = l_image->comps; in opj_j2k_read_siz()
2109 l_img_comp->prec = (tmp & 0x7f) + 1; in opj_j2k_read_siz()
2110 l_img_comp->sgnd = tmp >> 7; in opj_j2k_read_siz()
2113 l_img_comp->dx = (OPJ_UINT32)tmp; /* should be between 1 and 255 */ in opj_j2k_read_siz()
2116 l_img_comp->dy = (OPJ_UINT32)tmp; /* should be between 1 and 255 */ in opj_j2k_read_siz()
2117 if( l_img_comp->dx < 1 || l_img_comp->dx > 255 || in opj_j2k_read_siz()
2118 l_img_comp->dy < 1 || l_img_comp->dy > 255 ) { in opj_j2k_read_siz()
2121 i, l_img_comp->dx, l_img_comp->dy); in opj_j2k_read_siz()
2124 if( l_img_comp->prec > 38) { /* TODO openjpeg won't handle more than ? */ in opj_j2k_read_siz()
2127 i, l_img_comp->prec); in opj_j2k_read_siz()
2158 …l_img_comp->resno_decoded = 0; /* number … in opj_j2k_read_siz()
2159 … l_img_comp->factor = l_cp->m_specific_param.m_dec.m_reduce; /* reducing factor per component */ in opj_j2k_read_siz()
2160 ++l_img_comp; in opj_j2k_read_siz()
4618 opj_image_comp_t * l_img_comp = 00; in opj_j2k_update_rates() local
4734 l_img_comp = l_image->comps; in opj_j2k_update_rates()
4738 l_tile_size += ( opj_uint_ceildiv(l_cp->tdx,l_img_comp->dx) in opj_j2k_update_rates()
4740 opj_uint_ceildiv(l_cp->tdy,l_img_comp->dy) in opj_j2k_update_rates()
4742 l_img_comp->prec in opj_j2k_update_rates()
4745 ++l_img_comp; in opj_j2k_update_rates()
8427 opj_image_comp_t* l_img_comp = NULL; in opj_j2k_set_decode_area() local
8533 l_img_comp = p_image->comps; in opj_j2k_set_decode_area()
8538 l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); in opj_j2k_set_decode_area()
8539 l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); in opj_j2k_set_decode_area()
8540 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); in opj_j2k_set_decode_area()
8541 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); in opj_j2k_set_decode_area()
8543 l_w = opj_int_ceildivpow2(l_comp_x1, (OPJ_INT32)l_img_comp->factor) in opj_j2k_set_decode_area()
8544 … - opj_int_ceildivpow2((OPJ_INT32)l_img_comp->x0, (OPJ_INT32)l_img_comp->factor); in opj_j2k_set_decode_area()
8551 l_img_comp->w = (OPJ_UINT32)l_w; in opj_j2k_set_decode_area()
8553 l_h = opj_int_ceildivpow2(l_comp_y1, (OPJ_INT32)l_img_comp->factor) in opj_j2k_set_decode_area()
8554 … - opj_int_ceildivpow2((OPJ_INT32)l_img_comp->y0, (OPJ_INT32)l_img_comp->factor); in opj_j2k_set_decode_area()
8561 l_img_comp->h = (OPJ_UINT32)l_h; in opj_j2k_set_decode_area()
8563 l_img_comp++; in opj_j2k_set_decode_area()
9859 opj_image_comp_t* l_img_comp; in opj_j2k_get_tile() local
9889 l_img_comp = p_image->comps; in opj_j2k_get_tile()
9894 l_img_comp->factor = p_j2k->m_private_image->comps[compno].factor; in opj_j2k_get_tile()
9896 l_img_comp->x0 = opj_uint_ceildiv(p_image->x0, l_img_comp->dx); in opj_j2k_get_tile()
9897 l_img_comp->y0 = opj_uint_ceildiv(p_image->y0, l_img_comp->dy); in opj_j2k_get_tile()
9898 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx); in opj_j2k_get_tile()
9899 l_comp_y1 = opj_int_ceildiv((OPJ_INT32)p_image->y1, (OPJ_INT32)l_img_comp->dy); in opj_j2k_get_tile()
9901 …l_img_comp->w = (OPJ_UINT32)(opj_int_ceildivpow2(l_comp_x1, (OPJ_INT32)l_img_comp->factor) - opj_i… in opj_j2k_get_tile()
9902 …l_img_comp->h = (OPJ_UINT32)(opj_int_ceildivpow2(l_comp_y1, (OPJ_INT32)l_img_comp->factor) - opj_i… in opj_j2k_get_tile()
9904 l_img_comp++; in opj_j2k_get_tile()
10005 opj_image_comp_t * l_img_comp = p_tcd->image->comps + j; in opj_j2k_encode() local
10006 l_tilec->data = l_img_comp->data; in opj_j2k_encode()
10156 opj_image_comp_t * l_img_comp, in opj_get_tile_dimensions() argument
10166 *l_size_comp = l_img_comp->prec >> 3; /* (/8) */ in opj_get_tile_dimensions()
10167 l_remaining = l_img_comp->prec & 7; /* (%8) */ in opj_get_tile_dimensions()
10178 *l_offset_x = opj_uint_ceildiv(l_image->x0, l_img_comp->dx); in opj_get_tile_dimensions()
10179 *l_offset_y = opj_uint_ceildiv(l_image->y0, l_img_comp->dy); in opj_get_tile_dimensions()
10180 …UINT32)opj_int_ceildiv((OPJ_INT32)l_image->x1 - (OPJ_INT32)l_image->x0, (OPJ_INT32)l_img_comp->dx); in opj_get_tile_dimensions()
10193 opj_image_comp_t * l_img_comp = l_image->comps + i; in opj_j2k_get_tile_data() local
10198 l_img_comp, in opj_j2k_get_tile_data()
10208 l_src_ptr = l_img_comp->data + l_tile_offset; in opj_j2k_get_tile_data()
10214 if (l_img_comp->sgnd) { in opj_j2k_get_tile_data()
10241 if (l_img_comp->sgnd) { in opj_j2k_get_tile_data()