libavfilter/vsink_buffer.h File Reference

memory buffer sink API for video More...

#include "avfilter.h"

Go to the source code of this file.

Defines

#define AV_VSINK_BUF_FLAG_PEEK   1
 Tell av_vsink_buffer_get_video_buffer_ref() to read the picref, but not remove it from the buffer.

Functions

int av_vsink_buffer_get_video_buffer_ref (AVFilterContext *buffer_sink, AVFilterBufferRef **picref, int flags)
 Get a video buffer data from buffer_sink and put it in picref.


Detailed Description

memory buffer sink API for video

Definition in file vsink_buffer.h.


Define Documentation

#define AV_VSINK_BUF_FLAG_PEEK   1

Tell av_vsink_buffer_get_video_buffer_ref() to read the picref, but not remove it from the buffer.

This is useful if you need only to read the picref, without to fetch it.

Definition at line 34 of file vsink_buffer.h.

Referenced by av_vsink_buffer_get_video_buffer_ref().


Function Documentation

int av_vsink_buffer_get_video_buffer_ref ( AVFilterContext buffer_sink,
AVFilterBufferRef **  picref,
int  flags 
)

Get a video buffer data from buffer_sink and put it in picref.

Parameters:
buffer_sink pointer to a buffer sink context
flags a combination of AV_VSINK_BUF_FLAG_* flags
Returns:
>= 0 in case of success, a negative AVERROR code in case of failure

Definition at line 73 of file vsink_buffer.c.

Referenced by output_packet(), and video_thread().


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