diff options
Diffstat (limited to 'kms++util')
| -rw-r--r-- | kms++util/src/conv-gray.h | 4 | ||||
| -rw-r--r-- | kms++util/src/conv-rgb.h | 4 | ||||
| -rw-r--r-- | kms++util/src/conv-yuv-packed.h | 4 | ||||
| -rw-r--r-- | kms++util/src/conv-yuv-planar-packed.h | 6 | ||||
| -rw-r--r-- | kms++util/src/conv-yuv-planar.h | 6 | ||||
| -rw-r--r-- | kms++util/src/conv-yuv-semiplanar.h | 8 | ||||
| -rw-r--r-- | kms++util/src/conv-yuv.h | 4 |
7 files changed, 18 insertions, 18 deletions
diff --git a/kms++util/src/conv-gray.h b/kms++util/src/conv-gray.h index ecb5bae..fed8c5c 100644 --- a/kms++util/src/conv-gray.h +++ b/kms++util/src/conv-gray.h @@ -37,8 +37,8 @@ using Y10_P32_Layout = FormatLayout<PlaneLayout<uint32_t, template<typename Layout> class Y_Writer { - using Plane = Layout::template plane<0>; - using TStorage = Plane::storage_type; + using Plane = typename Layout::template plane<0>; + using TStorage = typename Plane::storage_type; static_assert(Layout::num_planes == 1); static_assert(Plane::template component_count<ComponentType::Y>() >= 1); diff --git a/kms++util/src/conv-rgb.h b/kms++util/src/conv-rgb.h index 57791d5..6993247 100644 --- a/kms++util/src/conv-rgb.h +++ b/kms++util/src/conv-rgb.h @@ -173,8 +173,8 @@ using BGRA1010102_Layout = RGB_32_Layout< template<typename Layout> class ARGB_Writer { - using Plane = Layout::template plane<0>; - using TStorage = Plane::storage_type; + using Plane = typename Layout::template plane<0>; + using TStorage = typename Plane::storage_type; static_assert(Layout::num_planes == 1); static_assert(Plane::num_components == 3 || Plane::num_components == 4); diff --git a/kms++util/src/conv-yuv-packed.h b/kms++util/src/conv-yuv-packed.h index 3aa01fa..01278ef 100644 --- a/kms++util/src/conv-yuv-packed.h +++ b/kms++util/src/conv-yuv-packed.h @@ -41,8 +41,8 @@ using VYUY_Layout = YUV_Packed_Format<ComponentType::Cr, ComponentType::Y0, template<typename Layout> class YUVPackedWriter { - using Plane = Layout::template plane<0>; - using TStorage = Plane::storage_type; + using Plane = typename Layout::template plane<0>; + using TStorage = typename Plane::storage_type; static constexpr size_t y0_pos = Plane::template find_pos<ComponentType::Y0>(); static constexpr size_t y1_pos = Plane::template find_pos<ComponentType::Y1>(); diff --git a/kms++util/src/conv-yuv-planar-packed.h b/kms++util/src/conv-yuv-planar-packed.h index b66e593..4475100 100644 --- a/kms++util/src/conv-yuv-planar-packed.h +++ b/kms++util/src/conv-yuv-planar-packed.h @@ -38,9 +38,9 @@ struct X403_Layout : FormatLayout < template<typename Format> class YUVPlanarPackedWriter { - using YLayout = Format::template plane<Format::y_plane>; - using CbLayout = Format::template plane<Format::cb_plane>; - using CrLayout = Format::template plane<Format::cr_plane>; + using YLayout = typename Format::template plane<Format::y_plane>; + using CbLayout = typename Format::template plane<Format::cb_plane>; + using CrLayout = typename Format::template plane<Format::cr_plane>; using TY = typename YLayout::storage_type; using TCb = typename CbLayout::storage_type; diff --git a/kms++util/src/conv-yuv-planar.h b/kms++util/src/conv-yuv-planar.h index 0ece6f7..b8e9247 100644 --- a/kms++util/src/conv-yuv-planar.h +++ b/kms++util/src/conv-yuv-planar.h @@ -45,9 +45,9 @@ using YVU420_Layout = YUV_Planar_Layout<ComponentType::Cr, ComponentType::Cb, 2, template<typename Format> class YUVPlanarWriter { - using YLayout = Format::template plane<Format::y_plane>; - using CbLayout = Format::template plane<Format::cb_plane>; - using CrLayout = Format::template plane<Format::cr_plane>; + using YLayout = typename Format::template plane<Format::y_plane>; + using CbLayout = typename Format::template plane<Format::cb_plane>; + using CrLayout = typename Format::template plane<Format::cr_plane>; using TY = typename YLayout::storage_type; using TCb = typename CbLayout::storage_type; 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>()); diff --git a/kms++util/src/conv-yuv.h b/kms++util/src/conv-yuv.h index 4478226..1695129 100644 --- a/kms++util/src/conv-yuv.h +++ b/kms++util/src/conv-yuv.h @@ -20,8 +20,8 @@ using XVUY2101010_Layout = template<typename Layout> class YUV_Writer { - using Plane = Layout::template plane<0>; - using TStorage = Plane::storage_type; + using Plane = typename Layout::template plane<0>; + using TStorage = typename Plane::storage_type; static_assert(Layout::num_planes == 1); static_assert(Plane::num_components == 3 || Plane::num_components == 4); |
