29 #define LATM_HEADER 0x56e000 // 0x2b7 (11 bits)
30 #define LATM_MASK 0xFFE000 // top 11 bits
31 #define LATM_SIZE_MASK 0x001FFF // bottom 13 bits
54 for (i = 0; i < buf_size; i++) {
55 state = (state<<8) | buf[i];
72 return (state & LATM_SIZE_MASK) - s->
count;
84 const uint8_t **poutbuf,
int *poutbuf_size,
85 const uint8_t *buf,
int buf_size)
103 *poutbuf_size = buf_size;