1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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);

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

#endif /* __DC_SPL_H__ */
此生若是錯在相逢 求一個善終