Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching refs:tile

55                 opj_tcd_tile_t *tile = &tcd->tcd_image->tiles[tileno];
56 fprintf(fd, " tile {\n");
58 tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps);
59 for (compno = 0; compno < tile->numcomps; compno++) {
60 opj_tcd_tilecomp_t *tilec = &tile->comps[compno];
108 * Initializes tile coding/decoding
476 opj_tile_info_t *tile_info = &cstr_info->tile[tcd->tcd_tileno];
576 cstr_info->tile[tcd->tcd_tileno].thresh[layno] = goodthresh;
639 /* opj_event_msg(p_manager, EVT_ERROR, "Not enough memory to handle tile datan"); */
640 /* fprintf(stderr, "Not enough memory to handle tile data"); */
690 /* size of data for a tile */
701 p = p_tile_no % l_cp->tw; /* tile coordinates */
703 /*fprintf(stderr, "Tile coordinate = %d,%d\n", p, q);*/
705 /* 4 borders of the tile rescale on the image if necessary */
725 /*fprintf(stderr, "Tile border = %d,%d,%d,%d\n", l_tile->x0, l_tile->y0,l_tile->x1,l_tile->y1);*/
727 /*tile->numcomps = image->numcomps; */
738 opj_event_msg(manager, EVT_ERROR, "Invalid tile data\n");
744 opj_event_msg(manager, EVT_ERROR, "Not enough memory for tile data\n");
750 opj_event_msg(manager, EVT_ERROR, "Not enough memory for tile data\n");
764 opj_event_msg(manager, EVT_ERROR, "Not enough memory for tile data\n");
782 opj_event_msg(manager, EVT_ERROR, "Not enough memory for tile resolutions\n");
1227 p_cstr_info->tile[p_tile_no].pw[i] = (int)l_res_idx->pw;
1228 p_cstr_info->tile[p_tile_no].ph[i] = (int)l_res_idx->ph;
1231 p_cstr_info->tile[p_tile_no].pdx[i] = (int)l_tccp->prcw[i];
1232 p_cstr_info->tile[p_tile_no].pdy[i] = (int)l_tccp->prch[i];
1234 p_cstr_info->tile[p_tile_no].packet = (opj_packet_info_t*) opj_calloc((size_t)p_cstr_info->numcomps * (size_t)p_cstr_info->numlayers * l_num_packs, sizeof(opj_packet_info_t));
1235 if (!p_cstr_info->tile[p_tile_no].packet) {
1243 /*---------------TILE-------------------*/
1314 p_cstr_info->tile[p_tile_no].pw[resno] = res_idx->pw;
1315 p_cstr_info->tile[p_tile_no].ph[resno] = res_idx->ph;
1317 p_cstr_info->tile[p_tile_no].pdx[resno] = tccp->prcw[resno];
1318 p_cstr_info->tile[p_tile_no].pdy[resno] = tccp->prch[resno];
1321 p_cstr_info->tile[p_tile_no].packet = (opj_packet_info_t *) opj_malloc(p_cstr_info->numlayers * numprec * sizeof(opj_packet_info_t));
1374 /*---------------TILE-------------------*/
1652 tile->comps[compno].numresolutions - tcd->cp->reduce - 1;