Home
last modified time | relevance | path

Searched refs:StreamAdapter (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/tests/camera2/
Dcamera2_utils.cpp319 StreamAdapter::StreamAdapter(sp<IGraphicBufferProducer> consumer): in StreamAdapter() function in android::camera2::tests::StreamAdapter
331 StreamAdapter::~StreamAdapter() { in ~StreamAdapter()
335 status_t StreamAdapter::connectToDevice(camera2_device_t *d, in connectToDevice()
472 status_t StreamAdapter::disconnect() { in disconnect()
496 int StreamAdapter::getId() { in getId()
500 const camera2_stream_ops *StreamAdapter::getStreamOps() { in getStreamOps()
504 ANativeWindow* StreamAdapter::toANW(const camera2_stream_ops_t *w) { in toANW()
505 return static_cast<const StreamAdapter*>(w)->mConsumerInterface.get(); in toANW()
508 int StreamAdapter::dequeue_buffer(const camera2_stream_ops_t *w, in dequeue_buffer()
511 int state = static_cast<const StreamAdapter*>(w)->mState; in dequeue_buffer()
[all …]
Dcamera2_utils.h167 class StreamAdapter: public camera2_stream_ops {
169 StreamAdapter(sp<IGraphicBufferProducer> consumer);
171 ~StreamAdapter();