Lines Matching refs:orig_buf
1002 uint8_t *orig_buf, *buf, *slice_hdr, *slice_sizes, *tmp; in encode_frame() local
1019 orig_buf = pkt->data; in encode_frame()
1022 orig_buf += 4; // frame size in encode_frame()
1023 bytestream_put_be32 (&orig_buf, FRAME_ID); // frame container ID in encode_frame()
1024 buf = orig_buf; in encode_frame()
1056 bytestream_put_be16 (&tmp, buf - orig_buf); // write back frame header size in encode_frame()
1092 if (pkt_size <= buf - orig_buf + 2 * max_slice_size) { in encode_frame()
1118 orig_buf = pkt->data + (orig_buf - start); in encode_frame()
1125 init_put_bits(&pb, buf, (pkt_size - (buf - orig_buf))); in encode_frame()
1148 orig_buf -= 8; in encode_frame()
1149 frame_size = buf - orig_buf; in encode_frame()
1150 bytestream_put_be32(&orig_buf, frame_size); in encode_frame()