Searched refs:preview_dim (Results 1 – 3 of 3) sorted by relevance
669 const cam_dimension_t* preview_dim) in mm_app_get_analysis_stream_dim() argument676 if (preview_dim->width > max_analysis_dim.width || in mm_app_get_analysis_stream_dim()677 preview_dim->height > max_analysis_dim.height) { in mm_app_get_analysis_stream_dim()681 requested_ratio = (double)preview_dim->width / (double)preview_dim->height; in mm_app_get_analysis_stream_dim()693 analysis_dim = *preview_dim; in mm_app_get_analysis_stream_dim()709 cam_dimension_t preview_dim = {0, 0}; in mm_app_add_analysis_stream() local714 preview_dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_analysis_stream()715 preview_dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_analysis_stream()717 preview_dim.width = test_obj->preview_resolution.user_input_display_width; in mm_app_add_analysis_stream()718 preview_dim.height = test_obj->preview_resolution.user_input_display_height; in mm_app_add_analysis_stream()[all …]
344 cam_dimension_t preview_dim = {0, 0}; in mm_app_add_video_preview_stream() local348 preview_dim.width = DEFAULT_PREVIEW_WIDTH; in mm_app_add_video_preview_stream()349 preview_dim.height = DEFAULT_PREVIEW_HEIGHT; in mm_app_add_video_preview_stream()351 preview_dim.width = test_obj->preview_resolution.user_input_display_width; in mm_app_add_video_preview_stream()352 preview_dim.height = test_obj->preview_resolution.user_input_display_height; in mm_app_add_video_preview_stream()354 LOGI("preview dimesion: %d x %d\n", preview_dim.width, preview_dim.height); in mm_app_add_video_preview_stream()379 stream->s_config.stream_info->dim.width = preview_dim.width; in mm_app_add_video_preview_stream()380 stream->s_config.stream_info->dim.height = preview_dim.height; in mm_app_add_video_preview_stream()
981 cam_dimension_t preview_dim; in sendPreviewCallback() local1014 stream->getFrameDimension(preview_dim); in sendPreviewCallback()1017 yStrideToApp = preview_dim.width; in sendPreviewCallback()1018 yScanlineToApp = preview_dim.height; in sendPreviewCallback()1072 for (i = 0; i < preview_dim.height; i++) { in sendPreviewCallback()1084 for (i = 0; i < preview_dim.height/2; i++) { in sendPreviewCallback()