| /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
| /* |
| * drivers/amlogic/media/video_processor/ppmgr/ppmgr_vpp.h |
| * |
| * 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. |
| * |
| */ |
| |
| #ifndef _PPMGR_TV_H_ |
| #define _PPMGR_TV_H_ |
| |
| void vf_ppmgr_unreg_provider(void); |
| void vf_ppmgr_reset(int type); |
| void ppmgr_vf_put_dec(struct vframe_s *vf); |
| |
| enum ppmgr_source_type { |
| DECODER_8BIT_NORMAL = 0, |
| DECODER_8BIT_BOTTOM, |
| DECODER_8BIT_TOP, |
| DECODER_10BIT_NORMAL, |
| DECODER_10BIT_BOTTOM, |
| DECODER_10BIT_TOP, |
| VDIN_8BIT_NORMAL, |
| VDIN_10BIT_NORMAL, |
| }; |
| |
| extern u32 omx_cur_session; |
| extern int ppmgr_secure_debug; |
| extern int ppmgr_secure_mode; |
| #endif |