From 98a5cc3141e4cb68665904509ab722a2f39cf7e3 Mon Sep 17 00:00:00 2001 From: Jamaika1 Date: Mon, 25 Nov 2024 09:16:53 +0100 Subject: [PATCH] Change define output_bit_depth --- examples/heif_enc.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/heif_enc.cc b/examples/heif_enc.cc index 516fb2d25c..f9cb312aba 100644 --- a/examples/heif_enc.cc +++ b/examples/heif_enc.cc @@ -860,7 +860,11 @@ int main(int argc, char** argv) int logging_level = 0; bool option_show_parameters = false; int thumbnail_bbox_size = 0; +#if (UVG_BIT_DEPTH == 10) || (KVZ_BIT_DEPTH == 10) || HAVE_VVENC int output_bit_depth = 10; +#else + int output_bit_depth = 8; +#endif bool force_enc_av1f = false; bool force_enc_vvc = false; bool force_enc_uncompressed = false;