1*70839da6SAurabindo Pillai // SPDX-License-Identifier: MIT 2*70839da6SAurabindo Pillai // 3*70839da6SAurabindo Pillai // Copyright 2024 Advanced Micro Devices, Inc. 4*70839da6SAurabindo Pillai 5*70839da6SAurabindo Pillai #ifndef __DC_SPL_H__ 6*70839da6SAurabindo Pillai #define __DC_SPL_H__ 7*70839da6SAurabindo Pillai 8*70839da6SAurabindo Pillai #include "dc_spl_types.h" 9*70839da6SAurabindo Pillai #define BLACK_OFFSET_RGB_Y 0x0 10*70839da6SAurabindo Pillai #define BLACK_OFFSET_CBCR 0x8000 11*70839da6SAurabindo Pillai 12*70839da6SAurabindo Pillai /* SPL interfaces */ 13*70839da6SAurabindo Pillai 14*70839da6SAurabindo Pillai bool spl_calculate_scaler_params(struct spl_in *spl_in, struct spl_out *spl_out); 15*70839da6SAurabindo Pillai 16*70839da6SAurabindo Pillai #endif /* __DC_SPL_H__ */ 17