Lines Matching refs:error
149 astcenc_error error;
166 astcenc_error error;
207 // Leading whitespace is an error
240 astcenc_error error = astcenc_compress_image(
248 // This is a racy update, so which error gets returned is a random, but it
249 // will reliably report an error if an error occurs
250 if (error != ASTCENC_SUCCESS)
252 work->error = error;
271 astcenc_error error = astcenc_decompress_image(
275 // This is a racy update, so which error gets returned is a random, but it
276 // will reliably report an error if an error occurs
277 if (error != ASTCENC_SUCCESS)
279 work->error = error;
290 * @param error Set to true on success, false on error (no extension found).
297 bool& error
302 error = true;
309 error = false;
322 * @return The astc image file, or nullptr on error.
348 bool error;
349 std::string slice_name = get_slice_filename(filename, image_index, error);
350 if (error)
451 * @return 0 if everything is okay, 1 if there is some error
495 * @return 0 if everything is okay, 1 if there is some error
688 * @return 0 if everything is OK, 1 if there is some error
1959 int error = parse_commandline_options(argc, argv, operation, profile);
1960 if (error)
2001 error = load_cimage(input_filename.c_str(), image_comp);
2002 if (error)
2010 error = load_ktx_compressed_image(input_filename.c_str(), is_srgb, image_comp);
2011 if (error)
2035 error = init_astcenc_config(argc, argv, profile, operation, image_comp, preprocess, config);
2036 if (error)
2046 error = edit_astcenc_config(argc, argv, operation, cli_config, config);
2047 if (error)
2226 work.error = ASTCENC_SUCCESS;
2259 work.error = astcenc_compress_image(
2280 if (work.error != ASTCENC_SUCCESS)
2282 print_error("ERROR: Codec compress failed: %s\n", astcenc_get_error_string(work.error));
2287 work.error = ASTCENC_ERR_BAD_QUALITY_CHECK;
2321 work.error = ASTCENC_SUCCESS;
2335 work.error = astcenc_decompress_image(
2347 if (work.error != ASTCENC_SUCCESS)
2375 error = store_cimage(image_comp, output_filename.c_str());
2376 if (error)
2385 error = store_ktx_compressed_image(image_comp, output_filename.c_str(), srgb);
2386 if (error)