Lines Matching defs:EmulatedFakeCamera3
18 * Contains implementation of a class EmulatedFakeCamera3 that encapsulates
27 #include "EmulatedFakeCamera3.h"
54 const int32_t EmulatedFakeCamera3::kAvailableFormats[5] = {
65 const uint32_t EmulatedFakeCamera3::kAvailableRawSizes[2] = {
70 const uint64_t EmulatedFakeCamera3::kAvailableRawMinDurations[1] = {
74 const uint32_t EmulatedFakeCamera3::kAvailableProcessedSizesBack[4] = {
79 const uint32_t EmulatedFakeCamera3::kAvailableProcessedSizesFront[4] = {
84 const uint64_t EmulatedFakeCamera3::kAvailableProcessedMinDurations[1] = {
88 const uint32_t EmulatedFakeCamera3::kAvailableJpegSizesBack[2] = {
93 const uint32_t EmulatedFakeCamera3::kAvailableJpegSizesFront[2] = {
99 const uint64_t EmulatedFakeCamera3::kAvailableJpegMinDurations[1] = {
108 const nsecs_t EmulatedFakeCamera3::kNormalExposureTime = 10 * MSEC;
109 const nsecs_t EmulatedFakeCamera3::kFacePriorityExposureTime = 30 * MSEC;
110 const int EmulatedFakeCamera3::kNormalSensitivity = 100;
111 const int EmulatedFakeCamera3::kFacePrioritySensitivity = 400;
112 const float EmulatedFakeCamera3::kExposureTrackRate = 0.1;
113 const int EmulatedFakeCamera3::kPrecaptureMinFrames = 10;
114 const int EmulatedFakeCamera3::kStableAeMaxFrames = 100;
115 const float EmulatedFakeCamera3::kExposureWanderMin = -2;
116 const float EmulatedFakeCamera3::kExposureWanderMax = 1;
122 EmulatedFakeCamera3::EmulatedFakeCamera3(int cameraId, bool facingBack,
140 EmulatedFakeCamera3::~EmulatedFakeCamera3() {
148 status_t EmulatedFakeCamera3::Initialize() {
167 status_t EmulatedFakeCamera3::connectCamera(hw_device_t** device) {
207 status_t EmulatedFakeCamera3::closeCamera() {
242 status_t EmulatedFakeCamera3::getCameraInfo(struct camera_info *info) {
252 status_t EmulatedFakeCamera3::configureStreams(
390 status_t EmulatedFakeCamera3::registerStreamBuffers(
440 const camera_metadata_t* EmulatedFakeCamera3::constructDefaultRequestSettings(
744 status_t EmulatedFakeCamera3::processCaptureRequest(
1011 void EmulatedFakeCamera3::dump(int fd) {
1016 const char* EmulatedFakeCamera3::getVendorSectionName(uint32_t tag) {
1020 const char* EmulatedFakeCamera3::getVendorTagName(uint32_t tag) {
1024 int EmulatedFakeCamera3::getVendorTagType(uint32_t tag) {
1032 status_t EmulatedFakeCamera3::constructStaticInfo() {
1340 status_t EmulatedFakeCamera3::process3A(CameraMetadata &settings) {
1400 status_t EmulatedFakeCamera3::doFakeAE(CameraMetadata &settings) {
1533 status_t EmulatedFakeCamera3::doFakeAF(CameraMetadata &settings) {
1755 status_t EmulatedFakeCamera3::doFakeAWB(CameraMetadata &settings) {
1788 void EmulatedFakeCamera3::update3A(CameraMetadata &settings) {
1811 void EmulatedFakeCamera3::signalReadoutIdle() {
1821 void EmulatedFakeCamera3::onSensorEvent(uint32_t frameNumber, Event e,
1842 EmulatedFakeCamera3::ReadoutThread::ReadoutThread(EmulatedFakeCamera3 *parent) :
1846 EmulatedFakeCamera3::ReadoutThread::~ReadoutThread() {
1854 void EmulatedFakeCamera3::ReadoutThread::queueCaptureRequest(const Request &r) {
1861 bool EmulatedFakeCamera3::ReadoutThread::isIdle() {
1866 status_t EmulatedFakeCamera3::ReadoutThread::waitForReadout() {
1887 bool EmulatedFakeCamera3::ReadoutThread::threadLoop() {
2024 void EmulatedFakeCamera3::ReadoutThread::onJpegDone(
2053 void EmulatedFakeCamera3::ReadoutThread::onJpegInputDone(