• Home
  • Raw
  • Download

Lines Matching refs:EmulatedCamera

100 EmulatedCamera::EmulatedCamera(int cameraId,  in EmulatedCamera()  function in android::EmulatedCamera
110 common.close = EmulatedCamera::close; in EmulatedCamera()
115 EmulatedCamera::~EmulatedCamera() in ~EmulatedCamera()
123 status_t EmulatedCamera::Initialize() in Initialize()
235 void EmulatedCamera::onNextFrameAvailable(nsecs_t timestamp, in onNextFrameAvailable()
245 void EmulatedCamera::onCameraDeviceError(int err) in onCameraDeviceError()
251 void EmulatedCamera::setTakingPicture(bool takingPicture) { in setTakingPicture()
258 status_t EmulatedCamera::connectCamera(hw_device_t** device) in connectCamera()
277 status_t EmulatedCamera::closeCamera() in closeCamera()
284 status_t EmulatedCamera::getCameraInfo(struct camera_info* info) in getCameraInfo()
290 valstr = mParameters.get(EmulatedCamera::FACING_KEY); in getCameraInfo()
292 if (strcmp(valstr, EmulatedCamera::FACING_FRONT) == 0) { in getCameraInfo()
295 else if (strcmp(valstr, EmulatedCamera::FACING_BACK) == 0) { in getCameraInfo()
302 valstr = mParameters.get(EmulatedCamera::ORIENTATION_KEY); in getCameraInfo()
312 void EmulatedCamera::autoFocusComplete() { in autoFocusComplete()
316 status_t EmulatedCamera::setPreviewWindow(struct preview_stream_ops* window) in setPreviewWindow()
323 void EmulatedCamera::setCallbacks(camera_notify_callback notify_cb, in setCallbacks()
333 void EmulatedCamera::enableMsgType(int32_t msg_type) in enableMsgType()
338 void EmulatedCamera::disableMsgType(int32_t msg_type) in disableMsgType()
343 int EmulatedCamera::isMsgTypeEnabled(int32_t msg_type) in isMsgTypeEnabled()
348 status_t EmulatedCamera::startPreview() in startPreview()
354 void EmulatedCamera::stopPreview() in stopPreview()
370 int EmulatedCamera::isPreviewEnabled() in isPreviewEnabled()
375 status_t EmulatedCamera::storeMetaDataInBuffers(int enable) in storeMetaDataInBuffers()
381 status_t EmulatedCamera::startRecording() in startRecording()
440 void EmulatedCamera::stopRecording() in stopRecording()
445 int EmulatedCamera::isRecordingEnabled() in isRecordingEnabled()
450 void EmulatedCamera::releaseRecordingFrame(const void* opaque) in releaseRecordingFrame()
455 status_t EmulatedCamera::setAutoFocus() in setAutoFocus()
470 status_t EmulatedCamera::cancelAutoFocus() in cancelAutoFocus()
483 status_t EmulatedCamera::takePicture() in takePicture()
541 status_t EmulatedCamera::cancelPicture() in cancelPicture()
547 status_t EmulatedCamera::setParameters(const char* parms) in setParameters()
706 char* EmulatedCamera::getParameters() in getParameters()
736 void EmulatedCamera::putParameters(char* params) in putParameters()
744 status_t EmulatedCamera::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) in sendCommand()
759 void EmulatedCamera::releaseCamera() in releaseCamera()
766 status_t EmulatedCamera::dumpCamera(int fd) in dumpCamera()
775 status_t EmulatedCamera::getConfiguredPixelFormat(uint32_t* pixelFormat) const { in getConfiguredPixelFormat()
801 status_t EmulatedCamera::getConfiguredFrameSize(int* outWidth, in getConfiguredFrameSize()
823 status_t EmulatedCamera::doStartPreview() in doStartPreview()
880 status_t EmulatedCamera::doStopPreview() in doStopPreview()
905 status_t EmulatedCamera::cleanupCamera() in cleanupCamera()
948 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window()
951 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in set_preview_window()
959 void EmulatedCamera::set_callbacks( in set_callbacks()
967 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in set_callbacks()
975 void EmulatedCamera::enable_msg_type(struct camera_device* dev, int32_t msg_type) in enable_msg_type()
977 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in enable_msg_type()
985 void EmulatedCamera::disable_msg_type(struct camera_device* dev, int32_t msg_type) in disable_msg_type()
987 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in disable_msg_type()
995 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, int32_t msg_type) in msg_type_enabled()
997 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in msg_type_enabled()
1005 int EmulatedCamera::start_preview(struct camera_device* dev) in start_preview()
1007 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in start_preview()
1015 void EmulatedCamera::stop_preview(struct camera_device* dev) in stop_preview()
1017 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in stop_preview()
1025 int EmulatedCamera::preview_enabled(struct camera_device* dev) in preview_enabled()
1027 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in preview_enabled()
1035 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers()
1038 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in store_meta_data_in_buffers()
1046 int EmulatedCamera::start_recording(struct camera_device* dev) in start_recording()
1048 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in start_recording()
1056 void EmulatedCamera::stop_recording(struct camera_device* dev) in stop_recording()
1058 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in stop_recording()
1066 int EmulatedCamera::recording_enabled(struct camera_device* dev) in recording_enabled()
1068 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in recording_enabled()
1076 void EmulatedCamera::release_recording_frame(struct camera_device* dev, in release_recording_frame()
1079 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in release_recording_frame()
1087 int EmulatedCamera::auto_focus(struct camera_device* dev) in auto_focus()
1089 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in auto_focus()
1097 int EmulatedCamera::cancel_auto_focus(struct camera_device* dev) in cancel_auto_focus()
1099 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in cancel_auto_focus()
1107 int EmulatedCamera::take_picture(struct camera_device* dev) in take_picture()
1109 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in take_picture()
1117 int EmulatedCamera::cancel_picture(struct camera_device* dev) in cancel_picture()
1119 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in cancel_picture()
1127 int EmulatedCamera::set_parameters(struct camera_device* dev, const char* parms) in set_parameters()
1129 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in set_parameters()
1137 char* EmulatedCamera::get_parameters(struct camera_device* dev) in get_parameters()
1139 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in get_parameters()
1147 void EmulatedCamera::put_parameters(struct camera_device* dev, char* params) in put_parameters()
1149 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in put_parameters()
1157 int EmulatedCamera::send_command(struct camera_device* dev, in send_command()
1162 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in send_command()
1170 void EmulatedCamera::release(struct camera_device* dev) in release()
1172 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in release()
1180 int EmulatedCamera::dump(struct camera_device* dev, int fd) in dump()
1182 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); in dump()
1190 int EmulatedCamera::close(struct hw_device_t* device) in close()
1192 EmulatedCamera* ec = in close()
1193 reinterpret_cast<EmulatedCamera*>(reinterpret_cast<struct camera_device*>(device)->priv); in close()
1205 camera_device_ops_t EmulatedCamera::mDeviceOps = {
1206 EmulatedCamera::set_preview_window,
1207 EmulatedCamera::set_callbacks,
1208 EmulatedCamera::enable_msg_type,
1209 EmulatedCamera::disable_msg_type,
1210 EmulatedCamera::msg_type_enabled,
1211 EmulatedCamera::start_preview,
1212 EmulatedCamera::stop_preview,
1213 EmulatedCamera::preview_enabled,
1214 EmulatedCamera::store_meta_data_in_buffers,
1215 EmulatedCamera::start_recording,
1216 EmulatedCamera::stop_recording,
1217 EmulatedCamera::recording_enabled,
1218 EmulatedCamera::release_recording_frame,
1219 EmulatedCamera::auto_focus,
1220 EmulatedCamera::cancel_auto_focus,
1221 EmulatedCamera::take_picture,
1222 EmulatedCamera::cancel_picture,
1223 EmulatedCamera::set_parameters,
1224 EmulatedCamera::get_parameters,
1225 EmulatedCamera::put_parameters,
1226 EmulatedCamera::send_command,
1227 EmulatedCamera::release,
1228 EmulatedCamera::dump
1235 const char EmulatedCamera::FACING_KEY[] = "prop-facing";
1236 const char EmulatedCamera::ORIENTATION_KEY[] = "prop-orientation";
1237 const char EmulatedCamera::RECORDING_HINT_KEY[] = "recording-hint";
1243 const char EmulatedCamera::FACING_BACK[] = "back";
1244 const char EmulatedCamera::FACING_FRONT[] = "front";