Libav
Functions
video.c File Reference
#include <string.h>
#include <stdio.h>
#include "libavutil/buffer.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

AVFrameff_null_get_video_buffer (AVFilterLink *link, int w, int h)
 
AVFrameff_default_get_video_buffer (AVFilterLink *link, int w, int h)
 
AVFilterBufferRef * avfilter_get_video_buffer_ref_from_arrays (uint8_t *data[4], int linesize[4], int perms, int w, int h, enum AVPixelFormat format)
 
AVFrameff_get_video_buffer (AVFilterLink *link, int w, int h)
 Request a picture buffer with a specific set of permissions. More...
 

Function Documentation

AVFrame* ff_null_get_video_buffer ( AVFilterLink link,
int  w,
int  h 
)

Definition at line 30 of file video.c.

AVFrame* ff_default_get_video_buffer ( AVFilterLink link,
int  w,
int  h 
)

Definition at line 38 of file video.c.

Referenced by ff_get_video_buffer(), and get_video_buffer().

AVFilterBufferRef* avfilter_get_video_buffer_ref_from_arrays ( uint8_t data[4],
int  linesize[4],
int  perms,
int  w,
int  h,
enum AVPixelFormat  format 
)

Definition at line 59 of file video.c.

Referenced by compat_read().

AVFrame* ff_get_video_buffer ( AVFilterLink link,
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
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 104 of file video.c.

Referenced by color_request_frame(), ff_filter_frame(), ff_null_get_video_buffer(), filter_frame(), get_video_buffer(), request_frame(), return_frame(), shuffleplanes_filter_frame(), and source_request_frame().