Lines Matching refs:hostHandle
198 if (handle.hostHandle) { in lock()
216 if (handle.hostHandle) { in unlock()
269 if (handle.hostHandle) { in lock_ycbcr()
302 rcEnc, handle.hostHandle, 0, usageSwRead); in lock_impl()
328 rcEnc->rcReadColorBufferYUV(rcEnc, handle.hostHandle, in lock_impl()
334 rcEnc->rcReadColorBuffer(rcEnc, handle.hostHandle, in lock_impl()
359 handle.hostHandle, in lock_impl()
423 rcEnc->rcUpdateColorBufferDMA(rcEnc, handle.hostHandle, in unlock_impl()
819 uint32_t hostHandle = 0; in alloc_buffer() local
828 hostHandle = rcEnc->rcCreateColorBufferDMA( in alloc_buffer()
832 if (!hostHandle) { in alloc_buffer()
836 …if (qemu_pipe_write(hostHandleRefCountFd, &hostHandle, sizeof(hostHandle)) != sizeof(hostHandle)) { in alloc_buffer()
837 rcEnc->rcCloseColorBuffer(rcEnc, hostHandle); in alloc_buffer()
846 hostHandle, in alloc_buffer()
899 if (handle->hostHandle) { in register_buffer()
902 rcEnc->rcOpenColorBuffer2(rcEnc, handle->hostHandle); in register_buffer()
920 if (handle->hostHandle) { in unregister_buffer()
923 rcEnc->rcCloseColorBuffer(rcEnc, handle->hostHandle); in unregister_buffer()