Lines Matching full:bs
59 static inline int64_t bs_get_v(const uint8_t **bs) in bs_get_v() argument
66 c = **bs; (*bs)++; in bs_get_v()
79 const uint8_t *bs = p->buf + 4; in mpc8_probe() local
80 const uint8_t *bs_end = bs + p->buf_size; in mpc8_probe()
87 while (bs < bs_end + 3) { in mpc8_probe()
88 int header_found = (bs[0] == 'S' && bs[1] == 'H'); in mpc8_probe()
89 if (bs[0] < 'A' || bs[0] > 'Z' || bs[1] < 'A' || bs[1] > 'Z') in mpc8_probe()
91 bs += 2; in mpc8_probe()
92 size = bs_get_v(&bs); in mpc8_probe()
95 if (size >= bs_end - bs + 2) in mpc8_probe()
100 if (!AV_RL32(bs)) //zero CRC is invalid in mpc8_probe()
104 bs += size - 2; in mpc8_probe()