Lines Matching refs:C2VDAAdaptorProxy
33 C2VDAAdaptorProxy::C2VDAAdaptorProxy() in C2VDAAdaptorProxy() function in android::arc::C2VDAAdaptorProxy
34 : C2VDAAdaptorProxy(::arc::MojoProcessSupport::getLeakyInstance()) {} in C2VDAAdaptorProxy()
36 C2VDAAdaptorProxy::C2VDAAdaptorProxy(::arc::MojoProcessSupport* mojoProcessSupport) in C2VDAAdaptorProxy() function in android::arc::C2VDAAdaptorProxy
42 C2VDAAdaptorProxy::~C2VDAAdaptorProxy() {} in ~C2VDAAdaptorProxy()
44 void C2VDAAdaptorProxy::onConnectionError(const std::string& pipeName) { in onConnectionError()
50 bool C2VDAAdaptorProxy::establishChannel() { in establishChannel()
54 ::base::Bind(&C2VDAAdaptorProxy::establishChannelOnMojoThread, in establishChannel()
59 void C2VDAAdaptorProxy::establishChannelOnMojoThread(std::shared_ptr<::arc::Future<bool>> future) { in establishChannelOnMojoThread()
66 mVDAPtr.set_connection_error_handler(::base::Bind(&C2VDAAdaptorProxy::onConnectionError, in establishChannelOnMojoThread()
69 mVDAPtr.QueryVersion(::base::Bind(&C2VDAAdaptorProxy::onVersionReady, ::base::Unretained(this), in establishChannelOnMojoThread()
73 void C2VDAAdaptorProxy::onVersionReady(std::shared_ptr<::arc::Future<bool>> future, uint32_t versio… in onVersionReady()
79 void C2VDAAdaptorProxy::ProvidePictureBuffers(::arc::mojom::PictureBufferFormatPtr format) { in ProvidePictureBuffers()
85 void C2VDAAdaptorProxy::PictureReady(::arc::mojom::PicturePtr picture) { in PictureReady()
112 void C2VDAAdaptorProxy::NotifyError(::arc::mojom::VideoDecodeAccelerator::Result error) { in NotifyError()
117 void C2VDAAdaptorProxy::NotifyEndOfBitstreamBuffer(int32_t bitstream_id) { in NotifyEndOfBitstreamBuffer()
122 void C2VDAAdaptorProxy::NotifyResetDone(::arc::mojom::VideoDecodeAccelerator::Result result) { in NotifyResetDone()
134 void C2VDAAdaptorProxy::NotifyFlushDone(::arc::mojom::VideoDecodeAccelerator::Result result) { in NotifyFlushDone()
150 media::VideoDecodeAccelerator::SupportedProfiles C2VDAAdaptorProxy::GetSupportedProfiles( in GetSupportedProfiles()
172 VideoDecodeAcceleratorAdaptor::Result C2VDAAdaptorProxy::initialize( in initialize()
187 mMojoTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAAdaptorProxy::initializeOnMojoThread, in initialize()
198 void C2VDAAdaptorProxy::initializeOnMojoThread( in initializeOnMojoThread()
204 mBinding.set_connection_error_handler(::base::Bind(&C2VDAAdaptorProxy::onConnectionError, in initializeOnMojoThread()
215 void C2VDAAdaptorProxy::decode(int32_t bitstreamId, int handleFd, off_t offset, uint32_t size) { in decode()
218 … FROM_HERE, ::base::Bind(&C2VDAAdaptorProxy::decodeOnMojoThread, ::base::Unretained(this), in decode()
222 void C2VDAAdaptorProxy::decodeOnMojoThread(int32_t bitstreamId, int handleFd, off_t offset, in decodeOnMojoThread()
239 void C2VDAAdaptorProxy::assignPictureBuffers(uint32_t numOutputBuffers) { in assignPictureBuffers()
242 ::base::Bind(&C2VDAAdaptorProxy::assignPictureBuffersOnMojoThread, in assignPictureBuffers()
246 void C2VDAAdaptorProxy::assignPictureBuffersOnMojoThread(uint32_t numOutputBuffers) { in assignPictureBuffersOnMojoThread()
250 void C2VDAAdaptorProxy::importBufferForPicture(int32_t pictureBufferId, HalPixelFormat format, in importBufferForPicture()
256 ::base::Bind(&C2VDAAdaptorProxy::importBufferForPictureOnMojoThread, in importBufferForPicture()
260 void C2VDAAdaptorProxy::importBufferForPictureOnMojoThread( in importBufferForPictureOnMojoThread()
277 void C2VDAAdaptorProxy::reusePictureBuffer(int32_t pictureBufferId) { in reusePictureBuffer()
280 ::base::Bind(&C2VDAAdaptorProxy::reusePictureBufferOnMojoThread, in reusePictureBuffer()
284 void C2VDAAdaptorProxy::reusePictureBufferOnMojoThread(int32_t pictureBufferId) { in reusePictureBufferOnMojoThread()
288 void C2VDAAdaptorProxy::flush() { in flush()
291 … FROM_HERE, ::base::Bind(&C2VDAAdaptorProxy::flushOnMojoThread, ::base::Unretained(this))); in flush()
294 void C2VDAAdaptorProxy::flushOnMojoThread() { in flushOnMojoThread()
295 mVDAPtr->Flush(::base::Bind(&C2VDAAdaptorProxy::NotifyFlushDone, ::base::Unretained(this))); in flushOnMojoThread()
298 void C2VDAAdaptorProxy::reset() { in reset()
301 … FROM_HERE, ::base::Bind(&C2VDAAdaptorProxy::resetOnMojoThread, ::base::Unretained(this))); in reset()
304 void C2VDAAdaptorProxy::resetOnMojoThread() { in resetOnMojoThread()
305 mVDAPtr->Reset(::base::Bind(&C2VDAAdaptorProxy::NotifyResetDone, ::base::Unretained(this))); in resetOnMojoThread()
308 void C2VDAAdaptorProxy::destroy() { in destroy()
313 ::base::Bind(&C2VDAAdaptorProxy::closeChannelOnMojoThread, ::base::Unretained(this)), in destroy()
318 void C2VDAAdaptorProxy::closeChannelOnMojoThread() { in closeChannelOnMojoThread()