oneVPL++
C++ API Prototype for oneVPL
oneapi::vpl::frame_source_reader Class Referenceabstract

Interface for the frame source data reader. More...

#include <source_reader.hpp>

Inheritance diagram for oneapi::vpl::frame_source_reader:
[legend]
Collaboration diagram for oneapi::vpl::frame_source_reader:
[legend]

Public Member Functions

 frame_source_reader ()
 Default ctor.
 
virtual ~frame_source_reader ()
 Default dtor.
 
virtual bool get_data (std::shared_ptr< frame_surface > frame)=0
 Read and store portion of data into the bitstream object. More...
 
- Public Member Functions inherited from oneapi::vpl::source_reader
 source_reader ()
 Default ctor.
 
virtual ~source_reader ()
 Default dtor.
 
virtual bool is_EOS () const =0
 Checks and retrieve end of stream status. More...
 

Detailed Description

Interface for the frame source data reader.

Member Function Documentation

◆ get_data()

virtual bool oneapi::vpl::frame_source_reader::get_data ( std::shared_ptr< frame_surface frame)
pure virtual

Read and store portion of data into the bitstream object.

Parameters
[out]framedata storage
Returns
True if data was read

Implemented in oneapi::vpl::raw_frame_file_reader_by_name, and oneapi::vpl::raw_frame_file_reader.


The documentation for this class was generated from the following file: