pub enum Event {
RequireInputBuffers {
input_count: u32,
input_frame_width: u32,
input_frame_height: u32,
output_buffer_size: u32,
},
ProcessedInputBuffer(VeaInputBufferId),
ProcessedOutputBuffer {
output_buffer_id: VeaOutputBufferId,
payload_size: u32,
key_frame: bool,
timestamp: i64,
},
FlushResponse {
flush_done: bool,
},
NotifyError(VeaError),
}
Expand description
Represents a notified event from libvda.
Variants§
RequireInputBuffers
Requests the user to provide input buffers.
ProcessedInputBuffer(VeaInputBufferId)
Notifies the user that an input buffer has been processed.
ProcessedOutputBuffer
Notifies the user that an output buffer has been processed.
FlushResponse
Notifies the result of operation issued by Session::flush
.
NotifyError(VeaError)
Notifies the user of an error.