xref: /linux/drivers/gpu/drm/amd/display/dc/spl/dc_spl.h (revision 955abe0a1b41de5ba61fe4cd614ebc123084d499)
1 // SPDX-License-Identifier: MIT
2 //
3 // Copyright 2024 Advanced Micro Devices, Inc.
4 
5 #ifndef __DC_SPL_H__
6 #define __DC_SPL_H__
7 
8 #include "dc_spl_types.h"
9 #define BLACK_OFFSET_RGB_Y 0x0
10 #define BLACK_OFFSET_CBCR  0x8000
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* SPL interfaces */
17 
18 bool spl_calculate_scaler_params(struct spl_in *spl_in, struct spl_out *spl_out);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 #endif /* __DC_SPL_H__ */
25