Lines Matching defs:buf
30 AVIOContext *buf;
45 const uint8_t *buf, int len, uint16_t seq,
57 if (rtp_vp9_ctx->buf && rtp_vp9_ctx->timestamp != *timestamp)
58 ffio_free_dyn_buf(&rtp_vp9_ctx->buf);
82 has_pic_id = !!(buf[0] & 0x80);
83 inter_picture_layer_frame = !!(buf[0] & 0x40);
84 has_layer_idc = !!(buf[0] & 0x20);
85 has_ref_idc = !!(buf[0] & 0x10);
86 first_fragment = !!(buf[0] & 0x08);
87 last_fragment = !!(buf[0] & 0x04);
88 has_ss_data = !!(buf[0] & 0x02);
99 buf += RTP_VP9_DESC_REQUIRED_SIZE;
117 if (buf[0] & 0x80) {
122 pic_id = AV_RB16(buf) & 0x7fff;
123 buf += 2;
126 pic_id = buf[0] & 0x7f;
127 buf++;
149 layer_temporal = buf[0] & 0xC0;
150 layer_spatial = buf[0] & 0x30;
151 layer_quality = buf[0] & 0x0C;
153 ref_fields = buf[0] & 0x03;
157 buf++;
182 has_ref_field_ext_pic_id = buf[0] & 0x10;
193 buf += 2;
199 buf++;
230 n_s = buf[0] >> 5;
231 y = !!(buf[0] & 0x10);
232 g = !!(buf[0] & 0x08);
233 buf++;
246 w = AV_RB16(buf);
247 h = AV_RB16(buf + 2);
248 buf += 4;
258 n_g = buf[0];
259 buf++;
267 t = buf[0] >> 5;
268 u = !!(buf[0] & 0x10);
269 r = (buf[0] >> 2) & 0x03;
270 buf++;
277 av_unused int p_diff = buf[0];
278 buf++;
299 if (!rtp_vp9_ctx->buf) {
302 res = avio_open_dyn_buf(&rtp_vp9_ctx->buf);
314 avio_write(rtp_vp9_ctx->buf, buf, len);
321 res = ff_rtp_finalize_packet(pkt, &rtp_vp9_ctx->buf, st->index);
330 ffio_free_dyn_buf(&vp9->buf);