Home
last modified time | relevance | path

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

/external/skia/tools/
Dgenerate_fir_coeff.py39 samples_per_pixel = 4 variable
42 …loat(subpxl_index)/subpxls_per_pixel + 1.0/(2.0*subpxls_per_pixel))*samples_per_pixel) for subpxl_…
/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 …]
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.c2835 samples_per_pixel, in ReadDCMImage() local
2916 samples_per_pixel=1; in ReadDCMImage()
3211 samples_per_pixel=(size_t) datum; in ReadDCMImage()
3728 if ((image->colormap == (PixelInfo *) NULL) && (samples_per_pixel == 1)) in ReadDCMImage()
3799 if ((samples_per_pixel > 1) && (image->interlace == PlaneInterlace)) in ReadDCMImage()
3804 for (i=0; i < (ssize_t) samples_per_pixel; i++) in ReadDCMImage()
3888 if (samples_per_pixel == 1) in ReadDCMImage()
4003 if (samples_per_pixel == 1) in ReadDCMImage()
Dtiff.c920 uint16 bits_per_sample,uint16 samples_per_pixel) in GetJPEGMethod() argument
949 (samples_per_pixel != 4)) in GetJPEGMethod()
1130 samples_per_pixel, in ReadTIFFImage() local
1208 (TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL,&samples_per_pixel) != 1) || in ReadTIFFImage()
1334 &samples_per_pixel); in ReadTIFFImage()
1472 if ((samples_per_pixel == 4) && (photometric == PHOTOMETRIC_RGB)) in ReadTIFFImage()
1577 if ((samples_per_pixel >= 2) && (interlace == PLANARCONFIG_CONTIG)) in ReadTIFFImage()
1579 if ((samples_per_pixel >= 2) && (interlace == PLANARCONFIG_SEPARATE)) in ReadTIFFImage()
1595 samples_per_pixel); in ReadTIFFImage()
1611 pad=(size_t) MagickMax((size_t) samples_per_pixel-1,0); in ReadTIFFImage()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_ojpeg.c268 uint8 samples_per_pixel; member
1066 sp->samples_per_pixel=1; in OJPEGReadHeaderInfo()
1068 sp->samples_per_pixel_per_plane=sp->samples_per_pixel; in OJPEGReadHeaderInfo()
1076 …tdata,module,"SamplesPerPixel %d not supported for this compression scheme",sp->samples_per_pixel); in OJPEGReadHeaderInfo()
1079 sp->samples_per_pixel=3; in OJPEGReadHeaderInfo()
1372 for (o=0; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1375 for (o=1; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1384 for (o=1; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1586 if (n!=sp->samples_per_pixel) in OJPEGReadHeaderInfoSecStreamSof()
1765 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()