Files
oak-editor/crates/oak-plugin/ofx/ofxPixels.h
T
Mike-Solar 244d5e860f
CI / Build & test (Windows) (push) Failing after 7s
workspace: kebab-case crates, app under crates/oak-app, shared versions
All crates take the oak-* kebab-case naming (oak-audio, oak-codec,
oak-common, oak-core, oak-ffmpeg-link, oak-node, oak-otio, oak-plugin,
oak-render, oak-storage, oak-task, oak-timeline, oak-undo), with the
lib identifiers rewritten (oakrender:: -> oak_render::, oakcore_rs:: ->
oak_core::, ...) across all 226 referencing files.

The GUI application moves from the workspace root into
crates/oak-app/: src/, build.rs (paths fixed for the new location) and
tests/ travel with it, the root Cargo.toml becomes workspace-only
([workspace] + workspace.package + profiles), and the app package
inherits the workspace version. The screenshots example becomes a
standalone crate examples/simple_player/ with its own Cargo.toml.

Every crate now inherits the single workspace version
(version.workspace = true), and the workflows' crate paths and the
build docs follow the renames.

Validated with a clean cargo check --workspace.
2026-08-22 16:58:37 +08:00

63 lines
1.3 KiB
C

#ifndef _ofxPixels_h_
#define _ofxPixels_h_
// Copyright OpenFX and contributors to the OpenFX project.
// SPDX-License-Identifier: BSD-3-Clause
#ifdef __cplusplus
extern "C" {
#endif
/** @file ofxPixels.h
Contains pixel struct definitions
*/
/** @brief Defines an 8 bit per component RGBA pixel */
typedef struct OfxRGBAColourB {
unsigned char r, g, b, a;
}OfxRGBAColourB;
/** @brief Defines a 16 bit per component RGBA pixel */
typedef struct OfxRGBAColourS {
unsigned short r, g, b, a;
}OfxRGBAColourS;
/** @brief Defines a floating point component RGBA pixel */
typedef struct OfxRGBAColourF {
float r, g, b, a;
}OfxRGBAColourF;
/** @brief Defines a double precision floating point component RGBA pixel */
typedef struct OfxRGBAColourD {
double r, g, b, a;
}OfxRGBAColourD;
/** @brief Defines an 8 bit per component RGB pixel */
typedef struct OfxRGBColourB {
unsigned char r, g, b;
}OfxRGBColourB;
/** @brief Defines a 16 bit per component RGB pixel */
typedef struct OfxRGBColourS {
unsigned short r, g, b;
}OfxRGBColourS;
/** @brief Defines a floating point component RGB pixel */
typedef struct OfxRGBColourF {
float r, g, b;
}OfxRGBColourF;
/** @brief Defines a double precision floating point component RGB pixel */
typedef struct OfxRGBColourD {
double r, g, b;
}OfxRGBColourD;
#ifdef __cplusplus
}
#endif
#endif