Simd Library Documentation.

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

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

Functions

template<template< class > class A, template< class > class B>
bool EqualSize (const Frame< A > &a, const Frame< B > &b)
 
template<template< class > class A, template< class > class B>
bool Compatible (const Frame< A > &a, const Frame< B > &b)
 
template<template< class > class A, template< class > class B>
void Copy (const Frame< A > &src, Frame< B > &dst)
 Copies one frame to another frame. More...
 
template<template< class > class A>
void Convert (const Frame< A > &src, Frame< A > &dst)
 Converts one frame to another frame. More...
 

Detailed Description

Related functions for Simd::Frame structure.

Function Documentation

◆ EqualSize()

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

Checks two frames on the same size.

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

◆ Compatible()

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

Checks two frames on compatibility (the frames must have the same size and pixel format).

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

◆ Copy()

template< template< class > class A, template< class > class B > void Copy ( const Frame< A > &  src,
Frame< B > &  dst 
)

Copies one frame to another frame.

The frames must have the same width, height and format.

Parameters
[in]src- an input frame.
[out]dst- an output frame.

◆ Convert()

template< template< class > class A > void Convert ( const Frame< A > &  src,
Frame< A > &  dst 
)

Converts one frame to another frame.

The frames must have the same width and height.

Parameters
[in]src- an input frame.
[out]dst- an output frame.