Home
last modified time | relevance | path

Searched refs:pixel_size (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Drdtarga.c64 int pixel_size; /* Bytes per Targa pixel (1 to 4) */ member
129 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel()
160 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel()
357 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga()
364 source->pixel_size < 1 || source->pixel_size > 4 || in start_input_tga()
385 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga()
392 switch (source->pixel_size) { in start_input_tga()
411 if (source->pixel_size == 1) in start_input_tga()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_luv.c201 npixels = occ / sp->pixel_size; in LogL16Decode()
274 npixels = occ / sp->pixel_size; in LogLuvDecode24()
335 npixels = occ / sp->pixel_size; in LogLuvDecode32()
454 npixels = cc / sp->pixel_size; in LogL16Encode()
547 npixels = cc / sp->pixel_size; in LogLuvEncode24()
605 npixels = cc / sp->pixel_size; in LogLuvEncode32()
1302 sp->pixel_size = sizeof (float); in LogL16InitState()
1305 sp->pixel_size = sizeof (int16); in LogL16InitState()
1308 sp->pixel_size = sizeof (uint8); in LogL16InitState()
1401 sp->pixel_size = 3*sizeof (float); in LogLuvInitState()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngvalid.c4070 pixel_copy(buffer, xout, row, xin, pixel_size, littleendian); in deinterlace_row()
4337 unsigned int pixel_size; in make_size_image() local
4390 pixel_size = bit_size(pp, colour_type, bit_depth); in make_size_image()
4391 if (png_get_rowbytes(pp, pi) != ((w * pixel_size) + 7) / 8) in make_size_image()
4412 size_row(image[y], w * pixel_size, y); in make_size_image()
4950 png_uint_32 pixel_size; /* Width of one pixel in bits */ member
4993 dp->pixel_size = 0; in standard_display_init()
5354 dp->pixel_size = bit_size(pp, ct, bd); in standard_info_part2()
5356 dp->bit_width = png_get_image_width(pp, pi) * dp->pixel_size; in standard_info_part2()
5514 dp->pixel_size, dp->w, pass, dp->littleendian); in sequential_row()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dlibpng-manual.txt1187 if (width > PNG_UINT_32_MAX/pixel_size)
1199 width*pixel_size);
1208 if (height > PNG_SIZE_MAX/(width*pixel_size)) {
1212 png_bytep buffer=png_malloc(png_ptr,height*width*pixel_size);
1215 row_pointers[i]=buffer+i*width*pixel_size;
2185 do your own check for number_of_rows*width*pixel_size if you are using
2189 if (number_of_rows > PNG_SIZE_MAX/(width*pixel_size)) {

Completed in 45 milliseconds