Scalar operations¶
-
hv_hs_image_t *hv_hs_image_add_scalar_f32(hv_hs_image_t const *a, float b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_f64(hv_hs_image_t const *a, double b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_i16(hv_hs_image_t const *a, int16_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_i32(hv_hs_image_t const *a, int32_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_i64(hv_hs_image_t const *a, int64_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_i8(hv_hs_image_t const *a, int8_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_f32(hv_hs_image_t const *a, float b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_f64(hv_hs_image_t const *a, double b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_i16(hv_hs_image_t const *a, int16_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_i32(hv_hs_image_t const *a, int32_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_i64(hv_hs_image_t const *a, int64_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_i8(hv_hs_image_t const *a, int8_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_left_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform left scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_add_scalar_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform right scalar addition.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_f32(hv_hs_image_t const *a, float b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_f64(hv_hs_image_t const *a, double b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_i16(hv_hs_image_t const *a, int16_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_i32(hv_hs_image_t const *a, int32_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_i64(hv_hs_image_t const *a, int64_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_i8(hv_hs_image_t const *a, int8_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_f32(hv_hs_image_t const *a, float b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_f64(hv_hs_image_t const *a, double b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_i16(hv_hs_image_t const *a, int16_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_i32(hv_hs_image_t const *a, int32_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_i64(hv_hs_image_t const *a, int64_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_i8(hv_hs_image_t const *a, int8_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_left_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform left scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_div_scalar_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform right scalar division.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_f32(hv_hs_image_t const *a, float b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_f64(hv_hs_image_t const *a, double b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_i16(hv_hs_image_t const *a, int16_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_i32(hv_hs_image_t const *a, int32_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_i64(hv_hs_image_t const *a, int64_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_i8(hv_hs_image_t const *a, int8_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_f32(hv_hs_image_t const *a, float b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_f64(hv_hs_image_t const *a, double b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_i16(hv_hs_image_t const *a, int16_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_i32(hv_hs_image_t const *a, int32_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_i64(hv_hs_image_t const *a, int64_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_i8(hv_hs_image_t const *a, int8_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_left_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform left scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_mul_scalar_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform right scalar multiplication.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_f32(hv_hs_image_t const *a, float b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_f64(hv_hs_image_t const *a, double b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_i16(hv_hs_image_t const *a, int16_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_i32(hv_hs_image_t const *a, int32_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_i64(hv_hs_image_t const *a, int64_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_i8(hv_hs_image_t const *a, int8_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_f32(hv_hs_image_t const *a, float b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_f64(hv_hs_image_t const *a, double b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_i16(hv_hs_image_t const *a, int16_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_i32(hv_hs_image_t const *a, int32_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_i64(hv_hs_image_t const *a, int64_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_i8(hv_hs_image_t const *a, int8_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_left_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform left scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_u16(hv_hs_image_t const *a, uint16_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_u32(hv_hs_image_t const *a, uint32_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_u64(hv_hs_image_t const *a, uint64_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.
-
hv_hs_image_t *hv_hs_image_sub_scalar_u8(hv_hs_image_t const *a, uint8_t b)¶
Perform right scalar subtraction.
- Parameters:
a – Image.
b – Scalar.
- Returns:
Image with the elementwise operation applied.