FFmpeg
Macros | Functions
video.c File Reference
#include <string.h>
#include <stdio.h>
#include "libavutil/buffer.h"
#include "libavutil/hwcontext.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "framepool.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

◆ BUFFER_ALIGN

#define BUFFER_ALIGN   32

Definition at line 35 of file video.c.

Function Documentation

◆ ff_null_get_video_buffer()

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

Definition at line 38 of file video.c.

Referenced by cudascale_get_video_buffer(), get_video_buffer(), and init().

◆ ff_default_get_video_buffer()

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

◆ ff_get_video_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
on success, an AVFrame owned by the caller, NULL on error

Definition at line 98 of file video.c.

Referenced by activate(), alloc_out_frame(), apply_lut(), apply_palette(), avgblur_opencl_filter_frame(), avgblur_vulkan_filter_frame(), blend_frame(), blend_frames(), blur_frame(), chromaber_vulkan_filter_frame(), config_input(), config_output(), config_video(), config_video_output(), convolution_opencl_filter_frame(), create_frame(), create_weave_frame(), cudaupload_filter_frame(), deint_vaapi_filter_frame(), do_morpho(), draw_background(), draw_spatial(), ff_inlink_make_frame_writable(), ff_null_get_video_buffer(), ff_yadif_filter_frame(), filter(), filter_frame(), flip_bayer(), geq_filter_frame(), get_frame(), get_palette_frame(), get_video_buffer(), hwdownload_filter_frame(), hwmap_get_buffer(), hwupload_filter_frame(), misc_vaapi_filter_frame(), neighbor_opencl_filter_frame(), nlmeans_opencl_filter_frame(), output_single_frame(), overlay_opencl_blend(), overlay_vulkan_blend(), pixscope_filter_frame(), plot_cqt(), plot_freqs(), pp_filter_frame(), procamp_vaapi_filter_frame(), process_frame(), program_opencl_run(), qsvscale_filter_frame(), query_frame(), request_frame(), return_frame(), scale_frame(), scale_vaapi_filter_frame(), scale_vulkan_filter_frame(), shuffleplanes_filter_frame(), sierpinski_request_frame(), source_request_frame(), submit_frame(), tonemap_opencl_filter_frame(), tonemap_vaapi_filter_frame(), transpose_opencl_filter_frame(), transpose_vaapi_filter_frame(), try_push_frame(), unsharp_opencl_filter_frame(), and xfade_frame().