Skip to content

Conversation

Wovchena
Copy link
Collaborator

Detected by Coverity

@Wovchena Wovchena requested review from likholat and Copilot July 21, 2025 08:07
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR corrects argument order issues detected by Coverity static analysis. The main purpose is to fix the parameter order when calling check_image_size() across multiple image generation pipeline classes, swapping width and height arguments to match the expected function signature.

  • Fixed argument order in check_image_size() calls across 5 image generation pipeline classes
  • Refactored create_streamer() function to directly return the result instead of using an intermediate variable

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/cpp/src/utils.cpp Simplified return logic in create_streamer() function
src/cpp/src/image_generation/stable_diffusion_xl_pipeline.hpp Fixed argument order in check_image_size() call
src/cpp/src/image_generation/stable_diffusion_pipeline.hpp Fixed argument order in check_image_size() call
src/cpp/src/image_generation/stable_diffusion_3_pipeline.hpp Fixed argument order in check_image_size() call
src/cpp/src/image_generation/flux_pipeline.hpp Fixed argument order in check_image_size() call
src/cpp/src/image_generation/flux_fill_pipeline.hpp Fixed argument order in check_image_size() call

@Wovchena Wovchena enabled auto-merge July 21, 2025 08:12
@Wovchena Wovchena added this pull request to the merge queue Jul 25, 2025
Merged via the queue into openvinotoolkit:master with commit 7d3d6c7 Jul 25, 2025
99 of 101 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants