Lines Matching refs:last_pkt
30 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()
136 avio_write(s->pb, w->last_pkt.data + skip, w->last_pkt.size - skip); in flush()
137 av_packet_unref(&w->last_pkt); in flush()
162 av_packet_ref(&w->last_pkt, pkt); in webp_write_packet()
198 av_packet_unref(&w->last_pkt); in webp_deinit()