Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching full:comps

1871         l_img_comp = l_image->comps;
2069 "JPWL: Csiz is %d => space in SIZ only for %d comps.!!!\n",
2095 l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps, sizeof(opj_image_comp_t));
2096 if (l_image->comps == 00){
2102 l_img_comp = l_image->comps;
2129 if (!(l_image->comps[i].dx * l_image->comps[i].dy)) {
2132 i, i, l_image->comps[i].dx, l_image->comps[i].dy);
2139 if (!l_image->comps[i].dx) {
2140 l_image->comps[i].dx = 1;
2142 i, l_image->comps[i].dx);
2144 if (!l_image->comps[i].dy) {
2145 l_image->comps[i].dy = 1;
2147 i, l_image->comps[i].dy);
2272 if (! l_image->comps[i].sgnd) {
2273 p_j2k->m_specific_param.m_decoder.m_default_tcp->tccps[i].m_dc_level_shift = 1 << (l_image->comps[i].prec - 1);
4632 l_bits_empty = 8 * l_image->comps->dx * l_image->comps->dy;
4633 l_size_pixel = l_image->numcomps * l_image->comps->prec;
4728 l_img_comp = l_image->comps;
5706 /** do not support number of comps != image */
5803 l_comp = l_image->comps;
5857 l_comp = p_j2k->m_private_image->comps;
6077 parameters->tcp_rates[0] = (OPJ_FLOAT32) (image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/
6078 (OPJ_FLOAT32)(((OPJ_UINT32)parameters->max_cs_size) * 8 * image->comps[0].dx * image->comps[0].dy);
6099 if ((image->comps[i].bpp != 12) | (image->comps[i].sgnd)){
6102 char *tmp_str = image->comps[i].sgnd?signed_str:unsigned_str;
6108 i,image->comps[i].bpp, tmp_str);
6116 if (((image->comps[0].w > 2048) | (image->comps[0].h > 1080))){
6122 image->comps[0].w,image->comps[0].h);
6127 if (((image->comps[0].w > 4096) | (image->comps[0].h > 2160))){
6133 image->comps[0].w,image->comps[0].h);
6222 temp_size =(OPJ_FLOAT32)(image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/
6223 (parameters->tcp_rates[parameters->tcp_numlayers-1] * 8 * (OPJ_FLOAT32)image->comps[0].dx * (OPJ_FLOAT32)image->comps[0].dy);
6231 temp_rate = (OPJ_FLOAT32) (image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/
6232 (OPJ_FLOAT32)(((OPJ_UINT32)parameters->max_cs_size) * 8 * image->comps[0].dx * image->comps[0].dy);
6549 if ((image->comps[0].dx != image->comps[1].dx) ||
6550 (image->comps[0].dx != image->comps[2].dx) ||
6551 (image->comps[0].dy != image->comps[1].dy) ||
6552 (image->comps[0].dy != image->comps[2].dy)) {
6559 opj_image_comp_t * l_comp = &(image->comps[i]);
6635 opj_dwt_calc_explicit_stepsizes(tccp, image->comps[i].prec);
8145 l_tilec = p_tcd->tcd_image->tiles->comps;
8147 l_img_comp_src = l_image_src->comps;
8149 l_img_comp_dest = p_output_image->comps;
8509 l_img_comp = p_image->comps;
9320 if (img_header->comps){
9324 j2k_dump_image_comp_header(&(img_header->comps[compno]), dev_dump_flag, out_stream);
9808 p_image->comps[compno].resno_decoded = p_j2k->m_output_image->comps[compno].resno_decoded;
9809 p_image->comps[compno].data = p_j2k->m_output_image->comps[compno].data;
9814 fwrite( p_image->comps[compno].data, sizeof(OPJ_INT32), p_image->comps[compno].w * p_image->comps[compno].h, debug );
9817 p_j2k->m_output_image->comps[compno].data = NULL;
9861 l_img_comp = p_image->comps;
9866 l_img_comp->factor = p_j2k->m_private_image->comps[compno].factor;
9904 p_image->comps[compno].resno_decoded = p_j2k->m_output_image->comps[compno].resno_decoded;
9906 if (p_image->comps[compno].data)
9907 opj_free(p_image->comps[compno].data);
9909 p_image->comps[compno].data = p_j2k->m_output_image->comps[compno].data;
9911 p_j2k->m_output_image->comps[compno].data = NULL;
9926 if (p_j2k->m_private_image->comps) {
9935 p_j2k->m_private_image->comps[it_comp].factor = res_factor;
9975 opj_tcd_tilecomp_t* l_tilec = p_tcd->tcd_image->tiles->comps + j;
9977 opj_image_comp_t * l_img_comp = p_tcd->image->comps + j;
10067 if (p_image->comps) {
10070 if (p_image->comps[it_comp].data) {
10071 p_j2k->m_private_image->comps[it_comp].data =p_image->comps[it_comp].data;
10072 p_image->comps[it_comp].data = NULL;
10164 opj_tcd_tilecomp_t * l_tilec = p_tcd->tcd_image->tiles->comps + i;
10165 opj_image_comp_t * l_img_comp = l_image->comps + i;
10793 opj_tcd_tilecomp_t* l_tilec = p_j2k->m_tcd->tcd_image->tiles->comps + j;