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

SoftwareVideoEncoder. More...

#include <software_video_encoder.h>

Inheritance diagram for scanner::internal::SoftwareVideoEncoder:
scanner::internal::VideoEncoder

Public Member Functions

 SoftwareVideoEncoder (i32 device_id, DeviceType output_type, i32 thread_count)
 SoftwareVideoEncoder.
 
void configure (const FrameInfo &metadata, const EncodeOptions &opts) override
 
bool feed (const u8 *frame_buffer, size_t frame_size) override
 
bool flush () override
 
bool get_packet (u8 *packet_buffer, size_t packet_size, size_t &actual_packet_size) override
 
int decoded_packets_buffered () override
 
void wait_until_packets_copied () override
 
- Public Member Functions inherited from scanner::internal::VideoEncoder
void set_profiler (Profiler *profiler)
 

Additional Inherited Members

- Static Public Member Functions inherited from scanner::internal::VideoEncoder
static std::vector< VideoEncoderType > get_supported_encoder_types ()
 
static bool has_encoder_type (VideoEncoderType type)
 
static VideoEncodermake_from_config (DeviceHandle device_handle, i32 num_devices, VideoEncoderType type)
 
- Protected Attributes inherited from scanner::internal::VideoEncoder
Profilerprofiler_ = nullptr
 

Detailed Description

SoftwareVideoEncoder.


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