pub enum Event {
ProvidePictureBuffers {
min_num_buffers: u32,
width: i32,
height: i32,
visible_rect_left: i32,
visible_rect_top: i32,
visible_rect_right: i32,
visible_rect_bottom: i32,
},
PictureReady {
buffer_id: i32,
bitstream_id: i32,
left: i32,
top: i32,
right: i32,
bottom: i32,
},
NotifyEndOfBitstreamBuffer {
bitstream_id: i32,
},
NotifyError(Response),
ResetResponse(Response),
FlushResponse(Response),
}
Expand description
Represents a notified event from libvda.
Variants§
ProvidePictureBuffers
Fields
Requests the users to provide output buffers.
PictureReady
Notifies the user of a decoded frame ready for display. These events will arrive in display order.
NotifyEndOfBitstreamBuffer
Notifies the end of bitstream buffer.
NotifyError(Response)
ResetResponse(Response)
Notifies the result of operation issued by Session::reset
.
FlushResponse(Response)
Notifies the result of operation issued by Session::flush
.