From 5562c9a553fe539d0d1fbf05dba89b1b1f577fae Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 8 Nov 2014 22:08:29 +0000 Subject: Continue doxygen error cleanup. --- beos/bitmap.cpp | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'beos/bitmap.cpp') diff --git a/beos/bitmap.cpp b/beos/bitmap.cpp index 93a184356..1524aed0c 100644 --- a/beos/bitmap.cpp +++ b/beos/bitmap.cpp @@ -57,18 +57,23 @@ struct bitmap { #warning TODO: add correct locking (not strictly required) -/** Convert to BeOS RGBA32_LITTLE (strictly BGRA) from NetSurf's favoured ABGR format. +/** + * Convert to BeOS RGBA32_LITTLE (strictly BGRA) from NetSurf's favoured ABGR format. + * * Copies the converted data elsewhere. Operation is rotate left 8 bits. * - * \param pixels Array of 32-bit values, in the form of ABGR. This will - * be overwritten with new data in the form of BGRA. - * \param width Width of the bitmap - * \param height Height of the bitmap - * \param rowstride Number of bytes to skip after each row (this - * implementation requires this to be a multiple of 4.) + * \param src Source 32-bit pixels arranged in ABGR order. + * \param dst Output data in BGRA order. + * \param width Width of the bitmap + * \param height Height of the bitmap + * \param rowstride Number of bytes to skip after each row (this implementation + * requires this to be a multiple of 4.) */ -static inline void nsbeos_rgba_to_bgra(void *src, void *dst, int width, int height, - size_t rowstride) +static inline void nsbeos_rgba_to_bgra(void *src, + void *dst, + int width, + int height, + size_t rowstride) { struct abgr { uint8 a, b, g, r; }; struct rgba { uint8 r, g, b ,a; }; -- cgit v1.2.3