| /* |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * * |
| This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * * |
| This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * more details. |
| * * |
| You should have received a copy of the GNU General Public License along |
| * with this program; if not, write to the Free Software Foundation, Inc., |
| * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * * |
| Description: |
| */ |
| |
| #ifndef __HDR2_H__ |
| #define __HDR2_H__ |
| |
| enum hdr_module_sel { |
| VD1_HDR = 0x1, |
| VD2_HDR = 0x2, |
| OSD1_HDR = 0x4, |
| VDIN0_HDR = 0x8, |
| VDIN1_HDR = 0x10, |
| DI_HDR = 0x20, |
| HDR_MAX |
| }; |
| |
| enum hdr_process_sel { |
| HDR_BYPASS = 0x1, |
| HDR_SDR = 0x2, |
| SDR_HDR = 0x4, |
| HLG_BYPASS = 0x8, |
| HLG_SDR = 0x10, |
| HLG_HDR = 0x20, |
| SDR_HLG = 0X40, |
| HDRPLUS_SDR = 0x80, |
| HDR_OFF = 0x100, |
| HDR_p_MAX |
| }; |
| |
| extern void hdr_func(enum hdr_module_sel module_sel, |
| enum hdr_process_sel hdr_process_select); |
| |
| #endif |