Related functions for Simd::Frame structure.
More...
|
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...
|
|
Related functions for Simd::Frame structure.
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.
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.
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. |
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. |