projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace some deprecated defines
[ffmpeg.git]
/
libavcodec
/
sgirledec.c
diff --git
a/libavcodec/sgirledec.c
b/libavcodec/sgirledec.c
index a7fdac82b8d6cf1d693a7cc9e7fcb14bff188159..af149d14e9d0470af07172f6ac7cfcaa314e2b61 100644
(file)
--- a/
libavcodec/sgirledec.c
+++ b/
libavcodec/sgirledec.c
@@
-42,7
+42,7
@@
static av_cold int sgirle_decode_init(AVCodecContext *avctx)
}
/**
- * Convert SGI RGB332 pixel into PIX_FMT_BGR8
+ * Convert SGI RGB332 pixel into
AV_
PIX_FMT_BGR8
* SGI RGB332 is packed RGB 3:3:2, 8bpp, (msb)3R 2B 3G(lsb)
*/
#define RGB332_TO_BGR8(x) (((x << 3) & 0xC0) | ((x << 3) & 0x38) | ((x >> 5) & 7))