FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
video.c File Reference
#include <string.h>
#include <stdio.h>
#include "libavutil/avassert.h"
#include "libavutil/buffer.h"
#include "libavutil/hwcontext.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.

Macros

#define BUFFER_ALIGN   32
 

Functions

AVFrameff_null_get_video_buffer (AVFilterLink *link, int w, int h)
 
AVFrameff_default_get_video_buffer (AVFilterLink *link, int w, int h)
 
AVFrameff_get_video_buffer (AVFilterLink *link, int w, int h)
 Request a picture buffer with a specific set of permissions. More...
 

Macro Definition Documentation

#define BUFFER_ALIGN   32

Definition at line 36 of file video.c.

Referenced by ff_default_get_video_buffer().

Function Documentation

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

Definition at line 39 of file video.c.

Referenced by get_video_buffer(), and init().

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

Definition at line 44 of file video.c.

Referenced by ff_get_video_buffer(), fixstride(), get_video_buffer(), and hwmap_get_buffer().

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 92 of file video.c.

Referenced by alloc_out_frame(), apply_lut(), apply_palette(), blend_frame(), blend_frames16(), blend_frames8(), config_input(), config_output(), config_video(), config_video_output(), create_weave_frame(), cudaupload_filter_frame(), deint_vaapi_filter_frame(), draw_background(), ff_inlink_make_frame_writable(), ff_null_get_video_buffer(), filter(), filter_frame(), geq_filter_frame(), get_frame(), get_palette_frame(), get_video_buffer(), hwdownload_filter_frame(), hwmap_get_buffer(), hwupload_filter_frame(), output_single_frame(), pixscope_filter_frame(), plot_cqt(), plot_freqs(), pp_filter_frame(), process_frame(), qsvscale_filter_frame(), request_frame(), return_frame(), scale_vaapi_filter_frame(), shuffleplanes_filter_frame(), source_request_frame(), and try_push_frame().