Home
last modified time | relevance | path

Searched refs:AVPacket (Results 1 – 25 of 954) sorted by relevance

12345678910>>...39

/third_party/ffmpeg/libavcodec/
Dpacket.h346 typedef struct AVPacket { struct
400 } AVPacket; argument
405 AVPacket pkt;
449 AVPacket *av_packet_alloc(void);
461 AVPacket *av_packet_clone(const AVPacket *src);
470 void av_packet_free(AVPacket **pkt);
488 void av_init_packet(AVPacket *pkt);
499 int av_new_packet(AVPacket *pkt, int size);
507 void av_shrink_packet(AVPacket *pkt, int size);
515 int av_grow_packet(AVPacket *pkt, int grow_by);
[all …]
Davpacket.c36 void av_init_packet(AVPacket *pkt) in av_init_packet()
55 static void get_packet_defaults(AVPacket *pkt) in get_packet_defaults()
64 AVPacket *av_packet_alloc(void) in av_packet_alloc()
66 AVPacket *pkt = av_mallocz(sizeof(AVPacket)); in av_packet_alloc()
75 void av_packet_free(AVPacket **pkt) in av_packet_free()
99 int av_new_packet(AVPacket *pkt, int size) in av_new_packet()
114 void av_shrink_packet(AVPacket *pkt, int size) in av_shrink_packet()
122 int av_grow_packet(AVPacket *pkt, int grow_by) in av_grow_packet()
166 int av_packet_from_data(AVPacket *pkt, uint8_t *data, int size) in av_packet_from_data()
212 static int copy_packet_data(AVPacket *pkt, const AVPacket *src, int dup) in copy_packet_data()
[all …]
Dpacket_internal.h27 AVPacket pkt;
45 AVPacket *pkt,
46 int (*copy)(AVPacket *dst, const AVPacket *src),
62 AVPacket *pkt);
72 int ff_side_data_set_encoder_stats(AVPacket *pkt, int quality, int64_t *error, int error_count, int…
74 int ff_side_data_set_prft(AVPacket *pkt, int64_t timestamp);
Dinternal.h122 AVPacket *in_pkt;
159 AVPacket *last_pkt_props;
190 AVPacket *buffer_pkt;
203 AVPacket *compat_encode_packet;
272 int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int64_t min_size);
Dcodec.h192 struct AVPacket;
289 int (*encode2)(struct AVCodecContext *avctx, struct AVPacket *avpkt,
304 int *got_frame_ptr, struct AVPacket *avpkt);
311 int (*receive_packet)(struct AVCodecContext *avctx, struct AVPacket *avpkt);
Dmovsub_bsf.c26 static int text2movsub(AVBSFContext *ctx, AVPacket *out) in text2movsub()
28 AVPacket *in; in text2movsub()
65 static int mov2textsub(AVBSFContext *ctx, AVPacket *pkt) in mov2textsub()
Dbitpacked.c36 const AVPacket *pkt);
41 const AVPacket *avpkt) in bitpacked_decode_uyvy422()
59 const AVPacket *avpkt) in bitpacked_decode_yuv422p10()
121 AVPacket *avpkt) in bitpacked_decode()
Dvp9_superframe_bsf.c31 AVPacket *cache[MAX_CACHE];
34 static void stats(AVPacket * const *in, int n_in, in stats()
52 static int merge_superframe(AVPacket * const *in, int n_in, AVPacket *out) in merge_superframe()
101 static int vp9_superframe_filter(AVBSFContext *ctx, AVPacket *pkt) in vp9_superframe_filter()
Dextract_extradata_bsf.c39 int (*extract)(AVBSFContext *ctx, AVPacket *pkt,
61 static int extract_extradata_av1(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_av1()
135 static int extract_extradata_h2645(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_h2645()
231 static int extract_extradata_vc1(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_vc1()
266 static int extract_extradata_mpeg12(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_mpeg12()
295 static int extract_extradata_mpeg4(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_mpeg4()
326 int (*extract)(AVBSFContext *ctx, AVPacket *pkt,
357 static int extract_extradata_filter(AVBSFContext *ctx, AVPacket *pkt) in extract_extradata_filter()
Dbsf.h129 int (*filter)(AVBSFContext *ctx, AVPacket *pkt);
189 int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt);
215 int av_bsf_receive_packet(AVBSFContext *ctx, AVPacket *pkt);
Dencode.c33 int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int64_t min_size) in ff_alloc_packet2()
59 int avcodec_default_get_encode_buffer(AVCodecContext *avctx, AVPacket *avpkt, int flags) in avcodec_default_get_encode_buffer()
82 int ff_get_encode_buffer(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int flags) in ff_get_encode_buffer()
175 static int encode_simple_internal(AVCodecContext *avctx, AVPacket *avpkt) in encode_simple_internal()
270 static int encode_simple_receive_packet(AVCodecContext *avctx, AVPacket *avpkt) in encode_simple_receive_packet()
283 static int encode_receive_packet_internal(AVCodecContext *avctx, AVPacket *avpkt) in encode_receive_packet_internal()
395 int attribute_align_arg avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt) in avcodec_receive_packet()
417 static int compat_encode(AVCodecContext *avctx, AVPacket *avpkt, in compat_encode()
421 AVPacket user_pkt; in compat_encode()
501 AVPacket *avpkt, in avcodec_encode_audio2()
[all …]
/third_party/ffmpeg/libavformat/
Dinternal.h93 AVPacket *parse_pkt;
100 AVPacket *pkt;
193 AVPacket *pkt;
394 int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
395 int (*compare)(AVFormatContext *, const AVPacket *, const AVPacket *));
447 int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt,
629 int ff_add_param_change(AVPacket *pkt, int32_t channels,
646 int ff_read_packet(AVFormatContext *s, AVPacket *pkt);
660 int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
661 AVPacket *pkt, int flush);
[all …]
Dsubtitles.c111 AVPacket *ff_subtitles_queue_insert(FFDemuxSubtitlesQueue *q, in ff_subtitles_queue_insert()
114 AVPacket **subs, *sub; in ff_subtitles_queue_insert()
152 const AVPacket *s1 = *(const AVPacket **)a; in cmp_pkt_sub_ts_pos()
153 const AVPacket *s2 = *(const AVPacket **)b; in cmp_pkt_sub_ts_pos()
161 const AVPacket *s1 = *(const AVPacket **)a; in cmp_pkt_sub_pos_ts()
162 const AVPacket *s2 = *(const AVPacket **)b; in cmp_pkt_sub_pos_ts()
177 const AVPacket *last = q->subs[last_id]; in drop_dups()
216 int ff_subtitles_queue_read_packet(FFDemuxSubtitlesQueue *q, AVPacket *pkt) in ff_subtitles_queue_read_packet()
218 AVPacket *sub; in ff_subtitles_queue_read_packet()
Davformat.h414 int av_get_packet(AVIOContext *s, AVPacket *pkt, int size);
431 int av_append_packet(AVIOContext *s, AVPacket *pkt, int size);
553 int (*write_packet)(struct AVFormatContext *, AVPacket *pkt);
559 int (*interleave_packet)(struct AVFormatContext *, AVPacket *out,
560 AVPacket *in, int flush);
630 int (*check_bitstream)(struct AVFormatContext *, const AVPacket *pkt);
722 int (*read_packet)(struct AVFormatContext *, AVPacket *pkt);
957 AVPacket attached_pic;
2331 int av_read_frame(AVFormatContext *s, AVPacket *pkt);
2509 int av_write_frame(AVFormatContext *s, AVPacket *pkt);
[all …]
Dmux.c547 static int compute_muxer_pkt_fields(AVFormatContext *s, AVStream *st, AVPacket *pkt)
642 static void guess_pkt_duration(AVFormatContext *s, AVStream *st, AVPacket *pkt)
681 static int write_packet(AVFormatContext *s, AVPacket *pkt)
764 static int check_packet(AVFormatContext *s, AVPacket *pkt)
780 static int prepare_input_packet(AVFormatContext *s, AVStream *st, AVPacket *pkt)
830 int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
831 int (*compare)(AVFormatContext *, const AVPacket *, const AVPacket *)) argument
902 static int interleave_compare_dts(AVFormatContext *s, const AVPacket *next,
903 const AVPacket *pkt)
932 int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
[all …]
Dgif.c40 AVPacket *prev_pkt;
85 static int gif_get_delay(GIFContext *gif, AVPacket *prev, AVPacket *new) in gif_get_delay()
95 static int gif_write_packet(AVFormatContext *s, AVPacket *new_pkt) in gif_write_packet()
99 AVPacket *pkt = gif->prev_pkt; in gif_write_packet()
Drawutils.c25 int ff_reshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_… in ff_reshuffle_raw_rgb()
28 AVPacket *pkt = *ppkt; in ff_reshuffle_raw_rgb()
37 AVPacket *new_pkt; in ff_reshuffle_raw_rgb()
Dsubtitles.h103 AVPacket **subs; ///< array of subtitles packets
119 AVPacket *ff_subtitles_queue_insert(FFDemuxSubtitlesQueue *q,
132 int ff_subtitles_queue_read_packet(FFDemuxSubtitlesQueue *q, AVPacket *pkt);
Dmovenc.h137 AVPacket *cover_image;
218 AVPacket *pkt;
267 int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);
270 int ff_mov_add_hinted_packet(AVFormatContext *s, AVPacket *pkt,
/third_party/ffmpeg/libavcodec/aarch64/
Dneontest.c36 AVPacket *avpkt)) in wrap()
45 AVPacket *avpkt)) in wrap()
52 AVPacket *avpkt, in wrap()
60 wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, in wrap()
70 AVPacket *avpkt)) in wrap()
83 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in wrap()
88 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in wrap()
/third_party/ffmpeg/libavcodec/arm/
Dneontest.c36 AVPacket *avpkt)) in wrap()
45 AVPacket *avpkt)) in wrap()
52 AVPacket *avpkt, in wrap()
60 wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, in wrap()
70 AVPacket *avpkt)) in wrap()
83 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in wrap()
88 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in wrap()
/third_party/ffmpeg/libavcodec/x86/
Dw64xmmtest.c36 AVPacket *avpkt)) in wrap()
45 AVPacket *avpkt)) in wrap()
52 AVPacket *avpkt, in wrap()
60 wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, in wrap()
70 AVPacket *avpkt)) in wrap()
83 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in wrap()
88 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in wrap()
/third_party/ffmpeg/libavcodec/tests/
Davpacket.c28 static int setup_side_data_entry(AVPacket* avpkt) in setup_side_data_entry()
61 static int initializations(AVPacket* avpkt) in initializations()
82 AVPacket *avpkt = NULL; in main()
83 AVPacket *avpkt_clone = NULL; in main()
/third_party/ffmpeg/libavformat/tests/
Dfifo_muxer.c42 static int prepare_packet(AVPacket *pkt, const FailingMuxerPacketData *pkt_data, int64_t pts) in prepare_packet()
55 static int initialize_fifo_tst_muxer_chain(AVFormatContext **oc, AVPacket **pkt) in initialize_fifo_tst_muxer_chain()
82 AVPacket *pkt, const FailingMuxerPacketData *pkt_data) in fifo_basic_test()
131 AVPacket *pkt, const FailingMuxerPacketData *data) in fifo_overflow_drop_test()
184 AVPacket *, const FailingMuxerPacketData *pkt_data);
202 AVPacket *pkt = NULL; in run_test()
/third_party/ffmpeg/libavdevice/
Djack.c68 AVPacket pkt; in process_callback()
131 AVPacket pkt; in supply_new_packets()
196 self->filled_pkts = av_fifo_alloc_array(FIFO_PACKETS_NUM, sizeof(AVPacket)); in start_jack()
198 self->new_pkts = av_fifo_alloc_array((FIFO_PACKETS_NUM + 1), sizeof(AVPacket)); in start_jack()
214 AVPacket pkt; in free_pkt_fifo()
264 static int audio_read_packet(AVFormatContext *context, AVPacket *pkt) in audio_read_packet()

12345678910>>...39