Home
last modified time | relevance | path

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

/external/skqp/tools/fonts/
Dgenerate_fir_coeff.py42 samples_per_pixel = 4 variable
48 * samples_per_pixel
/external/skia/tools/fonts/
Dgenerate_fir_coeff.py42 samples_per_pixel = 4 variable
48 * samples_per_pixel
/external/ImageMagick/coders/
Ddpx.c400 const size_t samples_per_pixel,const size_t bits_per_pixel, in GetBytesPerRow() argument
410 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
417 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
425 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
429 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
436 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
440 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
447 bytes_per_row=2*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
451 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
457 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
[all …]
Dtiff.c1044 uint16 bits_per_sample,uint16 samples_per_pixel) in GetJPEGMethod() argument
1075 (samples_per_pixel != 4)) in GetJPEGMethod()
1331 samples_per_pixel, in ReadTIFFImage() local
1421 (TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL,&samples_per_pixel,sans) != 1) || in ReadTIFFImage()
1761 if ((samples_per_pixel == 4) && (photometric == PHOTOMETRIC_RGB)) in ReadTIFFImage()
1799 if ((samples_per_pixel >= 3) && (interlace == PLANARCONFIG_CONTIG)) in ReadTIFFImage()
1801 (samples_per_pixel >= 4)) in ReadTIFFImage()
1803 if ((samples_per_pixel >= 4) && (interlace == PLANARCONFIG_SEPARATE)) in ReadTIFFImage()
1805 (samples_per_pixel >= 5)) in ReadTIFFImage()
1821 samples_per_pixel); in ReadTIFFImage()
[all …]
Dcin.c297 size_t samples_per_pixel,size_t bits_per_pixel, in GetBytesPerRow() argument
307 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
314 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
322 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
326 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
333 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
337 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
342 bytes_per_row=2*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
348 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
354 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()
4023 (info.samples_per_pixel == 1)) in ReadDCMImage()
4117 if ((info.samples_per_pixel > 1) && (image->interlace == PlaneInterlace)) in ReadDCMImage()
4131 for (i=0; i < (ssize_t) info.samples_per_pixel; i++) in ReadDCMImage()
/external/pdfium/third_party/libtiff/
Dtif_ojpeg.c268 uint8 samples_per_pixel; member
1110 sp->samples_per_pixel=1; in OJPEGReadHeaderInfo()
1112 sp->samples_per_pixel_per_plane=sp->samples_per_pixel; in OJPEGReadHeaderInfo()
1120 …tdata,module,"SamplesPerPixel %d not supported for this compression scheme",sp->samples_per_pixel); in OJPEGReadHeaderInfo()
1123 sp->samples_per_pixel=3; in OJPEGReadHeaderInfo()
1431 for (o=0; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1434 for (o=1; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1443 for (o=1; o<sp->samples_per_pixel; o++) in OJPEGReadHeaderInfoSec()
1646 if (n!=sp->samples_per_pixel) in OJPEGReadHeaderInfoSecStreamSof()
1825 for (m=0; m<sp->samples_per_pixel; m++) in OJPEGReadHeaderInfoSecTablesQTable()
[all …]
/external/libpng/contrib/libtests/
Dpngvalid.c10211 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()