[−][src]Struct opencv::core::Kernel
Implementations
impl Kernel
[src]
pub fn as_raw_Kernel(&self) -> *const c_void
[src]
pub fn as_raw_mut_Kernel(&mut self) -> *mut c_void
[src]
impl Kernel
[src]
pub fn default() -> Result<Kernel>
[src]
pub fn new(kname: &str, prog: &Program) -> Result<Kernel>
[src]
pub fn new_1(
kname: &str,
prog: &ProgramSource,
buildopts: &str,
errmsg: &mut String
) -> Result<Kernel>
[src]
kname: &str,
prog: &ProgramSource,
buildopts: &str,
errmsg: &mut String
) -> Result<Kernel>
C++ default parameters
- buildopts: String()
- errmsg: 0
pub fn copy(k: &Kernel) -> Result<Kernel>
[src]
Trait Implementations
impl Boxed for Kernel
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for Kernel
[src]
impl KernelTrait for Kernel
[src]
fn as_raw_Kernel(&self) -> *const c_void
[src]
fn as_raw_mut_Kernel(&mut self) -> *mut c_void
[src]
fn empty(&self) -> Result<bool>
[src]
fn create(&mut self, kname: &str, prog: &Program) -> Result<bool>
[src]
fn create_ext(
&mut self,
kname: &str,
prog: &ProgramSource,
buildopts: &str,
errmsg: &mut String
) -> Result<bool>
[src]
&mut self,
kname: &str,
prog: &ProgramSource,
buildopts: &str,
errmsg: &mut String
) -> Result<bool>
fn set(&mut self, i: i32, value: *const c_void, sz: size_t) -> Result<i32>
[src]
fn set_1(&mut self, i: i32, image_2d: &Image2D) -> Result<i32>
[src]
fn set_umat(&mut self, i: i32, m: &UMat) -> Result<i32>
[src]
fn set_kernel_arg(&mut self, i: i32, arg: &KernelArg) -> Result<i32>
[src]
fn run(
&mut self,
dims: i32,
globalsize: &mut [size_t],
localsize: &mut [size_t],
sync: bool,
q: &Queue
) -> Result<bool>
[src]
&mut self,
dims: i32,
globalsize: &mut [size_t],
localsize: &mut [size_t],
sync: bool,
q: &Queue
) -> Result<bool>
fn run_task(&mut self, sync: bool, q: &Queue) -> Result<bool>
[src]
fn run_profiling(
&mut self,
dims: i32,
globalsize: &mut [size_t],
localsize: &mut [size_t],
q: &Queue
) -> Result<i64>
[src]
&mut self,
dims: i32,
globalsize: &mut [size_t],
localsize: &mut [size_t],
q: &Queue
) -> Result<i64>
fn work_group_size(&self) -> Result<size_t>
[src]
fn prefered_work_group_size_multiple(&self) -> Result<size_t>
[src]
fn compile_work_group_size(&self, wsz: &mut [size_t]) -> Result<bool>
[src]
fn local_mem_size(&self) -> Result<size_t>
[src]
fn ptr(&self) -> Result<*mut c_void>
[src]
impl Send for Kernel
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,