197bda032SHarry Wentland 297bda032SHarry Wentland /* 397bda032SHarry Wentland * Copyright 2017 Advanced Micro Devices, Inc. 497bda032SHarry Wentland * 597bda032SHarry Wentland * Permission is hereby granted, free of charge, to any person obtaining a 697bda032SHarry Wentland * copy of this software and associated documentation files (the "Software"), 797bda032SHarry Wentland * to deal in the Software without restriction, including without limitation 897bda032SHarry Wentland * the rights to use, copy, modify, merge, publish, distribute, sublicense, 997bda032SHarry Wentland * and/or sell copies of the Software, and to permit persons to whom the 1097bda032SHarry Wentland * Software is furnished to do so, subject to the following conditions: 1197bda032SHarry Wentland * 1297bda032SHarry Wentland * The above copyright notice and this permission notice shall be included in 1397bda032SHarry Wentland * all copies or substantial portions of the Software. 1497bda032SHarry Wentland * 1597bda032SHarry Wentland * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1697bda032SHarry Wentland * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1797bda032SHarry Wentland * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1897bda032SHarry Wentland * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 1997bda032SHarry Wentland * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 2097bda032SHarry Wentland * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 2197bda032SHarry Wentland * OTHER DEALINGS IN THE SOFTWARE. 2297bda032SHarry Wentland * 2397bda032SHarry Wentland * Authors: AMD 2497bda032SHarry Wentland * 2597bda032SHarry Wentland */ 2697bda032SHarry Wentland 2797bda032SHarry Wentland #ifndef __RC_CALC_H__ 2897bda032SHarry Wentland #define __RC_CALC_H__ 2997bda032SHarry Wentland 30*d738db68SQingqing Zhuo #include "dml/dsc/rc_calc_fpu.h" 3197bda032SHarry Wentland 329ec051bfSRodrigo Siqueira void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps); 3397bda032SHarry Wentland 3497bda032SHarry Wentland #endif 3597bda032SHarry Wentland 36