summaryrefslogtreecommitdiff
path: root/beos/bitmap.cpp
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-08 22:08:29 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-08 22:08:29 +0000
commit5562c9a553fe539d0d1fbf05dba89b1b1f577fae (patch)
treee518c4be0cd833b3568244681b97d0fc60ff860d /beos/bitmap.cpp
parent05a64bfde9fe91587a7f8bd3d32f8577b80c7328 (diff)
downloadnetsurf-5562c9a553fe539d0d1fbf05dba89b1b1f577fae.tar.gz
netsurf-5562c9a553fe539d0d1fbf05dba89b1b1f577fae.tar.bz2
Continue doxygen error cleanup.
Diffstat (limited to 'beos/bitmap.cpp')
-rw-r--r--beos/bitmap.cpp23
1 files changed, 14 insertions, 9 deletions
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; };