astc-encoder-5.3.0

Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
This commit is contained in:
屑屑屑
2026-04-09 20:33:02 +08:00
parent be18cefda6
commit 41dd3fd422
399 changed files with 19453 additions and 15197 deletions
+3 -7
View File
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// ----------------------------------------------------------------------------
// Copyright 2021 Arm Limited
// Copyright 2021-2024 Arm Limited
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
@@ -32,10 +32,10 @@
#include "astcenc.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include "ThirdParty/stb_image.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include "ThirdParty/stb_image_write.h"
int main(int argc, char **argv)
{
@@ -79,10 +79,6 @@ int main(int argc, char **argv)
// ------------------------------------------------------------------------
// Initialize the default configuration for the block size and quality
astcenc_config config;
config.block_x = block_x;
config.block_y = block_y;
config.profile = profile;
astcenc_error status;
status = astcenc_config_init(profile, block_x, block_y, block_z, quality, 0, &config);
if (status != ASTCENC_SUCCESS)