Home
last modified time | relevance | path

Searched refs:StreamAdapter (Results 1 – 3 of 3) 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()
463 status_t StreamAdapter::disconnect() { in disconnect()
487 int StreamAdapter::getId() { in getId()
491 const camera2_stream_ops *StreamAdapter::getStreamOps() { in getStreamOps()
495 ANativeWindow* StreamAdapter::toANW(const camera2_stream_ops_t *w) { in toANW()
496 return static_cast<const StreamAdapter*>(w)->mConsumerInterface.get(); in toANW()
499 int StreamAdapter::dequeue_buffer(const camera2_stream_ops_t *w, in dequeue_buffer()
502 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();
Dcamera2.cpp222 StreamAdapter* stream = new StreamAdapter(consumer); in setUpStream()
391 Vector<StreamAdapter*> mStreams;