Scanner C++ API
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
scanner::internal::VideoDecoder Class Referenceabstract

VideoDecoder. More...

#include <video_decoder.h>

Inheritance diagram for scanner::internal::VideoDecoder:
scanner::internal::NVIDIAVideoDecoder scanner::internal::SoftwareVideoDecoder

Public Member Functions

virtual void configure (const FrameInfo &metadata)=0
 
virtual bool feed (const u8 *encoded_buffer, size_t encoded_size, bool discontinuity=false)=0
 
virtual bool discard_frame ()=0
 
virtual bool get_frame (u8 *decoded_buffer, size_t decoded_size)=0
 
virtual int decoded_frames_buffered ()=0
 
virtual void wait_until_frames_copied ()=0
 
void set_profiler (Profiler *profiler)
 

Static Public Member Functions

static std::vector< VideoDecoderType > get_supported_decoder_types ()
 
static bool has_decoder_type (VideoDecoderType type)
 
static VideoDecodermake_from_config (DeviceHandle device_handle, i32 num_devices, VideoDecoderType type)
 

Protected Attributes

Profilerprofiler_ = nullptr
 

Detailed Description

VideoDecoder.


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