Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub
Related Functions

Related functions for Simd::View structure. More...

Functions

template<template< class > class A, class T >
const T & At (const View< A > &view, size_t x, size_t y)
 
template<template< class > class A, class T >
T & At (View< A > &view, size_t x, size_t y)
 
template<template< class > class A, template< class > class B>
bool EqualSize (const View< A > &a, const View< B > &b)
 
template<template< class > class A>
bool EqualSize (const View< A > &a, const View< A > &b, const View< A > &c)
 
template<template< class > class A>
bool EqualSize (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d)
 
template<template< class > class A, template< class > class B>
bool Compatible (const View< A > &a, const View< B > &b)
 
template<template< class > class A>
bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c)
 
template<template< class > class A>
bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d)
 
template<template< class > class A>
bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d, const View< A > &e)
 

Detailed Description

Related functions for Simd::View structure.

Function Documentation

◆ At() [1/2]

const T & At ( const View< A > &  view,
size_t  x,
size_t  y 
)

Gets constant reference to the pixel of arbitrary type at the point at the image with specified coordinates.

Parameters
[in]view- an image.
[in]x- a x-coordinate of the pixel.
[in]y- a y-coordinate of the pixel.
Returns
- a const reference to pixel of arbitrary type.

◆ At() [2/2]

T & At ( View< A > &  view,
size_t  x,
size_t  y 
)

Gets reference to the pixel of arbitrary type at the point at the image with specified coordinates.

Parameters
[in]view- an image.
[in]x- a x-coordinate of the pixel.
[in]y- a y-coordinate of the pixel.
Returns
- a reference to pixel of arbitrary type.

◆ EqualSize() [1/3]

template< template< class > class A, template< class > class B > bool EqualSize ( const View< A > &  a,
const View< B > &  b 
)

Checks two image views on the same size.

Parameters
[in]a- a first image.
[in]b- a second image.
Returns
- a result of checking.

◆ EqualSize() [2/3]

template< template< class > class A > bool EqualSize ( const View< A > &  a,
const View< A > &  b,
const View< A > &  c 
)

Checks three image views on the same size.

Parameters
[in]a- a first image.
[in]b- a second image.
[in]c- a third image.
Returns
- a result of checking.

◆ EqualSize() [3/3]

template< template< class > class A > bool EqualSize ( const View< A > &  a,
const View< A > &  b,
const View< A > &  c,
const View< A > &  d 
)

Checks four image views on the same size.

Parameters
[in]a- a first image.
[in]b- a second image.
[in]c- a third image.
[in]d- a fourth image.
Returns
- a result of checking.

◆ Compatible() [1/4]

template< template< class > class A, template< class > class B > bool Compatible ( const View< A > &  a,
const View< B > &  b 
)

Checks two image views on compatibility (the images must have the same size and pixel format).

Parameters
[in]a- a first image.
[in]b- a second image.
Returns
- a result of checking.

◆ Compatible() [2/4]

template< template< class > class A > bool Compatible ( const View< A > &  a,
const View< A > &  b,
const View< A > &  c 
)

Checks three image views on compatibility (the images must have the same size and pixel format).

Parameters
[in]a- a first image.
[in]b- a second image.
[in]c- a third image.
Returns
- a result of checking.

◆ Compatible() [3/4]

template< template< class > class A > bool Compatible ( const View< A > &  a,
const View< A > &  b,
const View< A > &  c,
const View< A > &  d 
)

Checks four image views on compatibility (the images must have the same size and pixel format).

Parameters
[in]a- a first image.
[in]b- a second image.
[in]c- a third image.
[in]d- a fourth image.
Returns
- a result of checking.

◆ Compatible() [4/4]

template< template< class > class A > bool Compatible ( const View< A > &  a,
const View< A > &  b,
const View< A > &  c,
const View< A > &  d,
const View< A > &  e 
)

Checks five image views on compatibility (the images must have the same size and pixel format).

Parameters
[in]a- a first image.
[in]b- a second image.
[in]c- a third image.
[in]d- a fourth image.
[in]e- a fifth image.
Returns
- a result of checking.