Go to the source code of this file.
|
static av_cold int | cudacolorspace_init (AVFilterContext *ctx) |
|
static av_cold void | cudacolorspace_uninit (AVFilterContext *ctx) |
|
static av_cold int | init_hwframe_ctx (CUDAColorspaceContext *s, AVBufferRef *device_ctx, int width, int height) |
|
static int | format_is_supported (enum AVPixelFormat fmt) |
|
static av_cold int | init_processing_chain (AVFilterContext *ctx, int width, int height) |
|
static av_cold int | cudacolorspace_load_functions (AVFilterContext *ctx) |
|
static av_cold int | cudacolorspace_config_props (AVFilterLink *outlink) |
|
static int | conv_cuda_convert (AVFilterContext *ctx, AVFrame *out, AVFrame *in) |
|
static int | cudacolorspace_conv (AVFilterContext *ctx, AVFrame *out, AVFrame *in) |
|
static int | cudacolorspace_filter_frame (AVFilterLink *link, AVFrame *in) |
|
◆ DIV_UP
#define DIV_UP |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) + (b)-1) / (b)) |
◆ BLOCKX
◆ BLOCKY
◆ CHECK_CU
◆ OFFSET
◆ FLAGS
◆ cudacolorspace_init()
◆ cudacolorspace_uninit()
◆ init_hwframe_ctx()
◆ format_is_supported()
◆ init_processing_chain()
◆ cudacolorspace_load_functions()
◆ cudacolorspace_config_props()
◆ conv_cuda_convert()
◆ cudacolorspace_conv()
◆ cudacolorspace_filter_frame()
◆ supported_formats
◆ options
◆ cudacolorspace_class
◆ cudacolorspace_inputs
◆ cudacolorspace_outputs
◆ ff_vf_colorspace_cuda
@ AV_PIX_FMT_CUDA
HW acceleration through CUDA.
static av_cold int cudacolorspace_config_props(AVFilterLink *outlink)
static av_cold void cudacolorspace_uninit(AVFilterContext *ctx)
#define FILTER_INPUTS(array)
@ AVCOL_RANGE_JPEG
Full range content.
@ AVCOL_RANGE_NB
Not part of ABI.
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_OUTPUTS(array)
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
@ AVCOL_RANGE_UNSPECIFIED
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad cudacolorspace_inputs[]
@ AVCOL_RANGE_MPEG
Narrow or limited range content.
@ AV_PIX_FMT_NV12
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
static av_cold int cudacolorspace_init(AVFilterContext *ctx)
static int cudacolorspace_filter_frame(AVFilterLink *link, AVFrame *in)
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
static const AVClass cudacolorspace_class
static const AVFilterPad cudacolorspace_outputs[]
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
static const AVOption options[]