Skip to content

Conversation

@skidder
Copy link
Contributor

@skidder skidder commented Jul 22, 2025

Fix C++ documentation inaccuracies and improve consistency

What Changed

  • Fixed incorrect parameter references in function docs (e.g., webp_encoder_create was referencing a non-existent parameter)
  • Fixed typo: opqaue_frameopaque_frame
  • Added missing documentation for public functions in avcodec.cpp and avif.cpp
  • Documented constants, enums, and data structures that were previously undocumented
  • Cleaned up duplicate extern "C" blocks in opencv.hpp
  • Standardized section organization across all C++ files

Why

The existing doc comments had several inaccuracies that could confuse developers, and many functions/constants lacked documentation entirely. This makes the codebase more maintainable and easier to work with.

Files

avcodec.cpp, avif.cpp, giflib.hpp, opencv.hpp, thumbhash.cpp, thumbhash.hpp, webp.cpp

No functional changes - documentation only.

@skidder skidder changed the title Fix C++ documentation inaccuracies and improve consistency docs: improve C++ function documentation and code organization Jul 22, 2025
- Fix inaccurate function parameter references in doc comments
- Add comprehensive documentation for constants, enums, and structs
- Standardize section organization across all C++ source files
- Fix typo in thumbhash.hpp function parameter name
- Clean up duplicate extern C blocks in opencv.hpp
- Enhance code readability with consistent comment formatting
@skidder skidder force-pushed the improve-cpp-documentation branch from 35b64fc to 910b5f8 Compare July 22, 2025 15:08
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.

2 participants