From 06097ad64df1ed985904c78ed044ac6cc776f84e Mon Sep 17 00:00:00 2001 From: Alan Liu Date: Tue, 14 May 2024 14:24:08 +0800 Subject: [PATCH] amd/vpelib: Remove unused structs Remove the definition of unused structs: - struct x_axis_config - struct point_config - struct curve_points32 - struct lut_point - struct pwl_parameter2 Reviewed-by: Krunoslav Kovac Acked-by: Alan Liu Signed-off-by: Alan Liu Part-of: --- src/amd/vpelib/src/core/shaper_builder.c | 33 ------------------------ 1 file changed, 33 deletions(-) diff --git a/src/amd/vpelib/src/core/shaper_builder.c b/src/amd/vpelib/src/core/shaper_builder.c index 638f1bee5b6..32310769f71 100644 --- a/src/amd/vpelib/src/core/shaper_builder.c +++ b/src/amd/vpelib/src/core/shaper_builder.c @@ -26,39 +26,6 @@ #include "custom_fp16.h" #include "fixed31_32.h" -struct x_axis_config { - int offset; - int segments_num; -}; - -struct point_config { - int custom_float_x; - int custom_float_y; - int custom_float_slope; -}; - -struct curve_points32 { - struct point_config red; - struct point_config green; - struct point_config blue; -}; - -struct lut_point { - int red; - int green; - int blue; - int delta_red; - int delta_green; - int delta_blue; -}; - -struct pwl_parameter2 { - struct x_axis_config arr_curve_points[34]; - struct curve_points32 corner_points[2]; - struct lut_point rgb_resulted[256]; - int hw_points_num; -}; - struct shaper_setup_out { int exp_begin_raw; int exp_end_raw;