Home | History | Annotate | Download | only in camera

Lines Matching defs:EmulatedCamera2

29 #include "EmulatedCamera2.h"
34 /* Constructs EmulatedCamera2 instance.
40 EmulatedCamera2::EmulatedCamera2(int cameraId,
47 common.close = EmulatedCamera2::close;
57 EmulatedCamera2::get_camera_vendor_section_name;
59 EmulatedCamera2::get_camera_vendor_tag_name;
61 EmulatedCamera2::get_camera_vendor_tag_type;
67 /* Destructs EmulatedCamera2 instance. */
68 EmulatedCamera2::~EmulatedCamera2() {
79 status_t EmulatedCamera2::Initialize() {
87 status_t EmulatedCamera2::connectCamera(hw_device_t** device) {
92 status_t EmulatedCamera2::closeCamera() {
96 status_t EmulatedCamera2::getCameraInfo(struct camera_info* info) {
107 int EmulatedCamera2::requestQueueNotify() {
112 int EmulatedCamera2::getInProgressCount() {
117 int EmulatedCamera2::flushCapturesInProgress() {
122 int EmulatedCamera2::constructDefaultRequest(
130 int EmulatedCamera2::allocateStream(
142 int EmulatedCamera2::registerStreamBuffers(
150 int EmulatedCamera2::releaseStream(uint32_t stream_id) {
156 int EmulatedCamera2::allocateReprocessStream(
167 int EmulatedCamera2::allocateReprocessStreamFromStream(
174 int EmulatedCamera2::releaseReprocessStream(uint32_t stream_id) {
180 int EmulatedCamera2::triggerAction(uint32_t trigger_id,
187 const char* EmulatedCamera2::getVendorSectionName(uint32_t tag) {
191 const char* EmulatedCamera2::getVendorTagName(uint32_t tag) {
195 int EmulatedCamera2::getVendorTagType(uint32_t tag) {
201 int EmulatedCamera2::dump(int fd) {
213 * dispatch the call into an instance of EmulatedCamera2 class defined by the
217 EmulatedCamera2* getInstance(const camera2_device_t *d) {
218 const EmulatedCamera2* cec = static_cast<const EmulatedCamera2*>(d);
219 return const_cast<EmulatedCamera2*>(cec);
222 int EmulatedCamera2::set_request_queue_src_ops(const camera2_device_t *d,
224 EmulatedCamera2* ec = getInstance(d);
229 int EmulatedCamera2::notify_request_queue_not_empty(const camera2_device_t *d) {
230 EmulatedCamera2* ec = getInstance(d);
234 int EmulatedCamera2::set_frame_queue_dst_ops(const camera2_device_t *d,
236 EmulatedCamera2* ec = getInstance(d);
241 int EmulatedCamera2::get_in_progress_count(const camera2_device_t *d) {
242 EmulatedCamera2* ec = getInstance(d);
246 int EmulatedCamera2::flush_captures_in_progress(const camera2_device_t *d) {
247 EmulatedCamera2* ec = getInstance(d);
251 int EmulatedCamera2::construct_default_request(const camera2_device_t *d,
254 EmulatedCamera2* ec = getInstance(d);
258 int EmulatedCamera2::allocate_stream(const camera2_device_t *d,
267 EmulatedCamera2* ec = getInstance(d);
272 int EmulatedCamera2::register_stream_buffers(const camera2_device_t *d,
276 EmulatedCamera2* ec = getInstance(d);
281 int EmulatedCamera2::release_stream(const camera2_device_t *d,
283 EmulatedCamera2* ec = getInstance(d);
287 int EmulatedCamera2::allocate_reprocess_stream(const camera2_device_t *d,
295 EmulatedCamera2* ec = getInstance(d);
300 int EmulatedCamera2::allocate_reprocess_stream_from_stream(
305 EmulatedCamera2* ec = getInstance(d);
311 int EmulatedCamera2::release_reprocess_stream(const camera2_device_t *d,
313 EmulatedCamera2* ec = getInstance(d);
317 int EmulatedCamera2::trigger_action(const camera2_device_t *d,
321 EmulatedCamera2* ec = getInstance(d);
325 int EmulatedCamera2::set_notify_callback(const camera2_device_t *d,
327 EmulatedCamera2* ec = getInstance(d);
334 int EmulatedCamera2::get_metadata_vendor_tag_ops(const camera2_device_t *d,
336 EmulatedCamera2* ec = getInstance(d);
342 const char* EmulatedCamera2::get_camera_vendor_section_name(
345 EmulatedCamera2* ec = static_cast<const TagOps*>(v)->parent;
349 const char* EmulatedCamera2::get_camera_vendor_tag_name(
352 EmulatedCamera2* ec = static_cast<const TagOps*>(v)->parent;
356 int EmulatedCamera2::get_camera_vendor_tag_type(
359 EmulatedCamera2* ec = static_cast<const TagOps*>(v)->parent;
363 int EmulatedCamera2::dump(const camera2_device_t *d, int fd) {
364 EmulatedCamera2* ec = getInstance(d);
368 int EmulatedCamera2::close(struct hw_device_t* device) {
369 EmulatedCamera2* ec =
370 static_cast<EmulatedCamera2*>(
379 void EmulatedCamera2::sendNotification(int32_t msgType,
391 camera2_device_ops_t EmulatedCamera2::sDeviceOps = {
392 EmulatedCamera2::set_request_queue_src_ops,
393 EmulatedCamera2::notify_request_queue_not_empty,
394 EmulatedCamera2::set_frame_queue_dst_ops,
395 EmulatedCamera2::get_in_progress_count,
396 EmulatedCamera2::flush_captures_in_progress,
397 EmulatedCamera2::construct_default_request,
398 EmulatedCamera2::allocate_stream,
399 EmulatedCamera2::register_stream_buffers,
400 EmulatedCamera2::release_stream,
401 EmulatedCamera2::allocate_reprocess_stream,
402 EmulatedCamera2::allocate_reprocess_stream_from_stream,
403 EmulatedCamera2::release_reprocess_stream,
404 EmulatedCamera2::trigger_action,
405 EmulatedCamera2::set_notify_callback,
406 EmulatedCamera2::get_metadata_vendor_tag_ops,
407 EmulatedCamera2::dump