mf
Media Framework
|
#include "frame_format.h"
#include "../ndarray_view.h"
#include "../ndarray_timed_view.h"
#include "../../common.h"
#include <stdexcept>
#include "ndarray_view_generic.tcc"
Go to the source code of this file.
Classes | |
class | mf::ndarray_view_generic< Dim > |
Generic ndarray_view where lower dimension(s) are type-erased. More... | |
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... | |