Lines Matching defs:ptr
107 uint8_t buf[4 + 1 + 1 + 8 + 4 + 4 + 4 + 1 + 255], *ptr = buf, *crc_pos;
111 bytestream_put_le32(&ptr, MKTAG('O', 'g', 'g', 'S'));
112 bytestream_put_byte(&ptr, 0);
113 bytestream_put_byte(&ptr, page->flags | extra_flags);
114 bytestream_put_le64(&ptr, page->granule);
115 bytestream_put_le32(&ptr, oggstream->serial_num);
116 bytestream_put_le32(&ptr, oggstream->page_counter++);
117 crc_pos = ptr;
118 bytestream_put_le32(&ptr, 0);
119 bytestream_put_byte(&ptr, page->segments_count);
120 bytestream_put_buffer(&ptr, page->segments, page->segments_count);
122 crc = av_crc(crc_table, 0, buf, ptr - buf);
126 avio_write(s->pb, buf, ptr - buf);