Home
last modified time | relevance | path

Searched refs:color_channels (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Djp2.c1934 OPJ_UINT32 color_channels = 0U; in opj_jp2_setup_encoder() local
2036 color_channels = 3; in opj_jp2_setup_encoder()
2039 color_channels = 1; in opj_jp2_setup_encoder()
2048 } else if (image->numcomps < (color_channels + 1)) { in opj_jp2_setup_encoder()
2052 } else if ((OPJ_UINT32)alpha_channel < color_channels) { in opj_jp2_setup_encoder()
2080 for (i = 0U; i < color_channels; i++) { in opj_jp2_setup_encoder()
/external/libpng/
Dpngtest.c305 int color_channels = row_info->channels; in count_zero_samples() local
307 color_channels--; in count_zero_samples()
311 for (channel = 0; channel < color_channels; channel++) in count_zero_samples()
/external/pdfium/third_party/libtiff/
Dtif_dirread.c3586 int color_channels; in TIFFReadDirectory() local
4116 color_channels = _TIFFGetMaxColorChannels(tif->tif_dir.td_photometric); in TIFFReadDirectory()
4117 …if (color_channels && tif->tif_dir.td_samplesperpixel - tif->tif_dir.td_extrasamples > color_chann… in TIFFReadDirectory()
4126 … tif->tif_dir.td_extrasamples = (uint16) (tif->tif_dir.td_samplesperpixel - color_channels); in TIFFReadDirectory()