codec_desc.c 112 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228
  1. /*
  2. * This file is part of FFmpeg.
  3. *
  4. * This table was generated from the long and short names of AVCodecs
  5. * please see the respective codec sources for authorship
  6. *
  7. * FFmpeg is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 2.1 of the License, or (at your option) any later version.
  11. *
  12. * FFmpeg is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with FFmpeg; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  20. */
  21. #include <string.h>
  22. #include "libavutil/common.h"
  23. #include "libavutil/internal.h"
  24. #include "avcodec.h"
  25. #include "profiles.h"
  26. #include "version.h"
  27. #define MT(...) (const char *const[]){ __VA_ARGS__, NULL }
  28. static const AVCodecDescriptor codec_descriptors[] = {
  29. /* video codecs */
  30. {
  31. .id = AV_CODEC_ID_MPEG1VIDEO,
  32. .type = AVMEDIA_TYPE_VIDEO,
  33. .name = "mpeg1video",
  34. .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
  35. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  36. },
  37. {
  38. .id = AV_CODEC_ID_MPEG2VIDEO,
  39. .type = AVMEDIA_TYPE_VIDEO,
  40. .name = "mpeg2video",
  41. .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"),
  42. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  43. .profiles = NULL_IF_CONFIG_SMALL(ff_mpeg2_video_profiles),
  44. },
  45. {
  46. .id = AV_CODEC_ID_H261,
  47. .type = AVMEDIA_TYPE_VIDEO,
  48. .name = "h261",
  49. .long_name = NULL_IF_CONFIG_SMALL("H.261"),
  50. .props = AV_CODEC_PROP_LOSSY,
  51. },
  52. {
  53. .id = AV_CODEC_ID_H263,
  54. .type = AVMEDIA_TYPE_VIDEO,
  55. .name = "h263",
  56. .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"),
  57. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  58. },
  59. {
  60. .id = AV_CODEC_ID_RV10,
  61. .type = AVMEDIA_TYPE_VIDEO,
  62. .name = "rv10",
  63. .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
  64. .props = AV_CODEC_PROP_LOSSY,
  65. },
  66. {
  67. .id = AV_CODEC_ID_RV20,
  68. .type = AVMEDIA_TYPE_VIDEO,
  69. .name = "rv20",
  70. .long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
  71. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  72. },
  73. {
  74. .id = AV_CODEC_ID_MJPEG,
  75. .type = AVMEDIA_TYPE_VIDEO,
  76. .name = "mjpeg",
  77. .long_name = NULL_IF_CONFIG_SMALL("Motion JPEG"),
  78. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  79. .mime_types= MT("image/jpeg"),
  80. },
  81. {
  82. .id = AV_CODEC_ID_MJPEGB,
  83. .type = AVMEDIA_TYPE_VIDEO,
  84. .name = "mjpegb",
  85. .long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"),
  86. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  87. },
  88. {
  89. .id = AV_CODEC_ID_LJPEG,
  90. .type = AVMEDIA_TYPE_VIDEO,
  91. .name = "ljpeg",
  92. .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
  93. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  94. },
  95. {
  96. .id = AV_CODEC_ID_SP5X,
  97. .type = AVMEDIA_TYPE_VIDEO,
  98. .name = "sp5x",
  99. .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
  100. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  101. },
  102. {
  103. .id = AV_CODEC_ID_JPEGLS,
  104. .type = AVMEDIA_TYPE_VIDEO,
  105. .name = "jpegls",
  106. .long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
  107. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
  108. AV_CODEC_PROP_LOSSLESS,
  109. },
  110. {
  111. .id = AV_CODEC_ID_MPEG4,
  112. .type = AVMEDIA_TYPE_VIDEO,
  113. .name = "mpeg4",
  114. .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
  115. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  116. .profiles = NULL_IF_CONFIG_SMALL(ff_mpeg4_video_profiles),
  117. },
  118. {
  119. .id = AV_CODEC_ID_RAWVIDEO,
  120. .type = AVMEDIA_TYPE_VIDEO,
  121. .name = "rawvideo",
  122. .long_name = NULL_IF_CONFIG_SMALL("raw video"),
  123. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  124. },
  125. {
  126. .id = AV_CODEC_ID_MSMPEG4V1,
  127. .type = AVMEDIA_TYPE_VIDEO,
  128. .name = "msmpeg4v1",
  129. .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
  130. .props = AV_CODEC_PROP_LOSSY,
  131. },
  132. {
  133. .id = AV_CODEC_ID_MSMPEG4V2,
  134. .type = AVMEDIA_TYPE_VIDEO,
  135. .name = "msmpeg4v2",
  136. .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
  137. .props = AV_CODEC_PROP_LOSSY,
  138. },
  139. {
  140. .id = AV_CODEC_ID_MSMPEG4V3,
  141. .type = AVMEDIA_TYPE_VIDEO,
  142. .name = "msmpeg4v3",
  143. .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
  144. .props = AV_CODEC_PROP_LOSSY,
  145. },
  146. {
  147. .id = AV_CODEC_ID_WMV1,
  148. .type = AVMEDIA_TYPE_VIDEO,
  149. .name = "wmv1",
  150. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
  151. .props = AV_CODEC_PROP_LOSSY,
  152. },
  153. {
  154. .id = AV_CODEC_ID_WMV2,
  155. .type = AVMEDIA_TYPE_VIDEO,
  156. .name = "wmv2",
  157. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
  158. .props = AV_CODEC_PROP_LOSSY,
  159. },
  160. {
  161. .id = AV_CODEC_ID_H263P,
  162. .type = AVMEDIA_TYPE_VIDEO,
  163. .name = "h263p",
  164. .long_name = NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"),
  165. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  166. },
  167. {
  168. .id = AV_CODEC_ID_H263I,
  169. .type = AVMEDIA_TYPE_VIDEO,
  170. .name = "h263i",
  171. .long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
  172. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  173. },
  174. {
  175. .id = AV_CODEC_ID_FLV1,
  176. .type = AVMEDIA_TYPE_VIDEO,
  177. .name = "flv1",
  178. .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"),
  179. .props = AV_CODEC_PROP_LOSSY,
  180. },
  181. {
  182. .id = AV_CODEC_ID_SVQ1,
  183. .type = AVMEDIA_TYPE_VIDEO,
  184. .name = "svq1",
  185. .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
  186. .props = AV_CODEC_PROP_LOSSY,
  187. },
  188. {
  189. .id = AV_CODEC_ID_SVQ3,
  190. .type = AVMEDIA_TYPE_VIDEO,
  191. .name = "svq3",
  192. .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3"),
  193. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  194. },
  195. {
  196. .id = AV_CODEC_ID_DVVIDEO,
  197. .type = AVMEDIA_TYPE_VIDEO,
  198. .name = "dvvideo",
  199. .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
  200. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  201. },
  202. {
  203. .id = AV_CODEC_ID_HUFFYUV,
  204. .type = AVMEDIA_TYPE_VIDEO,
  205. .name = "huffyuv",
  206. .long_name = NULL_IF_CONFIG_SMALL("HuffYUV"),
  207. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  208. },
  209. {
  210. .id = AV_CODEC_ID_CYUV,
  211. .type = AVMEDIA_TYPE_VIDEO,
  212. .name = "cyuv",
  213. .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
  214. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  215. },
  216. {
  217. .id = AV_CODEC_ID_H264,
  218. .type = AVMEDIA_TYPE_VIDEO,
  219. .name = "h264",
  220. .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"),
  221. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_REORDER,
  222. .profiles = NULL_IF_CONFIG_SMALL(ff_h264_profiles),
  223. },
  224. {
  225. .id = AV_CODEC_ID_INDEO3,
  226. .type = AVMEDIA_TYPE_VIDEO,
  227. .name = "indeo3",
  228. .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"),
  229. .props = AV_CODEC_PROP_LOSSY,
  230. },
  231. {
  232. .id = AV_CODEC_ID_VP3,
  233. .type = AVMEDIA_TYPE_VIDEO,
  234. .name = "vp3",
  235. .long_name = NULL_IF_CONFIG_SMALL("On2 VP3"),
  236. .props = AV_CODEC_PROP_LOSSY,
  237. },
  238. {
  239. .id = AV_CODEC_ID_THEORA,
  240. .type = AVMEDIA_TYPE_VIDEO,
  241. .name = "theora",
  242. .long_name = NULL_IF_CONFIG_SMALL("Theora"),
  243. .props = AV_CODEC_PROP_LOSSY,
  244. },
  245. {
  246. .id = AV_CODEC_ID_ASV1,
  247. .type = AVMEDIA_TYPE_VIDEO,
  248. .name = "asv1",
  249. .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
  250. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  251. },
  252. {
  253. .id = AV_CODEC_ID_ASV2,
  254. .type = AVMEDIA_TYPE_VIDEO,
  255. .name = "asv2",
  256. .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
  257. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  258. },
  259. {
  260. .id = AV_CODEC_ID_FFV1,
  261. .type = AVMEDIA_TYPE_VIDEO,
  262. .name = "ffv1",
  263. .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
  264. .props = AV_CODEC_PROP_LOSSLESS,
  265. },
  266. {
  267. .id = AV_CODEC_ID_4XM,
  268. .type = AVMEDIA_TYPE_VIDEO,
  269. .name = "4xm",
  270. .long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
  271. .props = AV_CODEC_PROP_LOSSY,
  272. },
  273. {
  274. .id = AV_CODEC_ID_VCR1,
  275. .type = AVMEDIA_TYPE_VIDEO,
  276. .name = "vcr1",
  277. .long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"),
  278. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  279. },
  280. {
  281. .id = AV_CODEC_ID_CLJR,
  282. .type = AVMEDIA_TYPE_VIDEO,
  283. .name = "cljr",
  284. .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
  285. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  286. },
  287. {
  288. .id = AV_CODEC_ID_MDEC,
  289. .type = AVMEDIA_TYPE_VIDEO,
  290. .name = "mdec",
  291. .long_name = NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
  292. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  293. },
  294. {
  295. .id = AV_CODEC_ID_ROQ,
  296. .type = AVMEDIA_TYPE_VIDEO,
  297. .name = "roq",
  298. .long_name = NULL_IF_CONFIG_SMALL("id RoQ video"),
  299. .props = AV_CODEC_PROP_LOSSY,
  300. },
  301. {
  302. .id = AV_CODEC_ID_INTERPLAY_VIDEO,
  303. .type = AVMEDIA_TYPE_VIDEO,
  304. .name = "interplayvideo",
  305. .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE video"),
  306. .props = AV_CODEC_PROP_LOSSY,
  307. },
  308. {
  309. .id = AV_CODEC_ID_XAN_WC3,
  310. .type = AVMEDIA_TYPE_VIDEO,
  311. .name = "xan_wc3",
  312. .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III / Xan"),
  313. .props = AV_CODEC_PROP_LOSSY,
  314. },
  315. {
  316. .id = AV_CODEC_ID_XAN_WC4,
  317. .type = AVMEDIA_TYPE_VIDEO,
  318. .name = "xan_wc4",
  319. .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
  320. .props = AV_CODEC_PROP_LOSSY,
  321. },
  322. {
  323. .id = AV_CODEC_ID_RPZA,
  324. .type = AVMEDIA_TYPE_VIDEO,
  325. .name = "rpza",
  326. .long_name = NULL_IF_CONFIG_SMALL("QuickTime video (RPZA)"),
  327. .props = AV_CODEC_PROP_LOSSY,
  328. },
  329. {
  330. .id = AV_CODEC_ID_CINEPAK,
  331. .type = AVMEDIA_TYPE_VIDEO,
  332. .name = "cinepak",
  333. .long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
  334. .props = AV_CODEC_PROP_LOSSY,
  335. },
  336. {
  337. .id = AV_CODEC_ID_WS_VQA,
  338. .type = AVMEDIA_TYPE_VIDEO,
  339. .name = "ws_vqa",
  340. .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA (Vector Quantized Animation) video"),
  341. .props = AV_CODEC_PROP_LOSSY,
  342. },
  343. {
  344. .id = AV_CODEC_ID_MSRLE,
  345. .type = AVMEDIA_TYPE_VIDEO,
  346. .name = "msrle",
  347. .long_name = NULL_IF_CONFIG_SMALL("Microsoft RLE"),
  348. .props = AV_CODEC_PROP_LOSSLESS,
  349. },
  350. {
  351. .id = AV_CODEC_ID_MSVIDEO1,
  352. .type = AVMEDIA_TYPE_VIDEO,
  353. .name = "msvideo1",
  354. .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video 1"),
  355. .props = AV_CODEC_PROP_LOSSY,
  356. },
  357. {
  358. .id = AV_CODEC_ID_IDCIN,
  359. .type = AVMEDIA_TYPE_VIDEO,
  360. .name = "idcin",
  361. .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"),
  362. .props = AV_CODEC_PROP_LOSSY,
  363. },
  364. {
  365. .id = AV_CODEC_ID_8BPS,
  366. .type = AVMEDIA_TYPE_VIDEO,
  367. .name = "8bps",
  368. .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
  369. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  370. },
  371. {
  372. .id = AV_CODEC_ID_SMC,
  373. .type = AVMEDIA_TYPE_VIDEO,
  374. .name = "smc",
  375. .long_name = NULL_IF_CONFIG_SMALL("QuickTime Graphics (SMC)"),
  376. .props = AV_CODEC_PROP_LOSSY,
  377. },
  378. {
  379. .id = AV_CODEC_ID_FLIC,
  380. .type = AVMEDIA_TYPE_VIDEO,
  381. .name = "flic",
  382. .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"),
  383. .props = AV_CODEC_PROP_LOSSLESS,
  384. },
  385. {
  386. .id = AV_CODEC_ID_TRUEMOTION1,
  387. .type = AVMEDIA_TYPE_VIDEO,
  388. .name = "truemotion1",
  389. .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 1.0"),
  390. .props = AV_CODEC_PROP_LOSSY,
  391. },
  392. {
  393. .id = AV_CODEC_ID_VMDVIDEO,
  394. .type = AVMEDIA_TYPE_VIDEO,
  395. .name = "vmdvideo",
  396. .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD video"),
  397. .props = AV_CODEC_PROP_LOSSY,
  398. },
  399. {
  400. .id = AV_CODEC_ID_MSZH,
  401. .type = AVMEDIA_TYPE_VIDEO,
  402. .name = "mszh",
  403. .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) MSZH"),
  404. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  405. },
  406. {
  407. .id = AV_CODEC_ID_ZLIB,
  408. .type = AVMEDIA_TYPE_VIDEO,
  409. .name = "zlib",
  410. .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"),
  411. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  412. },
  413. {
  414. .id = AV_CODEC_ID_QTRLE,
  415. .type = AVMEDIA_TYPE_VIDEO,
  416. .name = "qtrle",
  417. .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
  418. .props = AV_CODEC_PROP_LOSSLESS,
  419. },
  420. {
  421. .id = AV_CODEC_ID_TSCC,
  422. .type = AVMEDIA_TYPE_VIDEO,
  423. .name = "tscc",
  424. .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),
  425. .props = AV_CODEC_PROP_LOSSLESS,
  426. },
  427. {
  428. .id = AV_CODEC_ID_ULTI,
  429. .type = AVMEDIA_TYPE_VIDEO,
  430. .name = "ulti",
  431. .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
  432. .props = AV_CODEC_PROP_LOSSY,
  433. },
  434. {
  435. .id = AV_CODEC_ID_QDRAW,
  436. .type = AVMEDIA_TYPE_VIDEO,
  437. .name = "qdraw",
  438. .long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
  439. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  440. },
  441. {
  442. .id = AV_CODEC_ID_VIXL,
  443. .type = AVMEDIA_TYPE_VIDEO,
  444. .name = "vixl",
  445. .long_name = NULL_IF_CONFIG_SMALL("Miro VideoXL"),
  446. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  447. },
  448. {
  449. .id = AV_CODEC_ID_QPEG,
  450. .type = AVMEDIA_TYPE_VIDEO,
  451. .name = "qpeg",
  452. .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"),
  453. .props = AV_CODEC_PROP_LOSSY,
  454. },
  455. {
  456. .id = AV_CODEC_ID_PNG,
  457. .type = AVMEDIA_TYPE_VIDEO,
  458. .name = "png",
  459. .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
  460. .props = AV_CODEC_PROP_LOSSLESS,
  461. .mime_types= MT("image/png"),
  462. },
  463. {
  464. .id = AV_CODEC_ID_PPM,
  465. .type = AVMEDIA_TYPE_VIDEO,
  466. .name = "ppm",
  467. .long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
  468. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  469. },
  470. {
  471. .id = AV_CODEC_ID_PBM,
  472. .type = AVMEDIA_TYPE_VIDEO,
  473. .name = "pbm",
  474. .long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
  475. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  476. },
  477. {
  478. .id = AV_CODEC_ID_PGM,
  479. .type = AVMEDIA_TYPE_VIDEO,
  480. .name = "pgm",
  481. .long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
  482. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  483. },
  484. {
  485. .id = AV_CODEC_ID_PGMYUV,
  486. .type = AVMEDIA_TYPE_VIDEO,
  487. .name = "pgmyuv",
  488. .long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
  489. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  490. },
  491. {
  492. .id = AV_CODEC_ID_PAM,
  493. .type = AVMEDIA_TYPE_VIDEO,
  494. .name = "pam",
  495. .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
  496. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  497. .mime_types= MT("image/x-portable-pixmap"),
  498. },
  499. {
  500. .id = AV_CODEC_ID_FFVHUFF,
  501. .type = AVMEDIA_TYPE_VIDEO,
  502. .name = "ffvhuff",
  503. .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
  504. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  505. },
  506. {
  507. .id = AV_CODEC_ID_RV30,
  508. .type = AVMEDIA_TYPE_VIDEO,
  509. .name = "rv30",
  510. .long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"),
  511. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  512. },
  513. {
  514. .id = AV_CODEC_ID_RV40,
  515. .type = AVMEDIA_TYPE_VIDEO,
  516. .name = "rv40",
  517. .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
  518. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  519. },
  520. {
  521. .id = AV_CODEC_ID_VC1,
  522. .type = AVMEDIA_TYPE_VIDEO,
  523. .name = "vc1",
  524. .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
  525. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  526. .profiles = NULL_IF_CONFIG_SMALL(ff_vc1_profiles),
  527. },
  528. {
  529. .id = AV_CODEC_ID_WMV3,
  530. .type = AVMEDIA_TYPE_VIDEO,
  531. .name = "wmv3",
  532. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
  533. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  534. .profiles = NULL_IF_CONFIG_SMALL(ff_vc1_profiles),
  535. },
  536. {
  537. .id = AV_CODEC_ID_LOCO,
  538. .type = AVMEDIA_TYPE_VIDEO,
  539. .name = "loco",
  540. .long_name = NULL_IF_CONFIG_SMALL("LOCO"),
  541. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  542. },
  543. {
  544. .id = AV_CODEC_ID_WNV1,
  545. .type = AVMEDIA_TYPE_VIDEO,
  546. .name = "wnv1",
  547. .long_name = NULL_IF_CONFIG_SMALL("Winnov WNV1"),
  548. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  549. },
  550. {
  551. .id = AV_CODEC_ID_AASC,
  552. .type = AVMEDIA_TYPE_VIDEO,
  553. .name = "aasc",
  554. .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),
  555. .props = AV_CODEC_PROP_LOSSLESS,
  556. },
  557. {
  558. .id = AV_CODEC_ID_INDEO2,
  559. .type = AVMEDIA_TYPE_VIDEO,
  560. .name = "indeo2",
  561. .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"),
  562. .props = AV_CODEC_PROP_LOSSY,
  563. },
  564. {
  565. .id = AV_CODEC_ID_FRAPS,
  566. .type = AVMEDIA_TYPE_VIDEO,
  567. .name = "fraps",
  568. .long_name = NULL_IF_CONFIG_SMALL("Fraps"),
  569. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  570. },
  571. {
  572. .id = AV_CODEC_ID_TRUEMOTION2,
  573. .type = AVMEDIA_TYPE_VIDEO,
  574. .name = "truemotion2",
  575. .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0"),
  576. .props = AV_CODEC_PROP_LOSSY,
  577. },
  578. {
  579. .id = AV_CODEC_ID_BMP,
  580. .type = AVMEDIA_TYPE_VIDEO,
  581. .name = "bmp",
  582. .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
  583. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  584. .mime_types= MT("image/x-ms-bmp"),
  585. },
  586. {
  587. .id = AV_CODEC_ID_CSCD,
  588. .type = AVMEDIA_TYPE_VIDEO,
  589. .name = "cscd",
  590. .long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
  591. .props = AV_CODEC_PROP_LOSSLESS,
  592. },
  593. {
  594. .id = AV_CODEC_ID_MMVIDEO,
  595. .type = AVMEDIA_TYPE_VIDEO,
  596. .name = "mmvideo",
  597. .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM Video"),
  598. .props = AV_CODEC_PROP_LOSSY,
  599. },
  600. {
  601. .id = AV_CODEC_ID_ZMBV,
  602. .type = AVMEDIA_TYPE_VIDEO,
  603. .name = "zmbv",
  604. .long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
  605. .props = AV_CODEC_PROP_LOSSLESS,
  606. },
  607. {
  608. .id = AV_CODEC_ID_AVS,
  609. .type = AVMEDIA_TYPE_VIDEO,
  610. .name = "avs",
  611. .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
  612. .props = AV_CODEC_PROP_LOSSY,
  613. },
  614. {
  615. .id = AV_CODEC_ID_SMACKVIDEO,
  616. .type = AVMEDIA_TYPE_VIDEO,
  617. .name = "smackvideo",
  618. .long_name = NULL_IF_CONFIG_SMALL("Smacker video"),
  619. .props = AV_CODEC_PROP_LOSSY,
  620. },
  621. {
  622. .id = AV_CODEC_ID_NUV,
  623. .type = AVMEDIA_TYPE_VIDEO,
  624. .name = "nuv",
  625. .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo/RTJPEG"),
  626. .props = AV_CODEC_PROP_LOSSY,
  627. },
  628. {
  629. .id = AV_CODEC_ID_KMVC,
  630. .type = AVMEDIA_TYPE_VIDEO,
  631. .name = "kmvc",
  632. .long_name = NULL_IF_CONFIG_SMALL("Karl Morton's video codec"),
  633. .props = AV_CODEC_PROP_LOSSY,
  634. },
  635. {
  636. .id = AV_CODEC_ID_FLASHSV,
  637. .type = AVMEDIA_TYPE_VIDEO,
  638. .name = "flashsv",
  639. .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
  640. .props = AV_CODEC_PROP_LOSSLESS,
  641. },
  642. {
  643. .id = AV_CODEC_ID_CAVS,
  644. .type = AVMEDIA_TYPE_VIDEO,
  645. .name = "cavs",
  646. .long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
  647. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  648. },
  649. {
  650. .id = AV_CODEC_ID_JPEG2000,
  651. .type = AVMEDIA_TYPE_VIDEO,
  652. .name = "jpeg2000",
  653. .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
  654. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
  655. AV_CODEC_PROP_LOSSLESS,
  656. .mime_types= MT("image/jp2"),
  657. .profiles = NULL_IF_CONFIG_SMALL(ff_jpeg2000_profiles),
  658. },
  659. {
  660. .id = AV_CODEC_ID_VMNC,
  661. .type = AVMEDIA_TYPE_VIDEO,
  662. .name = "vmnc",
  663. .long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"),
  664. .props = AV_CODEC_PROP_LOSSLESS,
  665. },
  666. {
  667. .id = AV_CODEC_ID_VP5,
  668. .type = AVMEDIA_TYPE_VIDEO,
  669. .name = "vp5",
  670. .long_name = NULL_IF_CONFIG_SMALL("On2 VP5"),
  671. .props = AV_CODEC_PROP_LOSSY,
  672. },
  673. {
  674. .id = AV_CODEC_ID_VP6,
  675. .type = AVMEDIA_TYPE_VIDEO,
  676. .name = "vp6",
  677. .long_name = NULL_IF_CONFIG_SMALL("On2 VP6"),
  678. .props = AV_CODEC_PROP_LOSSY,
  679. },
  680. {
  681. .id = AV_CODEC_ID_VP6F,
  682. .type = AVMEDIA_TYPE_VIDEO,
  683. .name = "vp6f",
  684. .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version)"),
  685. .props = AV_CODEC_PROP_LOSSY,
  686. },
  687. {
  688. .id = AV_CODEC_ID_TARGA,
  689. .type = AVMEDIA_TYPE_VIDEO,
  690. .name = "targa",
  691. .long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"),
  692. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  693. .mime_types= MT("image/x-targa", "image/x-tga"),
  694. },
  695. {
  696. .id = AV_CODEC_ID_DSICINVIDEO,
  697. .type = AVMEDIA_TYPE_VIDEO,
  698. .name = "dsicinvideo",
  699. .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"),
  700. .props = AV_CODEC_PROP_LOSSY,
  701. },
  702. {
  703. .id = AV_CODEC_ID_TIERTEXSEQVIDEO,
  704. .type = AVMEDIA_TYPE_VIDEO,
  705. .name = "tiertexseqvideo",
  706. .long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ video"),
  707. .props = AV_CODEC_PROP_LOSSY,
  708. },
  709. {
  710. .id = AV_CODEC_ID_TIFF,
  711. .type = AVMEDIA_TYPE_VIDEO,
  712. .name = "tiff",
  713. .long_name = NULL_IF_CONFIG_SMALL("TIFF image"),
  714. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  715. .mime_types= MT("image/tiff"),
  716. },
  717. {
  718. .id = AV_CODEC_ID_GIF,
  719. .type = AVMEDIA_TYPE_VIDEO,
  720. .name = "gif",
  721. .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
  722. .props = AV_CODEC_PROP_LOSSLESS,
  723. .mime_types= MT("image/gif"),
  724. },
  725. {
  726. .id = AV_CODEC_ID_DXA,
  727. .type = AVMEDIA_TYPE_VIDEO,
  728. .name = "dxa",
  729. .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
  730. .props = AV_CODEC_PROP_LOSSLESS,
  731. },
  732. {
  733. .id = AV_CODEC_ID_DNXHD,
  734. .type = AVMEDIA_TYPE_VIDEO,
  735. .name = "dnxhd",
  736. .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
  737. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  738. .profiles = NULL_IF_CONFIG_SMALL(ff_dnxhd_profiles),
  739. },
  740. {
  741. .id = AV_CODEC_ID_THP,
  742. .type = AVMEDIA_TYPE_VIDEO,
  743. .name = "thp",
  744. .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"),
  745. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  746. },
  747. {
  748. .id = AV_CODEC_ID_SGI,
  749. .type = AVMEDIA_TYPE_VIDEO,
  750. .name = "sgi",
  751. .long_name = NULL_IF_CONFIG_SMALL("SGI image"),
  752. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  753. },
  754. {
  755. .id = AV_CODEC_ID_C93,
  756. .type = AVMEDIA_TYPE_VIDEO,
  757. .name = "c93",
  758. .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
  759. .props = AV_CODEC_PROP_LOSSY,
  760. },
  761. {
  762. .id = AV_CODEC_ID_BETHSOFTVID,
  763. .type = AVMEDIA_TYPE_VIDEO,
  764. .name = "bethsoftvid",
  765. .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),
  766. .props = AV_CODEC_PROP_LOSSY,
  767. },
  768. {
  769. .id = AV_CODEC_ID_PTX,
  770. .type = AVMEDIA_TYPE_VIDEO,
  771. .name = "ptx",
  772. .long_name = NULL_IF_CONFIG_SMALL("V.Flash PTX image"),
  773. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  774. },
  775. {
  776. .id = AV_CODEC_ID_TXD,
  777. .type = AVMEDIA_TYPE_VIDEO,
  778. .name = "txd",
  779. .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"),
  780. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  781. },
  782. {
  783. .id = AV_CODEC_ID_VP6A,
  784. .type = AVMEDIA_TYPE_VIDEO,
  785. .name = "vp6a",
  786. .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version, with alpha channel)"),
  787. .props = AV_CODEC_PROP_LOSSY,
  788. },
  789. {
  790. .id = AV_CODEC_ID_AMV,
  791. .type = AVMEDIA_TYPE_VIDEO,
  792. .name = "amv",
  793. .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
  794. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  795. },
  796. {
  797. .id = AV_CODEC_ID_VB,
  798. .type = AVMEDIA_TYPE_VIDEO,
  799. .name = "vb",
  800. .long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"),
  801. .props = AV_CODEC_PROP_LOSSY,
  802. },
  803. {
  804. .id = AV_CODEC_ID_PCX,
  805. .type = AVMEDIA_TYPE_VIDEO,
  806. .name = "pcx",
  807. .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
  808. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  809. .mime_types= MT("image/x-pcx"),
  810. },
  811. {
  812. .id = AV_CODEC_ID_SUNRAST,
  813. .type = AVMEDIA_TYPE_VIDEO,
  814. .name = "sunrast",
  815. .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
  816. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  817. },
  818. {
  819. .id = AV_CODEC_ID_INDEO4,
  820. .type = AVMEDIA_TYPE_VIDEO,
  821. .name = "indeo4",
  822. .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"),
  823. .props = AV_CODEC_PROP_LOSSY,
  824. },
  825. {
  826. .id = AV_CODEC_ID_INDEO5,
  827. .type = AVMEDIA_TYPE_VIDEO,
  828. .name = "indeo5",
  829. .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"),
  830. .props = AV_CODEC_PROP_LOSSY,
  831. },
  832. {
  833. .id = AV_CODEC_ID_MIMIC,
  834. .type = AVMEDIA_TYPE_VIDEO,
  835. .name = "mimic",
  836. .long_name = NULL_IF_CONFIG_SMALL("Mimic"),
  837. .props = AV_CODEC_PROP_LOSSY,
  838. },
  839. {
  840. .id = AV_CODEC_ID_RL2,
  841. .type = AVMEDIA_TYPE_VIDEO,
  842. .name = "rl2",
  843. .long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
  844. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  845. },
  846. {
  847. .id = AV_CODEC_ID_ESCAPE124,
  848. .type = AVMEDIA_TYPE_VIDEO,
  849. .name = "escape124",
  850. .long_name = NULL_IF_CONFIG_SMALL("Escape 124"),
  851. .props = AV_CODEC_PROP_LOSSY,
  852. },
  853. {
  854. .id = AV_CODEC_ID_DIRAC,
  855. .type = AVMEDIA_TYPE_VIDEO,
  856. .name = "dirac",
  857. .long_name = NULL_IF_CONFIG_SMALL("Dirac"),
  858. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_REORDER,
  859. },
  860. {
  861. .id = AV_CODEC_ID_BFI,
  862. .type = AVMEDIA_TYPE_VIDEO,
  863. .name = "bfi",
  864. .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
  865. .props = AV_CODEC_PROP_LOSSY,
  866. },
  867. {
  868. .id = AV_CODEC_ID_CMV,
  869. .type = AVMEDIA_TYPE_VIDEO,
  870. .name = "cmv",
  871. .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"),
  872. .props = AV_CODEC_PROP_LOSSY,
  873. },
  874. {
  875. .id = AV_CODEC_ID_MOTIONPIXELS,
  876. .type = AVMEDIA_TYPE_VIDEO,
  877. .name = "motionpixels",
  878. .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels video"),
  879. .props = AV_CODEC_PROP_LOSSY,
  880. },
  881. {
  882. .id = AV_CODEC_ID_TGV,
  883. .type = AVMEDIA_TYPE_VIDEO,
  884. .name = "tgv",
  885. .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"),
  886. .props = AV_CODEC_PROP_LOSSY,
  887. },
  888. {
  889. .id = AV_CODEC_ID_TGQ,
  890. .type = AVMEDIA_TYPE_VIDEO,
  891. .name = "tgq",
  892. .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"),
  893. .props = AV_CODEC_PROP_LOSSY,
  894. },
  895. {
  896. .id = AV_CODEC_ID_TQI,
  897. .type = AVMEDIA_TYPE_VIDEO,
  898. .name = "tqi",
  899. .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI video"),
  900. .props = AV_CODEC_PROP_LOSSY,
  901. },
  902. {
  903. .id = AV_CODEC_ID_AURA,
  904. .type = AVMEDIA_TYPE_VIDEO,
  905. .name = "aura",
  906. .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"),
  907. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  908. },
  909. {
  910. .id = AV_CODEC_ID_AURA2,
  911. .type = AVMEDIA_TYPE_VIDEO,
  912. .name = "aura2",
  913. .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
  914. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  915. },
  916. {
  917. .id = AV_CODEC_ID_V210X,
  918. .type = AVMEDIA_TYPE_VIDEO,
  919. .name = "v210x",
  920. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
  921. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  922. },
  923. {
  924. .id = AV_CODEC_ID_TMV,
  925. .type = AVMEDIA_TYPE_VIDEO,
  926. .name = "tmv",
  927. .long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"),
  928. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  929. },
  930. {
  931. .id = AV_CODEC_ID_V210,
  932. .type = AVMEDIA_TYPE_VIDEO,
  933. .name = "v210",
  934. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
  935. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  936. },
  937. {
  938. .id = AV_CODEC_ID_DPX,
  939. .type = AVMEDIA_TYPE_VIDEO,
  940. .name = "dpx",
  941. .long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
  942. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  943. },
  944. {
  945. .id = AV_CODEC_ID_MAD,
  946. .type = AVMEDIA_TYPE_VIDEO,
  947. .name = "mad",
  948. .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Madcow Video"),
  949. .props = AV_CODEC_PROP_LOSSY,
  950. },
  951. {
  952. .id = AV_CODEC_ID_FRWU,
  953. .type = AVMEDIA_TYPE_VIDEO,
  954. .name = "frwu",
  955. .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
  956. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  957. },
  958. {
  959. .id = AV_CODEC_ID_FLASHSV2,
  960. .type = AVMEDIA_TYPE_VIDEO,
  961. .name = "flashsv2",
  962. .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
  963. .props = AV_CODEC_PROP_LOSSY,
  964. },
  965. {
  966. .id = AV_CODEC_ID_CDGRAPHICS,
  967. .type = AVMEDIA_TYPE_VIDEO,
  968. .name = "cdgraphics",
  969. .long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"),
  970. .props = AV_CODEC_PROP_LOSSY,
  971. },
  972. {
  973. .id = AV_CODEC_ID_R210,
  974. .type = AVMEDIA_TYPE_VIDEO,
  975. .name = "r210",
  976. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
  977. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  978. },
  979. {
  980. .id = AV_CODEC_ID_ANM,
  981. .type = AVMEDIA_TYPE_VIDEO,
  982. .name = "anm",
  983. .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
  984. .props = AV_CODEC_PROP_LOSSY,
  985. },
  986. {
  987. .id = AV_CODEC_ID_BINKVIDEO,
  988. .type = AVMEDIA_TYPE_VIDEO,
  989. .name = "binkvideo",
  990. .long_name = NULL_IF_CONFIG_SMALL("Bink video"),
  991. .props = AV_CODEC_PROP_LOSSY,
  992. },
  993. {
  994. .id = AV_CODEC_ID_IFF_ILBM,
  995. .type = AVMEDIA_TYPE_VIDEO,
  996. .name = "iff_ilbm",
  997. .long_name = NULL_IF_CONFIG_SMALL("IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN"),
  998. .props = AV_CODEC_PROP_LOSSY,
  999. },
  1000. {
  1001. .id = AV_CODEC_ID_KGV1,
  1002. .type = AVMEDIA_TYPE_VIDEO,
  1003. .name = "kgv1",
  1004. .long_name = NULL_IF_CONFIG_SMALL("Kega Game Video"),
  1005. .props = AV_CODEC_PROP_LOSSY,
  1006. },
  1007. {
  1008. .id = AV_CODEC_ID_YOP,
  1009. .type = AVMEDIA_TYPE_VIDEO,
  1010. .name = "yop",
  1011. .long_name = NULL_IF_CONFIG_SMALL("Psygnosis YOP Video"),
  1012. .props = AV_CODEC_PROP_LOSSY,
  1013. },
  1014. {
  1015. .id = AV_CODEC_ID_VP8,
  1016. .type = AVMEDIA_TYPE_VIDEO,
  1017. .name = "vp8",
  1018. .long_name = NULL_IF_CONFIG_SMALL("On2 VP8"),
  1019. .props = AV_CODEC_PROP_LOSSY,
  1020. },
  1021. {
  1022. .id = AV_CODEC_ID_PICTOR,
  1023. .type = AVMEDIA_TYPE_VIDEO,
  1024. .name = "pictor",
  1025. .long_name = NULL_IF_CONFIG_SMALL("Pictor/PC Paint"),
  1026. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1027. },
  1028. {
  1029. .id = AV_CODEC_ID_ANSI,
  1030. .type = AVMEDIA_TYPE_VIDEO,
  1031. .name = "ansi",
  1032. .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
  1033. .props = AV_CODEC_PROP_LOSSY,
  1034. },
  1035. {
  1036. .id = AV_CODEC_ID_A64_MULTI,
  1037. .type = AVMEDIA_TYPE_VIDEO,
  1038. .name = "a64_multi",
  1039. .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"),
  1040. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1041. },
  1042. {
  1043. .id = AV_CODEC_ID_A64_MULTI5,
  1044. .type = AVMEDIA_TYPE_VIDEO,
  1045. .name = "a64_multi5",
  1046. .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
  1047. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1048. },
  1049. {
  1050. .id = AV_CODEC_ID_R10K,
  1051. .type = AVMEDIA_TYPE_VIDEO,
  1052. .name = "r10k",
  1053. .long_name = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
  1054. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1055. },
  1056. {
  1057. .id = AV_CODEC_ID_MXPEG,
  1058. .type = AVMEDIA_TYPE_VIDEO,
  1059. .name = "mxpeg",
  1060. .long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"),
  1061. .props = AV_CODEC_PROP_LOSSY,
  1062. },
  1063. {
  1064. .id = AV_CODEC_ID_LAGARITH,
  1065. .type = AVMEDIA_TYPE_VIDEO,
  1066. .name = "lagarith",
  1067. .long_name = NULL_IF_CONFIG_SMALL("Lagarith lossless"),
  1068. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1069. },
  1070. {
  1071. .id = AV_CODEC_ID_PRORES,
  1072. .type = AVMEDIA_TYPE_VIDEO,
  1073. .name = "prores",
  1074. .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes (iCodec Pro)"),
  1075. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1076. },
  1077. {
  1078. .id = AV_CODEC_ID_JV,
  1079. .type = AVMEDIA_TYPE_VIDEO,
  1080. .name = "jv",
  1081. .long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"),
  1082. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1083. },
  1084. {
  1085. .id = AV_CODEC_ID_DFA,
  1086. .type = AVMEDIA_TYPE_VIDEO,
  1087. .name = "dfa",
  1088. .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
  1089. .props = AV_CODEC_PROP_LOSSY,
  1090. },
  1091. {
  1092. .id = AV_CODEC_ID_WMV3IMAGE,
  1093. .type = AVMEDIA_TYPE_VIDEO,
  1094. .name = "wmv3image",
  1095. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image"),
  1096. .props = AV_CODEC_PROP_LOSSY,
  1097. },
  1098. {
  1099. .id = AV_CODEC_ID_VC1IMAGE,
  1100. .type = AVMEDIA_TYPE_VIDEO,
  1101. .name = "vc1image",
  1102. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image v2"),
  1103. .props = AV_CODEC_PROP_LOSSY,
  1104. },
  1105. {
  1106. .id = AV_CODEC_ID_UTVIDEO,
  1107. .type = AVMEDIA_TYPE_VIDEO,
  1108. .name = "utvideo",
  1109. .long_name = NULL_IF_CONFIG_SMALL("Ut Video"),
  1110. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1111. },
  1112. {
  1113. .id = AV_CODEC_ID_BMV_VIDEO,
  1114. .type = AVMEDIA_TYPE_VIDEO,
  1115. .name = "bmv_video",
  1116. .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"),
  1117. .props = AV_CODEC_PROP_LOSSLESS,
  1118. },
  1119. {
  1120. .id = AV_CODEC_ID_VBLE,
  1121. .type = AVMEDIA_TYPE_VIDEO,
  1122. .name = "vble",
  1123. .long_name = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"),
  1124. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1125. },
  1126. {
  1127. .id = AV_CODEC_ID_DXTORY,
  1128. .type = AVMEDIA_TYPE_VIDEO,
  1129. .name = "dxtory",
  1130. .long_name = NULL_IF_CONFIG_SMALL("Dxtory"),
  1131. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1132. },
  1133. {
  1134. .id = AV_CODEC_ID_V410,
  1135. .type = AVMEDIA_TYPE_VIDEO,
  1136. .name = "v410",
  1137. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"),
  1138. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1139. },
  1140. {
  1141. .id = AV_CODEC_ID_XWD,
  1142. .type = AVMEDIA_TYPE_VIDEO,
  1143. .name = "xwd",
  1144. .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"),
  1145. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1146. .mime_types= MT("image/x-xwindowdump"),
  1147. },
  1148. {
  1149. .id = AV_CODEC_ID_CDXL,
  1150. .type = AVMEDIA_TYPE_VIDEO,
  1151. .name = "cdxl",
  1152. .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
  1153. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1154. },
  1155. {
  1156. .id = AV_CODEC_ID_XBM,
  1157. .type = AVMEDIA_TYPE_VIDEO,
  1158. .name = "xbm",
  1159. .long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"),
  1160. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1161. .mime_types= MT("image/x-xbitmap"),
  1162. },
  1163. {
  1164. .id = AV_CODEC_ID_ZEROCODEC,
  1165. .type = AVMEDIA_TYPE_VIDEO,
  1166. .name = "zerocodec",
  1167. .long_name = NULL_IF_CONFIG_SMALL("ZeroCodec Lossless Video"),
  1168. .props = AV_CODEC_PROP_LOSSLESS,
  1169. },
  1170. {
  1171. .id = AV_CODEC_ID_MSS1,
  1172. .type = AVMEDIA_TYPE_VIDEO,
  1173. .name = "mss1",
  1174. .long_name = NULL_IF_CONFIG_SMALL("MS Screen 1"),
  1175. .props = AV_CODEC_PROP_LOSSY,
  1176. },
  1177. {
  1178. .id = AV_CODEC_ID_MSA1,
  1179. .type = AVMEDIA_TYPE_VIDEO,
  1180. .name = "msa1",
  1181. .long_name = NULL_IF_CONFIG_SMALL("MS ATC Screen"),
  1182. .props = AV_CODEC_PROP_LOSSY,
  1183. },
  1184. {
  1185. .id = AV_CODEC_ID_TSCC2,
  1186. .type = AVMEDIA_TYPE_VIDEO,
  1187. .name = "tscc2",
  1188. .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Codec 2"),
  1189. .props = AV_CODEC_PROP_LOSSY,
  1190. },
  1191. {
  1192. .id = AV_CODEC_ID_MTS2,
  1193. .type = AVMEDIA_TYPE_VIDEO,
  1194. .name = "mts2",
  1195. .long_name = NULL_IF_CONFIG_SMALL("MS Expression Encoder Screen"),
  1196. .props = AV_CODEC_PROP_LOSSY,
  1197. },
  1198. {
  1199. .id = AV_CODEC_ID_CLLC,
  1200. .type = AVMEDIA_TYPE_VIDEO,
  1201. .name = "cllc",
  1202. .long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
  1203. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1204. },
  1205. {
  1206. .id = AV_CODEC_ID_MSS2,
  1207. .type = AVMEDIA_TYPE_VIDEO,
  1208. .name = "mss2",
  1209. .long_name = NULL_IF_CONFIG_SMALL("MS Windows Media Video V9 Screen"),
  1210. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1211. },
  1212. {
  1213. .id = AV_CODEC_ID_VP9,
  1214. .type = AVMEDIA_TYPE_VIDEO,
  1215. .name = "vp9",
  1216. .long_name = NULL_IF_CONFIG_SMALL("Google VP9"),
  1217. .props = AV_CODEC_PROP_LOSSY,
  1218. .profiles = NULL_IF_CONFIG_SMALL(ff_vp9_profiles),
  1219. },
  1220. {
  1221. .id = AV_CODEC_ID_AIC,
  1222. .type = AVMEDIA_TYPE_VIDEO,
  1223. .name = "aic",
  1224. .long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec"),
  1225. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1226. },
  1227. {
  1228. .id = AV_CODEC_ID_ESCAPE130,
  1229. .type = AVMEDIA_TYPE_VIDEO,
  1230. .name = "escape130",
  1231. .long_name = NULL_IF_CONFIG_SMALL("Escape 130"),
  1232. .props = AV_CODEC_PROP_LOSSY,
  1233. },
  1234. {
  1235. .id = AV_CODEC_ID_G2M,
  1236. .type = AVMEDIA_TYPE_VIDEO,
  1237. .name = "g2m",
  1238. .long_name = NULL_IF_CONFIG_SMALL("Go2Meeting"),
  1239. .props = AV_CODEC_PROP_LOSSY,
  1240. },
  1241. {
  1242. .id = AV_CODEC_ID_WEBP,
  1243. .type = AVMEDIA_TYPE_VIDEO,
  1244. .name = "webp",
  1245. .long_name = NULL_IF_CONFIG_SMALL("WebP"),
  1246. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
  1247. AV_CODEC_PROP_LOSSLESS,
  1248. .mime_types= MT("image/webp"),
  1249. },
  1250. {
  1251. .id = AV_CODEC_ID_HNM4_VIDEO,
  1252. .type = AVMEDIA_TYPE_VIDEO,
  1253. .name = "hnm4video",
  1254. .long_name = NULL_IF_CONFIG_SMALL("HNM 4 video"),
  1255. .props = AV_CODEC_PROP_LOSSY,
  1256. },
  1257. {
  1258. .id = AV_CODEC_ID_HEVC,
  1259. .type = AVMEDIA_TYPE_VIDEO,
  1260. .name = "hevc",
  1261. .long_name = NULL_IF_CONFIG_SMALL("H.265 / HEVC (High Efficiency Video Coding)"),
  1262. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
  1263. .profiles = NULL_IF_CONFIG_SMALL(ff_hevc_profiles),
  1264. },
  1265. {
  1266. .id = AV_CODEC_ID_FIC,
  1267. .type = AVMEDIA_TYPE_VIDEO,
  1268. .name = "fic",
  1269. .long_name = NULL_IF_CONFIG_SMALL("Mirillis FIC"),
  1270. .props = AV_CODEC_PROP_LOSSY,
  1271. },
  1272. {
  1273. .id = AV_CODEC_ID_ALIAS_PIX,
  1274. .type = AVMEDIA_TYPE_VIDEO,
  1275. .name = "alias_pix",
  1276. .long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
  1277. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1278. },
  1279. {
  1280. .id = AV_CODEC_ID_BRENDER_PIX,
  1281. .type = AVMEDIA_TYPE_VIDEO,
  1282. .name = "brender_pix",
  1283. .long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"),
  1284. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1285. },
  1286. {
  1287. .id = AV_CODEC_ID_PAF_VIDEO,
  1288. .type = AVMEDIA_TYPE_VIDEO,
  1289. .name = "paf_video",
  1290. .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"),
  1291. .props = AV_CODEC_PROP_LOSSY,
  1292. },
  1293. {
  1294. .id = AV_CODEC_ID_EXR,
  1295. .type = AVMEDIA_TYPE_VIDEO,
  1296. .name = "exr",
  1297. .long_name = NULL_IF_CONFIG_SMALL("OpenEXR image"),
  1298. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
  1299. AV_CODEC_PROP_LOSSLESS,
  1300. },
  1301. {
  1302. .id = AV_CODEC_ID_VP7,
  1303. .type = AVMEDIA_TYPE_VIDEO,
  1304. .name = "vp7",
  1305. .long_name = NULL_IF_CONFIG_SMALL("On2 VP7"),
  1306. .props = AV_CODEC_PROP_LOSSY,
  1307. },
  1308. {
  1309. .id = AV_CODEC_ID_SANM,
  1310. .type = AVMEDIA_TYPE_VIDEO,
  1311. .name = "sanm",
  1312. .long_name = NULL_IF_CONFIG_SMALL("LucasArts SANM/SMUSH video"),
  1313. .props = AV_CODEC_PROP_LOSSY,
  1314. },
  1315. {
  1316. .id = AV_CODEC_ID_SGIRLE,
  1317. .type = AVMEDIA_TYPE_VIDEO,
  1318. .name = "sgirle",
  1319. .long_name = NULL_IF_CONFIG_SMALL("SGI RLE 8-bit"),
  1320. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1321. },
  1322. {
  1323. .id = AV_CODEC_ID_MVC1,
  1324. .type = AVMEDIA_TYPE_VIDEO,
  1325. .name = "mvc1",
  1326. .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 1"),
  1327. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1328. },
  1329. {
  1330. .id = AV_CODEC_ID_MVC2,
  1331. .type = AVMEDIA_TYPE_VIDEO,
  1332. .name = "mvc2",
  1333. .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 2"),
  1334. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1335. },
  1336. {
  1337. .id = AV_CODEC_ID_HQX,
  1338. .type = AVMEDIA_TYPE_VIDEO,
  1339. .name = "hqx",
  1340. .long_name = NULL_IF_CONFIG_SMALL("Canopus HQX"),
  1341. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1342. },
  1343. {
  1344. .id = AV_CODEC_ID_TDSC,
  1345. .type = AVMEDIA_TYPE_VIDEO,
  1346. .name = "tdsc",
  1347. .long_name = NULL_IF_CONFIG_SMALL("TDSC"),
  1348. .props = AV_CODEC_PROP_LOSSY,
  1349. },
  1350. {
  1351. .id = AV_CODEC_ID_HQ_HQA,
  1352. .type = AVMEDIA_TYPE_VIDEO,
  1353. .name = "hq_hqa",
  1354. .long_name = NULL_IF_CONFIG_SMALL("Canopus HQ/HQA"),
  1355. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1356. },
  1357. {
  1358. .id = AV_CODEC_ID_HAP,
  1359. .type = AVMEDIA_TYPE_VIDEO,
  1360. .name = "hap",
  1361. .long_name = NULL_IF_CONFIG_SMALL("Vidvox Hap"),
  1362. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1363. },
  1364. {
  1365. .id = AV_CODEC_ID_DDS,
  1366. .type = AVMEDIA_TYPE_VIDEO,
  1367. .name = "dds",
  1368. .long_name = NULL_IF_CONFIG_SMALL("DirectDraw Surface image decoder"),
  1369. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
  1370. AV_CODEC_PROP_LOSSLESS,
  1371. },
  1372. {
  1373. .id = AV_CODEC_ID_DXV,
  1374. .type = AVMEDIA_TYPE_VIDEO,
  1375. .name = "dxv",
  1376. .long_name = NULL_IF_CONFIG_SMALL("Resolume DXV"),
  1377. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1378. },
  1379. {
  1380. .id = AV_CODEC_ID_SCREENPRESSO,
  1381. .type = AVMEDIA_TYPE_VIDEO,
  1382. .name = "screenpresso",
  1383. .long_name = NULL_IF_CONFIG_SMALL("Screenpresso"),
  1384. .props = AV_CODEC_PROP_LOSSLESS,
  1385. },
  1386. {
  1387. .id = AV_CODEC_ID_RSCC,
  1388. .type = AVMEDIA_TYPE_VIDEO,
  1389. .name = "rscc",
  1390. .long_name = NULL_IF_CONFIG_SMALL("innoHeim/Rsupport Screen Capture Codec"),
  1391. .props = AV_CODEC_PROP_LOSSLESS,
  1392. },
  1393. {
  1394. .id = AV_CODEC_ID_AVS2,
  1395. .type = AVMEDIA_TYPE_VIDEO,
  1396. .name = "avs2",
  1397. .long_name = NULL_IF_CONFIG_SMALL("AVS2-P2/IEEE1857.4"),
  1398. .props = AV_CODEC_PROP_LOSSY,
  1399. },
  1400. {
  1401. .id = AV_CODEC_ID_Y41P,
  1402. .type = AVMEDIA_TYPE_VIDEO,
  1403. .name = "y41p",
  1404. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
  1405. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1406. },
  1407. {
  1408. .id = AV_CODEC_ID_AVRP,
  1409. .type = AVMEDIA_TYPE_VIDEO,
  1410. .name = "avrp",
  1411. .long_name = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
  1412. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1413. },
  1414. {
  1415. .id = AV_CODEC_ID_012V,
  1416. .type = AVMEDIA_TYPE_VIDEO,
  1417. .name = "012v",
  1418. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
  1419. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1420. },
  1421. {
  1422. .id = AV_CODEC_ID_AVUI,
  1423. .type = AVMEDIA_TYPE_VIDEO,
  1424. .name = "avui",
  1425. .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
  1426. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1427. },
  1428. {
  1429. .id = AV_CODEC_ID_AYUV,
  1430. .type = AVMEDIA_TYPE_VIDEO,
  1431. .name = "ayuv",
  1432. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
  1433. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1434. },
  1435. {
  1436. .id = AV_CODEC_ID_TARGA_Y216,
  1437. .type = AVMEDIA_TYPE_VIDEO,
  1438. .name = "targa_y216",
  1439. .long_name = NULL_IF_CONFIG_SMALL("Pinnacle TARGA CineWave YUV16"),
  1440. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1441. },
  1442. {
  1443. .id = AV_CODEC_ID_V308,
  1444. .type = AVMEDIA_TYPE_VIDEO,
  1445. .name = "v308",
  1446. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
  1447. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1448. },
  1449. {
  1450. .id = AV_CODEC_ID_V408,
  1451. .type = AVMEDIA_TYPE_VIDEO,
  1452. .name = "v408",
  1453. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
  1454. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1455. },
  1456. {
  1457. .id = AV_CODEC_ID_YUV4,
  1458. .type = AVMEDIA_TYPE_VIDEO,
  1459. .name = "yuv4",
  1460. .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
  1461. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1462. },
  1463. {
  1464. .id = AV_CODEC_ID_AVRN,
  1465. .type = AVMEDIA_TYPE_VIDEO,
  1466. .name = "avrn",
  1467. .long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
  1468. },
  1469. {
  1470. .id = AV_CODEC_ID_CPIA,
  1471. .type = AVMEDIA_TYPE_VIDEO,
  1472. .name = "cpia",
  1473. .long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
  1474. },
  1475. {
  1476. .id = AV_CODEC_ID_XFACE,
  1477. .type = AVMEDIA_TYPE_VIDEO,
  1478. .name = "xface",
  1479. .long_name = NULL_IF_CONFIG_SMALL("X-face image"),
  1480. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1481. },
  1482. {
  1483. .id = AV_CODEC_ID_SNOW,
  1484. .type = AVMEDIA_TYPE_VIDEO,
  1485. .name = "snow",
  1486. .long_name = NULL_IF_CONFIG_SMALL("Snow"),
  1487. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
  1488. },
  1489. {
  1490. .id = AV_CODEC_ID_SMVJPEG,
  1491. .type = AVMEDIA_TYPE_VIDEO,
  1492. .name = "smvjpeg",
  1493. .long_name = NULL_IF_CONFIG_SMALL("Sigmatel Motion Video"),
  1494. },
  1495. {
  1496. .id = AV_CODEC_ID_APNG,
  1497. .type = AVMEDIA_TYPE_VIDEO,
  1498. .name = "apng",
  1499. .long_name = NULL_IF_CONFIG_SMALL("APNG (Animated Portable Network Graphics) image"),
  1500. .props = AV_CODEC_PROP_LOSSLESS,
  1501. .mime_types= MT("image/png"),
  1502. },
  1503. {
  1504. .id = AV_CODEC_ID_DAALA,
  1505. .type = AVMEDIA_TYPE_VIDEO,
  1506. .name = "daala",
  1507. .long_name = NULL_IF_CONFIG_SMALL("Daala"),
  1508. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
  1509. },
  1510. {
  1511. .id = AV_CODEC_ID_CFHD,
  1512. .type = AVMEDIA_TYPE_VIDEO,
  1513. .name = "cfhd",
  1514. .long_name = NULL_IF_CONFIG_SMALL("Cineform HD"),
  1515. .props = AV_CODEC_PROP_LOSSY,
  1516. },
  1517. {
  1518. .id = AV_CODEC_ID_TRUEMOTION2RT,
  1519. .type = AVMEDIA_TYPE_VIDEO,
  1520. .name = "truemotion2rt",
  1521. .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0 Real Time"),
  1522. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1523. },
  1524. {
  1525. .id = AV_CODEC_ID_M101,
  1526. .type = AVMEDIA_TYPE_VIDEO,
  1527. .name = "m101",
  1528. .long_name = NULL_IF_CONFIG_SMALL("Matrox Uncompressed SD"),
  1529. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1530. },
  1531. {
  1532. .id = AV_CODEC_ID_MAGICYUV,
  1533. .type = AVMEDIA_TYPE_VIDEO,
  1534. .name = "magicyuv",
  1535. .long_name = NULL_IF_CONFIG_SMALL("MagicYUV video"),
  1536. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1537. },
  1538. {
  1539. .id = AV_CODEC_ID_SHEERVIDEO,
  1540. .type = AVMEDIA_TYPE_VIDEO,
  1541. .name = "sheervideo",
  1542. .long_name = NULL_IF_CONFIG_SMALL("BitJazz SheerVideo"),
  1543. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1544. },
  1545. {
  1546. .id = AV_CODEC_ID_YLC,
  1547. .type = AVMEDIA_TYPE_VIDEO,
  1548. .name = "ylc",
  1549. .long_name = NULL_IF_CONFIG_SMALL("YUY2 Lossless Codec"),
  1550. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1551. },
  1552. {
  1553. .id = AV_CODEC_ID_PSD,
  1554. .type = AVMEDIA_TYPE_VIDEO,
  1555. .name = "psd",
  1556. .long_name = NULL_IF_CONFIG_SMALL("Photoshop PSD file"),
  1557. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1558. },
  1559. {
  1560. .id = AV_CODEC_ID_PIXLET,
  1561. .type = AVMEDIA_TYPE_VIDEO,
  1562. .name = "pixlet",
  1563. .long_name = NULL_IF_CONFIG_SMALL("Apple Pixlet"),
  1564. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1565. },
  1566. {
  1567. .id = AV_CODEC_ID_SPEEDHQ,
  1568. .type = AVMEDIA_TYPE_VIDEO,
  1569. .name = "speedhq",
  1570. .long_name = NULL_IF_CONFIG_SMALL("NewTek SpeedHQ"),
  1571. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1572. },
  1573. {
  1574. .id = AV_CODEC_ID_FMVC,
  1575. .type = AVMEDIA_TYPE_VIDEO,
  1576. .name = "fmvc",
  1577. .long_name = NULL_IF_CONFIG_SMALL("FM Screen Capture Codec"),
  1578. .props = AV_CODEC_PROP_LOSSLESS,
  1579. },
  1580. {
  1581. .id = AV_CODEC_ID_SCPR,
  1582. .type = AVMEDIA_TYPE_VIDEO,
  1583. .name = "scpr",
  1584. .long_name = NULL_IF_CONFIG_SMALL("ScreenPressor"),
  1585. .props = AV_CODEC_PROP_LOSSLESS | AV_CODEC_PROP_LOSSY,
  1586. },
  1587. {
  1588. .id = AV_CODEC_ID_CLEARVIDEO,
  1589. .type = AVMEDIA_TYPE_VIDEO,
  1590. .name = "clearvideo",
  1591. .long_name = NULL_IF_CONFIG_SMALL("Iterated Systems ClearVideo"),
  1592. .props = AV_CODEC_PROP_LOSSY,
  1593. },
  1594. {
  1595. .id = AV_CODEC_ID_XPM,
  1596. .type = AVMEDIA_TYPE_VIDEO,
  1597. .name = "xpm",
  1598. .long_name = NULL_IF_CONFIG_SMALL("XPM (X PixMap) image"),
  1599. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1600. .mime_types= MT("image/x-xpixmap"),
  1601. },
  1602. {
  1603. .id = AV_CODEC_ID_AV1,
  1604. .type = AVMEDIA_TYPE_VIDEO,
  1605. .name = "av1",
  1606. .long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"),
  1607. .props = AV_CODEC_PROP_LOSSY,
  1608. .profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
  1609. },
  1610. {
  1611. .id = AV_CODEC_ID_BITPACKED,
  1612. .type = AVMEDIA_TYPE_VIDEO,
  1613. .name = "bitpacked",
  1614. .long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
  1615. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1616. },
  1617. {
  1618. .id = AV_CODEC_ID_MSCC,
  1619. .type = AVMEDIA_TYPE_VIDEO,
  1620. .name = "mscc",
  1621. .long_name = NULL_IF_CONFIG_SMALL("Mandsoft Screen Capture Codec"),
  1622. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1623. },
  1624. {
  1625. .id = AV_CODEC_ID_SRGC,
  1626. .type = AVMEDIA_TYPE_VIDEO,
  1627. .name = "srgc",
  1628. .long_name = NULL_IF_CONFIG_SMALL("Screen Recorder Gold Codec"),
  1629. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1630. },
  1631. {
  1632. .id = AV_CODEC_ID_SVG,
  1633. .type = AVMEDIA_TYPE_VIDEO,
  1634. .name = "svg",
  1635. .long_name = NULL_IF_CONFIG_SMALL("Scalable Vector Graphics"),
  1636. .props = AV_CODEC_PROP_LOSSLESS,
  1637. .mime_types= MT("image/svg+xml"),
  1638. },
  1639. {
  1640. .id = AV_CODEC_ID_GDV,
  1641. .type = AVMEDIA_TYPE_VIDEO,
  1642. .name = "gdv",
  1643. .long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"),
  1644. .props = AV_CODEC_PROP_LOSSY,
  1645. },
  1646. {
  1647. .id = AV_CODEC_ID_FITS,
  1648. .type = AVMEDIA_TYPE_VIDEO,
  1649. .name = "fits",
  1650. .long_name = NULL_IF_CONFIG_SMALL("FITS (Flexible Image Transport System)"),
  1651. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  1652. },
  1653. {
  1654. .id = AV_CODEC_ID_IMM4,
  1655. .type = AVMEDIA_TYPE_VIDEO,
  1656. .name = "imm4",
  1657. .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM4"),
  1658. .props = AV_CODEC_PROP_LOSSY,
  1659. },
  1660. {
  1661. .id = AV_CODEC_ID_PROSUMER,
  1662. .type = AVMEDIA_TYPE_VIDEO,
  1663. .name = "prosumer",
  1664. .long_name = NULL_IF_CONFIG_SMALL("Brooktree ProSumer Video"),
  1665. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
  1666. },
  1667. {
  1668. .id = AV_CODEC_ID_MWSC,
  1669. .type = AVMEDIA_TYPE_VIDEO,
  1670. .name = "mwsc",
  1671. .long_name = NULL_IF_CONFIG_SMALL("MatchWare Screen Capture Codec"),
  1672. .props = AV_CODEC_PROP_LOSSLESS,
  1673. },
  1674. {
  1675. .id = AV_CODEC_ID_WCMV,
  1676. .type = AVMEDIA_TYPE_VIDEO,
  1677. .name = "wcmv",
  1678. .long_name = NULL_IF_CONFIG_SMALL("WinCAM Motion Video"),
  1679. .props = AV_CODEC_PROP_LOSSLESS,
  1680. },
  1681. {
  1682. .id = AV_CODEC_ID_RASC,
  1683. .type = AVMEDIA_TYPE_VIDEO,
  1684. .name = "rasc",
  1685. .long_name = NULL_IF_CONFIG_SMALL("RemotelyAnywhere Screen Capture"),
  1686. .props = AV_CODEC_PROP_LOSSY,
  1687. },
  1688. /* various PCM "codecs" */
  1689. {
  1690. .id = AV_CODEC_ID_PCM_S16LE,
  1691. .type = AVMEDIA_TYPE_AUDIO,
  1692. .name = "pcm_s16le",
  1693. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian"),
  1694. .props = AV_CODEC_PROP_LOSSLESS,
  1695. },
  1696. {
  1697. .id = AV_CODEC_ID_PCM_S16BE,
  1698. .type = AVMEDIA_TYPE_AUDIO,
  1699. .name = "pcm_s16be",
  1700. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian"),
  1701. .props = AV_CODEC_PROP_LOSSLESS,
  1702. },
  1703. {
  1704. .id = AV_CODEC_ID_PCM_U16LE,
  1705. .type = AVMEDIA_TYPE_AUDIO,
  1706. .name = "pcm_u16le",
  1707. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit little-endian"),
  1708. .props = AV_CODEC_PROP_LOSSLESS,
  1709. },
  1710. {
  1711. .id = AV_CODEC_ID_PCM_U16BE,
  1712. .type = AVMEDIA_TYPE_AUDIO,
  1713. .name = "pcm_u16be",
  1714. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 16-bit big-endian"),
  1715. .props = AV_CODEC_PROP_LOSSLESS,
  1716. },
  1717. {
  1718. .id = AV_CODEC_ID_PCM_S8,
  1719. .type = AVMEDIA_TYPE_AUDIO,
  1720. .name = "pcm_s8",
  1721. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit"),
  1722. .props = AV_CODEC_PROP_LOSSLESS,
  1723. },
  1724. {
  1725. .id = AV_CODEC_ID_PCM_U8,
  1726. .type = AVMEDIA_TYPE_AUDIO,
  1727. .name = "pcm_u8",
  1728. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 8-bit"),
  1729. .props = AV_CODEC_PROP_LOSSLESS,
  1730. },
  1731. {
  1732. .id = AV_CODEC_ID_PCM_MULAW,
  1733. .type = AVMEDIA_TYPE_AUDIO,
  1734. .name = "pcm_mulaw",
  1735. .long_name = NULL_IF_CONFIG_SMALL("PCM mu-law / G.711 mu-law"),
  1736. .props = AV_CODEC_PROP_LOSSY,
  1737. },
  1738. {
  1739. .id = AV_CODEC_ID_PCM_ALAW,
  1740. .type = AVMEDIA_TYPE_AUDIO,
  1741. .name = "pcm_alaw",
  1742. .long_name = NULL_IF_CONFIG_SMALL("PCM A-law / G.711 A-law"),
  1743. .props = AV_CODEC_PROP_LOSSY,
  1744. },
  1745. {
  1746. .id = AV_CODEC_ID_PCM_S32LE,
  1747. .type = AVMEDIA_TYPE_AUDIO,
  1748. .name = "pcm_s32le",
  1749. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian"),
  1750. .props = AV_CODEC_PROP_LOSSLESS,
  1751. },
  1752. {
  1753. .id = AV_CODEC_ID_PCM_S32BE,
  1754. .type = AVMEDIA_TYPE_AUDIO,
  1755. .name = "pcm_s32be",
  1756. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit big-endian"),
  1757. .props = AV_CODEC_PROP_LOSSLESS,
  1758. },
  1759. {
  1760. .id = AV_CODEC_ID_PCM_U32LE,
  1761. .type = AVMEDIA_TYPE_AUDIO,
  1762. .name = "pcm_u32le",
  1763. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit little-endian"),
  1764. .props = AV_CODEC_PROP_LOSSLESS,
  1765. },
  1766. {
  1767. .id = AV_CODEC_ID_PCM_U32BE,
  1768. .type = AVMEDIA_TYPE_AUDIO,
  1769. .name = "pcm_u32be",
  1770. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 32-bit big-endian"),
  1771. .props = AV_CODEC_PROP_LOSSLESS,
  1772. },
  1773. {
  1774. .id = AV_CODEC_ID_PCM_S24LE,
  1775. .type = AVMEDIA_TYPE_AUDIO,
  1776. .name = "pcm_s24le",
  1777. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian"),
  1778. .props = AV_CODEC_PROP_LOSSLESS,
  1779. },
  1780. {
  1781. .id = AV_CODEC_ID_PCM_S24BE,
  1782. .type = AVMEDIA_TYPE_AUDIO,
  1783. .name = "pcm_s24be",
  1784. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit big-endian"),
  1785. .props = AV_CODEC_PROP_LOSSLESS,
  1786. },
  1787. {
  1788. .id = AV_CODEC_ID_PCM_U24LE,
  1789. .type = AVMEDIA_TYPE_AUDIO,
  1790. .name = "pcm_u24le",
  1791. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit little-endian"),
  1792. .props = AV_CODEC_PROP_LOSSLESS,
  1793. },
  1794. {
  1795. .id = AV_CODEC_ID_PCM_U24BE,
  1796. .type = AVMEDIA_TYPE_AUDIO,
  1797. .name = "pcm_u24be",
  1798. .long_name = NULL_IF_CONFIG_SMALL("PCM unsigned 24-bit big-endian"),
  1799. .props = AV_CODEC_PROP_LOSSLESS,
  1800. },
  1801. {
  1802. .id = AV_CODEC_ID_PCM_S24DAUD,
  1803. .type = AVMEDIA_TYPE_AUDIO,
  1804. .name = "pcm_s24daud",
  1805. .long_name = NULL_IF_CONFIG_SMALL("PCM D-Cinema audio signed 24-bit"),
  1806. .props = AV_CODEC_PROP_LOSSLESS,
  1807. },
  1808. {
  1809. .id = AV_CODEC_ID_PCM_ZORK,
  1810. .type = AVMEDIA_TYPE_AUDIO,
  1811. .name = "pcm_zork",
  1812. .long_name = NULL_IF_CONFIG_SMALL("PCM Zork"),
  1813. .props = AV_CODEC_PROP_LOSSY,
  1814. },
  1815. {
  1816. .id = AV_CODEC_ID_PCM_S16LE_PLANAR,
  1817. .type = AVMEDIA_TYPE_AUDIO,
  1818. .name = "pcm_s16le_planar",
  1819. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit little-endian planar"),
  1820. .props = AV_CODEC_PROP_LOSSLESS,
  1821. },
  1822. {
  1823. .id = AV_CODEC_ID_PCM_DVD,
  1824. .type = AVMEDIA_TYPE_AUDIO,
  1825. .name = "pcm_dvd",
  1826. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20|24-bit big-endian"),
  1827. .props = AV_CODEC_PROP_LOSSLESS,
  1828. },
  1829. {
  1830. .id = AV_CODEC_ID_PCM_F32BE,
  1831. .type = AVMEDIA_TYPE_AUDIO,
  1832. .name = "pcm_f32be",
  1833. .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point big-endian"),
  1834. .props = AV_CODEC_PROP_LOSSLESS,
  1835. },
  1836. {
  1837. .id = AV_CODEC_ID_PCM_F32LE,
  1838. .type = AVMEDIA_TYPE_AUDIO,
  1839. .name = "pcm_f32le",
  1840. .long_name = NULL_IF_CONFIG_SMALL("PCM 32-bit floating point little-endian"),
  1841. .props = AV_CODEC_PROP_LOSSLESS,
  1842. },
  1843. {
  1844. .id = AV_CODEC_ID_PCM_F64BE,
  1845. .type = AVMEDIA_TYPE_AUDIO,
  1846. .name = "pcm_f64be",
  1847. .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point big-endian"),
  1848. .props = AV_CODEC_PROP_LOSSLESS,
  1849. },
  1850. {
  1851. .id = AV_CODEC_ID_PCM_F64LE,
  1852. .type = AVMEDIA_TYPE_AUDIO,
  1853. .name = "pcm_f64le",
  1854. .long_name = NULL_IF_CONFIG_SMALL("PCM 64-bit floating point little-endian"),
  1855. .props = AV_CODEC_PROP_LOSSLESS,
  1856. },
  1857. {
  1858. .id = AV_CODEC_ID_PCM_BLURAY,
  1859. .type = AVMEDIA_TYPE_AUDIO,
  1860. .name = "pcm_bluray",
  1861. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
  1862. .props = AV_CODEC_PROP_LOSSLESS,
  1863. },
  1864. {
  1865. .id = AV_CODEC_ID_PCM_LXF,
  1866. .type = AVMEDIA_TYPE_AUDIO,
  1867. .name = "pcm_lxf",
  1868. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 20-bit little-endian planar"),
  1869. .props = AV_CODEC_PROP_LOSSLESS,
  1870. },
  1871. {
  1872. .id = AV_CODEC_ID_S302M,
  1873. .type = AVMEDIA_TYPE_AUDIO,
  1874. .name = "s302m",
  1875. .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
  1876. .props = AV_CODEC_PROP_LOSSLESS,
  1877. },
  1878. {
  1879. .id = AV_CODEC_ID_PCM_S8_PLANAR,
  1880. .type = AVMEDIA_TYPE_AUDIO,
  1881. .name = "pcm_s8_planar",
  1882. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit planar"),
  1883. .props = AV_CODEC_PROP_LOSSLESS,
  1884. },
  1885. {
  1886. .id = AV_CODEC_ID_PCM_S24LE_PLANAR,
  1887. .type = AVMEDIA_TYPE_AUDIO,
  1888. .name = "pcm_s24le_planar",
  1889. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 24-bit little-endian planar"),
  1890. .props = AV_CODEC_PROP_LOSSLESS,
  1891. },
  1892. {
  1893. .id = AV_CODEC_ID_PCM_S32LE_PLANAR,
  1894. .type = AVMEDIA_TYPE_AUDIO,
  1895. .name = "pcm_s32le_planar",
  1896. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 32-bit little-endian planar"),
  1897. .props = AV_CODEC_PROP_LOSSLESS,
  1898. },
  1899. {
  1900. .id = AV_CODEC_ID_PCM_S16BE_PLANAR,
  1901. .type = AVMEDIA_TYPE_AUDIO,
  1902. .name = "pcm_s16be_planar",
  1903. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian planar"),
  1904. .props = AV_CODEC_PROP_LOSSLESS,
  1905. },
  1906. {
  1907. .id = AV_CODEC_ID_PCM_S64LE,
  1908. .type = AVMEDIA_TYPE_AUDIO,
  1909. .name = "pcm_s64le",
  1910. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 64-bit little-endian"),
  1911. .props = AV_CODEC_PROP_LOSSLESS,
  1912. },
  1913. {
  1914. .id = AV_CODEC_ID_PCM_S64BE,
  1915. .type = AVMEDIA_TYPE_AUDIO,
  1916. .name = "pcm_s64be",
  1917. .long_name = NULL_IF_CONFIG_SMALL("PCM signed 64-bit big-endian"),
  1918. .props = AV_CODEC_PROP_LOSSLESS,
  1919. },
  1920. {
  1921. .id = AV_CODEC_ID_PCM_F16LE,
  1922. .type = AVMEDIA_TYPE_AUDIO,
  1923. .name = "pcm_f16le",
  1924. .long_name = NULL_IF_CONFIG_SMALL("PCM 16.8 floating point little-endian"),
  1925. .props = AV_CODEC_PROP_LOSSLESS,
  1926. },
  1927. {
  1928. .id = AV_CODEC_ID_PCM_F24LE,
  1929. .type = AVMEDIA_TYPE_AUDIO,
  1930. .name = "pcm_f24le",
  1931. .long_name = NULL_IF_CONFIG_SMALL("PCM 24.0 floating point little-endian"),
  1932. .props = AV_CODEC_PROP_LOSSLESS,
  1933. },
  1934. {
  1935. .id = AV_CODEC_ID_PCM_VIDC,
  1936. .type = AVMEDIA_TYPE_AUDIO,
  1937. .name = "pcm_vidc",
  1938. .long_name = NULL_IF_CONFIG_SMALL("PCM Archimedes VIDC"),
  1939. .props = AV_CODEC_PROP_LOSSY,
  1940. },
  1941. /* various ADPCM codecs */
  1942. {
  1943. .id = AV_CODEC_ID_ADPCM_IMA_QT,
  1944. .type = AVMEDIA_TYPE_AUDIO,
  1945. .name = "adpcm_ima_qt",
  1946. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA QuickTime"),
  1947. .props = AV_CODEC_PROP_LOSSY,
  1948. },
  1949. {
  1950. .id = AV_CODEC_ID_ADPCM_IMA_WAV,
  1951. .type = AVMEDIA_TYPE_AUDIO,
  1952. .name = "adpcm_ima_wav",
  1953. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA WAV"),
  1954. .props = AV_CODEC_PROP_LOSSY,
  1955. },
  1956. {
  1957. .id = AV_CODEC_ID_ADPCM_IMA_DK3,
  1958. .type = AVMEDIA_TYPE_AUDIO,
  1959. .name = "adpcm_ima_dk3",
  1960. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK3"),
  1961. .props = AV_CODEC_PROP_LOSSY,
  1962. },
  1963. {
  1964. .id = AV_CODEC_ID_ADPCM_IMA_DK4,
  1965. .type = AVMEDIA_TYPE_AUDIO,
  1966. .name = "adpcm_ima_dk4",
  1967. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Duck DK4"),
  1968. .props = AV_CODEC_PROP_LOSSY,
  1969. },
  1970. {
  1971. .id = AV_CODEC_ID_ADPCM_IMA_WS,
  1972. .type = AVMEDIA_TYPE_AUDIO,
  1973. .name = "adpcm_ima_ws",
  1974. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Westwood"),
  1975. .props = AV_CODEC_PROP_LOSSY,
  1976. },
  1977. {
  1978. .id = AV_CODEC_ID_ADPCM_IMA_SMJPEG,
  1979. .type = AVMEDIA_TYPE_AUDIO,
  1980. .name = "adpcm_ima_smjpeg",
  1981. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Loki SDL MJPEG"),
  1982. .props = AV_CODEC_PROP_LOSSY,
  1983. },
  1984. {
  1985. .id = AV_CODEC_ID_ADPCM_MS,
  1986. .type = AVMEDIA_TYPE_AUDIO,
  1987. .name = "adpcm_ms",
  1988. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Microsoft"),
  1989. .props = AV_CODEC_PROP_LOSSY,
  1990. },
  1991. {
  1992. .id = AV_CODEC_ID_ADPCM_4XM,
  1993. .type = AVMEDIA_TYPE_AUDIO,
  1994. .name = "adpcm_4xm",
  1995. .long_name = NULL_IF_CONFIG_SMALL("ADPCM 4X Movie"),
  1996. .props = AV_CODEC_PROP_LOSSY,
  1997. },
  1998. {
  1999. .id = AV_CODEC_ID_ADPCM_XA,
  2000. .type = AVMEDIA_TYPE_AUDIO,
  2001. .name = "adpcm_xa",
  2002. .long_name = NULL_IF_CONFIG_SMALL("ADPCM CDROM XA"),
  2003. .props = AV_CODEC_PROP_LOSSY,
  2004. },
  2005. {
  2006. .id = AV_CODEC_ID_ADPCM_ADX,
  2007. .type = AVMEDIA_TYPE_AUDIO,
  2008. .name = "adpcm_adx",
  2009. .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
  2010. .props = AV_CODEC_PROP_LOSSY,
  2011. },
  2012. {
  2013. .id = AV_CODEC_ID_ADPCM_EA,
  2014. .type = AVMEDIA_TYPE_AUDIO,
  2015. .name = "adpcm_ea",
  2016. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts"),
  2017. .props = AV_CODEC_PROP_LOSSY,
  2018. },
  2019. {
  2020. .id = AV_CODEC_ID_ADPCM_G726,
  2021. .type = AVMEDIA_TYPE_AUDIO,
  2022. .name = "adpcm_g726",
  2023. .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
  2024. .props = AV_CODEC_PROP_LOSSY,
  2025. },
  2026. {
  2027. .id = AV_CODEC_ID_ADPCM_CT,
  2028. .type = AVMEDIA_TYPE_AUDIO,
  2029. .name = "adpcm_ct",
  2030. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Creative Technology"),
  2031. .props = AV_CODEC_PROP_LOSSY,
  2032. },
  2033. {
  2034. .id = AV_CODEC_ID_ADPCM_SWF,
  2035. .type = AVMEDIA_TYPE_AUDIO,
  2036. .name = "adpcm_swf",
  2037. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Shockwave Flash"),
  2038. .props = AV_CODEC_PROP_LOSSY,
  2039. },
  2040. {
  2041. .id = AV_CODEC_ID_ADPCM_YAMAHA,
  2042. .type = AVMEDIA_TYPE_AUDIO,
  2043. .name = "adpcm_yamaha",
  2044. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha"),
  2045. .props = AV_CODEC_PROP_LOSSY,
  2046. },
  2047. {
  2048. .id = AV_CODEC_ID_ADPCM_SBPRO_4,
  2049. .type = AVMEDIA_TYPE_AUDIO,
  2050. .name = "adpcm_sbpro_4",
  2051. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 4-bit"),
  2052. .props = AV_CODEC_PROP_LOSSY,
  2053. },
  2054. {
  2055. .id = AV_CODEC_ID_ADPCM_SBPRO_3,
  2056. .type = AVMEDIA_TYPE_AUDIO,
  2057. .name = "adpcm_sbpro_3",
  2058. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2.6-bit"),
  2059. .props = AV_CODEC_PROP_LOSSY,
  2060. },
  2061. {
  2062. .id = AV_CODEC_ID_ADPCM_SBPRO_2,
  2063. .type = AVMEDIA_TYPE_AUDIO,
  2064. .name = "adpcm_sbpro_2",
  2065. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Sound Blaster Pro 2-bit"),
  2066. .props = AV_CODEC_PROP_LOSSY,
  2067. },
  2068. {
  2069. .id = AV_CODEC_ID_ADPCM_THP,
  2070. .type = AVMEDIA_TYPE_AUDIO,
  2071. .name = "adpcm_thp",
  2072. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo THP"),
  2073. .props = AV_CODEC_PROP_LOSSY,
  2074. },
  2075. {
  2076. .id = AV_CODEC_ID_ADPCM_IMA_AMV,
  2077. .type = AVMEDIA_TYPE_AUDIO,
  2078. .name = "adpcm_ima_amv",
  2079. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA AMV"),
  2080. .props = AV_CODEC_PROP_LOSSY,
  2081. },
  2082. {
  2083. .id = AV_CODEC_ID_ADPCM_EA_R1,
  2084. .type = AVMEDIA_TYPE_AUDIO,
  2085. .name = "adpcm_ea_r1",
  2086. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R1"),
  2087. .props = AV_CODEC_PROP_LOSSY,
  2088. },
  2089. {
  2090. .id = AV_CODEC_ID_ADPCM_EA_R3,
  2091. .type = AVMEDIA_TYPE_AUDIO,
  2092. .name = "adpcm_ea_r3",
  2093. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R3"),
  2094. .props = AV_CODEC_PROP_LOSSY,
  2095. },
  2096. {
  2097. .id = AV_CODEC_ID_ADPCM_EA_R2,
  2098. .type = AVMEDIA_TYPE_AUDIO,
  2099. .name = "adpcm_ea_r2",
  2100. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts R2"),
  2101. .props = AV_CODEC_PROP_LOSSY,
  2102. },
  2103. {
  2104. .id = AV_CODEC_ID_ADPCM_IMA_EA_SEAD,
  2105. .type = AVMEDIA_TYPE_AUDIO,
  2106. .name = "adpcm_ima_ea_sead",
  2107. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts SEAD"),
  2108. .props = AV_CODEC_PROP_LOSSY,
  2109. },
  2110. {
  2111. .id = AV_CODEC_ID_ADPCM_IMA_EA_EACS,
  2112. .type = AVMEDIA_TYPE_AUDIO,
  2113. .name = "adpcm_ima_ea_eacs",
  2114. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Electronic Arts EACS"),
  2115. .props = AV_CODEC_PROP_LOSSY,
  2116. },
  2117. {
  2118. .id = AV_CODEC_ID_ADPCM_EA_XAS,
  2119. .type = AVMEDIA_TYPE_AUDIO,
  2120. .name = "adpcm_ea_xas",
  2121. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts XAS"),
  2122. .props = AV_CODEC_PROP_LOSSY,
  2123. },
  2124. {
  2125. .id = AV_CODEC_ID_ADPCM_EA_MAXIS_XA,
  2126. .type = AVMEDIA_TYPE_AUDIO,
  2127. .name = "adpcm_ea_maxis_xa",
  2128. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Electronic Arts Maxis CDROM XA"),
  2129. .props = AV_CODEC_PROP_LOSSY,
  2130. },
  2131. {
  2132. .id = AV_CODEC_ID_ADPCM_IMA_ISS,
  2133. .type = AVMEDIA_TYPE_AUDIO,
  2134. .name = "adpcm_ima_iss",
  2135. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Funcom ISS"),
  2136. .props = AV_CODEC_PROP_LOSSY,
  2137. },
  2138. {
  2139. .id = AV_CODEC_ID_ADPCM_G722,
  2140. .type = AVMEDIA_TYPE_AUDIO,
  2141. .name = "adpcm_g722",
  2142. .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
  2143. .props = AV_CODEC_PROP_LOSSY,
  2144. },
  2145. {
  2146. .id = AV_CODEC_ID_ADPCM_IMA_APC,
  2147. .type = AVMEDIA_TYPE_AUDIO,
  2148. .name = "adpcm_ima_apc",
  2149. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA CRYO APC"),
  2150. .props = AV_CODEC_PROP_LOSSY,
  2151. },
  2152. {
  2153. .id = AV_CODEC_ID_ADPCM_VIMA,
  2154. .type = AVMEDIA_TYPE_AUDIO,
  2155. .name = "adpcm_vima",
  2156. .long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
  2157. .props = AV_CODEC_PROP_LOSSY,
  2158. },
  2159. {
  2160. .id = AV_CODEC_ID_ADPCM_AFC,
  2161. .type = AVMEDIA_TYPE_AUDIO,
  2162. .name = "adpcm_afc",
  2163. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube AFC"),
  2164. .props = AV_CODEC_PROP_LOSSY,
  2165. },
  2166. {
  2167. .id = AV_CODEC_ID_ADPCM_IMA_OKI,
  2168. .type = AVMEDIA_TYPE_AUDIO,
  2169. .name = "adpcm_ima_oki",
  2170. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Dialogic OKI"),
  2171. .props = AV_CODEC_PROP_LOSSY,
  2172. },
  2173. {
  2174. .id = AV_CODEC_ID_ADPCM_DTK,
  2175. .type = AVMEDIA_TYPE_AUDIO,
  2176. .name = "adpcm_dtk",
  2177. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo Gamecube DTK"),
  2178. .props = AV_CODEC_PROP_LOSSY,
  2179. },
  2180. {
  2181. .id = AV_CODEC_ID_ADPCM_IMA_RAD,
  2182. .type = AVMEDIA_TYPE_AUDIO,
  2183. .name = "adpcm_ima_rad",
  2184. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Radical"),
  2185. .props = AV_CODEC_PROP_LOSSY,
  2186. },
  2187. {
  2188. .id = AV_CODEC_ID_ADPCM_G726LE,
  2189. .type = AVMEDIA_TYPE_AUDIO,
  2190. .name = "adpcm_g726le",
  2191. .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM little-endian"),
  2192. .props = AV_CODEC_PROP_LOSSY,
  2193. },
  2194. {
  2195. .id = AV_CODEC_ID_ADPCM_THP_LE,
  2196. .type = AVMEDIA_TYPE_AUDIO,
  2197. .name = "adpcm_thp_le",
  2198. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Nintendo THP (Little-Endian)"),
  2199. .props = AV_CODEC_PROP_LOSSY,
  2200. },
  2201. {
  2202. .id = AV_CODEC_ID_ADPCM_PSX,
  2203. .type = AVMEDIA_TYPE_AUDIO,
  2204. .name = "adpcm_psx",
  2205. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Playstation"),
  2206. .props = AV_CODEC_PROP_LOSSY,
  2207. },
  2208. {
  2209. .id = AV_CODEC_ID_ADPCM_AICA,
  2210. .type = AVMEDIA_TYPE_AUDIO,
  2211. .name = "adpcm_aica",
  2212. .long_name = NULL_IF_CONFIG_SMALL("ADPCM Yamaha AICA"),
  2213. .props = AV_CODEC_PROP_LOSSY,
  2214. },
  2215. {
  2216. .id = AV_CODEC_ID_ADPCM_IMA_DAT4,
  2217. .type = AVMEDIA_TYPE_AUDIO,
  2218. .name = "adpcm_ima_dat4",
  2219. .long_name = NULL_IF_CONFIG_SMALL("ADPCM IMA Eurocom DAT4"),
  2220. .props = AV_CODEC_PROP_LOSSY,
  2221. },
  2222. {
  2223. .id = AV_CODEC_ID_ADPCM_MTAF,
  2224. .type = AVMEDIA_TYPE_AUDIO,
  2225. .name = "adpcm_mtaf",
  2226. .long_name = NULL_IF_CONFIG_SMALL("ADPCM MTAF"),
  2227. .props = AV_CODEC_PROP_LOSSY,
  2228. },
  2229. /* AMR */
  2230. {
  2231. .id = AV_CODEC_ID_AMR_NB,
  2232. .type = AVMEDIA_TYPE_AUDIO,
  2233. .name = "amr_nb",
  2234. .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
  2235. .props = AV_CODEC_PROP_LOSSY,
  2236. },
  2237. {
  2238. .id = AV_CODEC_ID_AMR_WB,
  2239. .type = AVMEDIA_TYPE_AUDIO,
  2240. .name = "amr_wb",
  2241. .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
  2242. .props = AV_CODEC_PROP_LOSSY,
  2243. },
  2244. /* RealAudio codecs*/
  2245. {
  2246. .id = AV_CODEC_ID_RA_144,
  2247. .type = AVMEDIA_TYPE_AUDIO,
  2248. .name = "ra_144",
  2249. .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
  2250. .props = AV_CODEC_PROP_LOSSY,
  2251. },
  2252. {
  2253. .id = AV_CODEC_ID_RA_288,
  2254. .type = AVMEDIA_TYPE_AUDIO,
  2255. .name = "ra_288",
  2256. .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"),
  2257. .props = AV_CODEC_PROP_LOSSY,
  2258. },
  2259. /* various DPCM codecs */
  2260. {
  2261. .id = AV_CODEC_ID_ROQ_DPCM,
  2262. .type = AVMEDIA_TYPE_AUDIO,
  2263. .name = "roq_dpcm",
  2264. .long_name = NULL_IF_CONFIG_SMALL("DPCM id RoQ"),
  2265. .props = AV_CODEC_PROP_LOSSY,
  2266. },
  2267. {
  2268. .id = AV_CODEC_ID_INTERPLAY_DPCM,
  2269. .type = AVMEDIA_TYPE_AUDIO,
  2270. .name = "interplay_dpcm",
  2271. .long_name = NULL_IF_CONFIG_SMALL("DPCM Interplay"),
  2272. .props = AV_CODEC_PROP_LOSSY,
  2273. },
  2274. {
  2275. .id = AV_CODEC_ID_XAN_DPCM,
  2276. .type = AVMEDIA_TYPE_AUDIO,
  2277. .name = "xan_dpcm",
  2278. .long_name = NULL_IF_CONFIG_SMALL("DPCM Xan"),
  2279. .props = AV_CODEC_PROP_LOSSY,
  2280. },
  2281. {
  2282. .id = AV_CODEC_ID_SOL_DPCM,
  2283. .type = AVMEDIA_TYPE_AUDIO,
  2284. .name = "sol_dpcm",
  2285. .long_name = NULL_IF_CONFIG_SMALL("DPCM Sol"),
  2286. .props = AV_CODEC_PROP_LOSSY,
  2287. },
  2288. {
  2289. .id = AV_CODEC_ID_SDX2_DPCM,
  2290. .type = AVMEDIA_TYPE_AUDIO,
  2291. .name = "sdx2_dpcm",
  2292. .long_name = NULL_IF_CONFIG_SMALL("DPCM Squareroot-Delta-Exact"),
  2293. .props = AV_CODEC_PROP_LOSSY,
  2294. },
  2295. {
  2296. .id = AV_CODEC_ID_GREMLIN_DPCM,
  2297. .type = AVMEDIA_TYPE_AUDIO,
  2298. .name = "gremlin_dpcm",
  2299. .long_name = NULL_IF_CONFIG_SMALL("DPCM Gremlin"),
  2300. .props = AV_CODEC_PROP_LOSSY,
  2301. },
  2302. /* audio codecs */
  2303. {
  2304. .id = AV_CODEC_ID_MP2,
  2305. .type = AVMEDIA_TYPE_AUDIO,
  2306. .name = "mp2",
  2307. .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
  2308. .props = AV_CODEC_PROP_LOSSY,
  2309. },
  2310. {
  2311. .id = AV_CODEC_ID_MP3,
  2312. .type = AVMEDIA_TYPE_AUDIO,
  2313. .name = "mp3",
  2314. .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"),
  2315. .props = AV_CODEC_PROP_LOSSY,
  2316. },
  2317. {
  2318. .id = AV_CODEC_ID_AAC,
  2319. .type = AVMEDIA_TYPE_AUDIO,
  2320. .name = "aac",
  2321. .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
  2322. .props = AV_CODEC_PROP_LOSSY,
  2323. .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
  2324. },
  2325. {
  2326. .id = AV_CODEC_ID_AC3,
  2327. .type = AVMEDIA_TYPE_AUDIO,
  2328. .name = "ac3",
  2329. .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
  2330. .props = AV_CODEC_PROP_LOSSY,
  2331. },
  2332. {
  2333. .id = AV_CODEC_ID_DTS,
  2334. .type = AVMEDIA_TYPE_AUDIO,
  2335. .name = "dts",
  2336. .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
  2337. .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
  2338. .profiles = NULL_IF_CONFIG_SMALL(ff_dca_profiles),
  2339. },
  2340. {
  2341. .id = AV_CODEC_ID_VORBIS,
  2342. .type = AVMEDIA_TYPE_AUDIO,
  2343. .name = "vorbis",
  2344. .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
  2345. .props = AV_CODEC_PROP_LOSSY,
  2346. },
  2347. {
  2348. .id = AV_CODEC_ID_DVAUDIO,
  2349. .type = AVMEDIA_TYPE_AUDIO,
  2350. .name = "dvaudio",
  2351. .long_name = NULL_IF_CONFIG_SMALL("DV audio"),
  2352. .props = AV_CODEC_PROP_LOSSY,
  2353. },
  2354. {
  2355. .id = AV_CODEC_ID_WMAV1,
  2356. .type = AVMEDIA_TYPE_AUDIO,
  2357. .name = "wmav1",
  2358. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
  2359. .props = AV_CODEC_PROP_LOSSY,
  2360. },
  2361. {
  2362. .id = AV_CODEC_ID_WMAV2,
  2363. .type = AVMEDIA_TYPE_AUDIO,
  2364. .name = "wmav2",
  2365. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
  2366. .props = AV_CODEC_PROP_LOSSY,
  2367. },
  2368. {
  2369. .id = AV_CODEC_ID_MACE3,
  2370. .type = AVMEDIA_TYPE_AUDIO,
  2371. .name = "mace3",
  2372. .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"),
  2373. .props = AV_CODEC_PROP_LOSSY,
  2374. },
  2375. {
  2376. .id = AV_CODEC_ID_MACE6,
  2377. .type = AVMEDIA_TYPE_AUDIO,
  2378. .name = "mace6",
  2379. .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
  2380. .props = AV_CODEC_PROP_LOSSY,
  2381. },
  2382. {
  2383. .id = AV_CODEC_ID_VMDAUDIO,
  2384. .type = AVMEDIA_TYPE_AUDIO,
  2385. .name = "vmdaudio",
  2386. .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD audio"),
  2387. .props = AV_CODEC_PROP_LOSSY,
  2388. },
  2389. {
  2390. .id = AV_CODEC_ID_FLAC,
  2391. .type = AVMEDIA_TYPE_AUDIO,
  2392. .name = "flac",
  2393. .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
  2394. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  2395. },
  2396. {
  2397. .id = AV_CODEC_ID_MP3ADU,
  2398. .type = AVMEDIA_TYPE_AUDIO,
  2399. .name = "mp3adu",
  2400. .long_name = NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
  2401. .props = AV_CODEC_PROP_LOSSY,
  2402. },
  2403. {
  2404. .id = AV_CODEC_ID_MP3ON4,
  2405. .type = AVMEDIA_TYPE_AUDIO,
  2406. .name = "mp3on4",
  2407. .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"),
  2408. .props = AV_CODEC_PROP_LOSSY,
  2409. },
  2410. {
  2411. .id = AV_CODEC_ID_SHORTEN,
  2412. .type = AVMEDIA_TYPE_AUDIO,
  2413. .name = "shorten",
  2414. .long_name = NULL_IF_CONFIG_SMALL("Shorten"),
  2415. .props = AV_CODEC_PROP_LOSSLESS,
  2416. },
  2417. {
  2418. .id = AV_CODEC_ID_ALAC,
  2419. .type = AVMEDIA_TYPE_AUDIO,
  2420. .name = "alac",
  2421. .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
  2422. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  2423. },
  2424. {
  2425. .id = AV_CODEC_ID_WESTWOOD_SND1,
  2426. .type = AVMEDIA_TYPE_AUDIO,
  2427. .name = "westwood_snd1",
  2428. .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"),
  2429. .props = AV_CODEC_PROP_LOSSY,
  2430. },
  2431. {
  2432. .id = AV_CODEC_ID_GSM,
  2433. .type = AVMEDIA_TYPE_AUDIO,
  2434. .name = "gsm",
  2435. .long_name = NULL_IF_CONFIG_SMALL("GSM"),
  2436. .props = AV_CODEC_PROP_LOSSY,
  2437. },
  2438. {
  2439. .id = AV_CODEC_ID_QDM2,
  2440. .type = AVMEDIA_TYPE_AUDIO,
  2441. .name = "qdm2",
  2442. .long_name = NULL_IF_CONFIG_SMALL("QDesign Music Codec 2"),
  2443. .props = AV_CODEC_PROP_LOSSY,
  2444. },
  2445. {
  2446. .id = AV_CODEC_ID_COOK,
  2447. .type = AVMEDIA_TYPE_AUDIO,
  2448. .name = "cook",
  2449. .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"),
  2450. .props = AV_CODEC_PROP_LOSSY,
  2451. },
  2452. {
  2453. .id = AV_CODEC_ID_TRUESPEECH,
  2454. .type = AVMEDIA_TYPE_AUDIO,
  2455. .name = "truespeech",
  2456. .long_name = NULL_IF_CONFIG_SMALL("DSP Group TrueSpeech"),
  2457. .props = AV_CODEC_PROP_LOSSY,
  2458. },
  2459. {
  2460. .id = AV_CODEC_ID_TTA,
  2461. .type = AVMEDIA_TYPE_AUDIO,
  2462. .name = "tta",
  2463. .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
  2464. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  2465. },
  2466. {
  2467. .id = AV_CODEC_ID_SMACKAUDIO,
  2468. .type = AVMEDIA_TYPE_AUDIO,
  2469. .name = "smackaudio",
  2470. .long_name = NULL_IF_CONFIG_SMALL("Smacker audio"),
  2471. .props = AV_CODEC_PROP_LOSSY,
  2472. },
  2473. {
  2474. .id = AV_CODEC_ID_QCELP,
  2475. .type = AVMEDIA_TYPE_AUDIO,
  2476. .name = "qcelp",
  2477. .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"),
  2478. .props = AV_CODEC_PROP_LOSSY,
  2479. },
  2480. {
  2481. .id = AV_CODEC_ID_WAVPACK,
  2482. .type = AVMEDIA_TYPE_AUDIO,
  2483. .name = "wavpack",
  2484. .long_name = NULL_IF_CONFIG_SMALL("WavPack"),
  2485. .props = AV_CODEC_PROP_INTRA_ONLY |
  2486. AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
  2487. },
  2488. {
  2489. .id = AV_CODEC_ID_DSICINAUDIO,
  2490. .type = AVMEDIA_TYPE_AUDIO,
  2491. .name = "dsicinaudio",
  2492. .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"),
  2493. .props = AV_CODEC_PROP_LOSSY,
  2494. },
  2495. {
  2496. .id = AV_CODEC_ID_IMC,
  2497. .type = AVMEDIA_TYPE_AUDIO,
  2498. .name = "imc",
  2499. .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"),
  2500. .props = AV_CODEC_PROP_LOSSY,
  2501. },
  2502. {
  2503. .id = AV_CODEC_ID_MUSEPACK7,
  2504. .type = AVMEDIA_TYPE_AUDIO,
  2505. .name = "musepack7",
  2506. .long_name = NULL_IF_CONFIG_SMALL("Musepack SV7"),
  2507. .props = AV_CODEC_PROP_LOSSY,
  2508. },
  2509. {
  2510. .id = AV_CODEC_ID_MLP,
  2511. .type = AVMEDIA_TYPE_AUDIO,
  2512. .name = "mlp",
  2513. .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"),
  2514. .props = AV_CODEC_PROP_LOSSLESS,
  2515. },
  2516. {
  2517. .id = AV_CODEC_ID_GSM_MS,
  2518. .type = AVMEDIA_TYPE_AUDIO,
  2519. .name = "gsm_ms",
  2520. .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"),
  2521. .props = AV_CODEC_PROP_LOSSY,
  2522. },
  2523. {
  2524. .id = AV_CODEC_ID_ATRAC3,
  2525. .type = AVMEDIA_TYPE_AUDIO,
  2526. .name = "atrac3",
  2527. .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
  2528. .props = AV_CODEC_PROP_LOSSY,
  2529. },
  2530. {
  2531. .id = AV_CODEC_ID_APE,
  2532. .type = AVMEDIA_TYPE_AUDIO,
  2533. .name = "ape",
  2534. .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
  2535. .props = AV_CODEC_PROP_LOSSLESS,
  2536. },
  2537. {
  2538. .id = AV_CODEC_ID_NELLYMOSER,
  2539. .type = AVMEDIA_TYPE_AUDIO,
  2540. .name = "nellymoser",
  2541. .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
  2542. .props = AV_CODEC_PROP_LOSSY,
  2543. },
  2544. {
  2545. .id = AV_CODEC_ID_MUSEPACK8,
  2546. .type = AVMEDIA_TYPE_AUDIO,
  2547. .name = "musepack8",
  2548. .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"),
  2549. .props = AV_CODEC_PROP_LOSSY,
  2550. },
  2551. {
  2552. .id = AV_CODEC_ID_SPEEX,
  2553. .type = AVMEDIA_TYPE_AUDIO,
  2554. .name = "speex",
  2555. .long_name = NULL_IF_CONFIG_SMALL("Speex"),
  2556. .props = AV_CODEC_PROP_LOSSY,
  2557. },
  2558. {
  2559. .id = AV_CODEC_ID_WMAVOICE,
  2560. .type = AVMEDIA_TYPE_AUDIO,
  2561. .name = "wmavoice",
  2562. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"),
  2563. .props = AV_CODEC_PROP_LOSSY,
  2564. },
  2565. {
  2566. .id = AV_CODEC_ID_WMAPRO,
  2567. .type = AVMEDIA_TYPE_AUDIO,
  2568. .name = "wmapro",
  2569. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
  2570. .props = AV_CODEC_PROP_LOSSY,
  2571. },
  2572. {
  2573. .id = AV_CODEC_ID_WMALOSSLESS,
  2574. .type = AVMEDIA_TYPE_AUDIO,
  2575. .name = "wmalossless",
  2576. .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Lossless"),
  2577. .props = AV_CODEC_PROP_LOSSLESS,
  2578. },
  2579. {
  2580. .id = AV_CODEC_ID_ATRAC3P,
  2581. .type = AVMEDIA_TYPE_AUDIO,
  2582. .name = "atrac3p",
  2583. .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
  2584. .props = AV_CODEC_PROP_LOSSY,
  2585. },
  2586. {
  2587. .id = AV_CODEC_ID_EAC3,
  2588. .type = AVMEDIA_TYPE_AUDIO,
  2589. .name = "eac3",
  2590. .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"),
  2591. .props = AV_CODEC_PROP_LOSSY,
  2592. },
  2593. {
  2594. .id = AV_CODEC_ID_SIPR,
  2595. .type = AVMEDIA_TYPE_AUDIO,
  2596. .name = "sipr",
  2597. .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"),
  2598. .props = AV_CODEC_PROP_LOSSY,
  2599. },
  2600. {
  2601. .id = AV_CODEC_ID_MP1,
  2602. .type = AVMEDIA_TYPE_AUDIO,
  2603. .name = "mp1",
  2604. .long_name = NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"),
  2605. .props = AV_CODEC_PROP_LOSSY,
  2606. },
  2607. {
  2608. .id = AV_CODEC_ID_TWINVQ,
  2609. .type = AVMEDIA_TYPE_AUDIO,
  2610. .name = "twinvq",
  2611. .long_name = NULL_IF_CONFIG_SMALL("VQF TwinVQ"),
  2612. .props = AV_CODEC_PROP_LOSSY,
  2613. },
  2614. {
  2615. .id = AV_CODEC_ID_TRUEHD,
  2616. .type = AVMEDIA_TYPE_AUDIO,
  2617. .name = "truehd",
  2618. .long_name = NULL_IF_CONFIG_SMALL("TrueHD"),
  2619. .props = AV_CODEC_PROP_LOSSLESS,
  2620. },
  2621. {
  2622. .id = AV_CODEC_ID_MP4ALS,
  2623. .type = AVMEDIA_TYPE_AUDIO,
  2624. .name = "mp4als",
  2625. .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
  2626. .props = AV_CODEC_PROP_LOSSLESS,
  2627. },
  2628. {
  2629. .id = AV_CODEC_ID_ATRAC1,
  2630. .type = AVMEDIA_TYPE_AUDIO,
  2631. .name = "atrac1",
  2632. .long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
  2633. .props = AV_CODEC_PROP_LOSSY,
  2634. },
  2635. {
  2636. .id = AV_CODEC_ID_BINKAUDIO_RDFT,
  2637. .type = AVMEDIA_TYPE_AUDIO,
  2638. .name = "binkaudio_rdft",
  2639. .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"),
  2640. .props = AV_CODEC_PROP_LOSSY,
  2641. },
  2642. {
  2643. .id = AV_CODEC_ID_BINKAUDIO_DCT,
  2644. .type = AVMEDIA_TYPE_AUDIO,
  2645. .name = "binkaudio_dct",
  2646. .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"),
  2647. .props = AV_CODEC_PROP_LOSSY,
  2648. },
  2649. {
  2650. .id = AV_CODEC_ID_AAC_LATM,
  2651. .type = AVMEDIA_TYPE_AUDIO,
  2652. .name = "aac_latm",
  2653. .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
  2654. .props = AV_CODEC_PROP_LOSSY,
  2655. .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
  2656. },
  2657. {
  2658. .id = AV_CODEC_ID_QDMC,
  2659. .type = AVMEDIA_TYPE_AUDIO,
  2660. .name = "qdmc",
  2661. .long_name = NULL_IF_CONFIG_SMALL("QDesign Music"),
  2662. .props = AV_CODEC_PROP_LOSSY,
  2663. },
  2664. {
  2665. .id = AV_CODEC_ID_CELT,
  2666. .type = AVMEDIA_TYPE_AUDIO,
  2667. .name = "celt",
  2668. .long_name = NULL_IF_CONFIG_SMALL("Constrained Energy Lapped Transform (CELT)"),
  2669. .props = AV_CODEC_PROP_LOSSY,
  2670. },
  2671. {
  2672. .id = AV_CODEC_ID_G723_1,
  2673. .type = AVMEDIA_TYPE_AUDIO,
  2674. .name = "g723_1",
  2675. .long_name = NULL_IF_CONFIG_SMALL("G.723.1"),
  2676. .props = AV_CODEC_PROP_LOSSY,
  2677. },
  2678. {
  2679. .id = AV_CODEC_ID_G729,
  2680. .type = AVMEDIA_TYPE_AUDIO,
  2681. .name = "g729",
  2682. .long_name = NULL_IF_CONFIG_SMALL("G.729"),
  2683. .props = AV_CODEC_PROP_LOSSY,
  2684. },
  2685. {
  2686. .id = AV_CODEC_ID_8SVX_EXP,
  2687. .type = AVMEDIA_TYPE_AUDIO,
  2688. .name = "8svx_exp",
  2689. .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
  2690. .props = AV_CODEC_PROP_LOSSY,
  2691. },
  2692. {
  2693. .id = AV_CODEC_ID_8SVX_FIB,
  2694. .type = AVMEDIA_TYPE_AUDIO,
  2695. .name = "8svx_fib",
  2696. .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
  2697. .props = AV_CODEC_PROP_LOSSY,
  2698. },
  2699. {
  2700. .id = AV_CODEC_ID_BMV_AUDIO,
  2701. .type = AVMEDIA_TYPE_AUDIO,
  2702. .name = "bmv_audio",
  2703. .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
  2704. .props = AV_CODEC_PROP_LOSSY,
  2705. },
  2706. {
  2707. .id = AV_CODEC_ID_RALF,
  2708. .type = AVMEDIA_TYPE_AUDIO,
  2709. .name = "ralf",
  2710. .long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"),
  2711. .props = AV_CODEC_PROP_LOSSLESS,
  2712. },
  2713. {
  2714. .id = AV_CODEC_ID_IAC,
  2715. .type = AVMEDIA_TYPE_AUDIO,
  2716. .name = "iac",
  2717. .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"),
  2718. .props = AV_CODEC_PROP_LOSSY,
  2719. },
  2720. {
  2721. .id = AV_CODEC_ID_ILBC,
  2722. .type = AVMEDIA_TYPE_AUDIO,
  2723. .name = "ilbc",
  2724. .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
  2725. .props = AV_CODEC_PROP_LOSSY,
  2726. },
  2727. {
  2728. .id = AV_CODEC_ID_OPUS,
  2729. .type = AVMEDIA_TYPE_AUDIO,
  2730. .name = "opus",
  2731. .long_name = NULL_IF_CONFIG_SMALL("Opus (Opus Interactive Audio Codec)"),
  2732. .props = AV_CODEC_PROP_LOSSY,
  2733. },
  2734. {
  2735. .id = AV_CODEC_ID_COMFORT_NOISE,
  2736. .type = AVMEDIA_TYPE_AUDIO,
  2737. .name = "comfortnoise",
  2738. .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 Comfort Noise"),
  2739. .props = AV_CODEC_PROP_LOSSY,
  2740. },
  2741. {
  2742. .id = AV_CODEC_ID_TAK,
  2743. .type = AVMEDIA_TYPE_AUDIO,
  2744. .name = "tak",
  2745. .long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"),
  2746. .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
  2747. },
  2748. {
  2749. .id = AV_CODEC_ID_METASOUND,
  2750. .type = AVMEDIA_TYPE_AUDIO,
  2751. .name = "metasound",
  2752. .long_name = NULL_IF_CONFIG_SMALL("Voxware MetaSound"),
  2753. .props = AV_CODEC_PROP_LOSSY,
  2754. },
  2755. {
  2756. .id = AV_CODEC_ID_PAF_AUDIO,
  2757. .type = AVMEDIA_TYPE_AUDIO,
  2758. .name = "paf_audio",
  2759. .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
  2760. .props = AV_CODEC_PROP_LOSSY,
  2761. },
  2762. {
  2763. .id = AV_CODEC_ID_ON2AVC,
  2764. .type = AVMEDIA_TYPE_AUDIO,
  2765. .name = "avc",
  2766. .long_name = NULL_IF_CONFIG_SMALL("On2 Audio for Video Codec"),
  2767. .props = AV_CODEC_PROP_LOSSY,
  2768. },
  2769. {
  2770. .id = AV_CODEC_ID_DSS_SP,
  2771. .type = AVMEDIA_TYPE_AUDIO,
  2772. .name = "dss_sp",
  2773. .long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard - Standard Play mode (DSS SP)"),
  2774. .props = AV_CODEC_PROP_LOSSY,
  2775. },
  2776. {
  2777. .id = AV_CODEC_ID_CODEC2,
  2778. .type = AVMEDIA_TYPE_AUDIO,
  2779. .name = "codec2",
  2780. .long_name = NULL_IF_CONFIG_SMALL("codec2 (very low bitrate speech codec)"),
  2781. .props = AV_CODEC_PROP_LOSSY,
  2782. },
  2783. {
  2784. .id = AV_CODEC_ID_FFWAVESYNTH,
  2785. .type = AVMEDIA_TYPE_AUDIO,
  2786. .name = "wavesynth",
  2787. .long_name = NULL_IF_CONFIG_SMALL("Wave synthesis pseudo-codec"),
  2788. },
  2789. {
  2790. .id = AV_CODEC_ID_SONIC,
  2791. .type = AVMEDIA_TYPE_AUDIO,
  2792. .name = "sonic",
  2793. .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
  2794. },
  2795. {
  2796. .id = AV_CODEC_ID_SONIC_LS,
  2797. .type = AVMEDIA_TYPE_AUDIO,
  2798. .name = "sonicls",
  2799. .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"),
  2800. },
  2801. {
  2802. .id = AV_CODEC_ID_EVRC,
  2803. .type = AVMEDIA_TYPE_AUDIO,
  2804. .name = "evrc",
  2805. .long_name = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"),
  2806. .props = AV_CODEC_PROP_LOSSY,
  2807. },
  2808. {
  2809. .id = AV_CODEC_ID_SMV,
  2810. .type = AVMEDIA_TYPE_AUDIO,
  2811. .name = "smv",
  2812. .long_name = NULL_IF_CONFIG_SMALL("SMV (Selectable Mode Vocoder)"),
  2813. .props = AV_CODEC_PROP_LOSSY,
  2814. },
  2815. {
  2816. .id = AV_CODEC_ID_DSD_LSBF,
  2817. .type = AVMEDIA_TYPE_AUDIO,
  2818. .name = "dsd_lsbf",
  2819. .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), least significant bit first"),
  2820. .props = AV_CODEC_PROP_LOSSY,
  2821. },
  2822. {
  2823. .id = AV_CODEC_ID_DSD_MSBF,
  2824. .type = AVMEDIA_TYPE_AUDIO,
  2825. .name = "dsd_msbf",
  2826. .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), most significant bit first"),
  2827. .props = AV_CODEC_PROP_LOSSY,
  2828. },
  2829. {
  2830. .id = AV_CODEC_ID_DSD_LSBF_PLANAR,
  2831. .type = AVMEDIA_TYPE_AUDIO,
  2832. .name = "dsd_lsbf_planar",
  2833. .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), least significant bit first, planar"),
  2834. .props = AV_CODEC_PROP_LOSSY,
  2835. },
  2836. {
  2837. .id = AV_CODEC_ID_DSD_MSBF_PLANAR,
  2838. .type = AVMEDIA_TYPE_AUDIO,
  2839. .name = "dsd_msbf_planar",
  2840. .long_name = NULL_IF_CONFIG_SMALL("DSD (Direct Stream Digital), most significant bit first, planar"),
  2841. .props = AV_CODEC_PROP_LOSSY,
  2842. },
  2843. {
  2844. .id = AV_CODEC_ID_4GV,
  2845. .type = AVMEDIA_TYPE_AUDIO,
  2846. .name = "4gv",
  2847. .long_name = NULL_IF_CONFIG_SMALL("4GV (Fourth Generation Vocoder)"),
  2848. .props = AV_CODEC_PROP_LOSSY,
  2849. },
  2850. {
  2851. .id = AV_CODEC_ID_INTERPLAY_ACM,
  2852. .type = AVMEDIA_TYPE_AUDIO,
  2853. .name = "interplayacm",
  2854. .long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"),
  2855. .props = AV_CODEC_PROP_LOSSY,
  2856. },
  2857. {
  2858. .id = AV_CODEC_ID_XMA1,
  2859. .type = AVMEDIA_TYPE_AUDIO,
  2860. .name = "xma1",
  2861. .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 1"),
  2862. .props = AV_CODEC_PROP_LOSSY,
  2863. },
  2864. {
  2865. .id = AV_CODEC_ID_XMA2,
  2866. .type = AVMEDIA_TYPE_AUDIO,
  2867. .name = "xma2",
  2868. .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 2"),
  2869. .props = AV_CODEC_PROP_LOSSY,
  2870. },
  2871. {
  2872. .id = AV_CODEC_ID_DST,
  2873. .type = AVMEDIA_TYPE_AUDIO,
  2874. .name = "dst",
  2875. .long_name = NULL_IF_CONFIG_SMALL("DST (Direct Stream Transfer)"),
  2876. .props = AV_CODEC_PROP_LOSSLESS,
  2877. },
  2878. {
  2879. .id = AV_CODEC_ID_ATRAC3AL,
  2880. .type = AVMEDIA_TYPE_AUDIO,
  2881. .name = "atrac3al",
  2882. .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
  2883. .props = AV_CODEC_PROP_LOSSLESS,
  2884. },
  2885. {
  2886. .id = AV_CODEC_ID_ATRAC3PAL,
  2887. .type = AVMEDIA_TYPE_AUDIO,
  2888. .name = "atrac3pal",
  2889. .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
  2890. .props = AV_CODEC_PROP_LOSSLESS,
  2891. },
  2892. {
  2893. .id = AV_CODEC_ID_DOLBY_E,
  2894. .type = AVMEDIA_TYPE_AUDIO,
  2895. .name = "dolby_e",
  2896. .long_name = NULL_IF_CONFIG_SMALL("Dolby E"),
  2897. .props = AV_CODEC_PROP_LOSSY,
  2898. },
  2899. {
  2900. .id = AV_CODEC_ID_APTX,
  2901. .type = AVMEDIA_TYPE_AUDIO,
  2902. .name = "aptx",
  2903. .long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
  2904. .props = AV_CODEC_PROP_LOSSY,
  2905. },
  2906. {
  2907. .id = AV_CODEC_ID_APTX_HD,
  2908. .type = AVMEDIA_TYPE_AUDIO,
  2909. .name = "aptx_hd",
  2910. .long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
  2911. .props = AV_CODEC_PROP_LOSSY,
  2912. },
  2913. {
  2914. .id = AV_CODEC_ID_SBC,
  2915. .type = AVMEDIA_TYPE_AUDIO,
  2916. .name = "sbc",
  2917. .long_name = NULL_IF_CONFIG_SMALL("SBC (low-complexity subband codec)"),
  2918. .props = AV_CODEC_PROP_LOSSY,
  2919. },
  2920. {
  2921. .id = AV_CODEC_ID_ATRAC9,
  2922. .type = AVMEDIA_TYPE_AUDIO,
  2923. .name = "atrac9",
  2924. .long_name = NULL_IF_CONFIG_SMALL("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"),
  2925. .props = AV_CODEC_PROP_LOSSY,
  2926. },
  2927. /* subtitle codecs */
  2928. {
  2929. .id = AV_CODEC_ID_DVD_SUBTITLE,
  2930. .type = AVMEDIA_TYPE_SUBTITLE,
  2931. .name = "dvd_subtitle",
  2932. .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
  2933. .props = AV_CODEC_PROP_BITMAP_SUB,
  2934. },
  2935. {
  2936. .id = AV_CODEC_ID_DVB_SUBTITLE,
  2937. .type = AVMEDIA_TYPE_SUBTITLE,
  2938. .name = "dvb_subtitle",
  2939. .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"),
  2940. .props = AV_CODEC_PROP_BITMAP_SUB,
  2941. },
  2942. {
  2943. .id = AV_CODEC_ID_TEXT,
  2944. .type = AVMEDIA_TYPE_SUBTITLE,
  2945. .name = "text",
  2946. .long_name = NULL_IF_CONFIG_SMALL("raw UTF-8 text"),
  2947. .props = AV_CODEC_PROP_TEXT_SUB,
  2948. },
  2949. {
  2950. .id = AV_CODEC_ID_XSUB,
  2951. .type = AVMEDIA_TYPE_SUBTITLE,
  2952. .name = "xsub",
  2953. .long_name = NULL_IF_CONFIG_SMALL("XSUB"),
  2954. .props = AV_CODEC_PROP_BITMAP_SUB,
  2955. },
  2956. {
  2957. .id = AV_CODEC_ID_SSA,
  2958. .type = AVMEDIA_TYPE_SUBTITLE,
  2959. .name = "ssa",
  2960. .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
  2961. .props = AV_CODEC_PROP_TEXT_SUB,
  2962. },
  2963. {
  2964. .id = AV_CODEC_ID_MOV_TEXT,
  2965. .type = AVMEDIA_TYPE_SUBTITLE,
  2966. .name = "mov_text",
  2967. .long_name = NULL_IF_CONFIG_SMALL("MOV text"),
  2968. .props = AV_CODEC_PROP_TEXT_SUB,
  2969. },
  2970. {
  2971. .id = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
  2972. .type = AVMEDIA_TYPE_SUBTITLE,
  2973. .name = "hdmv_pgs_subtitle",
  2974. .long_name = NULL_IF_CONFIG_SMALL("HDMV Presentation Graphic Stream subtitles"),
  2975. .props = AV_CODEC_PROP_BITMAP_SUB,
  2976. },
  2977. {
  2978. .id = AV_CODEC_ID_DVB_TELETEXT,
  2979. .type = AVMEDIA_TYPE_SUBTITLE,
  2980. .name = "dvb_teletext",
  2981. .long_name = NULL_IF_CONFIG_SMALL("DVB teletext"),
  2982. },
  2983. {
  2984. .id = AV_CODEC_ID_SRT,
  2985. .type = AVMEDIA_TYPE_SUBTITLE,
  2986. .name = "srt",
  2987. .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle with embedded timing"),
  2988. .props = AV_CODEC_PROP_TEXT_SUB,
  2989. },
  2990. {
  2991. .id = AV_CODEC_ID_MICRODVD,
  2992. .type = AVMEDIA_TYPE_SUBTITLE,
  2993. .name = "microdvd",
  2994. .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle"),
  2995. .props = AV_CODEC_PROP_TEXT_SUB,
  2996. },
  2997. {
  2998. .id = AV_CODEC_ID_EIA_608,
  2999. .type = AVMEDIA_TYPE_SUBTITLE,
  3000. .name = "eia_608",
  3001. .long_name = NULL_IF_CONFIG_SMALL("EIA-608 closed captions"),
  3002. .props = AV_CODEC_PROP_TEXT_SUB,
  3003. },
  3004. {
  3005. .id = AV_CODEC_ID_JACOSUB,
  3006. .type = AVMEDIA_TYPE_SUBTITLE,
  3007. .name = "jacosub",
  3008. .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle"),
  3009. .props = AV_CODEC_PROP_TEXT_SUB,
  3010. },
  3011. {
  3012. .id = AV_CODEC_ID_SAMI,
  3013. .type = AVMEDIA_TYPE_SUBTITLE,
  3014. .name = "sami",
  3015. .long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle"),
  3016. .props = AV_CODEC_PROP_TEXT_SUB,
  3017. },
  3018. {
  3019. .id = AV_CODEC_ID_REALTEXT,
  3020. .type = AVMEDIA_TYPE_SUBTITLE,
  3021. .name = "realtext",
  3022. .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"),
  3023. .props = AV_CODEC_PROP_TEXT_SUB,
  3024. },
  3025. {
  3026. .id = AV_CODEC_ID_STL,
  3027. .type = AVMEDIA_TYPE_SUBTITLE,
  3028. .name = "stl",
  3029. .long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"),
  3030. .props = AV_CODEC_PROP_TEXT_SUB,
  3031. },
  3032. {
  3033. .id = AV_CODEC_ID_SUBVIEWER1,
  3034. .type = AVMEDIA_TYPE_SUBTITLE,
  3035. .name = "subviewer1",
  3036. .long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle"),
  3037. .props = AV_CODEC_PROP_TEXT_SUB,
  3038. },
  3039. {
  3040. .id = AV_CODEC_ID_SUBVIEWER,
  3041. .type = AVMEDIA_TYPE_SUBTITLE,
  3042. .name = "subviewer",
  3043. .long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle"),
  3044. .props = AV_CODEC_PROP_TEXT_SUB,
  3045. },
  3046. {
  3047. .id = AV_CODEC_ID_SUBRIP,
  3048. .type = AVMEDIA_TYPE_SUBTITLE,
  3049. .name = "subrip",
  3050. .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
  3051. .props = AV_CODEC_PROP_TEXT_SUB,
  3052. },
  3053. {
  3054. .id = AV_CODEC_ID_WEBVTT,
  3055. .type = AVMEDIA_TYPE_SUBTITLE,
  3056. .name = "webvtt",
  3057. .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
  3058. .props = AV_CODEC_PROP_TEXT_SUB,
  3059. },
  3060. {
  3061. .id = AV_CODEC_ID_MPL2,
  3062. .type = AVMEDIA_TYPE_SUBTITLE,
  3063. .name = "mpl2",
  3064. .long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitle"),
  3065. .props = AV_CODEC_PROP_TEXT_SUB,
  3066. },
  3067. {
  3068. .id = AV_CODEC_ID_VPLAYER,
  3069. .type = AVMEDIA_TYPE_SUBTITLE,
  3070. .name = "vplayer",
  3071. .long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitle"),
  3072. .props = AV_CODEC_PROP_TEXT_SUB,
  3073. },
  3074. {
  3075. .id = AV_CODEC_ID_PJS,
  3076. .type = AVMEDIA_TYPE_SUBTITLE,
  3077. .name = "pjs",
  3078. .long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitle"),
  3079. .props = AV_CODEC_PROP_TEXT_SUB,
  3080. },
  3081. {
  3082. .id = AV_CODEC_ID_ASS,
  3083. .type = AVMEDIA_TYPE_SUBTITLE,
  3084. .name = "ass",
  3085. .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SSA) subtitle"),
  3086. .props = AV_CODEC_PROP_TEXT_SUB,
  3087. },
  3088. {
  3089. .id = AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
  3090. .type = AVMEDIA_TYPE_SUBTITLE,
  3091. .name = "hdmv_text_subtitle",
  3092. .long_name = NULL_IF_CONFIG_SMALL("HDMV Text subtitle"),
  3093. .props = AV_CODEC_PROP_TEXT_SUB,
  3094. },
  3095. {
  3096. .id = AV_CODEC_ID_TTML,
  3097. .type = AVMEDIA_TYPE_SUBTITLE,
  3098. .name = "ttml",
  3099. .long_name = NULL_IF_CONFIG_SMALL("Timed Text Markup Language"),
  3100. .props = AV_CODEC_PROP_TEXT_SUB,
  3101. },
  3102. /* other kind of codecs and pseudo-codecs */
  3103. {
  3104. .id = AV_CODEC_ID_TTF,
  3105. .type = AVMEDIA_TYPE_DATA,
  3106. .name = "ttf",
  3107. .long_name = NULL_IF_CONFIG_SMALL("TrueType font"),
  3108. .mime_types= MT("application/x-truetype-font", "application/x-font"),
  3109. },
  3110. {
  3111. .id = AV_CODEC_ID_SCTE_35,
  3112. .type = AVMEDIA_TYPE_DATA,
  3113. .name = "scte_35",
  3114. .long_name = NULL_IF_CONFIG_SMALL("SCTE 35 Message Queue"),
  3115. },
  3116. {
  3117. .id = AV_CODEC_ID_BINTEXT,
  3118. .type = AVMEDIA_TYPE_VIDEO,
  3119. .name = "bintext",
  3120. .long_name = NULL_IF_CONFIG_SMALL("Binary text"),
  3121. .props = AV_CODEC_PROP_INTRA_ONLY,
  3122. },
  3123. {
  3124. .id = AV_CODEC_ID_XBIN,
  3125. .type = AVMEDIA_TYPE_VIDEO,
  3126. .name = "xbin",
  3127. .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
  3128. .props = AV_CODEC_PROP_INTRA_ONLY,
  3129. },
  3130. {
  3131. .id = AV_CODEC_ID_IDF,
  3132. .type = AVMEDIA_TYPE_VIDEO,
  3133. .name = "idf",
  3134. .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"),
  3135. .props = AV_CODEC_PROP_INTRA_ONLY,
  3136. },
  3137. {
  3138. .id = AV_CODEC_ID_OTF,
  3139. .type = AVMEDIA_TYPE_DATA,
  3140. .name = "otf",
  3141. .long_name = NULL_IF_CONFIG_SMALL("OpenType font"),
  3142. .mime_types= MT("application/vnd.ms-opentype"),
  3143. },
  3144. {
  3145. .id = AV_CODEC_ID_SMPTE_KLV,
  3146. .type = AVMEDIA_TYPE_DATA,
  3147. .name = "klv",
  3148. .long_name = NULL_IF_CONFIG_SMALL("SMPTE 336M Key-Length-Value (KLV) metadata"),
  3149. },
  3150. {
  3151. .id = AV_CODEC_ID_DVD_NAV,
  3152. .type = AVMEDIA_TYPE_DATA,
  3153. .name = "dvd_nav_packet",
  3154. .long_name = NULL_IF_CONFIG_SMALL("DVD Nav packet"),
  3155. },
  3156. {
  3157. .id = AV_CODEC_ID_TIMED_ID3,
  3158. .type = AVMEDIA_TYPE_DATA,
  3159. .name = "timed_id3",
  3160. .long_name = NULL_IF_CONFIG_SMALL("timed ID3 metadata"),
  3161. },
  3162. {
  3163. .id = AV_CODEC_ID_BIN_DATA,
  3164. .type = AVMEDIA_TYPE_DATA,
  3165. .name = "bin_data",
  3166. .long_name = NULL_IF_CONFIG_SMALL("binary data"),
  3167. .mime_types= MT("application/octet-stream"),
  3168. },
  3169. {
  3170. .id = AV_CODEC_ID_WRAPPED_AVFRAME,
  3171. .type = AVMEDIA_TYPE_VIDEO,
  3172. .name = "wrapped_avframe",
  3173. .long_name = NULL_IF_CONFIG_SMALL("AVFrame to AVPacket passthrough"),
  3174. .props = AV_CODEC_PROP_LOSSLESS,
  3175. },
  3176. };
  3177. static int descriptor_compare(const void *key, const void *member)
  3178. {
  3179. enum AVCodecID id = *(const enum AVCodecID *) key;
  3180. const AVCodecDescriptor *desc = member;
  3181. return id - desc->id;
  3182. }
  3183. const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)
  3184. {
  3185. return bsearch(&id, codec_descriptors, FF_ARRAY_ELEMS(codec_descriptors),
  3186. sizeof(codec_descriptors[0]), descriptor_compare);
  3187. }
  3188. const AVCodecDescriptor *avcodec_descriptor_next(const AVCodecDescriptor *prev)
  3189. {
  3190. if (!prev)
  3191. return &codec_descriptors[0];
  3192. if (prev - codec_descriptors < FF_ARRAY_ELEMS(codec_descriptors) - 1)
  3193. return prev + 1;
  3194. return NULL;
  3195. }
  3196. const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name)
  3197. {
  3198. const AVCodecDescriptor *desc = NULL;
  3199. while ((desc = avcodec_descriptor_next(desc)))
  3200. if (!strcmp(desc->name, name))
  3201. return desc;
  3202. return NULL;
  3203. }
  3204. enum AVMediaType avcodec_get_type(enum AVCodecID codec_id)
  3205. {
  3206. const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
  3207. return desc ? desc->type : AVMEDIA_TYPE_UNKNOWN;
  3208. }