27 #define RTP_H261_PAYLOAD_HEADER_SIZE 4
51 int sbit, ebit, gobn, mbap,
quant;
55 if (rtp_h261_ctx->
buf && rtp_h261_ctx->
timestamp != *timestamp) {
86 sbit = (buf[0] >> 5) & 0x07;
87 ebit = (buf[0] >> 2) & 0x07;
88 gobn = (buf[1] >> 4) & 0x0f;
89 mbap = ((buf[1] << 1) & 0x1e) | ((buf[2] >> 7) & 0x01);
90 quant = (buf[2] >> 2) & 0x1f;
97 if (!rtp_h261_ctx->
buf) {
99 if (!gobn && !sbit && !mbap && !quant) {
114 rtp_h261_ctx->
endbyte |= buf[0] & (0xff >> sbit);
142 rtp_h261_ctx->
endbyte = buf[len - 1] & (0xff << ebit);
173 .static_payload_id = 31,