#include "avfilter.h"
#include "vsink_buffer.h"
Go to the source code of this file.
Data Structures | |
| struct | BufferSinkContext | 
Functions | |
| static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) | 
| static av_cold void | uninit (AVFilterContext *ctx) | 
| static void | end_frame (AVFilterLink *inlink) | 
| static int | query_formats (AVFilterContext *ctx) | 
| int | av_vsink_buffer_get_video_buffer_ref (AVFilterContext *ctx, AVFilterBufferRef **picref, int flags) | 
| Get a video buffer data from buffer_sink and put it in picref.   | |
Variables | |
| AVFilter | avfilter_vsink_buffersink | 
Definition in file vsink_buffer.c.
| 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.
| buffer_sink | pointer to a buffer sink context | |
| flags | a combination of AV_VSINK_BUF_FLAG_* flags | 
Definition at line 73 of file vsink_buffer.c.
Referenced by output_packet(), and video_thread().
| static void end_frame | ( | AVFilterLink * | inlink | ) |  [static] | 
        
Definition at line 56 of file vsink_buffer.c.
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args, | |||
| void * | opaque | |||
| ) |  [static] | 
        
Definition at line 34 of file vsink_buffer.c.
| static int query_formats | ( | AVFilterContext * | ctx | ) |  [static] | 
        
Definition at line 65 of file vsink_buffer.c.
| static av_cold void uninit | ( | AVFilterContext * | ctx | ) |  [static] | 
        
Definition at line 47 of file vsink_buffer.c.
Initial value:
 {
    .name      = "buffersink",
    .priv_size = sizeof(BufferSinkContext),
    .init      = init,
    .uninit    = uninit,
    .query_formats = query_formats,
    .inputs    = (AVFilterPad[]) {{ .name          = "default",
                                    .type          = AVMEDIA_TYPE_VIDEO,
                                    .end_frame     = end_frame,
                                    .min_perms     = AV_PERM_READ, },
                                  { .name = NULL }},
    .outputs   = (AVFilterPad[]) {{ .name = NULL }},
}
Definition at line 97 of file vsink_buffer.c.
 1.5.8