Searched refs:color_channels (Results 1 – 2 of 2) sorted by relevance
1694 OPJ_UINT32 color_channels = 0U; in opj_jp2_setup_encoder() local1791 color_channels = 3; in opj_jp2_setup_encoder()1794 color_channels = 1; in opj_jp2_setup_encoder()1802 } else if (image->numcomps < (color_channels+1)) { in opj_jp2_setup_encoder()1805 } else if ((OPJ_UINT32)alpha_channel < color_channels) { in opj_jp2_setup_encoder()1827 for (i = 0U; i < color_channels; i++) { in opj_jp2_setup_encoder()
285 int color_channels = row_info->channels; in count_zero_samples() local286 if (row_info->color_type > 3)color_channels--; in count_zero_samples()290 for (channel = 0; channel < color_channels; channel++) in count_zero_samples()