Skip to content

feat: add convert argv parser#8

Open
guilhhotina wants to merge 6 commits into
develop-02Xfrom
haio-parser-converter-DEV-972
Open

feat: add convert argv parser#8
guilhhotina wants to merge 6 commits into
develop-02Xfrom
haio-parser-converter-DEV-972

Conversation

@guilhhotina

@guilhhotina guilhhotina commented Jun 18, 2026

Copy link
Copy Markdown

summary

  • add a boost.spirit x3 parser for convert argumnts and the ast
  • turn the parsed command into haio pipeline steps
  • keep the cli close to the c version, but use the c++ crop/resize suport where it already exists
  • cover the parser cases from the c branch and a few c++ extras

tests

  • cmake --build build-cdn -j 16
  • ctest --test-dir build-cdn --output-on-failure
  • manual convert smoke tests for crop, resize, format prefixes, stdin/stdout, and unsupported generator/fx paths

Use wolfpld/etcpak 2.1 as the CPU ETC1 encoder because it provides maintained SIMD paths for x86 and NEON-friendly builds under BSD-3.

Keep KTX/Basis container work out of this change; KTX is better suited for the GPU container issue and its ETC1 path goes through ETC1S transcode instead of a direct ETC1 encoder.
@guilhhotina guilhhotina force-pushed the haio-parser-converter-DEV-972 branch from 13df83f to 5a4b57d Compare June 18, 2026 23:10
@guilhhotina guilhhotina changed the base branch from feat/haio-cdn to develop June 18, 2026 23:15
@guilhhotina guilhhotina changed the base branch from develop to develop-02X June 18, 2026 23:16
@guilhhotina guilhhotina force-pushed the haio-parser-converter-DEV-972 branch from 5a4b57d to b6f50ae Compare June 18, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant