mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Functions
ndarray_view_generic.tcc File Reference
#include "../../debug.h"

Namespaces

 mf
 

Functions

template<std::size_t Generic_dim, std::size_t Concrete_dim, typename Concrete_elem >
ndarray_view_generic< Generic_dim > mf::to_generic (const ndarray_view< Concrete_dim, Concrete_elem > &vw)
 Cast input ndarray_view to generic ndarray_view_generic with given dimension. More...
 
template<std::size_t Concrete_dim, typename Concrete_elem , std::size_t Generic_dim>
ndarray_view< Concrete_dim,
Concrete_elem > 
mf::from_generic (const ndarray_view_generic< Generic_dim > &vw, const ndsize< Concrete_dim-Generic_dim > &frame_shape)
 Cast input ndarray_view_generic to concrete ndarray_view with given dimension, frame shape and element type. More...