Mercurial > libavcodec.hg
comparison flicvideo.c @ 1881:39ad6cd5d4a6 libavcodec
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG
author | melanson |
---|---|
date | Sun, 14 Mar 2004 04:04:08 +0000 |
parents | e73a3b86565f |
children | 18b8b2dcc037 |
comparison
equal
deleted
inserted
replaced
1880:56ccec0d08bd | 1881:39ad6cd5d4a6 |
---|---|
48 #define FLI_LC 12 | 48 #define FLI_LC 12 |
49 #define FLI_BLACK 13 | 49 #define FLI_BLACK 13 |
50 #define FLI_BRUN 15 | 50 #define FLI_BRUN 15 |
51 #define FLI_COPY 16 | 51 #define FLI_COPY 16 |
52 #define FLI_MINI 18 | 52 #define FLI_MINI 18 |
53 | |
54 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) | |
55 #define LE_32(x) ((((uint8_t*)(x))[3] << 24) | \ | |
56 (((uint8_t*)(x))[2] << 16) | \ | |
57 (((uint8_t*)(x))[1] << 8) | \ | |
58 ((uint8_t*)(x))[0]) | |
59 | 53 |
60 typedef struct FlicDecodeContext { | 54 typedef struct FlicDecodeContext { |
61 AVCodecContext *avctx; | 55 AVCodecContext *avctx; |
62 AVFrame frame; | 56 AVFrame frame; |
63 | 57 |