libavfilter/vsrc_buffer.h File Reference

memory buffer source API for video More...

#include "avfilter.h"

Go to the source code of this file.

Defines

#define AV_VSRC_BUF_FLAG_OVERWRITE   1
 Tell av_vsrc_buffer_add_video_buffer_ref() to overwrite the already cached video buffer with the new added one, otherwise the function will complain and exit.

Functions

int av_vsrc_buffer_add_video_buffer_ref (AVFilterContext *buffer_src, AVFilterBufferRef *picref, int flags)
 Add video buffer data in picref to buffer_src.


Detailed Description

memory buffer source API for video

Definition in file vsrc_buffer.h.


Define Documentation

#define AV_VSRC_BUF_FLAG_OVERWRITE   1

Tell av_vsrc_buffer_add_video_buffer_ref() to overwrite the already cached video buffer with the new added one, otherwise the function will complain and exit.

Definition at line 36 of file vsrc_buffer.h.

Referenced by av_vsrc_buffer_add_video_buffer_ref(), and output_packet().


Function Documentation

int av_vsrc_buffer_add_video_buffer_ref ( AVFilterContext buffer_src,
AVFilterBufferRef picref,
int  flags 
)

Add video buffer data in picref 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

Definition at line 40 of file vsrc_buffer.c.


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