singe-npp 0.1.0-alpha.8

Safe Rust wrappers for NVIDIA Performance Primitives library (NPP).
Documentation
use super::*;

impl_threshold_less_greater_value_c1!(
    threshold_less_greater_value_u8_c1,
    u8,
    nppiThreshold_LTValGTVal_8u_C1R_Ctx
);
impl_threshold_less_greater_value_c1!(
    threshold_less_greater_value_u16_c1,
    u16,
    nppiThreshold_LTValGTVal_16u_C1R_Ctx
);
impl_threshold_less_greater_value_c1!(
    threshold_less_greater_value_i16_c1,
    i16,
    nppiThreshold_LTValGTVal_16s_C1R_Ctx
);
impl_threshold_less_greater_value_c1!(
    threshold_less_greater_value_f32_c1,
    f32,
    nppiThreshold_LTValGTVal_32f_C1R_Ctx
);
impl_threshold_less_greater_value_c1_in_place!(
    threshold_less_greater_value_u8_c1_in_place,
    u8,
    nppiThreshold_LTValGTVal_8u_C1IR_Ctx
);
impl_threshold_less_greater_value_c1_in_place!(
    threshold_less_greater_value_u16_c1_in_place,
    u16,
    nppiThreshold_LTValGTVal_16u_C1IR_Ctx
);
impl_threshold_less_greater_value_c1_in_place!(
    threshold_less_greater_value_i16_c1_in_place,
    i16,
    nppiThreshold_LTValGTVal_16s_C1IR_Ctx
);
impl_threshold_less_greater_value_c1_in_place!(
    threshold_less_greater_value_f32_c1_in_place,
    f32,
    nppiThreshold_LTValGTVal_32f_C1IR_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_u8_c3,
    u8,
    C3,
    3,
    nppiThreshold_LTValGTVal_8u_C3R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_u8_ac4,
    u8,
    AC4,
    3,
    nppiThreshold_LTValGTVal_8u_AC4R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_u16_c3,
    u16,
    C3,
    3,
    nppiThreshold_LTValGTVal_16u_C3R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_u16_ac4,
    u16,
    AC4,
    3,
    nppiThreshold_LTValGTVal_16u_AC4R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_i16_c3,
    i16,
    C3,
    3,
    nppiThreshold_LTValGTVal_16s_C3R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_i16_ac4,
    i16,
    AC4,
    3,
    nppiThreshold_LTValGTVal_16s_AC4R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_f32_c3,
    f32,
    C3,
    3,
    nppiThreshold_LTValGTVal_32f_C3R_Ctx
);
impl_threshold_less_greater_value_packed!(
    threshold_less_greater_value_f32_ac4,
    f32,
    AC4,
    3,
    nppiThreshold_LTValGTVal_32f_AC4R_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_u8_c3_in_place,
    u8,
    C3,
    3,
    nppiThreshold_LTValGTVal_8u_C3IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_u8_ac4_in_place,
    u8,
    AC4,
    3,
    nppiThreshold_LTValGTVal_8u_AC4IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_u16_c3_in_place,
    u16,
    C3,
    3,
    nppiThreshold_LTValGTVal_16u_C3IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_u16_ac4_in_place,
    u16,
    AC4,
    3,
    nppiThreshold_LTValGTVal_16u_AC4IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_i16_c3_in_place,
    i16,
    C3,
    3,
    nppiThreshold_LTValGTVal_16s_C3IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_i16_ac4_in_place,
    i16,
    AC4,
    3,
    nppiThreshold_LTValGTVal_16s_AC4IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_f32_c3_in_place,
    f32,
    C3,
    3,
    nppiThreshold_LTValGTVal_32f_C3IR_Ctx
);
impl_threshold_less_greater_value_packed_in_place!(
    threshold_less_greater_value_f32_ac4_in_place,
    f32,
    AC4,
    3,
    nppiThreshold_LTValGTVal_32f_AC4IR_Ctx
);

impl_generic_threshold_less_greater_value_scalar!(
    ThresholdLessGreaterValueC1,
    threshold_less_greater_value,
    threshold_less_greater_value_c1,
    [
        u8 => threshold_less_greater_value_u8_c1,
        u16 => threshold_less_greater_value_u16_c1,
        i16 => threshold_less_greater_value_i16_c1,
        f32 => threshold_less_greater_value_f32_c1,
    ]
);
impl_generic_threshold_less_greater_value_scalar_in_place!(
    ThresholdLessGreaterValueC1InPlace,
    threshold_less_greater_value_in_place,
    threshold_less_greater_value_c1_in_place,
    [
        u8 => threshold_less_greater_value_u8_c1_in_place,
        u16 => threshold_less_greater_value_u16_c1_in_place,
        i16 => threshold_less_greater_value_i16_c1_in_place,
        f32 => threshold_less_greater_value_f32_c1_in_place,
    ]
);
impl_generic_threshold_less_greater_value_array!(
    ThresholdLessGreaterValueC3,
    threshold_less_greater_value,
    threshold_less_greater_value_c3,
    C3,
    3,
    [
        u8 => threshold_less_greater_value_u8_c3,
        u16 => threshold_less_greater_value_u16_c3,
        i16 => threshold_less_greater_value_i16_c3,
        f32 => threshold_less_greater_value_f32_c3,
    ]
);
impl_generic_threshold_less_greater_value_array_in_place!(
    ThresholdLessGreaterValueC3InPlace,
    threshold_less_greater_value_in_place,
    threshold_less_greater_value_c3_in_place,
    C3,
    3,
    [
        u8 => threshold_less_greater_value_u8_c3_in_place,
        u16 => threshold_less_greater_value_u16_c3_in_place,
        i16 => threshold_less_greater_value_i16_c3_in_place,
        f32 => threshold_less_greater_value_f32_c3_in_place,
    ]
);
impl_generic_threshold_less_greater_value_array!(
    ThresholdLessGreaterValueAc4,
    threshold_less_greater_value,
    threshold_less_greater_value_ac4,
    AC4,
    3,
    [
        u8 => threshold_less_greater_value_u8_ac4,
        u16 => threshold_less_greater_value_u16_ac4,
        i16 => threshold_less_greater_value_i16_ac4,
        f32 => threshold_less_greater_value_f32_ac4,
    ]
);
impl_generic_threshold_less_greater_value_array_in_place!(
    ThresholdLessGreaterValueAc4InPlace,
    threshold_less_greater_value_in_place,
    threshold_less_greater_value_ac4_in_place,
    AC4,
    3,
    [
        u8 => threshold_less_greater_value_u8_ac4_in_place,
        u16 => threshold_less_greater_value_u16_ac4_in_place,
        i16 => threshold_less_greater_value_i16_ac4_in_place,
        f32 => threshold_less_greater_value_f32_ac4_in_place,
    ]
);