pub struct DevelopSpec {
pub crop: Rect,
pub half_size: bool,
pub wb: [f32; 4],
pub cam_to_rgb: [[f32; 3]; 3],
pub orientation: Orientation,
pub output: DevelopOutput,
pub levels: Option<[f32; 2]>,
pub curve: Option<GpuCurve>,
}Expand description
Parameters of the fused develop pass (mirror of flashraw::process::DevelopParams).
Fields§
§crop: RectRegion to develop, in window coordinates.
half_size: bool2x2 superpixel (half resolution) instead of bilinear.
wb: [f32; 4]White-balance multipliers per CFA colour (R, G, B, 4th).
cam_to_rgb: [[f32; 3]; 3]§orientation: Orientation§output: DevelopOutput§levels: Option<[f32; 2]>Exposure and black/white points after the colour conversion: v * scale - offset
([scale, offset]; None for none).
curve: Option<GpuCurve>Transfer-curve tables of the display outputs; None: sRGB.
Trait Implementations§
Source§impl Clone for DevelopSpec
impl Clone for DevelopSpec
impl Copy for DevelopSpec
Auto Trait Implementations§
impl Freeze for DevelopSpec
impl RefUnwindSafe for DevelopSpec
impl Send for DevelopSpec
impl Sync for DevelopSpec
impl Unpin for DevelopSpec
impl UnsafeUnpin for DevelopSpec
impl UnwindSafe for DevelopSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more