Lines Matching defs:AVPacket

2  * AVPacket public API
36 * @defgroup lavc_packet AVPacket
38 * Types and functions for working with AVPacket.
342 * sizeof(AVPacket) being a part of the public ABI is deprecated. once
351 typedef struct AVPacket {
365 * must be converted to true pts/dts before they are stored in AVPacket.
419 } AVPacket;
424 AVPacket pkt;
470 * Allocate an AVPacket and set its fields to default values. The resulting
473 * @return An AVPacket filled with default values or NULL on failure.
475 * @note this only allocates the AVPacket itself, not the data buffers. Those
480 AVPacket *av_packet_alloc(void);
487 * @return newly created AVPacket on success, NULL on error.
492 AVPacket *av_packet_clone(const AVPacket *src);
501 void av_packet_free(AVPacket **pkt);
516 sizeof(AVPacket) will not be a part of the ABI anymore.
519 void av_init_packet(AVPacket *pkt);
530 int av_new_packet(AVPacket *pkt, int size);
538 void av_shrink_packet(AVPacket *pkt, int size);
546 int av_grow_packet(AVPacket *pkt, int grow_by);
561 int av_packet_from_data(AVPacket *pkt, uint8_t *data, int size);
571 uint8_t* av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type,
587 int av_packet_add_side_data(AVPacket *pkt, enum AVPacketSideDataType type,
598 int av_packet_shrink_side_data(AVPacket *pkt, enum AVPacketSideDataType type,
610 uint8_t* av_packet_get_side_data(const AVPacket *pkt, enum AVPacketSideDataType type,
640 void av_packet_free_side_data(AVPacket *pkt);
659 int av_packet_ref(AVPacket *dst, const AVPacket *src);
669 void av_packet_unref(AVPacket *pkt);
679 void av_packet_move_ref(AVPacket *dst, AVPacket *src);
692 int av_packet_copy_props(AVPacket *dst, const AVPacket *src);
708 int av_packet_make_refcounted(AVPacket *pkt);
719 int av_packet_make_writable(AVPacket *pkt);
732 void av_packet_rescale_ts(AVPacket *pkt, AVRational tb_src, AVRational tb_dst);