libavfilter/avcodec.h File Reference

libavcodec/libavfilter gluing utilities More...

#include "libavcodec/avcodec.h"
#include "avfilter.h"
#include "vsrc_buffer.h"

Go to the source code of this file.

Functions

void avfilter_copy_frame_props (AVFilterBufferRef *dst, const AVFrame *src)
 Copy the frame properties of src to dst, without copying the actual image data.
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.
int avfilter_fill_frame_from_video_buffer_ref (AVFrame *frame, const AVFilterBufferRef *picref)
 Fill an AVFrame with the information stored in picref.
int av_vsrc_buffer_add_frame (AVFilterContext *buffer_src, const AVFrame *frame, int flags)
 Add frame data to buffer_src.


Detailed Description

libavcodec/libavfilter gluing utilities

This should be included in an application ONLY if the installed libavfilter has been compiled with libavcodec support, otherwise symbols defined below will not be available.

Definition in file avcodec.h.


Function Documentation

int av_vsrc_buffer_add_frame ( AVFilterContext buffer_src,
const AVFrame frame,
int  flags 
)

Add frame data to buffer_src.

Parameters:
buffer_src pointer to a buffer source context
flags a combination of AV_VSRC_BUF_FLAG_* flags
Returns:
>= 0 in case of success, a negative AVERROR code in case of failure

Referenced by output_packet().

void avfilter_copy_frame_props ( AVFilterBufferRef dst,
const AVFrame src 
)

Copy the frame properties of src to dst, without copying the actual image data.

Definition at line 26 of file avcodec.c.

Referenced by avfilter_get_video_buffer_ref_from_frame(), and movie_get_frame().

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 57 of file avcodec.c.

Referenced by output_packet(), and video_thread().

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 44 of file avcodec.c.


Generated on Fri Oct 26 02:39:43 2012 for FFmpeg by  doxygen 1.5.8