Lines Matching refs:EmulatedFakeCamera2
43 const uint32_t EmulatedFakeCamera2::kAvailableFormats[4] = {
51 const uint32_t EmulatedFakeCamera2::kAvailableRawSizes[2] = {
56 const uint64_t EmulatedFakeCamera2::kAvailableRawMinDurations[1] = {
60 const uint32_t EmulatedFakeCamera2::kAvailableProcessedSizesBack[4] = {
65 const uint32_t EmulatedFakeCamera2::kAvailableProcessedSizesFront[4] = {
70 const uint64_t EmulatedFakeCamera2::kAvailableProcessedMinDurations[1] = {
74 const uint32_t EmulatedFakeCamera2::kAvailableJpegSizesBack[2] = {
79 const uint32_t EmulatedFakeCamera2::kAvailableJpegSizesFront[2] = {
85 const uint64_t EmulatedFakeCamera2::kAvailableJpegMinDurations[1] = {
90 EmulatedFakeCamera2::EmulatedFakeCamera2(int cameraId, in EmulatedFakeCamera2() function in android::EmulatedFakeCamera2
103 EmulatedFakeCamera2::~EmulatedFakeCamera2() { in ~EmulatedFakeCamera2()
113 status_t EmulatedFakeCamera2::Initialize() { in Initialize()
162 status_t EmulatedFakeCamera2::connectCamera(hw_device_t** device) { in connectCamera()
205 status_t EmulatedFakeCamera2::plugCamera() { in plugCamera()
218 status_t EmulatedFakeCamera2::unplugCamera() { in unplugCamera()
231 camera_device_status_t EmulatedFakeCamera2::getHotplugStatus() { in getHotplugStatus()
240 status_t EmulatedFakeCamera2::closeCamera() { in closeCamera()
279 status_t EmulatedFakeCamera2::getCameraInfo(struct camera_info *info) { in getCameraInfo()
291 int EmulatedFakeCamera2::requestQueueNotify() { in requestQueueNotify()
306 int EmulatedFakeCamera2::getInProgressCount() { in getInProgressCount()
322 int EmulatedFakeCamera2::constructDefaultRequest( in constructDefaultRequest()
359 int EmulatedFakeCamera2::allocateStream( in allocateStream()
480 int EmulatedFakeCamera2::registerStreamBuffers( in registerStreamBuffers()
523 int EmulatedFakeCamera2::releaseStream(uint32_t stream_id) { in releaseStream()
555 int EmulatedFakeCamera2::allocateReprocessStreamFromStream( in allocateReprocessStreamFromStream()
602 int EmulatedFakeCamera2::releaseReprocessStream(uint32_t stream_id) { in releaseReprocessStream()
623 int EmulatedFakeCamera2::triggerAction(uint32_t trigger_id, in triggerAction()
648 int EmulatedFakeCamera2::dump(int fd) { in dump()
666 void EmulatedFakeCamera2::signalError() { in signalError()
673 EmulatedFakeCamera2::ConfigureThread::ConfigureThread(EmulatedFakeCamera2 *parent): in ConfigureThread()
681 EmulatedFakeCamera2::ConfigureThread::~ConfigureThread() { in ~ConfigureThread()
684 status_t EmulatedFakeCamera2::ConfigureThread::readyToRun() { in readyToRun()
696 status_t EmulatedFakeCamera2::ConfigureThread::waitUntilRunning() { in waitUntilRunning()
705 status_t EmulatedFakeCamera2::ConfigureThread::newRequestAvailable() { in newRequestAvailable()
716 bool EmulatedFakeCamera2::ConfigureThread::isStreamInUse(uint32_t id) { in isStreamInUse()
726 int EmulatedFakeCamera2::ConfigureThread::getInProgressCount() { in getInProgressCount()
731 bool EmulatedFakeCamera2::ConfigureThread::threadLoop() { in threadLoop()
831 bool EmulatedFakeCamera2::ConfigureThread::setupCapture() { in setupCapture()
929 bool EmulatedFakeCamera2::ConfigureThread::configureNextCapture() { in configureNextCapture()
954 bool EmulatedFakeCamera2::ConfigureThread::setupReprocess() { in setupReprocess()
1039 bool EmulatedFakeCamera2::ConfigureThread::configureNextReprocess() { in configureNextReprocess()
1056 bool EmulatedFakeCamera2::ConfigureThread::getBuffers() { in getBuffers()
1119 EmulatedFakeCamera2::ReadoutThread::ReadoutThread(EmulatedFakeCamera2 *parent): in ReadoutThread()
1132 EmulatedFakeCamera2::ReadoutThread::~ReadoutThread() { in ~ReadoutThread()
1136 status_t EmulatedFakeCamera2::ReadoutThread::readyToRun() { in readyToRun()
1144 status_t EmulatedFakeCamera2::ReadoutThread::waitUntilRunning() { in waitUntilRunning()
1153 bool EmulatedFakeCamera2::ReadoutThread::waitForReady(nsecs_t timeout) { in waitForReady()
1168 bool EmulatedFakeCamera2::ReadoutThread::readyForNextCapture() { in readyForNextCapture()
1172 void EmulatedFakeCamera2::ReadoutThread::setNextOperation( in setNextOperation()
1194 bool EmulatedFakeCamera2::ReadoutThread::isStreamInUse(uint32_t id) { in isStreamInUse()
1218 int EmulatedFakeCamera2::ReadoutThread::getInProgressCount() { in getInProgressCount()
1224 bool EmulatedFakeCamera2::ReadoutThread::threadLoop() { in threadLoop()
1411 void EmulatedFakeCamera2::ReadoutThread::onJpegDone( in onJpegDone()
1430 void EmulatedFakeCamera2::ReadoutThread::onJpegInputDone( in onJpegInputDone()
1444 status_t EmulatedFakeCamera2::ReadoutThread::collectStatisticsMetadata( in collectStatisticsMetadata()
1553 EmulatedFakeCamera2::ControlThread::ControlThread(EmulatedFakeCamera2 *parent): in ControlThread()
1559 EmulatedFakeCamera2::ControlThread::~ControlThread() { in ~ControlThread()
1562 status_t EmulatedFakeCamera2::ControlThread::readyToRun() { in readyToRun()
1595 status_t EmulatedFakeCamera2::ControlThread::waitUntilRunning() { in waitUntilRunning()
1605 status_t EmulatedFakeCamera2::ControlThread::processRequest(camera_metadata_t *request) { in processRequest()
1697 status_t EmulatedFakeCamera2::ControlThread::triggerAction(uint32_t msgType, in triggerAction()
1724 const nsecs_t EmulatedFakeCamera2::ControlThread::kControlCycleDelay = 100 * MSEC;
1725 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinAfDuration = 500 * MSEC;
1726 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxAfDuration = 900 * MSEC;
1727 const float EmulatedFakeCamera2::ControlThread::kAfSuccessRate = 0.9;
1729 const float EmulatedFakeCamera2::ControlThread::kContinuousAfStartRate =
1731 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinAeDuration = 500 * MSEC;
1732 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxAeDuration = 2 * SEC;
1733 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinPrecaptureAeDuration = 100 * MSEC;
1734 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxPrecaptureAeDuration = 400 * MSEC;
1736 const float EmulatedFakeCamera2::ControlThread::kAeScanStartRate =
1739 const nsecs_t EmulatedFakeCamera2::ControlThread::kNormalExposureTime = 10 * MSEC;
1740 const nsecs_t EmulatedFakeCamera2::ControlThread::kExposureJump = 2 * MSEC;
1741 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinExposureTime = 1 * MSEC;
1743 bool EmulatedFakeCamera2::ControlThread::threadLoop() { in threadLoop()
1828 int EmulatedFakeCamera2::ControlThread::processAfTrigger(uint8_t afMode, in processAfTrigger()
1902 int EmulatedFakeCamera2::ControlThread::maybeStartAfScan(uint8_t afMode, in maybeStartAfScan()
1922 int EmulatedFakeCamera2::ControlThread::updateAfScan(uint8_t afMode, in updateAfScan()
1964 void EmulatedFakeCamera2::ControlThread::updateAfState(uint8_t newState, in updateAfState()
1976 int EmulatedFakeCamera2::ControlThread::processPrecaptureTrigger(uint8_t aeMode, in processPrecaptureTrigger()
1998 int EmulatedFakeCamera2::ControlThread::maybeStartAeScan(uint8_t aeMode, in maybeStartAeScan()
2026 int EmulatedFakeCamera2::ControlThread::updateAeScan(uint8_t aeMode, in updateAeScan()
2058 void EmulatedFakeCamera2::ControlThread::updateAeState(uint8_t newState, in updateAeState()
2072 status_t EmulatedFakeCamera2::constructStaticInfo( in constructStaticInfo()
2365 status_t EmulatedFakeCamera2::constructDefaultRequest( in constructDefaultRequest()
2675 status_t EmulatedFakeCamera2::addOrSize(camera_metadata_t *request, in addOrSize()
2695 bool EmulatedFakeCamera2::isStreamInUse(uint32_t id) { in isStreamInUse()
2710 bool EmulatedFakeCamera2::isReprocessStreamInUse(uint32_t id) { in isReprocessStreamInUse()
2715 const Stream& EmulatedFakeCamera2::getStreamInfo(uint32_t streamId) { in getStreamInfo()
2721 const ReprocessStream& EmulatedFakeCamera2::getReprocessStreamInfo(uint32_t streamId) { in getReprocessStreamInfo()