[][src]Struct hl_capture::fps_converter::sampling::OclRuntimeData

struct OclRuntimeData {
    ocl_buffers: [Image<Float>; 2],
    ocl_output_image: Image<Float>,
    ocl_current_buffer_index: usize,
}

Data used at runtime by OpenCL sampling.

Fields

ocl_buffers: [Image<Float>; 2]

Buffer images.

ocl_output_image: Image<Float>

Output image.

ocl_current_buffer_index: usize

Index of the last written to OpenCL buffer.

Methods

impl OclRuntimeData[src]

fn new(engine: &mut Engine, (w, h): (u32, u32)) -> Option<Self>[src]

fn src_buffer(&self) -> &Image<Float>[src]

fn dst_buffer(&self) -> &Image<Float>[src]

fn output_image(&self) -> &Image<Float>[src]

fn switch_buffer_index(&mut self)[src]

Auto Trait Implementations

impl Unpin for OclRuntimeData

impl Sync for OclRuntimeData

impl Send for OclRuntimeData

impl RefUnwindSafe for OclRuntimeData

impl UnwindSafe for OclRuntimeData

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]