From c325a2d33b11f83e746c50119de7ad5f54bc45e1 Mon Sep 17 00:00:00 2001 From: rtyag Date: Tue, 30 Apr 2024 16:19:36 +1000 Subject: [PATCH] fix compilation issue when DEBUGGING switch is enabled --- lib_isar/lib_isar_post_rend.c | 16 +--------------- lib_isar/lib_isar_post_rend.h | 4 ++-- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/lib_isar/lib_isar_post_rend.c b/lib_isar/lib_isar_post_rend.c index a36aa347c9..7e27e8e159 100644 --- a/lib_isar/lib_isar_post_rend.c +++ b/lib_isar/lib_isar_post_rend.c @@ -1164,20 +1164,6 @@ int16_t ISAR_POST_REND_GetRenderConfig( } hRCin = hIvasRend->splitRenderConfig; -#ifdef DEBUGGING - switch ( hRCin->renderer_type_override ) - { - case IVAS_RENDER_TYPE_OVERRIDE_CREND: - hRCout->renderer_type_override = IVAS_RENDER_TYPE_OVERRIDE_CREND; - break; - case IVAS_RENDER_TYPE_OVERRIDE_FASTCONV: - hRCout->renderer_type_override = IVAS_RENDER_TYPE_OVERRIDE_FASTCONV; - break; - default: - hRCout->renderer_type_override = IVAS_RENDER_TYPE_OVERRIDE_NONE; - break; - } -#endif splitRenderConfig->splitRendBitRate = SPLIT_REND_768k; splitRenderConfig->dof = 3; @@ -1804,7 +1790,7 @@ ivas_error ISAR_REND_SetSplitRendBitstreamHeader( *-------------------------------------------------------------------*/ int32_t ISAR_POST_REND_GetNoCLipping( - IVAS_REND_CONST_HANDLE hIvasRend ) + ISAR_POST_REND_HANDLE hIvasRend ) { return hIvasRend->numClipping; } diff --git a/lib_isar/lib_isar_post_rend.h b/lib_isar/lib_isar_post_rend.h index 61ebae2dd7..221e0b26ff 100644 --- a/lib_isar/lib_isar_post_rend.h +++ b/lib_isar/lib_isar_post_rend.h @@ -207,11 +207,11 @@ ivas_error ISAR_REND_SetSplitRendBitstreamHeader( #ifdef DEBUGGING int32_t ISAR_POST_REND_GetNoCLipping( - IVAS_REND_CONST_HANDLE hIvasRend /* i : Renderer handle */ + ISAR_POST_REND_HANDLE hIvasRend /* i : Renderer handle */ ); int32_t ISAR_POST_REND_GetCntFramesLimited( - IVAS_REND_CONST_HANDLE hIvasRend /* i : Renderer handle */ + ISAR_POST_REND_CONST_HANDLE hIvasRend /* i : Renderer handle */ ); #endif -- GitLab