Home
last modified time | relevance | path

Searched refs:analysis_dim (Results 1 – 1 of 1) sorted by relevance

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c569 cam_dimension_t analysis_dim = {0, 0}; in mm_app_get_analysis_stream_dim() local
579 analysis_dim.width = analysis_dim.width; in mm_app_get_analysis_stream_dim()
580 analysis_dim.height = (int32_t)((double)analysis_dim.width / requested_ratio); in mm_app_get_analysis_stream_dim()
582 analysis_dim.height = analysis_dim.height; in mm_app_get_analysis_stream_dim()
583 analysis_dim.width = (int32_t)((double)analysis_dim.height * requested_ratio); in mm_app_get_analysis_stream_dim()
585 analysis_dim.width &= ~0x1; in mm_app_get_analysis_stream_dim()
586 analysis_dim.height &= ~0x1; in mm_app_get_analysis_stream_dim()
588 analysis_dim = *preview_dim; in mm_app_get_analysis_stream_dim()
591 LOGI("analysis stream dim (%d x %d)\n", analysis_dim.width, analysis_dim.height); in mm_app_get_analysis_stream_dim()
592 return analysis_dim; in mm_app_get_analysis_stream_dim()
[all …]