Lines Matching defs:flags
218 * @brief Validate flags.
221 * @param flags The flags to check.
227 unsigned int flags
231 if (popcount(flags & exMask) != 0)
239 if (popcount(flags & exMask) > 1)
245 bool is_unorm8 = flags & ASTCENC_FLG_USE_DECODE_UNORM8;
377 status = validate_flags(config.profile, config.flags);
391 if (!(config.flags & ASTCENC_FLG_DECOMPRESS_ONLY))
442 unsigned int flags,
473 // process any additional settings, such as color profile and flags, which may replace some of
604 status = validate_flags(profile, flags);
610 if (flags & ASTCENC_FLG_MAP_NORMAL)
627 else if (flags & ASTCENC_FLG_MAP_RGBM)
644 if (flags & ASTCENC_FLG_USE_PERCEPTUAL)
651 config.flags = flags;
715 bool can_omit_modes = static_cast<bool>(config.flags & ASTCENC_FLG_SELF_DECOMPRESS_ONLY);
738 if (!(ctx->config.flags & ASTCENC_FLG_DECOMPRESS_ONLY))
862 blk.decode_unorm8 = ctxo.context.config.flags & ASTCENC_FLG_USE_DECODE_UNORM8;
955 if (ctx.config.flags & ASTCENC_FLG_USE_ALPHA_WEIGHT)
1085 if (ctx->config.flags & ASTCENC_FLG_DECOMPRESS_ONLY)
1174 if (ctx->config.flags & ASTCENC_FLG_DECOMPRESS_ONLY)