diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-03-31 19:04:04 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-03-31 19:04:04 +0000 |
commit | 34c1d566061e92581adf53baa40dc78d2b96be3a (patch) | |
tree | 8cde9244268c5ddbab68a75968088b44899c6602 /converter/bmp.h | |
parent | 05fe9c437c27ed21d5f9c36febfaf8c57eec2b6d (diff) | |
download | netpbm-mirror-34c1d566061e92581adf53baa40dc78d2b96be3a.tar.gz netpbm-mirror-34c1d566061e92581adf53baa40dc78d2b96be3a.tar.xz netpbm-mirror-34c1d566061e92581adf53baa40dc78d2b96be3a.zip |
Add comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1455 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/bmp.h')
-rw-r--r-- | converter/bmp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/converter/bmp.h b/converter/bmp.h index 80e93fba..6a883394 100644 --- a/converter/bmp.h +++ b/converter/bmp.h @@ -145,7 +145,13 @@ static __inline__ unsigned int BMPlencolormap(enum bmpClass const class, unsigned int const bitcount, unsigned int const cmapsize) { +/*---------------------------------------------------------------------------- + The number of bytes of the BMP stream occupied by the colormap in a + BMP of class 'class' with 'bitcount' bits per pixel and 'cmapsize' + entries in the palette. + 'cmapsize' == 0 means there is no palette. +-----------------------------------------------------------------------------*/ unsigned int lenrgb; unsigned int lencolormap; |