Scanner C++ API
Public Member Functions | List of all members
scanner::internal::NVIDIAVideoDecoder Class Reference

NVIDIAVideoDecoder. More...

#include <nvidia_video_decoder.h>

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

Public Member Functions

 NVIDIAVideoDecoder (int device_id, DeviceType output_type, CUcontext cuda_context)
 
void configure (const FrameInfo &metadata) override
 
bool feed (const u8 *encoded_buffer, size_t encoded_size, bool discontinuity=false) override
 
bool discard_frame () override
 
bool get_frame (u8 *decoded_buffer, size_t decoded_size) override
 
int decoded_frames_buffered () override
 
void wait_until_frames_copied () override
 
- Public Member Functions inherited from scanner::internal::VideoDecoder
void set_profiler (Profiler *profiler)
 

Additional Inherited Members

- Static Public Member Functions inherited from scanner::internal::VideoDecoder
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 inherited from scanner::internal::VideoDecoder
Profilerprofiler_ = nullptr
 

Detailed Description

NVIDIAVideoDecoder.


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