Lines Matching refs:timestamp
169 int channel_id, timestamp, size; in rtmp_packet_read_one_chunk() local
223 timestamp = AV_RB32(buf); in rtmp_packet_read_one_chunk()
225 timestamp = ts_field; in rtmp_packet_read_one_chunk()
228 timestamp += prev_pkt[channel_id].timestamp; in rtmp_packet_read_one_chunk()
239 if ((ret = ff_rtmp_packet_create(p, channel_id, type, timestamp, in rtmp_packet_read_one_chunk()
245 prev_pkt[channel_id].timestamp = timestamp; in rtmp_packet_read_one_chunk()
257 p->timestamp = prev->timestamp; in rtmp_packet_read_one_chunk()
316 uint32_t timestamp; // full 32-bit timestamp or delta value in ff_rtmp_packet_write() local
326 pkt->timestamp >= prev_pkt[pkt->channel_id].timestamp; in ff_rtmp_packet_write()
328 timestamp = pkt->timestamp; in ff_rtmp_packet_write()
330 timestamp -= prev_pkt[pkt->channel_id].timestamp; in ff_rtmp_packet_write()
332 if (timestamp >= 0xFFFFFF) { in ff_rtmp_packet_write()
335 pkt->ts_field = timestamp; in ff_rtmp_packet_write()
368 bytestream_put_be32(&p, timestamp); in ff_rtmp_packet_write()
373 prev_pkt[pkt->channel_id].timestamp = pkt->timestamp; in ff_rtmp_packet_write()
398 AV_WB32(ts_header, timestamp); in ff_rtmp_packet_write()
409 int timestamp, int size) in ff_rtmp_packet_create() argument
419 pkt->timestamp = timestamp; in ff_rtmp_packet_create()
665 rtmp_packet_type(p->type), p->type, p->channel_id, p->timestamp, p->extra, p->size); in ff_rtmp_packet_dump()