1 /* 2 * include/linux/amlogic/media/utils/aformat.h 3 * 4 * Copyright (C) 2017 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 AFORMAT_H 19 #define AFORMAT_H 20 21 enum aformat_e { 22 AFORMAT_MPEG = 0, 23 AFORMAT_PCM_S16LE = 1, 24 AFORMAT_AAC = 2, 25 AFORMAT_AC3 = 3, 26 AFORMAT_ALAW = 4, 27 AFORMAT_MULAW = 5, 28 AFORMAT_DTS = 6, 29 AFORMAT_PCM_S16BE = 7, 30 AFORMAT_FLAC = 8, 31 AFORMAT_COOK = 9, 32 AFORMAT_PCM_U8 = 10, 33 AFORMAT_ADPCM = 11, 34 AFORMAT_AMR = 12, 35 AFORMAT_RAAC = 13, 36 AFORMAT_WMA = 14, 37 AFORMAT_WMAPRO = 15, 38 AFORMAT_PCM_BLURAY = 16, 39 AFORMAT_ALAC = 17, 40 AFORMAT_VORBIS = 18, 41 AFORMAT_AAC_LATM = 19, 42 AFORMAT_APE = 20, 43 AFORMAT_EAC3 = 21, 44 AFORMAT_PCM_WIFIDISPLAY = 22, 45 AFORMAT_TRUEHD = 25, 46 /* AFORMAT_MPEG-->mp3,AFORMAT_MPEG1-->mp1,AFROMAT_MPEG2-->mp2 */ 47 AFORMAT_MPEG1 = 26, 48 AFORMAT_MPEG2 = 27, 49 AFORMAT_WMAVOI = 28, 50 AFORMAT_WMALOSSLESS = 29, 51 AFORMAT_PCM_S24LE = 30, 52 AFORMAT_UNSUPPORT = 31, 53 AFORMAT_MAX = 32 54 }; 55 56 #endif /* AFORMAT_H */ 57