Lines Matching refs:timestamp
169 int channel_id, timestamp, size;
170 uint32_t ts_field; // non-extended timestamp or delta field
223 timestamp = AV_RB32(buf);
225 timestamp = ts_field;
228 timestamp += prev_pkt[channel_id].timestamp;
239 if ((ret = ff_rtmp_packet_create(p, channel_id, type, timestamp,
245 prev_pkt[channel_id].timestamp = timestamp;
257 p->timestamp = prev->timestamp;
315 int use_delta; // flag if using timestamp delta, not RTMP_PS_TWELVEBYTES
316 uint32_t timestamp; // full 32-bit timestamp or delta value
326 pkt->timestamp >= prev_pkt[pkt->channel_id].timestamp;
328 timestamp = pkt->timestamp;
330 timestamp -= prev_pkt[pkt->channel_id].timestamp;
332 if (timestamp >= 0xFFFFFF) {
335 pkt->ts_field = timestamp;
368 bytestream_put_be32(&p, timestamp);
373 prev_pkt[pkt->channel_id].timestamp = pkt->timestamp;
398 AV_WB32(ts_header, timestamp);
409 int timestamp, int size)
419 pkt->timestamp = timestamp;
664 av_log(ctx, AV_LOG_DEBUG, "RTMP packet type '%s'(%d) for channel %d, timestamp %d, extra field %d size %d\n",
665 rtmp_packet_type(p->type), p->type, p->channel_id, p->timestamp, p->extra, p->size);