FFmpeg
Data Structures | Functions
get_buffer.c File Reference
#include <stdint.h>
#include "libavutil/avassert.h"
#include "libavutil/avutil.h"
#include "libavutil/buffer.h"
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/samplefmt.h"
#include "libavutil/version.h"
#include "avcodec.h"
#include "internal.h"
#include "refstruct.h"

Go to the source code of this file.

Data Structures

struct  FramePool
 

Functions

static void frame_pool_free (FFRefStructOpaque unused, void *obj)
 
static int update_frame_pool (AVCodecContext *avctx, AVFrame *frame)
 
static int audio_get_buffer (AVCodecContext *avctx, AVFrame *frame)
 
static int video_get_buffer (AVCodecContext *s, AVFrame *pic)
 
int avcodec_default_get_buffer2 (AVCodecContext *avctx, AVFrame *frame, int flags)
 The default callback for AVCodecContext.get_buffer2(). More...
 

Function Documentation

◆ frame_pool_free()

static void frame_pool_free ( FFRefStructOpaque  unused,
void *  obj 
)
static

Definition at line 56 of file get_buffer.c.

Referenced by update_frame_pool().

◆ update_frame_pool()

static int update_frame_pool ( AVCodecContext avctx,
AVFrame frame 
)
static

Definition at line 65 of file get_buffer.c.

Referenced by avcodec_default_get_buffer2().

◆ audio_get_buffer()

static int audio_get_buffer ( AVCodecContext avctx,
AVFrame frame 
)
static

Definition at line 169 of file get_buffer.c.

Referenced by avcodec_default_get_buffer2().

◆ video_get_buffer()

static int video_get_buffer ( AVCodecContext s,
AVFrame pic 
)
static

Definition at line 214 of file get_buffer.c.

Referenced by avcodec_default_get_buffer2().