Mercurial > libavformat.hg
comparison idcin.c @ 386:c152849ee643 libavformat
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG
author | melanson |
---|---|
date | Sun, 14 Mar 2004 04:04:08 +0000 |
parents | bff1a372ae38 |
children | b69898ffc92a |
comparison
equal
deleted
inserted
replaced
385:2f56d366a787 | 386:c152849ee643 |
---|---|
65 * - if any bytes exceed 63, do not shift the bytes at all before | 65 * - if any bytes exceed 63, do not shift the bytes at all before |
66 * transmitting them to the video decoder | 66 * transmitting them to the video decoder |
67 */ | 67 */ |
68 | 68 |
69 #include "avformat.h" | 69 #include "avformat.h" |
70 | |
71 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) | |
72 #define LE_32(x) ((((uint8_t*)(x))[3] << 24) | \ | |
73 (((uint8_t*)(x))[2] << 16) | \ | |
74 (((uint8_t*)(x))[1] << 8) | \ | |
75 ((uint8_t*)(x))[0]) | |
76 | 70 |
77 #define HUFFMAN_TABLE_SIZE (64 * 1024) | 71 #define HUFFMAN_TABLE_SIZE (64 * 1024) |
78 #define FRAME_PTS_INC (90000 / 14) | 72 #define FRAME_PTS_INC (90000 / 14) |
79 | 73 |
80 typedef struct IdcinDemuxContext { | 74 typedef struct IdcinDemuxContext { |