Various small fixes - #330
Merged
morousg merged 1 commit intoAug 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bundles small fixes across the image-processing color conversion utilities, constexpr reduction helpers, and a couple of compile-time tests.
Changes:
- Simplifies/adjusts YUV→RGB conversion typing (including removal of the
ALPHAtemplate parameter inConvertYUVToRGB) and related pixel-type aliases. - Fixes constexpr binary reductions to support parameter packs of size 1.
- Fixes missing include dependency for
Image(usesReadYUV) and updates tests to the newConvertYUVToRGBsignature.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/operation/test_fused_operation.h | Updates compile-time fused-op test to new ConvertYUVToRGB template signature. |
| tests/buildAPI/batch_build_compilation_time.h | Updates build-API compilation test to new ConvertYUVToRGB template signature. |
| include/fused_kernel/core/constexpr_libs/constexpr_vector_exec.h | Adds a single-operand base case for variadic binary reductions. |
| include/fused_kernel/algorithms/image_processing/itu_color.h | Simplifies ColorDepthPixelType alias (drops alpha-related variant). |
| include/fused_kernel/algorithms/image_processing/image.h | Adds missing include for color conversion ops used by Image::readAt, and tweaks MemType parameter passing. |
| include/fused_kernel/algorithms/image_processing/color_conversion.h | Refactors ConvertYUVToRGB template/signature and adjusts alpha handling in AddOpaqueAlpha. |
morousg
deleted the
329-add-some-bugfixes-and-changes-from-cvgpuspeedup-debugging
branch
August 4, 2026 12:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.