summaryrefslogtreecommitdiff
path: root/kms++util/src/conv-yuv-semiplanar.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-04-22 10:50:46 +0300
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-04-22 10:51:48 +0300
commit1192380e2dee300be7dabcc42bf716cf8370a500 (patch)
tree894e18a16d9e3ec269e709ab9673f04a6a3d9d0f /kms++util/src/conv-yuv-semiplanar.h
parent7a4e4cbf5e70cd304b751f9862792e0d6af85eb1 (diff)
kms++utils: conv: Compilation fix for clang 15
Diffstat (limited to 'kms++util/src/conv-yuv-semiplanar.h')
-rw-r--r--kms++util/src/conv-yuv-semiplanar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kms++util/src/conv-yuv-semiplanar.h b/kms++util/src/conv-yuv-semiplanar.h
index fa7e0cb..3c4eec2 100644
--- a/kms++util/src/conv-yuv-semiplanar.h
+++ b/kms++util/src/conv-yuv-semiplanar.h
@@ -85,11 +85,11 @@ class YUVSemiPlanarWriter
static constexpr size_t h_sub = Layout::h_sub;
static constexpr size_t v_sub = Layout::v_sub;
- using YLayout = Layout::template plane<0>;
- using UVLayout = Layout::template plane<1>;
+ using YLayout = typename Layout::template plane<0>;
+ using UVLayout = typename Layout::template plane<1>;
- using TY = YLayout::storage_type;
- using TCrCb = UVLayout::storage_type;
+ using TY = typename YLayout::storage_type;
+ using TCrCb = typename UVLayout::storage_type;
static constexpr size_t pixels_in_group = YLayout::template component_count<ComponentType::Y>();
static_assert(pixels_in_group == UVLayout::template component_count<ComponentType::Cb>());