AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
Allow parsing a LUT from a memory buffer rather than a file
- Lingua principale
- C++
- Stelle
- 2.1k
- Fork
- 503
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
OCIO's LUT file parsing is set up to work from files on disk. It would be very helpful to be able to have a function that would take a memory buffer and use the LUT parsers to turn it into a GroupTransform.
There is a way to do this already using the recent ConfigIOProxy class. However, it takes a fair amount of code and a fair amount of OCIO expertise to write it. This task is to write that code and turn it into a parseFromBuffer method on the GroupTransform class.
The unit tests for ConfigIOProxy in Config_tests.cpp provide some good sample code that could be used as a starting point.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con i test unitari di ConfigIOProxy in Config_tests.cpp, quindi segui il modo in cui GroupTransform utilizza attualmente i parser LUT per i file. Implementa ed esponi GroupTransform::parseFromBuffer utilizzando l’approccio esistente basato su buffer, e aggiungi una copertura che dimostri che una LUT in un buffer di memoria produce la GroupTransform attesa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- computer-graphics
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 62/100