Skip to content

Commit

Permalink
Compile fix for ubuntu
Browse files Browse the repository at this point in the history
ChristianFeldmann committed Jan 11, 2025
1 parent 437da37 commit 9976e7a
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion YUViewLib/src/decoder/decoderHM.cpp
Original file line number Diff line number Diff line change
@@ -566,7 +566,7 @@ void decoderHM::fillStatisticList(stats::StatisticsData &statisticsData) const
.withValueDataOptions(StatisticsType::ValueDataOptions(
{.colorMapper = ColorMapper({0, 34}, PredefinedType::Jet)}))
.withVectorDataOptions(
StatisticsType::VectorDataOptions({.scale = 32, .renderDataValues = true}))
StatisticsType::VectorDataOptions({.renderDataValues = true, .scale = 32}))
.withMappingValues(
{"INTRA_PLANAR", "INTRA_DC", "INTRA_ANGULAR_2", "INTRA_ANGULAR_3",
"INTRA_ANGULAR_4", "INTRA_ANGULAR_5", "INTRA_ANGULAR_6", "INTRA_ANGULAR_7",
4 changes: 2 additions & 2 deletions YUViewLib/src/decoder/decoderLibde265.cpp
Original file line number Diff line number Diff line change
@@ -1002,7 +1002,7 @@ void decoderLibde265::fillStatisticList(stats::StatisticsData &statisticsData) c
.withDescription("The intra mode for the luma component per TU (intra prediction is "
"performed on a TU level)")
.withVectorDataOptions(
StatisticsType::VectorDataOptions({.scale = 32, .renderDataValues = false}))
StatisticsType::VectorDataOptions({.renderDataValues = false, .scale = 32}))
.withMappingValues(INTRA_DIR_LIST)
.build());

@@ -1013,7 +1013,7 @@ void decoderLibde265::fillStatisticList(stats::StatisticsData &statisticsData) c
.withDescription("The intra mode for the chroma component per TU (intra prediction is "
"performed on a TU level)")
.withVectorDataOptions(
StatisticsType::VectorDataOptions({.scale = 32, .renderDataValues = false}))
StatisticsType::VectorDataOptions({.renderDataValues = false, .scale = 32}))
.withMappingValues(INTRA_DIR_LIST)
.build());

4 changes: 2 additions & 2 deletions YUViewLib/src/statistics/StatisticsType.h
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ class StatisticsType
bool render{true};
bool renderDataValues{true};
bool scaleToZoom{};
LineDrawStyle style;
LineDrawStyle style{};
int scale{};
bool mapToColor{};
ArrowHead arrowHead{};
@@ -134,7 +134,7 @@ class StatisticsType
struct GridOptions
{
bool render{};
LineDrawStyle style;
LineDrawStyle style{};
bool scaleToZoom{};
};

0 comments on commit 9976e7a

Please sign in to comment.