Lines Matching defs:status
86 astcenc_error status;
87 status = astcenc_config_init(profile, block_x, block_y, block_z, quality, 0, &config);
88 if (status != ASTCENC_SUCCESS)
90 printf("ERROR: Codec config init failed: %s\n", astcenc_get_error_string(status));
100 status = astcenc_context_alloc(&config, thread_count, &context);
101 if (status != ASTCENC_SUCCESS)
103 printf("ERROR: Codec context alloc failed: %s\n", astcenc_get_error_string(status));
121 status = astcenc_compress_image(context, &image, &swizzle, comp_data, comp_len, 0);
122 if (status != ASTCENC_SUCCESS)
124 printf("ERROR: Codec compress failed: %s\n", astcenc_get_error_string(status));
138 status = astcenc_decompress_image(context, comp_data, comp_len, &image, &swizzle, 0);
139 if (status != ASTCENC_SUCCESS)
141 printf("ERROR: Codec decompress failed: %s\n", astcenc_get_error_string(status));