summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/spl/dc_spl.h
blob: 205e59a2a8ee8fb8ebf4df07db860f7fcda40d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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

/* SPL interfaces */

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

#endif /* __DC_SPL_H__ */