1 /* 2 * drivers/amlogic/media/stream_input/amports/adec.h 3 * 4 * Copyright (C) 2016 Amlogic, Inc. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 14 * more details. 15 * 16 */ 17 18 #ifndef ADEC_H 19 #define ADEC_H 20 21 #include "../amports/streambuf.h" 22 #include <linux/amlogic/media/utils/aformat.h> 23 24 extern s32 adec_init(struct stream_port_s *port); 25 26 extern s32 adec_release(enum aformat_e af); 27 28 extern s32 astream_dev_register(void); 29 30 extern s32 astream_dev_unregister(void); 31 32 #endif /* ADEC_H */ 33