/external/libxcam/xcore/ |
D | x3a_analyzer.cpp | 163 XCAM_ASSERT (_awb_handler.ptr()); in set_awb_mode() 170 XCAM_ASSERT (_awb_handler.ptr()); in set_awb_speed() 177 XCAM_ASSERT (_awb_handler.ptr()); in set_awb_color_temperature_range() 184 XCAM_ASSERT (_awb_handler.ptr()); in set_awb_manual_gain() 192 XCAM_ASSERT (_ae_handler.ptr()); in set_ae_mode() 199 XCAM_ASSERT (_ae_handler.ptr()); in set_ae_metering_mode() 206 XCAM_ASSERT (_ae_handler.ptr()); in set_ae_window() 213 XCAM_ASSERT (_ae_handler.ptr()); in set_ae_ev_shift() 220 XCAM_ASSERT (_ae_handler.ptr()); in set_ae_speed() 227 XCAM_ASSERT (_ae_handler.ptr()); in set_ae_flicker_mode() [all …]
|
D | buffer_pool.cpp | 29 XCAM_ASSERT (data.ptr ()); in BufferProxy() 35 XCAM_ASSERT (data.ptr ()); in BufferProxy() 49 XCAM_ASSERT (_data.ptr ()); in map() 56 XCAM_ASSERT (_data.ptr ()); in unmap() 63 XCAM_ASSERT (_data.ptr ()); in get_fd() 104 XCAM_ASSERT (max_count); in reserve() 140 XCAM_ASSERT (_allocated_num <= _max_count || !_max_count); in add_data_unsafe() 156 XCAM_ASSERT (self.ptr () == this); in get_buffer() 213 XCAM_ASSERT (data.ptr ()); in create_buffer_from_data()
|
D | xcam_buffer.cpp | 33 XCAM_ASSERT (info && format); in xcam_video_buffer_info_reset() 34 XCAM_ASSERT (!aligned_width || aligned_width >= width); in xcam_video_buffer_info_reset() 35 XCAM_ASSERT (!aligned_height || aligned_height >= height); in xcam_video_buffer_info_reset() 206 XCAM_ASSERT (size >= image_size); in xcam_video_buffer_info_reset() 217 XCAM_ASSERT (buf_info); in xcam_video_buffer_get_planar_info() 218 XCAM_ASSERT (planar_info); in xcam_video_buffer_get_planar_info() 226 XCAM_ASSERT (index <= 1); in xcam_video_buffer_get_planar_info() 249 XCAM_ASSERT (index <= 0); in xcam_video_buffer_get_planar_info() 253 XCAM_ASSERT (index <= 0); in xcam_video_buffer_get_planar_info() 264 XCAM_ASSERT (index <= 0); in xcam_video_buffer_get_planar_info() [all …]
|
D | smart_buffer_priv.cpp | 59 XCAM_ASSERT (buf.ptr ()); in SmartBufferPriv() 91 XCAM_ASSERT (buf->_ref); in buf_ref() 100 XCAM_ASSERT (buf->_ref); in buf_unref() 112 XCAM_ASSERT (buf->_buf_ptr.ptr ()); in buf_map() 120 XCAM_ASSERT (buf->_buf_ptr.ptr ()); in buf_unmap() 128 XCAM_ASSERT (buf->_buf_ptr.ptr ()); in buf_get_fd() 137 XCAM_ASSERT (buf->_buf_ptr.ptr ()); in buf_get_bo() 159 XCAM_ASSERT (priv_buf); in convert_to_external_buffer()
|
D | thread_pool.cpp | 49 XCAM_ASSERT (_pool.ptr ()); in started() 63 XCAM_ASSERT (_pool.ptr ()); in loop() 78 XCAM_ASSERT (_pool->_free_threads > 0); in loop() 166 XCAM_ASSERT (_allocated_threads == _min_threads); in start() 189 XCAM_ASSERT (t.ptr ()); in stop() 199 XCAM_ASSERT (t.ptr ()); in stop() 218 XCAM_ASSERT (thread.ptr ()); in create_user_thread_unsafe() 227 XCAM_ASSERT (_free_threads <= _allocated_threads); in create_user_thread_unsafe() 235 XCAM_ASSERT (data.ptr ()); in queue()
|
D | x3a_image_process_center.cpp | 39 XCAM_ASSERT (!_callback); in set_image_callback() 72 XCAM_ASSERT (processor.ptr()); in start() 97 XCAM_ASSERT (processor.ptr()); in stop() 110 XCAM_ASSERT (!_image_processors.empty()); in put_buffer() 132 XCAM_ASSERT (processor.ptr()); in put_3a_results() 163 XCAM_ASSERT (processor.ptr()); in put_3a_result() 190 XCAM_ASSERT (cur_pro.ptr()); in process_buffer_done() 195 XCAM_ASSERT (i_pro != _image_processors.end()); in process_buffer_done() 204 XCAM_ASSERT (next_processor.ptr()); in process_buffer_done()
|
D | smart_analysis_handler.cpp | 59 XCAM_ASSERT (!_context); in create_context() 60 XCAM_ASSERT (self.ptr () == this); in create_context() 104 XCAM_ASSERT (context); in post_aync_results() 142 XCAM_ASSERT (_context); in update_params() 161 XCAM_ASSERT (buffer.ptr ()); in analyze() 162 XCAM_ASSERT (_context); in analyze() 163 XCAM_ASSERT (video_buffer); in analyze() 167 XCAM_ASSERT (video_buffer->unref); in analyze()
|
D | device_manager.cpp | 95 XCAM_ASSERT (device.ptr () && !_device.ptr ()); in set_capture_device() 106 XCAM_ASSERT (device.ptr () && !_subdevice.ptr ()); in set_event_device() 117 XCAM_ASSERT (analyzer.ptr () && !_3a_analyzer.ptr ()); in set_3a_analyzer() 129 XCAM_ASSERT (analyzer.ptr () && !_smart_analyzer.ptr ()); in set_smart_analyzer() 141 XCAM_ASSERT (processor.ptr ()); in add_image_processor() 151 XCAM_ASSERT (thread.ptr () && !_poll_thread.ptr ()); in set_poll_thread() 162 XCAM_ASSERT (_device->is_opened()); in start() 226 XCAM_ASSERT (_poll_thread.ptr ()); in start() 277 XCAM_ASSERT (_3a_analyzer.ptr()); in x3a_stats_ready() 291 XCAM_ASSERT (false); in dvs_stats_ready()
|
D | smartptr.h | 69 XCAM_ASSERT (obj); in generate_ref_count() 106 XCAM_ASSERT (_ptr); in SmartPtr() 116 XCAM_ASSERT (_ptr); in SmartPtr() 163 XCAM_ASSERT (_ref); in release() 166 XCAM_ASSERT (dynamic_cast<RefCount*>(_ref)); in release() 169 XCAM_ASSERT (dynamic_cast<Obj*>(_ref) == _ptr); in release() 211 XCAM_ASSERT (_ref); in init_ref()
|
/external/libxcam/modules/soft/ |
D | soft_blender.cpp | 128 XCAM_ASSERT (image.ptr ()); in dump_soft() 153 XCAM_ASSERT (name); in dump_level_buf() 175 XCAM_ASSERT (_priv_config.ptr ()); in SoftBlender() 185 XCAM_ASSERT (num > 0); in set_pyr_levels() 259 XCAM_ASSERT (orig_mask.ptr ()); in init_first_masks() 260 XCAM_ASSERT (orig_mask->is_valid ()); in init_first_masks() 266 XCAM_ASSERT (quater > 1); in init_first_masks() 299 XCAM_ASSERT (width % SOFT_BLENDER_ALIGNMENT_X == 0); in scale_down_masks() 300 XCAM_ASSERT (height % SOFT_BLENDER_ALIGNMENT_Y == 0); in scale_down_masks() 303 XCAM_ASSERT (pyr_layer[level].coef_mask.ptr ()); in scale_down_masks() [all …]
|
D | soft_handler.cpp | 105 XCAM_ASSERT (info.width && info.height && info.format); in set_out_video_info() 122 XCAM_ASSERT (_need_configure); in confirm_configured() 178 XCAM_ASSERT (!param->find_meta<SyncMeta> ().ptr ()); in execute_buffer() 180 XCAM_ASSERT (sync_meta.ptr ()); in execute_buffer() 212 XCAM_ASSERT (sync_meta.ptr ()); in execute_buffer() 228 XCAM_ASSERT (_params.is_empty ()); in finish() 251 XCAM_ASSERT (param.ptr ()); in work_well_done() 252 XCAM_ASSERT (xcam_ret_is_ok (err)); in work_well_done() 273 XCAM_ASSERT (param.ptr ()); in work_broken() 274 XCAM_ASSERT (!xcam_ret_is_ok (err)); in work_broken() [all …]
|
/external/libxcam/modules/isp/ |
D | aiq3a_utils.cpp | 30 XCAM_ASSERT (from); in translate_3a_stats() 31 XCAM_ASSERT (to); in translate_3a_stats() 37 XCAM_ASSERT (to_info.bqs_per_grid_cell == 8); in translate_3a_stats() 86 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters() 89 XCAM_ASSERT (wb); in translate_atomisp_parameters() 102 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters() 105 XCAM_ASSERT (blc); in translate_atomisp_parameters() 119 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters() 135 XCAM_ASSERT (cm); in translate_atomisp_parameters() 150 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters() [all …]
|
D | x3a_statistics_queue.cpp | 32 XCAM_ASSERT (_isp_data); in X3aIspStatsData() 51 XCAM_ASSERT (_isp_data && _isp_data->data); in fill_standard_stats() 52 XCAM_ASSERT (standard_stats); in fill_standard_stats() 66 XCAM_ASSERT (isp_info.width == standard_info.width); in fill_standard_stats() 67 XCAM_ASSERT (isp_info.height == standard_info.height); in fill_standard_stats() 92 XCAM_ASSERT (hist_bins == 256); in fill_standard_stats() 177 XCAM_ASSERT (_grid_info.width && _grid_info.height); in alloc_isp_statsictics() 178 XCAM_ASSERT (_grid_info.aligned_width && _grid_info.aligned_height); in alloc_isp_statsictics() 184 XCAM_ASSERT (stats); in alloc_isp_statsictics() 186 XCAM_ASSERT (stats->data); in alloc_isp_statsictics() [all …]
|
/external/libxcam/modules/ocl/ |
D | cl_context.cpp | 84 XCAM_ASSERT (event->get_event_id ()); in event_list_2_id_array() 123 XCAM_ASSERT (cmd_queue.ptr ()); in flush() 144 XCAM_ASSERT (cmd_queue.ptr ()); in finish() 164 XCAM_ASSERT (_context_id == NULL); in init_context() 187 XCAM_ASSERT (_cmd_queue_list.empty ()); in init_cmd_queue() 188 XCAM_ASSERT (self.ptr() == this); in init_cmd_queue() 202 XCAM_ASSERT (!_cmd_queue_list.empty ()); in get_default_cmd_queue() 225 XCAM_ASSERT (kernel.ptr ()); in execute_kernel() 241 XCAM_ASSERT (cmd_queue.ptr ()); in execute_kernel() 279 XCAM_ASSERT (event.ptr () && event->get_event_id ()); in set_event_callback() [all …]
|
D | cl_3a_image_processor.cpp | 61 XCAM_ASSERT (callback.ptr ()); in set_stats_callback() 157 XCAM_ASSERT (wb_res.ptr ()); in apply_3a_result() 167 XCAM_ASSERT (bl_res.ptr ()); in apply_3a_result() 177 XCAM_ASSERT (def_res.ptr ()); in apply_3a_result() 184 XCAM_ASSERT (csc_res.ptr ()); in apply_3a_result() 198 XCAM_ASSERT (macc_res.ptr ()); in apply_3a_result() 212 XCAM_ASSERT (gamma_res.ptr ()); in apply_3a_result() 222 XCAM_ASSERT (nr_res.ptr ()); in apply_3a_result() 230 XCAM_ASSERT (tnr_res.ptr ()); in apply_3a_result() 240 XCAM_ASSERT (ee_ee_res.ptr ()); in apply_3a_result() [all …]
|
D | cl_pyramid_blender.cpp | 140 XCAM_ASSERT (scale < 512); in get_gauss_coeffs() 166 XCAM_ASSERT (coeff); in gauss_blur_buffer() 172 XCAM_ASSERT (tmp_ptr); in gauss_blur_buffer() 229 XCAM_ASSERT (layer < _layers); in get_gauss_image() 230 XCAM_ASSERT (buf_index < XCAM_BLENDER_IMAGE_NUM); in get_gauss_image() 238 XCAM_ASSERT (layer < _layers); in get_lap_image() 239 XCAM_ASSERT (buf_index < XCAM_BLENDER_IMAGE_NUM); in get_lap_image() 248 XCAM_ASSERT (layer < _layers); in get_blend_image() 257 XCAM_ASSERT (layer < _layers); in get_reconstruct_image() 272 XCAM_ASSERT (layer < _layers); in get_blend_mask() [all …]
|
D | cl_image_processor.cpp | 47 XCAM_ASSERT (_processor); in loop() 72 XCAM_ASSERT (_processor); in loop() 84 XCAM_ASSERT (_context.ptr()); in CLImageProcessor() 87 XCAM_ASSERT (_handler_thread.ptr ()); in CLImageProcessor() 90 XCAM_ASSERT (_done_buf_thread.ptr ()); in CLImageProcessor() 110 XCAM_ASSERT (handler.ptr ()); in add_handler() 158 XCAM_ASSERT (input.ptr ()); in process_buffer() 210 XCAM_ASSERT (buf.ptr () && buf->handler.ptr ()); in check_ready_buffers() 248 XCAM_ASSERT (data.ptr () && handler.ptr ()); in process_cl_buffer_queue() 271 XCAM_ASSERT (out_data.ptr ()); in process_cl_buffer_queue()
|
D | cl_video_buffer.cpp | 32 XCAM_ASSERT (body.ptr ()); in CLVideoBufferData() 85 XCAM_ASSERT (data.ptr ()); in CLVideoBuffer() 88 XCAM_ASSERT (cl_buf.ptr ()); in CLVideoBuffer() 131 XCAM_ASSERT (buf.ptr ()); in allocate_data() 142 XCAM_ASSERT (cl_data.ptr ()); in create_buffer_from_data() 145 XCAM_ASSERT (buf.ptr ()); in create_buffer_from_data()
|
/external/libxcam/plugins/3a/aiq/ |
D | aiq_wrapper.cpp | 90 XCAM_ASSERT (!_analyzer.ptr ()); in setup_analyzer() 92 XCAM_ASSERT (aiq_analyzer.ptr ()); in setup_analyzer() 95 XCAM_ASSERT (_analyzer.ptr ()); in setup_analyzer() 116 XCAM_ASSERT (_stats_pool.ptr ()); in setup_stats_pool() 204 XCAM_ASSERT (context); in xcam_create_context() 266 XCAM_ASSERT (aiq_context); in xcam_configure_3a() 307 XCAM_ASSERT (aiq_context); in xcam_set_3a_stats() 310 XCAM_ASSERT (analyzer.ptr ()); in xcam_set_3a_stats() 311 XCAM_ASSERT (stats); in xcam_set_3a_stats() 330 XCAM_ASSERT (raw_stats); in xcam_set_3a_stats() [all …]
|
/external/libxcam/wrapper/gstreamer/ |
D | gstxcambufferpool.cpp | 107 XCAM_ASSERT (pool); in gst_xcam_buffer_pool_finalize() 120 XCAM_ASSERT (pool); in gst_xcam_buffer_pool_start() 122 XCAM_ASSERT (device_manager.ptr ()); in gst_xcam_buffer_pool_start() 131 XCAM_ASSERT (pool); in gst_xcam_buffer_pool_stop() 133 XCAM_ASSERT (device_manager.ptr ()); in gst_xcam_buffer_pool_stop() 144 XCAM_ASSERT (pool); in gst_xcam_buffer_pool_set_config() 163 XCAM_ASSERT (pool); in gst_xcam_buffer_pool_acquire_buffer() 184 XCAM_ASSERT (meta); in gst_xcam_buffer_pool_acquire_buffer() 202 XCAM_ASSERT (mem); in gst_xcam_buffer_pool_acquire_buffer() 214 XCAM_ASSERT (video_meta); in gst_xcam_buffer_pool_acquire_buffer() [all …]
|
/external/libxcam/tests/ |
D | test-device-manager.cpp | 396 XCAM_ASSERT (optarg); in main() 417 XCAM_ASSERT (optarg); in main() 431 XCAM_ASSERT (optarg); in main() 435 XCAM_ASSERT (optarg); in main() 439 XCAM_ASSERT (optarg); in main() 447 XCAM_ASSERT (optarg); in main() 458 XCAM_ASSERT (optarg); in main() 464 XCAM_ASSERT (optarg); in main() 468 XCAM_ASSERT (optarg); in main() 473 XCAM_ASSERT (optarg); in main() [all …]
|
D | test-cl-image.cpp | 269 XCAM_ASSERT (kernel_loop_count >= 0 && kernel_loop_count < INT32_MAX); in main() 338 XCAM_ASSERT (binary); in main() 358 XCAM_ASSERT (csc_handler.ptr ()); in main() 365 XCAM_ASSERT (bayer_pipe.ptr ()); in main() 373 XCAM_ASSERT (yuv_pipe.ptr ()); in main() 379 XCAM_ASSERT (tonemapping_pipe.ptr ()); in main() 385 XCAM_ASSERT (retinex.ptr ()); in main() 391 XCAM_ASSERT (gauss.ptr ()); in main() 397 XCAM_ASSERT (wavelet.ptr ()); in main() 410 XCAM_ASSERT (wavelet.ptr ()); in main() [all …]
|
D | test-pipe-manager.cpp | 243 XCAM_ASSERT (optarg); in main() 252 XCAM_ASSERT (optarg); in main() 257 XCAM_ASSERT (optarg); in main() 262 XCAM_ASSERT (optarg); in main() 268 XCAM_ASSERT (optarg); in main() 282 XCAM_ASSERT (optarg); in main() 312 XCAM_ASSERT (optarg); in main() 335 XCAM_ASSERT (optarg); in main() 389 XCAM_ASSERT ((*i_handler).ptr ()); in main() 420 XCAM_ASSERT (buf_pool.ptr ()); in main() [all …]
|
/external/libxcam/modules/isp/iq/ |
D | x3a_analyze_tuner.cpp | 44 XCAM_ASSERT (analyzer.ptr () && !_analyzer.ptr ()); in set_analyzer() 94 XCAM_ASSERT (handler.ptr ()); in add_handler() 104 XCAM_ASSERT (_analyzer.ptr ()); in analyze_ae() 114 XCAM_ASSERT (_analyzer.ptr ()); in analyze_awb() 124 XCAM_ASSERT (_analyzer.ptr ()); in analyze_af() 134 XCAM_ASSERT (_analyzer.ptr ()); in analyze_common() 170 XCAM_ASSERT (_analyzer.ptr ()); in internal_init() 184 XCAM_ASSERT (_analyzer.ptr ()); in internal_deinit() 195 XCAM_ASSERT (_analyzer.ptr ()); in configure_3a() 219 XCAM_ASSERT (_analyzer.ptr ()); in post_3a_analyze()
|
/external/libxcam/plugins/smart/sample/ |
D | sample_smart_analysis.cpp | 214 XCAM_ASSERT (!_callback); in set_results_callback() 306 XCAM_ASSERT (!_handler.ptr ()); in setup_handler() 308 XCAM_ASSERT (_handler.ptr ()); in setup_handler() 337 XCAM_ASSERT (context); in xcam_create_context() 359 XCAM_ASSERT (analysis_context); in xcam_update_params() 362 XCAM_ASSERT (handler.ptr ()); in xcam_update_params() 363 XCAM_ASSERT (params); in xcam_update_params() 377 XCAM_ASSERT (analysis_context); in xcam_get_results() 389 XCAM_ASSERT (result_count < XCAM_3A_MAX_RESULT_COUNT); in xcam_get_results() 396 XCAM_ASSERT (result_count > 0); in xcam_get_results() [all …]
|