gegl-0.4
Description:
GEGL (Generic Graphics Library) is a data flow based image processing framework, providing floating point processing and non-destructive image processing capabilities to GNU Image Manipulation Program and other projects (imgflo, GNOME Photos, gcut, iconographer, …)
Content:
Namespaces:
- Gegl
- AudioFragment
- Buffer
- BufferIteratorPriv
- Color
- Config
- Curve
- Matrix3
- MetadataHash
- MetadataStore
- Node
- Operation
- OperationContext
- ParamAudioFragment
- ParamColor
- ParamCurve
- ParamDouble
- ParamEnum
- ParamFilePath
- ParamInt
- ParamPath
- ParamSeed
- ParamString
- ParamUri
- Path
- Processor
- Random
- Rectangle
- Sampler
- Stats
- Tile
- TileBackend
- TileHandler
- TileSource
- BufferIterator
- BufferIteratorItem
- BufferMatrix2
- Lookup
- MetadataIter - An opaque type representing a metadata iterator.
- MetadataMap - Struct to describe how a metadata variable is mapped from the name used by the image file module to the name used by Gegl.
- ParamSpecDouble
- ParamSpecEnum
- ParamSpecFilePath
- ParamSpecInt
- ParamSpecSeed
- ParamSpecString
- ParamSpecUri
- PathItem
- PathList
- PathPoint
- TileCopyParams
- AbyssPolicy
- AccessMode
- BablVariant
- BlitFlags
- CachePolicy
- DistanceMetric
- DitherMethod
- MapFlags - Flags controlling the mapping strategy.
- Orientation
- PadType
- RectangleAlignment
- ResolutionUnit - An enumerated type specifying resolution (density) units.
- SamplerType
- SerializeFlag
- SplitStrategy
- TileCommand
- public const int AUTO_ROWSTRIDE
- public const int CH_BACK_CENTER
- public const int CH_BACK_LEFT
- public const int CH_BACK_RIGHT
- public const int CH_FRONT_CENTER
- public const int CH_FRONT_LEFT
- public const int CH_FRONT_LEFT_OF_CENTER
- public const int CH_FRONT_RIGHT
- public const int CH_FRONT_RIGHT_OF_CENTER
- public const int CH_LAYOUT_2POINT1
- public const int CH_LAYOUT_2_1
- public const int CH_LAYOUT_2_2
- public const int CH_LAYOUT_3POINT1
- public const int CH_LAYOUT_4POINT0
- public const int CH_LAYOUT_4POINT1
- public const int CH_LAYOUT_5POINT0
- public const int CH_LAYOUT_5POINT0_BACK
- public const int CH_LAYOUT_5POINT1
- public const int CH_LAYOUT_5POINT1_BACK
- public const int CH_LAYOUT_6POINT0
- public const int CH_LAYOUT_6POINT0_FRONT
- public const int CH_LAYOUT_6POINT1
- public const int CH_LAYOUT_6POINT1_BACK
- public const int CH_LAYOUT_6POINT1_FRONT
- public const int CH_LAYOUT_7POINT0
- public const int CH_LAYOUT_7POINT0_FRONT
- public const int CH_LAYOUT_7POINT1
- public const int CH_LAYOUT_7POINT1_WIDE
- public const int CH_LAYOUT_7POINT1_WIDE_BACK
- public const int CH_LAYOUT_HEXADECAGONAL
- public const int CH_LAYOUT_HEXAGONAL
- public const int CH_LAYOUT_NATIVE
- public const int CH_LAYOUT_OCTAGONAL
- public const int CH_LAYOUT_QUAD
- public const int CH_LAYOUT_STEREO
- public const int CH_LAYOUT_STEREO_DOWNMIX
- public const int CH_LAYOUT_SURROUND
- public const int CH_LOW_FREQUENCY
- public const int CH_LOW_FREQUENCY_2
- public const int CH_SIDE_LEFT
- public const int CH_SIDE_RIGHT
- public const int CH_STEREO_LEFT
- public const int CH_STEREO_RIGHT
- public const int CH_SURROUND_DIRECT_LEFT
- public const int CH_SURROUND_DIRECT_RIGHT
- public const int CH_TOP_BACK_CENTER
- public const int CH_TOP_BACK_LEFT
- public const int CH_TOP_BACK_RIGHT
- public const int CH_TOP_CENTER
- public const int CH_TOP_FRONT_CENTER
- public const int CH_TOP_FRONT_LEFT
- public const int CH_TOP_FRONT_RIGHT
- public const int CH_WIDE_LEFT
- public const int CH_WIDE_RIGHT
- public const double FLOAT_EPSILON
- public const int LOOKUP_MAX_ENTRIES
- public const int MAJOR_VERSION
- public const int MAX_AUDIO_CHANNELS
- public const int MICRO_VERSION
- public const int MINOR_VERSION
- public const int PARAM_NO_VALIDATE
- public delegate float LookupFunction (float value, void* data)
- public delegate void NodeFunction (PathItem node)
- public delegate void ParallelDistributeAreaFunc (Rectangle area)
Specifies the type of function passed to parallel_distribute_area.
- public delegate void ParallelDistributeFunc (int i, int n)
Specifies the type of function passed to parallel_distribute.
- public delegate void ParallelDistributeRangeFunc (size_t offset, size_t size)
Specifies the type of function passed to parallel_distribute_range.
- public delegate void SamplerGetFun (Sampler self, double x, double y, BufferMatrix2 scale, void* output, AbyssPolicy repeat_mode)
- public delegate void TileCallback (Tile tile)
- public delegate void* TileSourceCommand (TileSource gegl_tile_source, TileCommand command, int x, int y, int z, void* data)
- public void apply_op (Buffer buffer, string operation_name, ...)
Apply the operation to buffer, overwritting the contents of buffer.
- public unowned Object? babl_variant (Object format, BablVariant variant)
- public void cl_disable ()
Disable OpenCL
- public bool cl_init () throws Error
Initialize and enable OpenCL, calling this function again will re-enable OpenCL if it has been disabled.
- public bool cl_is_accelerated ()
Check if OpenCL is enabled.
- public unowned Config config ()
Returns a GeglConfig object with properties that can be manipulated to control GEGLs behavior.
- public void create_chain (string ops, Node op_start, Node op_end, double time, int rel_dim, string path_root) throws Error
Create a node chain from an unparsed commandline string.
- public void create_chain_argv (string ops, Node op_start, Node op_end, double time, int rel_dim, string path_root) throws Error
Create a node chain from argv style list of op data.
- public void exit ()
Call this function when you're done using GEGL.
- public Buffer filter_op (Buffer source_buffer, string operation_name, ...)
Apply the operation to source_buffer, returning the result in a new buffer.
- public Value? format (string format_name)
Returns a value sutable to pass to the GeglBuffer constructor or any other property that expects a Babl format.
- public unowned string? format_get_name (Value format)
- public void get_version (out int major, out int minor, out int micro)
This function fetches the version of the GEGL library being used by the running process.
- public void graph_dump_outputs (Node node)
Dump the bounds and format of each node in the graph to stdout.
- public void graph_dump_request (Node node, Rectangle roi)
Dump the region that will be rendered for each node to fulfill the request.
- public bool has_operation (string operation_type)
- public void init (ref unowned string[]? argv)
Call this function before using any other GEGL functions.
- public bool is_main_thread ()
- public (unowned string)[] list_operations ()
- public void load_module_directory (string path)
Load all gegl modules found in the given directory.
- public void parallel_distribute (int max_n, ParallelDistributeFunc func)
Distributes the execution of a function across multiple threads, by calling it with a different index on each thread.
- public void parallel_distribute_area (Rectangle area, double thread_cost, SplitStrategy split_strategy, ParallelDistributeAreaFunc func)
Distributes the processing of a planar data-structure across multiple threads, by calling the given function with different sub-areas on different threads.
- public void parallel_distribute_range (size_t size, double thread_cost, ParallelDistributeRangeFunc func)
Distributes the processing of a linear data-structure across multiple threads, by calling the given function with different sub-ranges on different threads.
- public ParamSpec param_spec_audio_fragment (string name, string nick, string blurb, ParamFlags flags)
Creates a new ParamSpec instance specifying a AudioFragment property.
- public ParamSpec param_spec_color (string name, string nick, string blurb, Color default_color, ParamFlags flags)
- public ParamSpec param_spec_color_from_string (string name, string nick, string blurb, string default_color_string, ParamFlags flags)
- public unowned Color param_spec_color_get_default (ParamSpec self)
Get the default color value of the param spec
- public ParamSpec param_spec_curve (string name, string nick, string blurb, Curve default_curve, ParamFlags flags)
- public ParamSpec param_spec_double (string name, string nick, string blurb, double minimum, double maximum, double default_value, double ui_minimum, double ui_maximum, double ui_gamma, ParamFlags flags)
Creates a new ParamSpecDouble instance.
- public ParamSpec param_spec_enum (string name, string nick, string blurb, Type enum_type, int default_value, ParamFlags flags)
Creates a new ParamSpecEnum instance.
- public ParamSpec param_spec_file_path (string name, string nick, string blurb, bool no_validate, bool null_ok, string default_value, ParamFlags flags)
Creates a new ParamSpecFilePath instance.
- public unowned string param_spec_get_property_key (ParamSpec pspec, string key_name)
- public ParamSpec param_spec_int (string name, string nick, string blurb, int minimum, int maximum, int default_value, int ui_minimum, int ui_maximum, double ui_gamma, ParamFlags flags)
Creates a new ParamSpecInt instance.
- public ParamSpec param_spec_path (string name, string nick, string blurb, Path default_path, ParamFlags flags)
- public ParamSpec param_spec_seed (string name, string nick, string blurb, ParamFlags flags)
Creates a new ParamSpecSeed instance specifying an integer random seed.
- public void param_spec_set_property_key (ParamSpec pspec, string key_name, string value)
- public ParamSpec param_spec_string (string name, string nick, string blurb, bool no_validate, bool null_ok, string default_value, ParamFlags flags)
Creates a new ParamSpecString instance.
- public ParamSpec param_spec_uri (string name, string nick, string blurb, bool no_validate, bool null_ok, string default_value, ParamFlags flags)
Creates a new ParamSpecUri instance.
- public Rectangle rectangle_infinite_plane ()
Returns a GeglRectangle that represents an infininte plane.
- public void render_op (Buffer source_buffer, Buffer target_buffer, string operation_name, ...)
Apply the operation to source_buffer, writing the results to target_buffer.
- public void reset_stats ()
- public string serialize (Node start, Node end, string basepath, SerializeFlag serialize_flags)
- public unowned Stats stats ()
Returns a GeglStats object with properties that can be read to monitor GEGL statistics.