|
FFmpeg
|
#import <CoreImage/CoreImage.h>#import <AppKit/AppKit.h>#include "avfilter.h"#include "formats.h"#include "internal.h"#include "video.h"#include "libavutil/internal.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"Go to the source code of this file.
Data Structures | |
| struct | CoreImageContext |
Macros | |
| #define | CLAMP_WARNING |
| #define | SafeCFRelease(ptr) |
| #define | OFFSET(x) offsetof(CoreImageContext, x) |
| #define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
| #define | GENERATOR_OPTIONS |
| #define | FILTER_OPTIONS |
Functions | |
| static int | config_output (AVFilterLink *link) |
| static int | config_input (AVFilterLink *link) |
| Determine image properties from input link of filter chain. More... | |
| static void | list_filters (CoreImageContext *ctx) |
| Print a list of all available filters including options and respective value ranges and defaults. More... | |
| static int | apply_filter (CoreImageContext *ctx, AVFilterLink *link, AVFrame *frame) |
| static int | filter_frame (AVFilterLink *link, AVFrame *frame) |
| Apply all valid filters successively to the input image. More... | |
| static int | request_frame (AVFilterLink *link) |
| static void | set_option (CoreImageContext *ctx, CIFilter *filter, const char *key, const char *value) |
| Set an option of the given filter to the provided key-value pair. More... | |
| static CIFilter * | create_filter (CoreImageContext *ctx, const char *filter_name, AVDictionary *filter_options) |
| Create a filter object by a given name and set all options to defaults. More... | |
| static av_cold int | init (AVFilterContext *fctx) |
| static av_cold int | init_src (AVFilterContext *fctx) |
| static av_cold void | uninit (AVFilterContext *fctx) |
| AVFILTER_DEFINE_CLASS (coreimage) | |
| AVFILTER_DEFINE_CLASS (coreimagesrc) | |
Variables | |
| static const AVFilterPad | vf_coreimage_inputs [] |
| static const AVFilterPad | vf_coreimage_outputs [] |
| static const AVFilterPad | vsrc_coreimagesrc_outputs [] |
| static const AVOption | coreimage_options [] |
| const AVFilter | ff_vf_coreimage |
| static const AVOption | coreimagesrc_options [] |
| const AVFilter | ff_vsrc_coreimagesrc |
Video processing based on Apple's CoreImage API
Definition in file vf_coreimage.m.
| #define CLAMP_WARNING |
| #define SafeCFRelease | ( | ptr | ) |
| #define OFFSET | ( | x | ) | offsetof(CoreImageContext, x) |
Definition at line 586 of file vf_coreimage.m.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 587 of file vf_coreimage.m.
| #define GENERATOR_OPTIONS |
Definition at line 589 of file vf_coreimage.m.
| #define FILTER_OPTIONS |
Definition at line 598 of file vf_coreimage.m.
|
static |
Definition at line 65 of file vf_coreimage.m.
|
static |
Determine image properties from input link of filter chain.
Definition at line 83 of file vf_coreimage.m.
|
static |
Print a list of all available filters including options and respective value ranges and defaults.
Definition at line 94 of file vf_coreimage.m.
Referenced by init().
|
static |
Definition at line 138 of file vf_coreimage.m.
Referenced by filter_frame(), and request_frame().
|
static |
Apply all valid filters successively to the input image.
The final output image is copied from the GPU by "drawing" using a bitmap context.
Definition at line 275 of file vf_coreimage.m.
|
static |
Definition at line 280 of file vf_coreimage.m.
|
static |
Set an option of the given filter to the provided key-value pair.
Definition at line 315 of file vf_coreimage.m.
Referenced by create_filter().
|
static |
Create a filter object by a given name and set all options to defaults.
Overwrite any option given by the user to the provided value in filter_options.
Definition at line 408 of file vf_coreimage.m.
Referenced by init().
|
static |
Definition at line 427 of file vf_coreimage.m.
Referenced by init_src().
|
static |
Definition at line 524 of file vf_coreimage.m.
|
static |
Definition at line 535 of file vf_coreimage.m.
| AVFILTER_DEFINE_CLASS | ( | coreimage | ) |
| AVFILTER_DEFINE_CLASS | ( | coreimagesrc | ) |
|
static |
Definition at line 561 of file vf_coreimage.m.
|
static |
Definition at line 570 of file vf_coreimage.m.
|
static |
Definition at line 577 of file vf_coreimage.m.
|
static |
Definition at line 606 of file vf_coreimage.m.
| const AVFilter ff_vf_coreimage |
Definition at line 613 of file vf_coreimage.m.
|
static |
Definition at line 626 of file vf_coreimage.m.
| const AVFilter ff_vsrc_coreimagesrc |
Definition at line 634 of file vf_coreimage.m.
1.8.17