Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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#ifndef SPL_PFX_
13#define SPL_PFX_
14#endif
15
16#define SPL_EXPAND2(a, b) a##b
17#define SPL_EXPAND(a, b) SPL_EXPAND2(a, b)
18#define SPL_NAMESPACE(symbol) SPL_EXPAND(SPL_PFX_, symbol)
19
20
21/* SPL interfaces */
22
23bool SPL_NAMESPACE(spl_calculate_scaler_params(struct spl_in *spl_in, struct spl_out *spl_out));
24
25bool SPL_NAMESPACE(spl_get_number_of_taps(struct spl_in *spl_in, struct spl_out *spl_out));
26
27#endif /* __DC_SPL_H__ */