/haiku-fatelf/src/add-ons/translators/ppm/ |
H A D | colorspace.h | 12 /* with rowbytes amount of pixel data into some other color space in */ 16 unsigned char * in_data, int rowbytes, unsigned char * out_data); 18 /* This function expands rowbytes amount of data from in_data into */ 21 int rowbytes, unsigned char * out_buf);
|
H A D | colorspace.cpp | 30 int rowbytes, 40 while (rowbytes > 3) { 47 rowbytes -= 4; 51 memcpy(out_buf, in_data, rowbytes); 54 while (rowbytes > 2) { 61 rowbytes -= 3; 65 while (rowbytes > 1) { 73 rowbytes -= 2; 77 while (rowbytes > 1) { 85 rowbytes 27 expand_data( color_space from_space, unsigned char * in_data, int rowbytes, unsigned char * out_buf) argument 513 convert_space( color_space in_space, color_space out_space, unsigned char * in_data, int rowbytes, unsigned char * out_data) argument [all...] |
H A D | PPMTranslator.cpp | 232 status_t read_ppm_header(BDataIO * io, int * width, int * rowbytes, int * height, 234 status_t read_bits_header(BDataIO * io, int skipped, int * width, int * rowbytes, 237 status_t copy_data(BDataIO * in, BDataIO * out, int rowbytes, int out_rowbytes, 267 int width, rowbytes, height, max; local 270 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max, &ascii, &space, &is_ppm, NULL); 319 int width, rowbytes, height, max; local 325 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max, &ascii, &space, &is_ppm, &comment); 440 return copy_data(inSource, outDestination, rowbytes, out_rowbytes, height, max, ascii, out_ascii, space, out_space); 688 int * rowbytes, 706 return read_bits_header(inSource, 2, width, rowbytes, heigh 685 read_ppm_header( BDataIO * inSource, int * width, int * rowbytes, int * height, int * max, bool * ascii, color_space * space, bool * is_ppm, char ** comment) argument 800 read_bits_header( BDataIO * io, int skipped, int * width, int * rowbytes, int * height, int * max, bool * ascii, color_space * space) argument 895 read_ascii_line( BDataIO * in, int max, unsigned char * data, int rowbytes) argument 947 write_ascii_line( BDataIO * out, unsigned char * data, int rowbytes) argument 998 copy_data( BDataIO * in, BDataIO * out, int rowbytes, int out_rowbytes, int height, int max, bool in_ascii, bool out_ascii, color_space in_space, color_space out_space) argument [all...] |
/haiku-fatelf/src/libs/pdflib/libs/tiff/ |
H A D | tif_fax3.c | 54 uint32 rowbytes; /* bytes in a decoded scanline */ member in struct:__anon5004 241 buf += sp->b.rowbytes; 242 occ -= sp->b.rowbytes; 295 buf += sp->b.rowbytes; 296 occ -= sp->b.rowbytes; 459 long rowbytes, rowpixels; local 471 rowbytes = TIFFTileRowSize(tif); 474 rowbytes = TIFFScanlineSize(tif); 477 sp->rowbytes = (uint32) rowbytes; [all...] |
H A D | tif_dirread.c | 614 uint32 rowbytes = TIFFScanlineSize(tif); local 617 td->td_stripbytecount[i] = rowbytes*rowsperstrip; 1325 tsize_t rowbytes = TIFFVTileSize(tif, 1), stripbytes; local 1334 if (rowbytes > 8192) { 1335 stripbytes = rowbytes; 1338 rowsperstrip = 8192 / rowbytes; 1339 stripbytes = rowbytes * rowsperstrip;
|
/haiku-fatelf/src/libs/pdflib/libs/pdflib/ |
H A D | p_bmp.c | 161 for (; col < (int) image->info.bmp.rowbytes; col++) 182 if (col >= (int) image->info.bmp.rowbytes) 194 if (col >= (int) image->info.bmp.rowbytes) 222 if (col >= (int) image->info.bmp.rowbytes) 242 if (col >= (int) image->info.bmp.rowbytes) 269 for (; col < (int) image->info.bmp.rowbytes; col++) 286 for (; col < (int) image->info.bmp.rowbytes; col++) 296 if (col >= (int) image->info.bmp.rowbytes) 526 image->info.bmp.rowbytes = image->info.bmp.rowbytes_pdf; 528 image->info.bmp.rowbytes [all...] |
H A D | p_image.h | 62 size_t rowbytes; /* length of row data */ member in struct:pdf_bmp_info_t 94 png_uint_32 rowbytes; member in struct:pdf_png_info_t
|
H A D | p_png.c | 186 src->buffer_length = image->info.png.rowbytes; 255 image->info.png.cur_line * image->info.png.rowbytes; 576 image->info.png.rowbytes = 580 pdc_calloc(p->pdc,image->info.png.rowbytes * height, fn); 587 image->info.png.raster + ui * image->info.png.rowbytes;
|
/haiku-fatelf/src/libs/tiff/ |
H A D | tif_fax3.c | 53 uint32 rowbytes; /* bytes in a decoded scanline */ member in struct:__anon5201 252 buf += sp->b.rowbytes; 253 occ -= sp->b.rowbytes; 305 buf += sp->b.rowbytes; 306 occ -= sp->b.rowbytes; 469 uint32 rowbytes, rowpixels, nruns; local 480 rowbytes = TIFFTileRowSize(tif); 483 rowbytes = TIFFScanlineSize(tif); 486 sp->rowbytes = (uint32) rowbytes; [all...] |
H A D | tif_dirread.c | 1006 uint32 rowbytes = TIFFScanlineSize(tif); local 1009 td->td_stripbytecount[strip] = rowbytes * rowsperstrip; 2006 tsize_t rowbytes = TIFFVTileSize(tif, 1), stripbytes; local 2015 if (rowbytes > STRIP_SIZE_DEFAULT) { 2016 stripbytes = rowbytes; 2018 } else if (rowbytes > 0 ) { 2019 rowsperstrip = STRIP_SIZE_DEFAULT / rowbytes; 2020 stripbytes = rowbytes * rowsperstrip;
|
/haiku-fatelf/src/libs/pdflib/libs/png/ |
H A D | pngrtran.c | 1153 info_ptr->rowbytes = ((info_ptr->width * info_ptr->pixel_depth + 7) >> 3); 1303 if(png_ptr->row_info.rowbytes == (png_uint_32)0) 1304 png_error(png_ptr, "png_do_dither returned rowbytes=0"); 1370 /* png_uint_32 rowbytes; number of bytes in row */ 1384 png_ptr->row_info.rowbytes = (png_ptr->row_info.width * 1477 row_info->rowbytes = row_width * row_info->channels; 1536 png_uint_32 istop = row_info->rowbytes; 1549 png_uint_32 istop = row_info->rowbytes; 1642 row_info->rowbytes = row_info->width * row_info->channels; 1662 png_bytep sp = row + row_info->rowbytes; [all...] |
H A D | pngtrans.c | 168 png_uint_32 istop = row_info->rowbytes; 181 png_uint_32 istop = row_info->rowbytes; 194 png_uint_32 istop = row_info->rowbytes; 351 end = row + row_info->rowbytes; 416 row_info->rowbytes = row_width * 3; 462 row_info->rowbytes = row_width * 6; 494 row_info->rowbytes = row_width; 520 row_info->rowbytes = row_width * 2;
|
H A D | pngrutil.c | 392 png_ptr->rowbytes = ((png_ptr->width * 396 png_debug1(3,"rowbytes = %lu\n", png_ptr->rowbytes); 2656 row_info->rowbytes = ((final_width * 2680 png_uint_32 istop = row_info->rowbytes; 2695 png_uint_32 istop = row_info->rowbytes; 2713 png_uint_32 istop = row_info->rowbytes - bpp; 2738 png_uint_32 istop=row_info->rowbytes - bpp; 2818 png_memset_check(png_ptr, png_ptr->prev_row, 0, png_ptr->rowbytes + 1); 2966 png_ptr->irowbytes = png_ptr->rowbytes [all...] |
H A D | pngvcrd.c | 1884 row_info->rowbytes = ((final_width * 1919 FullLength = row_info->rowbytes; // # of bytes to filter 2354 FullLength = row_info->rowbytes; // # of bytes to filter 3247 FullLength = row_info->rowbytes - bpp; // # of bytes to filter 3333 // i < row_info->rowbytes; i++, rp++, lp++) 3546 len = row_info->rowbytes; // # of bytes to filter 3699 png_debug1(0,"len=%8d, ", row_info->rowbytes); 3710 (row_info->rowbytes >= 128) ) 3718 png_uint_32 istop = row_info->rowbytes; 3735 (row_info->rowbytes > [all...] |
H A D | pngset.c | 329 "Width too large to process image data; rowbytes will overflow."); 330 info_ptr->rowbytes = (png_size_t)0; 333 info_ptr->rowbytes = (info_ptr->width * info_ptr->pixel_depth + 7) >> 3;
|
H A D | pngread.c | 719 png_ptr->row_info.rowbytes = ((png_ptr->row_info.width * 728 png_ptr->rowbytes + 1);
|
H A D | png.h | 602 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_struct 935 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1061 png_uint_32 rowbytes; /* size of row in bytes */ member in struct:png_struct_def
|
H A D | pngget.c | 28 return(info_ptr->rowbytes); 563 /* check for potential overflow of rowbytes */
|
/haiku-fatelf/src/add-ons/translators/png/ |
H A D | PNGTranslator.cpp | 384 // Check that transformed PNG rowbytes matches 387 png_uint_32 rowbytes = png_get_rowbytes(ppng, pinfo); local 388 if (rowbytes < kbytes * width) 389 rowbytes = kbytes * width; 421 prow = new uint8[rowbytes]; 450 prows[nalloc] = new uint8[rowbytes];
|
/haiku-fatelf/src/tools/translation/pnginfo/ |
H A D | pnginfo.cpp | 143 printf(" row bytes: %lu\n", pinfo->rowbytes);
|
/haiku-fatelf/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.cpp | 223 int32 rowbytes = 0; local 228 rowbytes = (width * bytesPerPixel) + padding; 231 rowbytes = (width / pixelsPerByte) + 235 return rowbytes;
|
/haiku-fatelf/headers/libs/png/ |
H A D | png.h | 645 png_size_t rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed 1004 png_size_t rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1162 png_size_t rowbytes PNG_DEPSTRUCT; /* size of row in bytes */
|
/haiku-fatelf/src/build/libbe/interface/ |
H A D | Bitmap.cpp | 1543 int32 rowbytes = 0; local 1544 data->FindInt32("_rowbytes", &rowbytes); 1548 InitObject(bounds, cspace, flags, rowbytes, B_MAIN_SCREEN_ID);
|
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgsimage.c | 682 for (i = 0; i < row_info->rowbytes; i += 4) {
|