Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c564 const cam_dimension_t* preview_dim) in mm_app_get_analysis_stream_dim() argument
571 if (preview_dim->width > max_analysis_dim.width || in mm_app_get_analysis_stream_dim()
572 preview_dim->height > max_analysis_dim.height) { in mm_app_get_analysis_stream_dim()
576 requested_ratio = (double)preview_dim->width / (double)preview_dim->height; in mm_app_get_analysis_stream_dim()
588 analysis_dim = *preview_dim; in mm_app_get_analysis_stream_dim()
604 cam_dimension_t preview_dim = {0, 0}; in mm_app_add_analysis_stream() local
616 preview_dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_analysis_stream()
617 preview_dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_analysis_stream()
619 preview_dim.width = test_obj->preview_resolution.user_input_display_width; in mm_app_add_analysis_stream()
620 preview_dim.height = test_obj->preview_resolution.user_input_display_height; in mm_app_add_analysis_stream()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp948 cam_dimension_t preview_dim; in sendPreviewCallback() local
981 stream->getFrameDimension(preview_dim); in sendPreviewCallback()
984 yStrideToApp = preview_dim.width; in sendPreviewCallback()
985 yScanlineToApp = preview_dim.height; in sendPreviewCallback()
1039 for (i = 0; i < preview_dim.height; i++) { in sendPreviewCallback()
1051 for (i = 0; i < preview_dim.height/2; i++) { in sendPreviewCallback()