Lines Matching refs:EmulatedCameraDevice
18 * Contains implementation of an abstract class EmulatedCameraDevice that defines
33 #include "EmulatedCameraDevice.h"
42 EmulatedCameraDevice::EmulatedCameraDevice(EmulatedCamera* camera_hal)
53 EmulatedCameraDevice::~EmulatedCameraDevice()
55 ALOGV("EmulatedCameraDevice destructor");
67 status_t EmulatedCameraDevice::Initialize()
80 status_t EmulatedCameraDevice::startDeliveringFrames(bool one_burst)
95 status_t EmulatedCameraDevice::stopDeliveringFrames()
109 status_t EmulatedCameraDevice::setPreviewFrameRate(int framesPerSecond) {
117 void EmulatedCameraDevice::setExposureCompensation(const float ev) {
128 void EmulatedCameraDevice::initializeWhiteBalanceModes(const char* mode,
137 void EmulatedCameraDevice::setWhiteBalanceMode(const char* mode) {
147 void EmulatedCameraDevice::changeWhiteBalance(uint8_t& y,
161 void EmulatedCameraDevice::checkAutoFocusTrigger() {
173 status_t EmulatedCameraDevice::getCurrentFrameImpl(const uint8_t* source,
223 status_t EmulatedCameraDevice::getCurrentFrame(void* buffer,
246 status_t EmulatedCameraDevice::getCurrentPreviewFrame(void* buffer)
286 const void* EmulatedCameraDevice::getCurrentFrame() {
293 EmulatedCameraDevice::FrameLock::FrameLock(EmulatedCameraDevice& cameraDevice)
298 EmulatedCameraDevice::FrameLock::~FrameLock() {
302 status_t EmulatedCameraDevice::setAutoFocus() {
307 status_t EmulatedCameraDevice::cancelAutoFocus() {
312 bool EmulatedCameraDevice::requestRestart(int width, int height,
329 status_t EmulatedCameraDevice::commonStartDevice(int width,
376 void EmulatedCameraDevice::commonStopDevice()
392 status_t EmulatedCameraDevice::startWorkerThread(bool one_burst)
416 status_t EmulatedCameraDevice::stopWorkerThread()
441 EmulatedCameraDevice::CameraThread::CameraThread(EmulatedCameraDevice* dev,
457 const void* EmulatedCameraDevice::CameraThread::getPrimaryBuffer() const {
464 void EmulatedCameraDevice::CameraThread::lockPrimaryBuffer() {
468 void EmulatedCameraDevice::CameraThread::unlockPrimaryBuffer() {
473 EmulatedCameraDevice::CameraThread::waitForFrameOrTimeout(nsecs_t timeout) {
494 bool EmulatedCameraDevice::CameraThread::inWorkerThread() {
519 status_t EmulatedCameraDevice::CameraThread::onThreadStart() {
532 void EmulatedCameraDevice::CameraThread::onThreadExit() {
541 EmulatedCameraDevice::CameraThread::FrameProducer::FrameProducer(
542 EmulatedCameraDevice* dev,
558 EmulatedCameraDevice::CameraThread::FrameProducer::getPrimaryBuffer() const {
562 void EmulatedCameraDevice::CameraThread::FrameProducer::lockPrimaryBuffer() {
565 void EmulatedCameraDevice::CameraThread::FrameProducer::unlockPrimaryBuffer() {
569 void EmulatedCameraDevice::CameraThread::requestRestart(int width,
583 bool EmulatedCameraDevice::CameraThread::FrameProducer::hasFrame() const {
587 bool EmulatedCameraDevice::CameraThread::checkRestartRequest() {
636 bool EmulatedCameraDevice::CameraThread::FrameProducer::inWorkerThread() {
668 void EmulatedCameraDevice::lockCurrentFrame() {
672 void EmulatedCameraDevice::unlockCurrentFrame() {