diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2018-06-25 00:59:00 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2018-06-25 00:59:00 +0300 |
commit | 73f97ba21cd86c603c851c39f511c985a4e5f626 (patch) | |
tree | 76f5cad00985e7e14266d26b2f69db1bf53a841b /include | |
parent | 9875c9de7e23638e282d58b4661df450a99f0c1d (diff) |
Add Doxyfile
Diffstat (limited to 'include')
-rw-r--r-- | include/kitchensink/kitutils.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/kitchensink/kitutils.h b/include/kitchensink/kitutils.h index af3307c..af0e14b 100644 --- a/include/kitchensink/kitutils.h +++ b/include/kitchensink/kitutils.h @@ -1,14 +1,42 @@ #ifndef KITUTILS_H #define KITUTILS_H +/** + * @brief Helpful utilities + * + * @file kitutils.h + * @author Tuomas Virtanen + * @date 2018-06-25 + */ + #include "kitchensink/kitconfig.h" #ifdef __cplusplus extern "C" { #endif +/** + * @brief Returns a descriptive string for SDL audio format types + * + * @param type SDL_AudioFormat + * @return Format string, eg. "AUDIO_S8". + */ KIT_API const char* Kit_GetSDLAudioFormatString(unsigned int type); + +/** + * @brief Returns a descriptive string for SDL pixel format types + * + * @param type SDL_PixelFormat + * @return Format string, eg. "SDL_PIXELFORMAT_YV12" + */ KIT_API const char* Kit_GetSDLPixelFormatString(unsigned int type); + +/** + * @brief Returns a descriptibe string for Kitchensink stream types + * + * @param type Kit_StreamType + * @return Format string, eg. "KIT_STREAMTYPE_VIDEO" + */ KIT_API const char* Kit_GetKitStreamTypeString(unsigned int type); #ifdef __cplusplus |