Struct imagepipe::Pipeline [−][src]
pub struct Pipeline { pub globals: PipelineGlobals, pub ops: PipelineOps, }
Fields
globals: PipelineGlobals
ops: PipelineOps
Methods
impl Pipeline
[src]
impl Pipeline
pub fn new_cache(size: usize) -> PipelineCache
[src]
pub fn new_cache(size: usize) -> PipelineCache
pub fn new_from_file<P: AsRef<Path>>(
path: P,
maxwidth: usize,
maxheight: usize,
linear: bool
) -> Result<Pipeline, String>
[src]
pub fn new_from_file<P: AsRef<Path>>(
path: P,
maxwidth: usize,
maxheight: usize,
linear: bool
) -> Result<Pipeline, String>
pub fn new_from_rawimage(
img: RawImage,
maxwidth: usize,
maxheight: usize,
linear: bool
) -> Result<Pipeline, String>
[src]
pub fn new_from_rawimage(
img: RawImage,
maxwidth: usize,
maxheight: usize,
linear: bool
) -> Result<Pipeline, String>
pub fn to_serial(&self) -> String
[src]
pub fn to_serial(&self) -> String
pub fn new_from_serial(
img: RawImage,
maxwidth: usize,
maxheight: usize,
linear: bool,
serial: String
) -> Pipeline
[src]
pub fn new_from_serial(
img: RawImage,
maxwidth: usize,
maxheight: usize,
linear: bool,
serial: String
) -> Pipeline
pub fn run(&mut self, cache: Option<&PipelineCache>) -> Arc<OpBuffer>
[src]
pub fn run(&mut self, cache: Option<&PipelineCache>) -> Arc<OpBuffer>
pub fn output_8bit(
&mut self,
cache: Option<&PipelineCache>
) -> Result<SRGBImage, String>
[src]
pub fn output_8bit(
&mut self,
cache: Option<&PipelineCache>
) -> Result<SRGBImage, String>