Back to home page

OSCL-LXR

 
 

    


0001 /* Copyright 2012-15 Advanced Micro Devices, Inc.
0002  *
0003  * Permission is hereby granted, free of charge, to any person obtaining a
0004  * copy of this software and associated documentation files (the "Software"),
0005  * to deal in the Software without restriction, including without limitation
0006  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
0007  * and/or sell copies of the Software, and to permit persons to whom the
0008  * Software is furnished to do so, subject to the following conditions:
0009  *
0010  * The above copyright notice and this permission notice shall be included in
0011  * all copies or substantial portions of the Software.
0012  *
0013  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0014  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0015  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0016  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
0017  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0018  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0019  * OTHER DEALINGS IN THE SOFTWARE.
0020  *
0021  * Authors: AMD
0022  *
0023  */
0024 
0025 #ifndef __DAL_TRANSFORM_V_DCE110_H__
0026 #define __DAL_TRANSFORM_V_DCE110_H__
0027 
0028 #include "../dce/dce_transform.h"
0029 
0030 #define LB_TOTAL_NUMBER_OF_ENTRIES 1712
0031 #define LB_BITS_PER_ENTRY 144
0032 
0033 bool dce110_transform_v_construct(
0034     struct dce_transform *xfm110,
0035     struct dc_context *ctx);
0036 
0037 void dce110_opp_v_set_csc_default(
0038     struct transform *xfm,
0039     const struct default_adjustment *default_adjust);
0040 
0041 void dce110_opp_v_set_csc_adjustment(
0042         struct transform *xfm,
0043     const struct out_csc_color_matrix *tbl_entry);
0044 
0045 
0046 void dce110_opp_program_regamma_pwl_v(
0047     struct transform *xfm,
0048     const struct pwl_params *params);
0049 
0050 void dce110_opp_power_on_regamma_lut_v(
0051     struct transform *xfm,
0052     bool power_on);
0053 
0054 void dce110_opp_set_regamma_mode_v(
0055     struct transform *xfm,
0056     enum opp_regamma mode);
0057 
0058 #endif