libavfilter/avcodec.c File Reference

libavcodec/libavfilter gluing utilities More...

#include "avcodec.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Functions

AVFilterBufferRefavfilter_get_video_buffer_ref_from_frame (const AVFrame *frame, int perms)
 Create and return a picref reference from the data and properties contained in frame.
AVFilterBufferRefavfilter_get_audio_buffer_ref_from_frame (const AVFrame *frame, int perms)
 Create and return a picref reference from the data and properties contained in frame.
int avfilter_fill_frame_from_audio_buffer_ref (AVFrame *frame, const AVFilterBufferRef *samplesref)
 Fill an AVFrame with the information stored in samplesref.
int avfilter_fill_frame_from_video_buffer_ref (AVFrame *frame, const AVFilterBufferRef *picref)
 Fill an AVFrame with the information stored in picref.
int avfilter_fill_frame_from_buffer_ref (AVFrame *frame, const AVFilterBufferRef *ref)
 Fill an AVFrame with information stored in ref.


Detailed Description

libavcodec/libavfilter gluing utilities

Definition in file avcodec.c.


Function Documentation

int avfilter_fill_frame_from_audio_buffer_ref ( AVFrame frame,
const AVFilterBufferRef samplesref 
)

Fill an AVFrame with the information stored in samplesref.

Parameters:
frame an already allocated AVFrame
samplesref an audio buffer reference
Returns:
0 in case of success, a negative AVERROR code in case of failure

Definition at line 55 of file avcodec.c.

Referenced by avfilter_fill_frame_from_buffer_ref().

int avfilter_fill_frame_from_buffer_ref ( AVFrame frame,
const AVFilterBufferRef ref 
)

Fill an AVFrame with information stored in ref.

Parameters:
frame an already allocated AVFrame
ref a video or audio buffer reference
Returns:
0 in case of success, a negative AVERROR code in case of failure

Definition at line 95 of file avcodec.c.

int avfilter_fill_frame_from_video_buffer_ref ( AVFrame frame,
const AVFilterBufferRef picref 
)

Fill an AVFrame with the information stored in picref.

Parameters:
frame an already allocated AVFrame
picref a video buffer reference
Returns:
0 in case of success, a negative AVERROR code in case of failure

Definition at line 73 of file avcodec.c.

Referenced by avfilter_fill_frame_from_buffer_ref(), poll_filters(), and video_thread().

AVFilterBufferRef* avfilter_get_audio_buffer_ref_from_frame ( const AVFrame frame,
int  perms 
)

Create and return a picref reference from the data and properties contained in frame.

Parameters:
perms permissions to assign to the new buffer reference

Definition at line 42 of file avcodec.c.

Referenced by av_buffersrc_add_frame().

AVFilterBufferRef* avfilter_get_video_buffer_ref_from_frame ( const AVFrame frame,
int  perms 
)

Create and return a picref reference from the data and properties contained in frame.

Parameters:
perms permissions to assign to the new buffer reference

Definition at line 29 of file avcodec.c.

Referenced by av_buffersrc_add_frame().


Generated on Fri Oct 26 02:48:00 2012 for FFmpeg by  doxygen 1.5.8