Home
last modified time | relevance | path

Searched refs:samples_per_pixel (Results 1 – 8 of 8) sorted by relevance

/external/skia/tools/fonts/
Dgenerate_fir_coeff.py42 samples_per_pixel = 4 variable
48 * samples_per_pixel
/external/skqp/tools/fonts/
Dgenerate_fir_coeff.py42 samples_per_pixel = 4 variable
48 * samples_per_pixel
/external/ImageMagick/coders/
Ddpx.c399 const size_t samples_per_pixel,const size_t bits_per_pixel, in GetBytesPerRow() argument
409 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
416 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
424 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
428 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
435 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
439 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
446 bytes_per_row=2*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
450 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
456 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
[all …]
Dtiff.c1011 uint16 bits_per_sample,uint16 samples_per_pixel) in GetJPEGMethod() argument
1042 (samples_per_pixel != 4)) in GetJPEGMethod()
1295 samples_per_pixel, in ReadTIFFImage() local
1376 (TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL,&samples_per_pixel) != 1) || in ReadTIFFImage()
1507 &samples_per_pixel); in ReadTIFFImage()
1719 if ((samples_per_pixel == 4) && (photometric == PHOTOMETRIC_RGB)) in ReadTIFFImage()
1757 if ((samples_per_pixel >= 3) && (interlace == PLANARCONFIG_CONTIG)) in ReadTIFFImage()
1759 (samples_per_pixel >= 4)) in ReadTIFFImage()
1761 if ((samples_per_pixel >= 4) && (interlace == PLANARCONFIG_SEPARATE)) in ReadTIFFImage()
1763 (samples_per_pixel >= 5)) in ReadTIFFImage()
[all …]
Dcin.c296 size_t samples_per_pixel,size_t bits_per_pixel, in GetBytesPerRow() argument
306 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
313 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
321 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
325 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
332 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
336 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
341 bytes_per_row=2*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
347 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
353 bytes_per_row=8*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
Ddcm.c2709 samples_per_pixel, member
2866 if (info->samples_per_pixel == 1) in ReadDCMPixels()
3132 info.samples_per_pixel=1; in ReadDCMImage()
3429 info.samples_per_pixel=(size_t) datum; in ReadDCMImage()
3430 if ((info.samples_per_pixel == 0) || (info.samples_per_pixel > 4)) in ReadDCMImage()
4024 (info.samples_per_pixel == 1)) in ReadDCMImage()
4118 if ((info.samples_per_pixel > 1) && (image->interlace == PlaneInterlace)) in ReadDCMImage()
4132 for (i=0; i < (ssize_t) info.samples_per_pixel; i++) in ReadDCMImage()
/external/pdfium/third_party/libtiff/
Dtif_ojpeg.c269 uint8 samples_per_pixel; member
1074 sp->samples_per_pixel=1; in OJPEGReadHeaderInfo()
1076 sp->samples_per_pixel_per_plane=sp->samples_per_pixel; in OJPEGReadHeaderInfo()
1084 …tdata,module,"SamplesPerPixel %d not supported for this compression scheme",sp->samples_per_pixel); in OJPEGReadHeaderInfo()
1087 sp->samples_per_pixel=3; in OJPEGReadHeaderInfo()
1380 for (o=0; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1383 for (o=1; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1392 for (o=1; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1595 if (n!=sp->samples_per_pixel) in OJPEGReadHeaderInfoSecStreamSof()
1774 for (m=0; m<sp->samples_per_pixel; m++) in OJPEGReadHeaderInfoSecTablesQTable()
[all …]
/external/libpng/contrib/libtests/
Dpngvalid.c10211 const unsigned int samples_per_pixel = (out_ct & 2U) ? 3U : 1U; in gamma_image_validate() local
10276 sample(std, in_ct, in_bd, x, samples_per_pixel, 0, 0); in gamma_image_validate()
10288 samples_per_pixel, 0, 0); in gamma_image_validate()