|
mf
Media Framework
|
Seekable frame importer which reads YUV file. More...
#include <yuv_importer.h>
Public Member Functions | |
| yuv_importer (const std::string &filename, const ndsize< 2 > &frame_shape, int sampling) | |
| void | read_frame (const ndarray_view< 2, ycbcr_color > &) override |
| bool | reached_end () const override |
| time_unit | current_time () const override |
| time_unit | total_duration () const override |
| void | seek (time_unit) override |
Public Member Functions inherited from mf::seekable_frame_importer< 2, ycbcr_color > | |
| void | read_frame_at (const frame_view_type &vw, time_unit t) |
Public Member Functions inherited from mf::frame_importer< Dim, ycbcr_color > | |
| virtual | ~frame_importer () |
| const ndsize< Dim > & | frame_shape () |
| virtual void | read_frame (const frame_view_type &)=0 |
Additional Inherited Members | |
Public Types inherited from mf::seekable_frame_importer< 2, ycbcr_color > | |
| using | frame_view_type = ndarray_view< Dim, ycbcr_color > |
Public Types inherited from mf::frame_importer< Dim, ycbcr_color > | |
| using | frame_view_type = ndarray_view< Dim, ycbcr_color > |
| using | elem_type = ycbcr_color |
Static Public Attributes inherited from mf::seekable_frame_importer< 2, ycbcr_color > | |
| static constexpr bool | is_seekable |
Static Public Attributes inherited from mf::frame_importer< Dim, ycbcr_color > | |
| static constexpr std::size_t | dimension |
| static constexpr bool | is_seekable |
Protected Member Functions inherited from mf::seekable_frame_importer< 2, ycbcr_color > | |
| seekable_frame_importer (const ndsize< Dim > &frame_shape) | |
Protected Member Functions inherited from mf::frame_importer< Dim, ycbcr_color > | |
| frame_importer (const ndsize< Dim > &frame_shape) | |
Seekable frame importer which reads YUV file.
| mf::yuv_importer::yuv_importer | ( | const std::string & | filename, |
| const ndsize< 2 > & | frame_shape, | ||
| int | sampling | ||
| ) |
|
overridevirtual |
Implements mf::seekable_frame_importer< 2, ycbcr_color >.
|
overridevirtual |
Implements mf::frame_importer< Dim, ycbcr_color >.
|
override |
|
overridevirtual |
Implements mf::seekable_frame_importer< 2, ycbcr_color >.
|
overridevirtual |
Implements mf::seekable_frame_importer< 2, ycbcr_color >.
1.8.6