36 #define DIRAC_PARSE_INFO_PREFIX 0x42424344
56 const uint8_t *buf,
int buf_size)
62 for (i = 0; i < buf_size; i++) {
63 state = (state << 8) | buf[i];
76 for (; i < buf_size; i++) {
86 state = (state << 8) | buf[i];
105 if (start < pc->
buffer || (start+13 > end))
119 int next,
const uint8_t **buf,
int *buf_size)
130 if (*buf_size == 0 && pc->
buffer[4] == 0x10) {
132 *buf_size = pc->
index;
140 pc->
index + (*buf_size -
182 if ((pu.
pu_type&0x08) != 0x08) {
189 if (parse_timing_info) {
192 int pts =
AV_RB32(cur_pu + 13);
216 const uint8_t **poutbuf,
int *poutbuf_size,
217 const uint8_t *buf,
int buf_size)
228 *poutbuf_size = buf_size;
243 *poutbuf_size = buf_size;