summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2022-12-14 13:13:32 +0000
committer David Brazdil <dbrazdil@google.com> 2022-12-19 22:34:38 +0000
commitae3ec6a6457f6e2dc33a9fd6baf14ef13d63ccd4 (patch)
treed09e28e95161b5b44a8ffc48932706d87ccf2194 /libs/ultrahdr/jpegencoderhelper.cpp
parentb96737d6a53ede63a412bee6677dfa89a4980598 (diff)
rpc_binder: Refactor C/Rust wrappers for RpcSession
Existing wrappers around RpcSession do not allow to configure parameters such as the number of incoming/outgoing threads and FD transport mode. Since these need to be set before the connection is initiated, it is necessary to split the existing wrappers into creating the RpcSession object and calling the methods that initiate the connection. To this end, follow the same structure as C/Rust wrappers for RpcServer. An opaque handle is passed to the caller and the refcount of the underlying C++ object is kept incremented until the caller frees its handle. Bug: 245727626 Test: builds Change-Id: I384eb53ea881a2831569c5f4de8c0d5aa724f254
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions