mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 12:03:56 -04:00
This macro guard "__cplusplus" is unnecessary and should not be there. Signed-off-by: Alex Hung <alex.hung@amd.com> Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
28 lines
655 B
C
28 lines
655 B
C
// SPDX-License-Identifier: MIT
|
|
//
|
|
// Copyright 2024 Advanced Micro Devices, Inc.
|
|
|
|
#ifndef __DC_SPL_H__
|
|
#define __DC_SPL_H__
|
|
|
|
#include "dc_spl_types.h"
|
|
#define BLACK_OFFSET_RGB_Y 0x0
|
|
#define BLACK_OFFSET_CBCR 0x8000
|
|
|
|
#ifndef SPL_PFX_
|
|
#define SPL_PFX_
|
|
#endif
|
|
|
|
#define SPL_EXPAND2(a, b) a##b
|
|
#define SPL_EXPAND(a, b) SPL_EXPAND2(a, b)
|
|
#define SPL_NAMESPACE(symbol) SPL_EXPAND(SPL_PFX_, symbol)
|
|
|
|
|
|
/* SPL interfaces */
|
|
|
|
bool SPL_NAMESPACE(spl_calculate_scaler_params(struct spl_in *spl_in, struct spl_out *spl_out));
|
|
|
|
bool SPL_NAMESPACE(spl_get_number_of_taps(struct spl_in *spl_in, struct spl_out *spl_out));
|
|
|
|
#endif /* __DC_SPL_H__ */
|