Lines Matching defs:buf
498 void go7007_parse_video_stream(struct go7007 *go, u8 *buf, int length)
529 switch (buf[i]) {
537 store_byte(vb, buf[i]);
542 switch (buf[i]) {
552 store_byte(vb, buf[i]);
558 switch (buf[i]) {
574 store_byte(vb, buf[i]);
580 if (buf[i] == 0xF8 && go->modet_enable == 0) {
594 (buf[i] == seq_start_code ||
595 buf[i] == gop_start_code ||
596 buf[i] == frame_start_code)) {
599 go->seen_frame = buf[i] == frame_start_code;
606 switch (buf[i]) {
630 store_byte(vb, buf[i]);
636 switch (buf[i]) {
651 store_byte(vb, buf[i]);
657 go->parse_length = buf[i] << 8;
661 go->parse_length |= buf[i];
670 go->modet_word |= buf[i];
673 go->modet_word = buf[i] << 8;
675 vb->modet_active = buf[i];