FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
decode.h File Reference
#include "avcodec.h"

Go to the source code of this file.

Functions

int ff_decode_get_packet (AVCodecContext *avctx, AVPacket *pkt)
 Called by decoders to get the next packet for decoding. More...
 
void ff_decode_bsfs_uninit (AVCodecContext *avctx)
 

Function Documentation

int ff_decode_get_packet ( AVCodecContext avctx,
AVPacket pkt 
)

Called by decoders to get the next packet for decoding.

Parameters
pktAn empty packet to be filled with data.
Returns
0 if a new reference has been successfully written to pkt AVERROR(EAGAIN) if no data is currently available AVERROR_EOF if and end of stream has been reached, so no more data will be available

Definition at line 293 of file decode.c.

Referenced by binkaudio_receive_frame(), crystalhd_receive_frame(), cuvid_output_frame(), decode_simple_internal(), and v4l2_receive_frame().

void ff_decode_bsfs_uninit ( AVCodecContext avctx)

Definition at line 1752 of file decode.c.

Referenced by avcodec_close(), avcodec_flush_buffers(), and bsfs_init().