Home | History | Annotate | Download | only in libavcodec

Lines Matching refs:avpkt

765  * The decoder has a non-zero delay and needs to be fed with avpkt->data=NULL,
766 * avpkt->size=0 at the end to get the delayed data until the decoder no longer
2980 * @param avpkt output AVPacket (may contain a user-provided buffer)
2983 avpkt.
2986 int (*encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame,
2988 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt);
3633 * Decode the audio frame of size avpkt->size from avpkt->data into samples.
3649 * @warning The end of the input buffer avpkt->data should be set to 0 to ensure that
3657 * @note You might have to align the input buffer avpkt->data and output buffer
3662 * In practice, avpkt->data should have 4 byte alignment at minimum and
3667 * between input and output, these need to be fed with avpkt->data=NULL,
3668 * avpkt->size=0 at the end to return the remaining frames.
3675 * @param[in] avpkt The input AVPacket containing the input buffer.
3684 AVPacket *avpkt);
3688 * Decode the audio frame of size avpkt->size from avpkt->data into frame.
3697 * @warning The input buffer, avpkt->data must be FF_INPUT_BUFFER_PADDING_SIZE
3719 * @param[in] avpkt The input AVPacket containing the input buffer.
3720 * At least avpkt->data and avpkt->size should be set. Some
3727 int *got_frame_ptr, const AVPacket *avpkt);
3730 * Decode the video frame of size avpkt->size from avpkt->data into picture.
3741 * @note You might have to align the input buffer avpkt->data.
3746 * In practice, avpkt->data should have 4 byte alignment at minimum.
3749 * between input and output, these need to be fed with avpkt->data=NULL,
3750 * avpkt->size=0 at the end to return the remaining frames.
3767 * @param[in] avpkt The input AVpacket containing the input buffer.
3778 const AVPacket *avpkt);
3794 * @param[in] avpkt The input AVPacket containing the input buffer.
3798 AVPacket *avpkt);
4083 * available, to avpkt. The output packet does not necessarily contain data for
4088 * @param avpkt output AVPacket.
4090 * avpkt->data and avpkt->size prior to calling the
4092 * large enough, encoding will fail. If avpkt->data and
4093 * avpkt->size are set, avpkt->destruct must also be set. All
4095 * av_init_packet(). If avpkt->data is NULL, the encoder will
4096 * allocate it. The encoder will set avpkt->size to the size
4099 * If this function fails or produces no output, avpkt will be
4100 * freed using av_free_packet() (i.e. avpkt->destruct will be
4118 int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
4145 * available, to avpkt. The output packet does not necessarily contain data for
4150 * @param avpkt output AVPacket.
4152 * avpkt->data and avpkt->size prior to calling the
4156 * avpkt->data is NULL, the encoder will allocate it.
4157 * The encoder will set avpkt->size to the size of the
4161 * If this function fails or produces no output, avpkt will be
4162 * freed using av_free_packet() (i.e. avpkt->destruct will be
4175 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,