/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/ |
H A D | jpc_t1dec.h | 134 /* Decode all of the code blocks for a particular tile. */ 135 int jpc_dec_decodecblks(jpc_dec_t *dec, jpc_dec_tile_t *tile);
|
H A D | jpc_t2dec.h | 137 /* Decode the packets for a tile-part. */ 142 jpc_pi_t *jpc_dec_pi_create(jpc_dec_t *dec, jpc_dec_tile_t *tile);
|
H A D | jpc_dec.c | 150 /* In a tile-part header, expecting a SOT marker segment. */ 152 /* In a tile-part header, expecting "other" marker segments. */ 230 static int jpc_dec_tiledecode(jpc_dec_t *dec, jpc_dec_tile_t *tile); 231 static int jpc_dec_tileinit(jpc_dec_t *dec, jpc_dec_tile_t *tile); 232 static int jpc_dec_tilefini(jpc_dec_t *dec, jpc_dec_tile_t *tile); 487 jpc_dec_tile_t *tile; local 520 (one stream per tile-part). */ 537 fprintf(stderr, "invalid tile number in SOT marker segment\n"); 540 /* Set the current tile. */ 542 tile 585 jpc_dec_tile_t *tile; local 680 jpc_dec_tileinit(jpc_dec_t *dec, jpc_dec_tile_t *tile) argument 952 jpc_dec_tilefini(jpc_dec_t *dec, jpc_dec_tile_t *tile) argument 1059 jpc_dec_tiledecode(jpc_dec_t *dec, jpc_dec_tile_t *tile) argument 1183 jpc_dec_tile_t *tile; local 1205 jpc_dec_tile_t *tile; local 1299 jpc_dec_tile_t *tile; local 1321 jpc_dec_tile_t *tile; local 1348 jpc_dec_tile_t *tile; local 1376 jpc_dec_tile_t *tile; local 1398 jpc_dec_tile_t *tile; local 1425 jpc_dec_tile_t *tile; local 1475 jpc_dec_tile_t *tile; local 2014 jpc_dec_tile_t *tile; local [all...] |
H A D | jpc_enc.c | 171 void jpc_enc_tile_destroy(jpc_enc_tile_t *tile); 174 jas_image_t *image, jpc_enc_tile_t *tile); 674 /* Ensure that the tile width and height is valid. */ 676 fprintf(stderr, "invalid tile width %lu\n", (unsigned long) 681 fprintf(stderr, "invalid tile height %lu\n", (unsigned long) 686 /* Ensure that the tile grid offset is valid. */ 691 fprintf(stderr, "invalid tile grid offset (%lu, %lu)\n", 1164 jpc_enc_tile_t *tile; local 1194 tile = enc->curtile; 1200 endcomps = &tile 1637 jpc_enc_tile_t *tile; local 1702 jpc_enc_tile_t *tile; local 1965 jpc_enc_tile_t *tile; local 2066 jpc_enc_tile_destroy(jpc_enc_tile_t *tile) argument 2087 tcmpt_create(jpc_enc_tcmpt_t *tcmpt, jpc_enc_cp_t *cp, jas_image_t *image, jpc_enc_tile_t *tile) argument 2626 jpc_enc_tile_t *tile; local [all...] |
H A D | jpc_t2enc.c | 186 jpc_enc_tile_t *tile; local 189 tile = enc->curtile; 192 pi = tile->pi; 236 jpc_enc_tile_t *tile; local 241 tile = enc->curtile; 248 ms->parms.sop.seqno = jpc_pi_getind(tile->pi); 264 comp = &tile->tcmpts[compno]; 391 comp = &tile->tcmpts[compno]; 449 jpc_enc_tile_t *tile; local 453 tile 497 jpc_enc_tile_t *tile; local 548 jpc_enc_tile_t *tile; local 600 jpc_enc_pi_create(jpc_enc_cp_t *cp, jpc_enc_tile_t *tile) argument [all...] |
H A D | jpc_t2enc.h | 136 /* Encode the packets for a tile. */ 153 jpc_pi_t *jpc_enc_pi_create(jpc_enc_cp_t *cp, jpc_enc_tile_t *tile);
|
H A D | jpc_t2dec.c | 226 jpc_dec_tile_t *tile; local 243 tile = dec->curtile; 244 cp = tile->cp; 281 tcomp = &tile->tcomps[compno]; 415 tcomp = &tile->tcomps[compno]; 464 jpc_dec_tile_t *tile; local 468 tile = dec->curtile; 469 pi = tile->pi; 471 if (!tile->pkthdrstream || jas_stream_peekc(tile 509 jpc_dec_pi_create(jpc_dec_t *dec, jpc_dec_tile_t *tile) argument [all...] |
H A D | jpc_t1dec.c | 141 static int jpc_dec_decodecblk(jpc_dec_t *dec, jpc_dec_tile_t *tile, jpc_dec_tcomp_t *tcomp, jpc_dec_band_t *band, 192 int jpc_dec_decodecblks(jpc_dec_t *dec, jpc_dec_tile_t *tile) argument 205 for (compcnt = dec->numcomps, tcomp = tile->tcomps; compcnt > 0; 225 if (jpc_dec_decodecblk(dec, tile, tcomp, 239 static int jpc_dec_decodecblk(jpc_dec_t *dec, jpc_dec_tile_t *tile, jpc_dec_tcomp_t *tcomp, jpc_dec_band_t *band, argument 252 compno = tcomp - tile->tcomps; 290 ccp = &tile->cp->ccps[compno]; 314 (tile->cp->ccps[compno].cblkctx & JPC_COX_VSC) != 0, 317 (tile->cp->ccps[compno].cblkctx & JPC_COX_VSC) != 0, 323 (tile [all...] |
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/ |
H A D | t2.h | 60 Encode the packets of a tile to a destination buffer 62 @param tileno number of the tile encoded 63 @param tile the tile for which to write the packets 68 @param tpnum Tile part number of the current tile 69 @param tppos The position of the tile part flag in the progression order 72 @param cur_totnum_tp The total number of tile parts in the current tile 74 int t2_encode_packets(opj_t2_t* t2,int tileno, opj_tcd_tile_t *tile, int maxlayers, unsigned char *dest, int len, opj_codestream_info_t *cstr_info,int tpnum, int tppos,int pino,J2K_T2_MODE t2_mode,int cur_totnum_tp); 76 Decode the packets of a tile fro [all...] |
H A D | tcd.c | 44 opj_tcd_tile_t *tile = &tcd->tcd_image->tiles[tileno]; local 45 fprintf(fd, " tile {\n"); 47 tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps); 48 for (compno = 0; compno < tile->numcomps; compno++) { 49 opj_tcd_tilecomp_t *tilec = &tile->comps[compno]; 141 int q = curtileno / cp->tw; /* .. coordonnees de la tile ( 144 opj_tcd_tile_t *tile = tcd->tcd_image->tiles; local 358 opj_tcd_tile_t *tile = tcd->tcd_image->tiles; local 411 opj_tcd_tile_t *tile = tcd->tcd_image->tiles; local 630 opj_tcd_tile_t *tile; local 640 opj_tcd_tile_t *tile; local 683 opj_tcd_tile_t *tile; local 1184 opj_tcd_tile_t *tile = NULL; local 1335 opj_tcd_tile_t *tile = NULL; local 1540 opj_tcd_tile_t *tile = &tcd_image->tiles[tileno]; local [all...] |
H A D | thix_manager.c | 42 * Write tile-part headers mhix box 46 * @param[in] tileno tile number 89 opj_tile_info_t tile; local 98 tile = cstr_info.tile[tileno]; 99 tp = tile.tp[0]; 103 marker = cstr_info.tile[tileno].marker; 105 for( i=0; i<cstr_info.tile[tileno].marknum; i++){ /* Marker restricted to 1 apparition */
|
H A D | tpix_manager.c | 74 * Get number of maximum tile parts per tile 77 * @return number of maximum tile parts per tile 110 for (j = 0; j < cstr_info.tile[i].num_tps; j++){ 111 tp = cstr_info.tile[i].tp[j]; 115 if( cstr_info.tile[i].num_tps == 1 && cstr_info.numdecompos[compno] > 1) 121 /*cio_write(img.tile[i].tile_parts[j].num_reso_AUX,4);*/ /* Aux_i,j : Auxiliary value */ 150 num_max_tp = MAX( cstr_info.tile[i].num_tps, num_max_tp);
|
H A D | t2.c | 50 Encode a packet of a tile to a destination buffer 51 @param tile Tile for which to write the packets 57 @param tileno Number of the tile encoded 60 static int t2_encode_packet(opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi, unsigned char *dest, int len, opj_codestream_info_t *cstr_info, int tileno); 69 Decode a packet of a tile from a source buffer 73 @param tile Tile for which to write the packets 79 static int t2_decode_packet(opj_t2_t* t2, unsigned char *src, int len, opj_tcd_tile_t *tile, 132 static int t2_encode_packet(opj_tcd_tile_t * tile, opj_tcp_t * tcp, opj_pi_iterator_t *pi, unsigned char *dest, int length, opj_codestream_info_t *cstr_info, int tileno) { argument 141 opj_tcd_tilecomp_t *tilec = &tile->comps[compno]; 152 c[4] = (unsigned char)((tile 331 t2_decode_packet(opj_t2_t* t2, unsigned char *src, int len, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi, opj_packet_info_t *pack_info) argument 620 t2_encode_packets(opj_t2_t* t2,int tileno, opj_tcd_tile_t *tile, int maxlayers, unsigned char *dest, int len, opj_codestream_info_t *cstr_info,int tpnum, int tppos,int pino, J2K_T2_MODE t2_mode, int cur_totnum_tp) argument 711 t2_decode_packets(opj_t2_t *t2, unsigned char *src, int len, int tileno, opj_tcd_tile_t *tile, opj_codestream_info_t *cstr_info) argument [all...] |
H A D | phix_manager.c | 111 nmax += cstr_info.tile[0].ph[i] * cstr_info.tile[0].pw[i] * cstr_info.numlayers; 117 tile_Idx = &cstr_info.tile[ tileno];
|
H A D | ppix_manager.c | 115 nmax += cstr_info.tile[0].ph[i] * cstr_info.tile[0].pw[i] * cstr_info.numlayers; 121 tile_Idx = &cstr_info.tile[ tileno];
|
H A D | t1.h | 129 Encode the code-blocks of a tile 131 @param tile The tile to encode 134 void t1_encode_cblks(opj_t1_t *t1, opj_tcd_tile_t *tile, opj_tcp_t *tcp); 136 Decode the code-blocks of a tile 138 @param tilec The tile to decode
|
H A D | j2k.c | 53 Write the SIZ marker (image and tile size) 58 Read the SIZ marker (image and tile size) 155 Read the TLM marker (tile-part lengths) 165 Read the PLT marker (packet length, tile-part header) 175 Read the PPT marker (packet packet headers, tile-part header) 185 Write the SOT marker (start of tile-part) 190 Read the SOT marker (start of tile-part) 209 @param tileno Number of the tile concerned by the information written 241 Add tile header marker information 242 @param tileno tile inde [all...] |
H A D | openjpeg.c | 333 opj_tile_info_t *tile_info = &cstr_info->tile[tileno]; 339 opj_free(cstr_info->tile);
|
H A D | openjpeg.h | 81 #define JPWL_MAX_NO_TILESPECS 16 /**< Maximum number of tile parts expected by JPWL: increase at your will */ 214 int tile; member in struct:opj_poc 231 /** size of tile: tile_size_on = false (not in argument) or = true (in argument) */ 317 /** tile number of header protection specification (>=0) */ 321 /** tile number of packet protection specification (>=0) */ 335 /** tile number of sensitivity specification (>=0) */ 585 Index structure : Information concerning a packet inside tile 614 Index structure : Information concerning tile-parts 617 /** start position of tile part */ 619 /** end position of tile par 718 opj_tile_info_t *tile; member in struct:opj_codestream_info [all...] |
/haiku-fatelf/src/libs/pdflib/libs/tiff/ |
H A D | tif_read.c | 322 * Read and decompress a tile of data. The 323 * tile is selected by the (x,y,z,s) coordinates. 336 * Read a tile of data and decompress the specified 340 TIFFReadEncodedTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 347 if (tile >= td->td_nstrips) { 349 (long) tile, (tif_long) td->td_nstrips); 356 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, 357 (tidata_t) buf, size, (tsample_t)(tile/td->td_stripsperimage))) { 366 ttile_t tile, tdata_t buf, tsize_t size, const char* module) 373 if (!SeekOK(tif, td->td_stripoffset[tile])) { 365 TIFFReadRawTile1(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size, const char* module) argument 414 TIFFReadRawTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 439 TIFFFillTile(TIFF* tif, ttile_t tile) argument 570 TIFFStartTile(TIFF* tif, ttile_t tile) argument [all...] |
H A D | tif_tile.c | 35 * Compute which tile an (x,y,z,s) value is in. 44 ttile_t tile = 1; local 60 tile = (xpt*ypt*zpt)*s + 65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx + s; 67 return (tile); 131 * Compute the # bytes in each row of a tile. 148 * Compute the # bytes in a variable length, row-aligned tile. 186 * Compute the # bytes in a row-aligned tile. 195 * Compute a default tile size based on the image
|
/haiku-fatelf/src/libs/tiff/ |
H A D | tif_read.c | 366 * Read and decompress a tile of data. The 367 * tile is selected by the (x,y,z,s) coordinates. 380 * Read a tile of data and decompress the specified 384 TIFFReadEncodedTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 391 if (tile >= td->td_nstrips) { 394 (long) tile, (unsigned long) td->td_nstrips); 401 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, 402 (tidata_t) buf, size, (tsample_t)(tile/td->td_stripsperimage))) { 411 ttile_t tile, tdata_t buf, tsize_t size, const char* module) 419 if (!SeekOK(tif, td->td_stripoffset[tile])) { 410 TIFFReadRawTile1(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size, const char* module) argument 460 TIFFReadRawTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 497 TIFFFillTile(TIFF* tif, ttile_t tile) argument 659 TIFFStartTile(TIFF* tif, ttile_t tile) argument [all...] |
H A D | tif_write.c | 304 * Write and compress a tile of data. The 305 * tile is selected by the (x,y,z,s) coordinates. 314 * NB: A tile size of -1 is used instead of tif_tilesize knowing 315 * that TIFFWriteEncodedTile will clamp this to the tile size. 316 * This is done because the tile size may not be defined until 325 * specified tile. There must be space for the 327 * to a tile to the tile size, but does not (and 329 * tile do not write more than tile siz 336 TIFFWriteEncodedTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc) argument 423 TIFFWriteRawTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc) argument [all...] |
H A D | tif_tile.c | 65 * Compute which tile an (x,y,z,s) value is in. 74 ttile_t tile = 1; local 90 tile = (xpt*ypt*zpt)*s + 95 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; 97 return (tile); 171 * Compute the # bytes in each row of a tile. 190 * Compute the # bytes in a variable length, row-aligned tile. 238 * Compute the # bytes in a row-aligned tile. 247 * Compute a default tile size based on the image
|
/haiku-fatelf/src/kits/tracker/ |
H A D | BackgroundImage.cpp | 200 uint32 tile = 0; local 240 tile = B_TILE_BITMAP; 246 followFlags, tile);
|