Lines Matching refs:Camera2Device
31 #include "Camera2Device.h"
35 Camera2Device::Camera2Device(int id):
43 Camera2Device::~Camera2Device()
50 int Camera2Device::getId() const {
54 status_t Camera2Device::initialize(camera_module_t *module)
143 status_t Camera2Device::disconnect() {
168 status_t Camera2Device::dump(int fd, const Vector<String16>& args) {
181 result.appendFormat(" Camera2Device[%d] dump (detail level %d):\n",
209 const CameraMetadata& Camera2Device::info() const {
215 status_t Camera2Device::capture(CameraMetadata &request) {
224 status_t Camera2Device::setStreamingRequest(const CameraMetadata &request) {
231 status_t Camera2Device::clearStreamingRequest() {
236 status_t Camera2Device::waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) {
241 status_t Camera2Device::createStream(sp<ANativeWindow> consumer,
263 status_t Camera2Device::createReprocessStreamFromStream(int outputId, int *id) {
300 status_t Camera2Device::getStreamInfo(int id,
326 status_t Camera2Device::setStreamTransform(int id,
348 status_t Camera2Device::deleteStream(int id) {
374 status_t Camera2Device::deleteReprocessStream(int id) {
402 status_t Camera2Device::createDefaultRequest(int templateId,
414 status_t Camera2Device::waitUntilDrained() {
437 status_t Camera2Device::setNotifyCallback(NotificationListener *listener) {
448 bool Camera2Device::willNotify3A() {
452 void Camera2Device::notificationCallback(int32_t msg_type,
487 status_t Camera2Device::waitForNextFrame(nsecs_t timeout) {
491 status_t Camera2Device::getNextFrame(CameraMetadata *frame) {
504 status_t Camera2Device::triggerAutofocus(uint32_t id) {
517 status_t Camera2Device::triggerCancelAutofocus(uint32_t id) {
530 status_t Camera2Device::triggerPrecaptureMetering(uint32_t id) {
543 status_t Camera2Device::pushReprocessBuffer(int reprocessStreamId,
571 * Camera2Device::MetadataQueue
574 Camera2Device::MetadataQueue::MetadataQueue():
592 Camera2Device::MetadataQueue::~MetadataQueue() {
600 status_t Camera2Device::MetadataQueue::setConsumerDevice(camera2_device_t *d) {
610 status_t Camera2Device::MetadataQueue::setProducerDevice(camera2_device_t *d) {
619 status_t Camera2Device::MetadataQueue::enqueue(camera_metadata_t *buf) {
630 int Camera2Device::MetadataQueue::getBufferCount() {
639 status_t Camera2Device::MetadataQueue::dequeue(camera_metadata_t **buf,
705 status_t Camera2Device::MetadataQueue::waitForBuffer(nsecs_t timeout)
716 status_t Camera2Device::MetadataQueue::waitForDequeue(int32_t id,
732 status_t Camera2Device::MetadataQueue::setStreamSlot(camera_metadata_t *buf)
763 status_t Camera2Device::MetadataQueue::setStreamSlot(
787 status_t Camera2Device::MetadataQueue::dump(int fd,
835 status_t Camera2Device::MetadataQueue::signalConsumerLocked() {
850 status_t Camera2Device::MetadataQueue::freeBuffers(
862 Camera2Device::MetadataQueue* Camera2Device::MetadataQueue::getInstance(
869 Camera2Device::MetadataQueue* Camera2Device::MetadataQueue::getInstance(
876 int Camera2Device::MetadataQueue::consumer_buffer_count(
883 int Camera2Device::MetadataQueue::consumer_dequeue(
891 int Camera2Device::MetadataQueue::consumer_free(
902 int Camera2Device::MetadataQueue::producer_dequeue(
915 int Camera2Device::MetadataQueue::producer_cancel(
924 int Camera2Device::MetadataQueue::producer_enqueue(
933 * Camera2Device::StreamAdapter
941 Camera2Device::StreamAdapter::StreamAdapter(camera2_device_t *d):
959 Camera2Device::StreamAdapter::~StreamAdapter() {
966 status_t Camera2Device::StreamAdapter::connectToDevice(
1137 status_t Camera2Device::StreamAdapter::release() {
1172 status_t Camera2Device::StreamAdapter::setTransform(int transform) {
1188 status_t Camera2Device::StreamAdapter::dump(int fd,
1203 const camera2_stream_ops *Camera2Device::StreamAdapter::getStreamOps() {
1207 ANativeWindow* Camera2Device::StreamAdapter::toANW(
1212 int Camera2Device::StreamAdapter::dequeue_buffer(const camera2_stream_ops_t *w,
1239 int Camera2Device::StreamAdapter::enqueue_buffer(const camera2_stream_ops_t* w,
1275 int Camera2Device::StreamAdapter::cancel_buffer(const camera2_stream_ops_t* w,
1300 int Camera2Device::StreamAdapter::set_crop(const camera2_stream_ops_t* w,
1314 * Camera2Device::ReprocessStreamAdapter
1322 Camera2Device::ReprocessStreamAdapter::ReprocessStreamAdapter(camera2_device_t *d):
1335 Camera2Device::ReprocessStreamAdapter::~ReprocessStreamAdapter() {
1342 status_t Camera2Device::ReprocessStreamAdapter::connectToDevice(
1385 status_t Camera2Device::ReprocessStreamAdapter::release() {
1414 status_t Camera2Device::ReprocessStreamAdapter::pushIntoStream(
1427 status_t Camera2Device::ReprocessStreamAdapter::dump(int fd,
1441 const camera2_stream_in_ops *Camera2Device::ReprocessStreamAdapter::getStreamOps() {
1445 int Camera2Device::ReprocessStreamAdapter::acquire_buffer(
1477 int Camera2Device::ReprocessStreamAdapter::release_buffer(