• Home
  • Raw
  • Download

Lines Matching refs:RS

28 using android::RSC::RS;
31 bool RS::gInitialized = false;
32 bool RS::usingNative = false;
33 pthread_mutex_t RS::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
34 dispatchTable* RS::dispatch = nullptr;
37 RS::RS() { in RS() function in RS
49 RS::~RS() { in ~RS()
55 RS::dispatch->ContextDeinitToClient(mContext); in ~RS()
60 RS::dispatch->ContextDestroy(mContext); in ~RS()
66 bool RS::init(const char * name, uint32_t flags) { in init()
67 return RS::init(name, flags, 0); in init()
79 if (loadSymbols(handle, *RS::dispatch, targetApi) == false) { in loadSO()
96 bool RS::initDispatch(int targetApi) { in initDispatch()
105 RS::dispatch = new dispatchTable; in initDispatch()
130 bool RS::init(const char * name, uint32_t flags, int targetApi) { in init()
155 RsDevice device = RS::dispatch->DeviceCreate(); in init()
167 mContext = RS::dispatch->ContextCreate(device, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, flags); in init()
190 void RS::throwError(RSError error, const char *errMsg) { in throwError()
199 RSError RS::getError() { in getError()
204 void * RS::threadProc(void *vrsc) { in threadProc()
205 RS *rs = static_cast<RS *>(vrsc); in threadProc()
209 RS::dispatch->ContextInitToClient(rs->mContext); in threadProc()
216 RsMessageToClientType r = RS::dispatch->ContextPeekMessage(rs->mContext, in threadProc()
234RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc()
276 void RS::setErrorHandler(ErrorHandlerFunc_t func) { in setErrorHandler()
280 void RS::setMessageHandler(MessageHandlerFunc_t func) { in setMessageHandler()
284 void RS::finish() { in finish()
285 RS::dispatch->ContextFinish(mContext); in finish()