int find_any_header(uint8_t *head, const uint8_t *buf, int length)
int find_mpg_header(uint8_t head, const uint8_t *buf, int length)
int ring_find_any_header(ringbuffer *rbuf, uint8_t *head, int off, int le)
int mring_peek(ringbuffer *rbuf, uint8_t *buf, unsigned int l, uint32_t off)
uint64_t trans_pts_dts(const uint8_t *pts)
std::chrono::duration< CHRONO_TYPE, std::ratio< 1, 90000 > > pts
void show_buf(uint8_t *buf, int length)
int ring_find_mpg_header(ringbuffer *rbuf, uint8_t head, int off, int le)
std::vector< uint8_t > peek_poke_vec