Add RDO support to the ASTC encoder.
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia con l’integrazione dell’encoder ASTC in questo repository e leggi ert.h in bc7enc_rdo per comprendere gli input ERT e il callback per l’unpacking dei blocchi. Verifica se il codice astc-encoder incluso fornisce un unpacker di blocchi ASTC adatto e come gestisce i blocchi non validi. Il lavoro è completato quando l’output ASTC può passare attraverso RDO in modo affidabile senza produrre blocchi che l’unpacker scelto non è in grado di decodificare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The simplest way is to take the output of the ASTC encoder and pass it through the ERT (Entropy Reduction Transform) in this repo:
https://github.com/richgel999/bc7enc_rdo
See this class:
https://github.com/richgel999/bc7enc_rdo/blob/master/ert.h
The ERT is format agnostic. It just cares about block bytes, the original block's RGBA pixels, and a block unpack function.
You pass it an array of encoded blocks, an array of original block pixels, some parameters, and a pointer to a block unpack function. It does the rest. We need to find a good ASTC block unpacker. (There may be one with astc-encoder repo that is included in this repo. I haven't confirmed.) The main problem is the ASTC specification is so complex that some block unpackers wouldn't always catch invalid blocks, which the ERT will sometimes create as it injects trial matches into blocks. These blocks would fail to be unpacked by some unpackers, but would be unpacked by others, which is an issue.
The ERT is really simple and not much code, so it should be a good place to start.
A possible improvement is to encode a texture to ASTC multiple times, and use that as the source into the ERT. Each encode can use a different encoding that achieves more or less the same error.
- Lingua principale
- C++
- Stelle
- 1.4k
- Fork
- 328
- Merge medio
- 20h 40m
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di KhronosGroup/KTX-Software
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
KhronosGroup/KTX-Software#1324 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
KhronosGroup/KTX-Software#1253 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
awaiting information
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
KhronosGroup/KTX-Software#1020 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Feature request: separating the core KTX file handling from the higher level supporting write toolsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
KhronosGroup/KTX-Software#1327 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
ktxTexture2_SetImageFromMemory is not accessible (i.e., must use ktxTexture_SetImageFromMemory instead)Forse già presa @walcht l’ha presa 47 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
KhronosGroup/KTX-Software#1273 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di KhronosGroup/KTX-Software
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
I maintainer di solito rispondono entro 10 giorni
-
Server crashes when a mob dies to poisonForse già presa @joelstiller l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DarkCastleMUD/DarkCastle#305 ·
I maintainer di solito rispondono entro 1 giorno
-
[Issue]: RAS status report lists the wrong pids for an outlier nodeForse già presa @bhargavchintam l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Niko1221/Strata#7365 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
BenjaminPoilve/minichord#203 ·