Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavdevice/
Dvfwcap.c48 PacketList *pktl; member
206 for(ppktl = &ctx->pktl ; *ppktl ; ppktl = &(*ppktl)->next); in videostream_cb()
223 PacketList *pktl; in vfw_read_close() local
235 pktl = ctx->pktl; in vfw_read_close()
236 while (pktl) { in vfw_read_close()
237 PacketList *next = pktl->next; in vfw_read_close()
238 av_packet_unref(&pktl->pkt); in vfw_read_close()
239 av_free(pktl); in vfw_read_close()
240 pktl = next; in vfw_read_close()
443 PacketList *pktl = NULL; in vfw_read_packet() local
[all …]
Ddshow.c61 PacketList *pktl; in dshow_read_close() local
119 pktl = ctx->pktl; in dshow_read_close()
120 while (pktl) { in dshow_read_close()
121 PacketList *next = pktl->next; in dshow_read_close()
122 av_packet_unref(&pktl->pkt); in dshow_read_close()
123 av_free(pktl); in dshow_read_close()
124 pktl = next; in dshow_read_close()
187 for(ppktl = &ctx->pktl ; *ppktl ; ppktl = &(*ppktl)->next); in callback()
1265 PacketList *pktl = NULL; in dshow_read_packet() local
1267 while (!ctx->eof && !pktl) { in dshow_read_packet()
[all …]
Ddshow_capture.h324 PacketList *pktl; member
/third_party/ffmpeg/libavcodec/
Davpacket.c759 PacketList *pktl = av_mallocz(sizeof(PacketList)); in avpriv_packet_list_put() local
762 if (!pktl) in avpriv_packet_list_put()
766 ret = copy(&pktl->pkt, pkt); in avpriv_packet_list_put()
768 av_free(pktl); in avpriv_packet_list_put()
774 av_free(pktl); in avpriv_packet_list_put()
777 av_packet_move_ref(&pktl->pkt, pkt); in avpriv_packet_list_put()
781 (*plast_pktl)->next = pktl; in avpriv_packet_list_put()
783 *packet_buffer = pktl; in avpriv_packet_list_put()
786 *plast_pktl = pktl; in avpriv_packet_list_put()
794 PacketList *pktl; in avpriv_packet_list_get() local
[all …]
/third_party/ffmpeg/libavformat/
Dmux.c935 PacketList *pktl; local
1014 pktl = s->internal->packet_buffer;
1015 st = s->streams[pktl->pkt.stream_index];
1017 s->internal->packet_buffer = pktl->next;
1021 if (st->internal->last_in_packet_buffer == pktl)
1024 av_packet_unref(&pktl->pkt);
1025 av_freep(&pktl);
1032 pktl = s->internal->packet_buffer;
1033 *out = pktl->pkt;
1036 s->internal->packet_buffer = pktl->next;
[all …]
Dutils.c827 PacketList *pktl = s->internal->raw_packet_buffer; in ff_read_packet() local
830 if (pktl) { in ff_read_packet()
831 st = s->streams[pktl->pkt.stream_index]; in ff_read_packet()
852 if (!pktl || ret == AVERROR(EAGAIN)) in ff_read_packet()
906 if (!pktl && st->internal->request_probe <= 0) in ff_read_packet()
1035 static PacketList *get_next_pkt(AVFormatContext *s, AVStream *st, PacketList *pktl) in get_next_pkt() argument
1037 if (pktl->next) in get_next_pkt()
1038 return pktl->next; in get_next_pkt()
1039 if (pktl == s->internal->packet_buffer_end) in get_next_pkt()
1120 …PacketList *pktl = s->internal->packet_buffer ? s->internal->packet_buffer : s->internal->parse_qu… in update_initial_timestamps() local
[all …]
Dmxfenc.c3108 PacketList *pktl = s->internal->packet_buffer; in mxf_interleave_get_packet() local
3112 while (pktl) { in mxf_interleave_get_packet()
3113 if (!stream_count || pktl->pkt.stream_index == 0) in mxf_interleave_get_packet()
3116 if (s->streams[pktl->pkt.stream_index]->internal->last_in_packet_buffer != pktl) in mxf_interleave_get_packet()
3117 s->streams[pktl->pkt.stream_index]->internal->last_in_packet_buffer = pktl; in mxf_interleave_get_packet()
3118 last = pktl; in mxf_interleave_get_packet()
3119 pktl = pktl->next; in mxf_interleave_get_packet()
3123 while (pktl) { in mxf_interleave_get_packet()
3124 PacketList *next = pktl->next; in mxf_interleave_get_packet()
3125 av_packet_unref(&pktl->pkt); in mxf_interleave_get_packet()
[all …]