Home
last modified time | relevance | path

Searched refs:last_pkt (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavformat/
Dwebpenc.c30 AVPacket last_pkt; member
80 if (w->last_pkt.size) { in flush()
85 if (AV_RL32(w->last_pkt.data) == AV_RL32("RIFF")) in flush()
88 if (AV_RL32(w->last_pkt.data + skip) == AV_RL32("VP8X")) { in flush()
89 flags |= w->last_pkt.data[skip + 4 + 4]; in flush()
91 skip += AV_RL32(w->last_pkt.data + skip + 4) + 8; in flush()
125 avio_wl32(s->pb, 16 + w->last_pkt.size - skip); in flush()
130 if (w->last_pkt.pts != AV_NOPTS_VALUE && pts != AV_NOPTS_VALUE) { in flush()
131 avio_wl24(s->pb, pts - w->last_pkt.pts); in flush()
133 avio_wl24(s->pb, w->last_pkt.duration); in flush()
[all …]
Doggparseopus.c130 uint8_t *last_pkt = os->buf + os->pstart; in opus_packet() local
131 uint8_t *next_pkt = last_pkt; in opus_packet()
135 d = opus_duration(last_pkt, os->psize); in opus_packet()
141 last_pkt = next_pkt = next_pkt + os->psize; in opus_packet()
144 if (os->segments[seg] < 255 && next_pkt != last_pkt) { in opus_packet()
145 int d = opus_duration(last_pkt, next_pkt - last_pkt); in opus_packet()
148 last_pkt = next_pkt; in opus_packet()
Doggparsevp8.c111 uint8_t *last_pkt = p; in vp8_packet() local
115 duration = (last_pkt[0] >> 4) & 1; in vp8_packet()
116 next_pkt = last_pkt += os->psize; in vp8_packet()
119 duration += (last_pkt[0] >> 4) & 1; in vp8_packet()
120 last_pkt = next_pkt + os->segments[seg]; in vp8_packet()
Doggparsevorbis.c427 uint8_t *last_pkt = os->buf + os->pstart; in vorbis_packet() local
428 uint8_t *next_pkt = last_pkt; in vorbis_packet()
433 d = av_vorbis_parse_frame_flags(priv->vp, last_pkt, 1, &flags); in vorbis_packet()
442 last_pkt = next_pkt = next_pkt + os->psize; in vorbis_packet()
445 int d = av_vorbis_parse_frame_flags(priv->vp, last_pkt, 1, &flags); in vorbis_packet()
454 last_pkt = next_pkt + os->segments[seg]; in vorbis_packet()
/third_party/lwip/src/apps/tftp/
Dtftp_server.c87 int last_pkt; member
221 tftp_state.last_pkt = tftp_state.timer; in recv()
379 if ((tftp_state.timer - tftp_state.last_pkt) > (TFTP_TIMEOUT_MSECS / TFTP_TIMER_MSECS)) { in tftp_tmr()
/third_party/ffmpeg/libavdevice/
Ddecklink_common.h78 PacketList *first_pkt, *last_pkt; member
Ddecklink_dec.cpp494 q->last_pkt = NULL; in avpacket_queue_flush()
543 if (!q->last_pkt) { in avpacket_queue_put()
546 q->last_pkt->next = pkt1; in avpacket_queue_put()
549 q->last_pkt = pkt1; in avpacket_queue_put()
571 q->last_pkt = NULL; in avpacket_queue_get()