comparison bytestream.h @ 4626:d25576b9b50c libavcodec

add little endian 24bit read/write
author alex
date Tue, 06 Mar 2007 13:05:38 +0000
parents 76be6cfd7958
children e92146cec4a8
comparison
equal deleted inserted replaced
4625:9d7d21173e4f 4626:d25576b9b50c
31 write(*b, value);\ 31 write(*b, value);\
32 (*b) += bytes;\ 32 (*b) += bytes;\
33 }; 33 };
34 34
35 DEF(le32, 4, AV_RL32, AV_WL32) 35 DEF(le32, 4, AV_RL32, AV_WL32)
36 DEF(le24, 3, AV_RL24, AV_WL24)
36 DEF(le16, 2, AV_RL16, AV_WL16) 37 DEF(le16, 2, AV_RL16, AV_WL16)
37 DEF(be32, 4, AV_RB32, AV_WB32) 38 DEF(be32, 4, AV_RB32, AV_WB32)
38 DEF(be24, 3, AV_RB24, AV_WB24) 39 DEF(be24, 3, AV_RB24, AV_WB24)
39 DEF(be16, 2, AV_RB16, AV_WB16) 40 DEF(be16, 2, AV_RB16, AV_WB16)
40 DEF(byte, 1, AV_RB8 , AV_WB8 ) 41 DEF(byte, 1, AV_RB8 , AV_WB8 )