FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
video.c File Reference
#include <string.h>
#include <stdio.h>
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Functions

AVFilterBufferRefff_null_get_video_buffer (AVFilterLink *link, int perms, int w, int h)
 
AVFilterBufferRefff_default_get_video_buffer (AVFilterLink *link, int perms, int w, int h)
 
AVFilterBufferRefavfilter_get_video_buffer_ref_from_arrays (uint8_t *const data[4], const int linesize[4], int perms, int w, int h, enum AVPixelFormat format)
 Create a buffer reference wrapped around an already allocated image buffer.
 
AVFilterBufferRefff_get_video_buffer (AVFilterLink *link, int perms, int w, int h)
 Request a picture buffer with a specific set of permissions.
 

Function Documentation

AVFilterBufferRef* ff_null_get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
)

Definition at line 34 of file video.c.

Referenced by get_video_buffer().

AVFilterBufferRef* ff_default_get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
)

Definition at line 39 of file video.c.

Referenced by ff_get_video_buffer(), and get_video_buffer().

AVFilterBufferRef* ff_get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
)

Request a picture buffer with a specific set of permissions.

Parameters
linkthe output link to the filter from which the buffer will be requested
permsthe required access permissions
wthe minimum width of the buffer to allocate
hthe minimum height of the buffer to allocate
Returns
A reference to the buffer. This must be unreferenced with avfilter_unref_buffer when you are finished with it.

Definition at line 140 of file video.c.

Referenced by config_output(), config_video_output(), ff_copy_buffer_ref(), ff_filter_frame_framed(), ff_null_get_video_buffer(), filter_frame(), geq_filter_frame(), get_video_buffer(), pp_filter_frame(), request_frame(), return_frame(), and source_request_frame().