• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/

Lines Matching defs:tile

127 /* This struct defines a tile of a PDF.  */
1931 uncompressed image data from the input TIFF for a tile of a page.
1934 void t2p_read_tiff_size_tile(T2P* t2p, TIFF* input, ttile_t tile){
1942 edge |= t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile);
1943 edge |= t2p_tile_is_bottom_edge(t2p->tiff_tiles[t2p->pdf_page], tile);
1955 t2p->tiff_datasize=tbc[tile];
1968 t2p->tiff_datasize -= 4; /* don't use EOI of header or SOI of tile */
1985 * This functions returns a non-zero value when the tile is on the right edge
1986 * and does not have full imaged tile width.
1989 int t2p_tile_is_right_edge(T2P_TILES tiles, ttile_t tile){
1991 if( ((tile+1) % tiles.tiles_tilecountx == 0)
2000 * This functions returns a non-zero value when the tile is on the bottom edge
2001 * and does not have full imaged tile length.
2004 int t2p_tile_is_bottom_edge(T2P_TILES tiles, ttile_t tile){
2006 if( ((tile+1) > (tiles.tiles_tilecount-tiles.tiles_tilecountx) )
2015 * This function returns a non-zero value when the tile is a right edge tile
2016 * or a bottom edge tile.
2019 int t2p_tile_is_edge(T2P_TILES tiles, ttile_t tile){
2021 return(t2p_tile_is_right_edge(tiles, tile) | t2p_tile_is_bottom_edge(tiles, tile) );
2025 This function returns a non-zero value when the tile is a right edge tile and a bottom
2026 edge tile.
2029 int t2p_tile_is_corner_edge(T2P_TILES tiles, ttile_t tile){
2031 return(t2p_tile_is_right_edge(tiles, tile) & t2p_tile_is_bottom_edge(tiles, tile) );
2620 * tile and writes the data to the output PDF XObject image dictionary stream
2621 * for the tile. It returns the amount written or zero on error.
2624 tsize_t t2p_readwrite_pdf_image_tile(T2P* t2p, TIFF* input, TIFF* output, ttile_t tile){
2644 edge |= t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile);
2645 edge |= t2p_tile_is_bottom_edge(t2p->tiff_tiles[t2p->pdf_page], tile);
2665 TIFFReadRawTile(input, tile, (tdata_t) buffer, t2p->tiff_datasize);
2686 TIFFReadRawTile(input, tile, (tdata_t) buffer, t2p->tiff_datasize);
2717 if(t2p_tile_is_bottom_edge(t2p->tiff_tiles[t2p->pdf_page], tile)){
2723 if(t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile)){
2732 tile,
2767 tile,
2775 tile,
2802 tile,
2807 "Error on decoding tile %u of %s",
2808 tile,
2846 tile + i*tilecount,
2851 "Error on decoding tile %u of %s",
2852 tile + i*tilecount,
2883 tile,
2888 "Error on decoding tile %u of %s",
2889 tile,
2913 "No support for YCbCr to RGB in tile for %s",
2928 if(t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile) != 0){
2942 if(t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile) == 0){
2953 if(t2p_tile_is_bottom_edge(t2p->tiff_tiles[t2p->pdf_page], tile) == 0){
3049 "Error writing encoded tile to output PDF %s",
4227 This function composes the page size and image and tile locations on a page.
4600 tsize_t t2p_write_pdf_xobject_stream_dict(ttile_t tile,
4614 if(tile != 0){
4616 buflen=sprintf(buffer, "%lu", (unsigned long)tile);
4621 if(tile==0){
4624 if(t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile-1)!=0){
4639 if(tile==0){
4642 if(t2p_tile_is_bottom_edge(t2p->tiff_tiles[t2p->pdf_page], tile-1)!=0){
4672 written += t2p_write_pdf_xobject_stream_filter(tile, t2p, output);
5010 tsize_t t2p_write_pdf_xobject_stream_filter(ttile_t tile, T2P* t2p, TIFF* output){
5026 if(tile==0){
5036 if(t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile-1)==0){
5051 if(t2p_tile_is_bottom_edge(t2p->tiff_tiles[t2p->pdf_page], tile-1)==0){