Home
last modified time | relevance | path

Searched refs:conn_ptr (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/media/libvda/src/decode/
Dvda_instance.rs33 conn_ptr: *mut c_void, field
47 conn_ptr => Ok(VdaConnection { conn_ptr }), in new()
53 pub(super) fn conn_ptr(&self) -> *mut c_void { in conn_ptr() method
54 self.conn_ptr in conn_ptr()
61 unsafe { bindings::deinitialize(self.conn_ptr) } in drop()
78 let vda_cap_ptr = unsafe { bindings::get_vda_capabilities(connection.conn_ptr) }; in new()
Dsession.rs34 bindings::init_decode_session(connection.conn_ptr(), profile.to_raw_profile()) in new()
179 bindings::close_decode_session(self.connection.conn_ptr(), self.session_ptr); in drop()
/external/crosvm/media/libvda/src/encode/
Dvea_instance.rs29 conn_ptr: *mut c_void, field
42 conn_ptr => Ok(VeaConnection { conn_ptr }), in new()
48 pub(super) fn conn_ptr(&self) -> *mut c_void { in conn_ptr() method
49 self.conn_ptr in conn_ptr()
56 unsafe { bindings::deinitialize_encode(self.conn_ptr) } in drop()
101 let vea_caps_ptr = unsafe { bindings::get_vea_capabilities(connection.conn_ptr()) }; in new()
Dsession.rs45 bindings::init_encode_session(connection.conn_ptr(), &mut config.to_raw_config()) in new()
186 bindings::close_encode_session(self.connection.conn_ptr(), self.session_ptr); in drop()