Lines Matching refs:EmulatedCamera2
40 EmulatedCamera2::EmulatedCamera2(int cameraId, struct hw_module_t *module) in EmulatedCamera2() function in android::EmulatedCamera2
43 common.close = EmulatedCamera2::close; in EmulatedCamera2()
53 EmulatedCamera2::get_camera_vendor_section_name; in EmulatedCamera2()
55 EmulatedCamera2::get_camera_vendor_tag_name; in EmulatedCamera2()
57 EmulatedCamera2::get_camera_vendor_tag_type; in EmulatedCamera2()
64 EmulatedCamera2::~EmulatedCamera2() {} in ~EmulatedCamera2()
74 status_t EmulatedCamera2::Initialize(const cuttlefish::CameraDefinition & /*props*/) { in Initialize()
82 status_t EmulatedCamera2::connectCamera(hw_device_t **device) { in connectCamera()
87 status_t EmulatedCamera2::closeCamera() { return NO_ERROR; } in closeCamera()
89 status_t EmulatedCamera2::getCameraInfo(struct camera_info *info) { in getCameraInfo()
100 int EmulatedCamera2::requestQueueNotify() { return INVALID_OPERATION; } in requestQueueNotify()
103 int EmulatedCamera2::getInProgressCount() { return INVALID_OPERATION; } in getInProgressCount()
106 int EmulatedCamera2::flushCapturesInProgress() { return INVALID_OPERATION; } in flushCapturesInProgress()
109 int EmulatedCamera2::constructDefaultRequest(int /*request_template*/, in constructDefaultRequest()
116 int EmulatedCamera2::allocateStream(uint32_t /*width*/, uint32_t /*height*/, in allocateStream()
126 int EmulatedCamera2::registerStreamBuffers(uint32_t /*stream_id*/, in registerStreamBuffers()
132 int EmulatedCamera2::releaseStream(uint32_t /*stream_id*/) { in releaseStream()
138 int EmulatedCamera2::allocateReprocessStream( in allocateReprocessStream()
146 int EmulatedCamera2::allocateReprocessStreamFromStream( in allocateReprocessStreamFromStream()
153 int EmulatedCamera2::releaseReprocessStream(uint32_t /*stream_id*/) { in releaseReprocessStream()
159 int EmulatedCamera2::triggerAction(uint32_t /*trigger_id*/, int /*ext1*/, in triggerAction()
166 const char *EmulatedCamera2::getVendorSectionName(uint32_t /*tag*/) { in getVendorSectionName()
170 const char *EmulatedCamera2::getVendorTagName(uint32_t /*tag*/) { return NULL; } in getVendorTagName()
172 int EmulatedCamera2::getVendorTagType(uint32_t /*tag*/) { return -1; } in getVendorTagType()
176 int EmulatedCamera2::dump(int /*fd*/) { return INVALID_OPERATION; } in dump()
190 EmulatedCamera2 *getInstance(const camera2_device_t *d) { in getInstance()
191 const EmulatedCamera2 *cec = static_cast<const EmulatedCamera2 *>(d); in getInstance()
192 return const_cast<EmulatedCamera2 *>(cec); in getInstance()
195 int EmulatedCamera2::set_request_queue_src_ops( in set_request_queue_src_ops()
198 EmulatedCamera2 *ec = getInstance(d); in set_request_queue_src_ops()
203 int EmulatedCamera2::notify_request_queue_not_empty(const camera2_device_t *d) { in notify_request_queue_not_empty()
204 EmulatedCamera2 *ec = getInstance(d); in notify_request_queue_not_empty()
208 int EmulatedCamera2::set_frame_queue_dst_ops( in set_frame_queue_dst_ops()
211 EmulatedCamera2 *ec = getInstance(d); in set_frame_queue_dst_ops()
216 int EmulatedCamera2::get_in_progress_count(const camera2_device_t *d) { in get_in_progress_count()
217 EmulatedCamera2 *ec = getInstance(d); in get_in_progress_count()
221 int EmulatedCamera2::flush_captures_in_progress(const camera2_device_t *d) { in flush_captures_in_progress()
222 EmulatedCamera2 *ec = getInstance(d); in flush_captures_in_progress()
226 int EmulatedCamera2::construct_default_request(const camera2_device_t *d, in construct_default_request()
229 EmulatedCamera2 *ec = getInstance(d); in construct_default_request()
233 int EmulatedCamera2::allocate_stream(const camera2_device_t *d, uint32_t width, in allocate_stream()
239 EmulatedCamera2 *ec = getInstance(d); in allocate_stream()
244 int EmulatedCamera2::register_stream_buffers(const camera2_device_t *d, in register_stream_buffers()
248 EmulatedCamera2 *ec = getInstance(d); in register_stream_buffers()
251 int EmulatedCamera2::release_stream(const camera2_device_t *d, in release_stream()
253 EmulatedCamera2 *ec = getInstance(d); in release_stream()
257 int EmulatedCamera2::allocate_reprocess_stream( in allocate_reprocess_stream()
261 EmulatedCamera2 *ec = getInstance(d); in allocate_reprocess_stream()
267 int EmulatedCamera2::allocate_reprocess_stream_from_stream( in allocate_reprocess_stream_from_stream()
270 EmulatedCamera2 *ec = getInstance(d); in allocate_reprocess_stream_from_stream()
275 int EmulatedCamera2::release_reprocess_stream(const camera2_device_t *d, in release_reprocess_stream()
277 EmulatedCamera2 *ec = getInstance(d); in release_reprocess_stream()
281 int EmulatedCamera2::trigger_action(const camera2_device_t *d, in trigger_action()
283 EmulatedCamera2 *ec = getInstance(d); in trigger_action()
287 int EmulatedCamera2::set_notify_callback(const camera2_device_t *d, in set_notify_callback()
290 EmulatedCamera2 *ec = getInstance(d); in set_notify_callback()
297 int EmulatedCamera2::get_instance_metadata( in get_instance_metadata()
299 EmulatedCamera2 *ec = getInstance(d); in get_instance_metadata()
307 int EmulatedCamera2::get_metadata_vendor_tag_ops(const camera2_device_t *d, in get_metadata_vendor_tag_ops()
309 EmulatedCamera2 *ec = getInstance(d); in get_metadata_vendor_tag_ops()
314 const char *EmulatedCamera2::get_camera_vendor_section_name( in get_camera_vendor_section_name()
316 EmulatedCamera2 *ec = static_cast<const TagOps *>(v)->parent; in get_camera_vendor_section_name()
320 const char *EmulatedCamera2::get_camera_vendor_tag_name( in get_camera_vendor_tag_name()
322 EmulatedCamera2 *ec = static_cast<const TagOps *>(v)->parent; in get_camera_vendor_tag_name()
326 int EmulatedCamera2::get_camera_vendor_tag_type(const vendor_tag_query_ops_t *v, in get_camera_vendor_tag_type()
328 EmulatedCamera2 *ec = static_cast<const TagOps *>(v)->parent; in get_camera_vendor_tag_type()
332 int EmulatedCamera2::dump(const camera2_device_t *d, int fd) { in dump()
333 EmulatedCamera2 *ec = getInstance(d); in dump()
337 int EmulatedCamera2::close(struct hw_device_t *device) { in close()
338 EmulatedCamera2 *ec = static_cast<EmulatedCamera2 *>( in close()
347 void EmulatedCamera2::sendNotification(int32_t msgType, int32_t ext1, in sendNotification()
359 camera2_device_ops_t EmulatedCamera2::sDeviceOps = {
360 EmulatedCamera2::set_request_queue_src_ops,
361 EmulatedCamera2::notify_request_queue_not_empty,
362 EmulatedCamera2::set_frame_queue_dst_ops,
363 EmulatedCamera2::get_in_progress_count,
364 EmulatedCamera2::flush_captures_in_progress,
365 EmulatedCamera2::construct_default_request,
366 EmulatedCamera2::allocate_stream,
367 EmulatedCamera2::register_stream_buffers,
368 EmulatedCamera2::release_stream,
369 EmulatedCamera2::allocate_reprocess_stream,
370 EmulatedCamera2::allocate_reprocess_stream_from_stream,
371 EmulatedCamera2::release_reprocess_stream,
372 EmulatedCamera2::trigger_action,
373 EmulatedCamera2::set_notify_callback,
374 EmulatedCamera2::get_metadata_vendor_tag_ops,
375 EmulatedCamera2::dump,
377 EmulatedCamera2::get_instance_metadata,