Lines Matching refs:EmulatedFakeCamera2

54 const uint32_t EmulatedFakeCamera2::kAvailableFormats[] = {
60 const uint32_t EmulatedFakeCamera2::kAvailableRawSizes[2] = {
65 const uint64_t EmulatedFakeCamera2::kAvailableRawMinDurations[1] = {
68 const uint32_t EmulatedFakeCamera2::kAvailableProcessedSizesBack[4] = {
73 const uint32_t EmulatedFakeCamera2::kAvailableProcessedSizesFront[4] = {
78 const uint64_t EmulatedFakeCamera2::kAvailableProcessedMinDurations[1] = {
81 const uint32_t EmulatedFakeCamera2::kAvailableJpegSizesBack[2] = {
86 const uint32_t EmulatedFakeCamera2::kAvailableJpegSizesFront[2] = {
91 const uint64_t EmulatedFakeCamera2::kAvailableJpegMinDurations[1] = {
94 EmulatedFakeCamera2::EmulatedFakeCamera2(int cameraId, bool facingBack, in EmulatedFakeCamera2() function in android::EmulatedFakeCamera2
103 EmulatedFakeCamera2::~EmulatedFakeCamera2() { in ~EmulatedFakeCamera2()
113 status_t EmulatedFakeCamera2::Initialize(const cuttlefish::CameraDefinition &params) { in Initialize()
192 status_t EmulatedFakeCamera2::connectCamera(hw_device_t **device) { in connectCamera()
234 status_t EmulatedFakeCamera2::plugCamera() { in plugCamera()
247 status_t EmulatedFakeCamera2::unplugCamera() { in unplugCamera()
260 camera_device_status_t EmulatedFakeCamera2::getHotplugStatus() { in getHotplugStatus()
266 status_t EmulatedFakeCamera2::closeCamera() { in closeCamera()
305 status_t EmulatedFakeCamera2::getCameraInfo(struct camera_info *info) { in getCameraInfo()
318 int EmulatedFakeCamera2::requestQueueNotify() { in requestQueueNotify()
333 int EmulatedFakeCamera2::getInProgressCount() { in getInProgressCount()
349 int EmulatedFakeCamera2::constructDefaultRequest(int request_template, in constructDefaultRequest()
379 int EmulatedFakeCamera2::allocateStream( in allocateStream()
492 int EmulatedFakeCamera2::registerStreamBuffers(uint32_t stream_id, in registerStreamBuffers()
534 int EmulatedFakeCamera2::releaseStream(uint32_t stream_id) { in releaseStream()
565 int EmulatedFakeCamera2::allocateReprocessStreamFromStream( in allocateReprocessStreamFromStream()
611 int EmulatedFakeCamera2::releaseReprocessStream(uint32_t stream_id) { in releaseReprocessStream()
632 int EmulatedFakeCamera2::triggerAction(uint32_t trigger_id, int32_t ext1, in triggerAction()
654 int EmulatedFakeCamera2::dump(int fd) { in dump()
671 void EmulatedFakeCamera2::signalError() { in signalError()
678 EmulatedFakeCamera2::ConfigureThread::ConfigureThread( in ConfigureThread()
679 EmulatedFakeCamera2 *parent) in ConfigureThread()
684 EmulatedFakeCamera2::ConfigureThread::~ConfigureThread() {} in ~ConfigureThread()
686 status_t EmulatedFakeCamera2::ConfigureThread::readyToRun() { in readyToRun()
698 status_t EmulatedFakeCamera2::ConfigureThread::waitUntilRunning() { in waitUntilRunning()
707 status_t EmulatedFakeCamera2::ConfigureThread::newRequestAvailable() { in newRequestAvailable()
718 bool EmulatedFakeCamera2::ConfigureThread::isStreamInUse(uint32_t id) { in isStreamInUse()
728 int EmulatedFakeCamera2::ConfigureThread::getInProgressCount() { in getInProgressCount()
733 bool EmulatedFakeCamera2::ConfigureThread::threadLoop() { in threadLoop()
828 bool EmulatedFakeCamera2::ConfigureThread::setupCapture() { in setupCapture()
919 bool EmulatedFakeCamera2::ConfigureThread::configureNextCapture() { in configureNextCapture()
944 bool EmulatedFakeCamera2::ConfigureThread::setupReprocess() { in setupReprocess()
1025 bool EmulatedFakeCamera2::ConfigureThread::configureNextReprocess() { in configureNextReprocess()
1042 bool EmulatedFakeCamera2::ConfigureThread::getBuffers() { in getBuffers()
1127 EmulatedFakeCamera2::ReadoutThread::ReadoutThread(EmulatedFakeCamera2 *parent) in ReadoutThread()
1140 EmulatedFakeCamera2::ReadoutThread::~ReadoutThread() { in ~ReadoutThread()
1144 status_t EmulatedFakeCamera2::ReadoutThread::readyToRun() { in readyToRun()
1152 status_t EmulatedFakeCamera2::ReadoutThread::waitUntilRunning() { in waitUntilRunning()
1161 bool EmulatedFakeCamera2::ReadoutThread::waitForReady(nsecs_t timeout) { in waitForReady()
1176 bool EmulatedFakeCamera2::ReadoutThread::readyForNextCapture() { in readyForNextCapture()
1180 void EmulatedFakeCamera2::ReadoutThread::setNextOperation( in setNextOperation()
1200 bool EmulatedFakeCamera2::ReadoutThread::isStreamInUse(uint32_t id) { in isStreamInUse()
1222 int EmulatedFakeCamera2::ReadoutThread::getInProgressCount() { in getInProgressCount()
1228 bool EmulatedFakeCamera2::ReadoutThread::threadLoop() { in threadLoop()
1409 void EmulatedFakeCamera2::ReadoutThread::onJpegDone( in onJpegDone()
1428 void EmulatedFakeCamera2::ReadoutThread::onJpegInputDone( in onJpegInputDone()
1443 status_t EmulatedFakeCamera2::ReadoutThread::collectStatisticsMetadata( in collectStatisticsMetadata()
1548 EmulatedFakeCamera2::ControlThread::ControlThread(EmulatedFakeCamera2 *parent) in ControlThread()
1553 EmulatedFakeCamera2::ControlThread::~ControlThread() {} in ~ControlThread()
1555 status_t EmulatedFakeCamera2::ControlThread::readyToRun() { in readyToRun()
1588 status_t EmulatedFakeCamera2::ControlThread::waitUntilRunning() { in waitUntilRunning()
1599 status_t EmulatedFakeCamera2::ControlThread::processRequest( in processRequest()
1674 status_t EmulatedFakeCamera2::ControlThread::triggerAction(uint32_t msgType, in triggerAction()
1702 const nsecs_t EmulatedFakeCamera2::ControlThread::kControlCycleDelay =
1704 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinAfDuration = 500 * MSEC;
1705 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxAfDuration = 900 * MSEC;
1706 const float EmulatedFakeCamera2::ControlThread::kAfSuccessRate = 0.9;
1708 const float EmulatedFakeCamera2::ControlThread::kContinuousAfStartRate =
1710 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinAeDuration = 500 * MSEC;
1711 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxAeDuration = 2 * SEC;
1712 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinPrecaptureAeDuration =
1714 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxPrecaptureAeDuration =
1717 const float EmulatedFakeCamera2::ControlThread::kAeScanStartRate =
1720 const nsecs_t EmulatedFakeCamera2::ControlThread::kNormalExposureTime =
1722 const nsecs_t EmulatedFakeCamera2::ControlThread::kExposureJump = 2 * MSEC;
1723 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinExposureTime = 1 * MSEC;
1725 bool EmulatedFakeCamera2::ControlThread::threadLoop() { in threadLoop()
1810 int EmulatedFakeCamera2::ControlThread::processAfTrigger(uint8_t afMode, in processAfTrigger()
1883 int EmulatedFakeCamera2::ControlThread::maybeStartAfScan(uint8_t afMode, in maybeStartAfScan()
1903 int EmulatedFakeCamera2::ControlThread::updateAfScan(uint8_t afMode, in updateAfScan()
1946 void EmulatedFakeCamera2::ControlThread::updateAfState(uint8_t newState, in updateAfState()
1957 int EmulatedFakeCamera2::ControlThread::processPrecaptureTrigger( in processPrecaptureTrigger()
1979 int EmulatedFakeCamera2::ControlThread::maybeStartAeScan(uint8_t aeMode, in maybeStartAeScan()
2009 int EmulatedFakeCamera2::ControlThread::updateAeScan(uint8_t /*aeMode*/, in updateAeScan()
2041 void EmulatedFakeCamera2::ControlThread::updateAeState(uint8_t newState, in updateAeState()
2054 status_t EmulatedFakeCamera2::constructStaticInfo(camera_metadata_t **info, in constructStaticInfo()
2296 status_t EmulatedFakeCamera2::constructDefaultRequest( in constructDefaultRequest()
2587 status_t EmulatedFakeCamera2::addOrSize(camera_metadata_t *request, in addOrSize()
2604 bool EmulatedFakeCamera2::isStreamInUse(uint32_t id) { in isStreamInUse()
2617 bool EmulatedFakeCamera2::isReprocessStreamInUse(uint32_t /*id*/) { in isReprocessStreamInUse()
2622 const Stream &EmulatedFakeCamera2::getStreamInfo(uint32_t streamId) { in getStreamInfo()
2628 const ReprocessStream &EmulatedFakeCamera2::getReprocessStreamInfo( in getReprocessStreamInfo()