29 #define DNXHD_HEADER_PREFIX 0x000002800100
48 for (i = 0; i < buf_size; i++) {
49 state = (state<<8) | buf[i];
53 interlaced = (state&2)>>1;
63 for (; i < buf_size; i++) {
64 state = (state<<8) | buf[i];
89 const uint8_t **poutbuf,
int *poutbuf_size,
107 *poutbuf_size = buf_size;