Mercurial > mplayer.hg
comparison fmt-conversion.c @ 34414:6f48ca5471b6
fmt-conversion.c: add a remark about the usage of #ifdef directives
author | siretart |
---|---|
date | Wed, 04 Jan 2012 20:30:10 +0000 |
parents | 95f802285711 |
children | 8a96cf601e57 |
comparison
equal
deleted
inserted
replaced
34413:8eebe2a33894 | 34414:6f48ca5471b6 |
---|---|
55 {IMGFMT_RGB12BE, PIX_FMT_BGR444BE}, | 55 {IMGFMT_RGB12BE, PIX_FMT_BGR444BE}, |
56 {IMGFMT_RGB12LE, PIX_FMT_BGR444LE}, | 56 {IMGFMT_RGB12LE, PIX_FMT_BGR444LE}, |
57 {IMGFMT_RGB8, PIX_FMT_BGR8}, | 57 {IMGFMT_RGB8, PIX_FMT_BGR8}, |
58 {IMGFMT_RGB4, PIX_FMT_BGR4}, | 58 {IMGFMT_RGB4, PIX_FMT_BGR4}, |
59 {IMGFMT_BGR8, PIX_FMT_PAL8}, | 59 {IMGFMT_BGR8, PIX_FMT_PAL8}, |
60 // NB: This works only because PIX_FMT_0RGB32 is a CPP Macro. | |
61 // note that most other PIX_FMT values are enums | |
60 #ifdef PIX_FMT_0RGB32 | 62 #ifdef PIX_FMT_0RGB32 |
61 {IMGFMT_BGR32, PIX_FMT_0RGB32}, | 63 {IMGFMT_BGR32, PIX_FMT_0RGB32}, |
62 #endif | 64 #endif |
63 #if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 20, 1) | 65 #if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 20, 1) |
64 {IMGFMT_GBR24P, PIX_FMT_GBRP}, | 66 {IMGFMT_GBR24P, PIX_FMT_GBRP}, |