summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/spl/dc_spl.h
blob: f1fd3eb92f8a4b34c32d7e8bbcd3ee11ced39bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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

#ifdef __cplusplus
extern "C" {
#endif

/* SPL interfaces */

bool spl_calculate_scaler_params(struct spl_in *spl_in, struct spl_out *spl_out);

#ifdef __cplusplus
}
#endif

#endif /* __DC_SPL_H__ */