Commit Graph

80 Commits

Author SHA1 Message Date
Steve Lhomme 37f7d8b35e vlc_codecs: assert that our WAVE_FORMAT values match the SDK ones 2023-02-28 13:51:20 +00:00
Steve Lhomme 674cc68b26 vlc_codecs.h: don't redefine some WAVE formats if already found
Some of the newest FourCC exist in the latest Windows SDK, with the same
values.
2023-02-10 18:18:54 +00:00
Steve Lhomme 9cb9df5097 vlc_codec: use the preferred toolchain packing mode with MSVC
The Windows SDK and mingw-w64 5+ have a clean way to group packing blocks
together. mingw-w64 generates some bogus warning (clang) when using
packing from a header, so keep it to MSVC for now.
2023-01-31 09:45:08 +00:00
Steve Lhomme 96f9688a4c vlc_codec: remove video structures only used on Windows
They are defined in the Windows SDK.
2023-01-31 09:45:08 +00:00
Steve Lhomme 73b0a8bdfe vlc_codec: remove unused VLC_BITMAPINFO 2023-01-31 09:45:08 +00:00
Steve Lhomme a2947255c2 vlc_codec: remove unused RECT32 2023-01-31 09:45:08 +00:00
Steve Lhomme cf52315aba vlc_codecs: fix warning with mingw-w64
We don't want the OS/SDK values, even though they might/should be the
same.
2022-12-02 04:58:12 +00:00
Francois Cartegnie c77931355a vlc_codecs: update Audio coding codec descriptions 2021-11-26 09:16:08 +00:00
Francois Cartegnie 4f7eeafa65 vlc_codecs: add missing Opus and alac waveformats
>= Win10

refs #25794
2021-06-03 10:03:46 +00:00
Francois Cartegnie 408a9547db vlc_codecs: fix twocc mmreg.h collisions 2021-02-09 18:51:29 +01:00
Alexandre Janniaux 104836dc76 vlc_codecs: use #if defined() instead of #if
The `pragma push` side is already using #else after an #ifdef
HAVE_ATTRIBUTE_PACKED, and the configure.ac script is only declaring the
compilation flag when it's available.

Fix multiple -Wundef warnings when compiling the code for Apple OS.
2020-11-18 09:21:11 +01:00
Steve Lhomme 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Marvin Scholz 13bea26a01 include/vlc_codecs: Rename guid_t to vlc_guid_t
On darwin guid_t conflicts with darwins definition of guid_t.
2018-10-20 19:42:10 +02:00
Francois Cartegnie 310a3b5803 demux: avi: map Qnap ADTS
need to clean more crap to get it working
2017-07-20 18:52:18 +02:00
Steve Lhomme f16fcc1776 vlc_fourcc: add a define for "undf" (unidentified codec)
Technically it could be set to 0

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-07-13 11:09:50 +02:00
Francois Cartegnie d7241e3863 vlc_codecs: add Waveformatex HEAAC 2017-07-06 17:07:46 +02:00
Francois Cartegnie 168236e0e4 vlc_codecs: add Waveformatex ADTS 2017-07-06 17:03:42 +02:00
Rémi Denis-Courmont 685434ecc9 Remove unused definitions 2017-03-01 19:51:42 +02:00
Francois Cartegnie c12d9fb6a7 vlc_codec: show leading zeros in GUID_FMT 2017-01-31 13:53:09 +01:00
Thomas Guillem da77ec84d4 vlc_codecs: add WAVEFORMATEXTENSIBLE_IEC61937
This will be used by wasapi for EAC3, MLP, TRUEHD...
2016-09-14 15:22:14 +02:00
Emeric Grange 67fcea72c2 Demux wave: Add support for .AMB file format
AMB are just WAVE files with custom GUIDs to indicate 'Ambisonic B format' datas

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-10-31 18:51:04 +01:00
Francois Cartegnie 52847eaf50 vlc_codecs: fix the waveformatex, ksformat stuff
Were unused static Guids, incorrect Atrac3 to pcm mapping
constness, and incomplete waveformat->guid mapping.
2015-07-12 13:51:05 +02:00
Francois Cartegnie 0bdface8cb demux: avi: add support for creative adpcm
refs samples/A-codecs/Creative/
2015-04-15 14:22:13 +02:00
Jean-Baptiste Kempf fa8af20d0e Move GUID_ helpers to vlc_codecs.h 2015-04-10 15:41:27 +02:00
Jean-Baptiste Kempf 2eddbc9212 Fix typo 2014-04-27 15:45:13 +02:00
Jean-Baptiste Kempf 7724e3e118 Reindent 2014-04-27 15:34:35 +02:00
Jean-Baptiste Kempf f6e4647f69 Map ON2 AVC audio codec 2014-04-27 15:26:00 +02:00
Jean-Baptiste Kempf 37e886d113 Add more TwoCC for AMR-NB and AAC in wav/riff files 2014-04-06 18:55:51 +02:00
Ilkka Ollakka 14ffb1a5ca differentiate mpga (layer 2) and mp3 (layer 3) codecs
Fixes #10318
2014-01-10 13:36:46 +02:00
Felix Abecassis 8cc8898baa Implement ATTR_PACKED for MSVC.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-11-30 21:16:46 +01:00
Jean-Baptiste Kempf 7696f44d85 Map MSN Audio to MS_GSM, as it is just extensions 2013-11-26 09:01:05 +01:00
Daniel Verkamp c7283a4053 Fix Duck DK3/DK4 ADPCM mappings
Also give them VLC_CODEC_ names and use them in the adpcm decoder.

v2: Add codec description strings

Signed-off-by: Rafaël Carré <funman@videolan.org>
2013-11-09 11:08:00 +01:00
Jean-Baptiste Kempf d6a7b808ba Be more precise in libavcodec/libavformat/libavutil separation 2013-10-22 09:32:23 +02:00
Daniel Verkamp 5e3714e40a Add IMC wave tag to FourCC mapping
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-09-28 17:57:01 +02:00
Jean-Baptiste Kempf c857bce384 Wave Microsoft formats: avoid to redefine things twice 2013-09-20 23:42:34 +02:00
Jean-Baptiste Kempf 1b034fc648 Fix support float in RF64 2013-09-20 22:28:16 +02:00
Ben Littler 0e73f22eb5 Support vivo g723.1 in asf
Sample:
http://www.photoflashgraphics.com/designers_portfolio/premiere_movies/multimedia_movies/bellair_digital_movie.asf

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-09-16 10:37:34 +02:00
Ben Littler beefa854cf Map another twocc for g726 in wav
This patch should fix this sample:
http://samples.ffmpeg.org/A-codecs/g726-test1.wav

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-09-06 18:18:27 +02:00
Jean-Baptiste Kempf 7bd9d66eb4 Map Voxware MetaSound Codec IDs 2013-08-08 18:01:10 +02:00
Rémi Denis-Courmont 613bbb8381 Remove "pcm " pseudo-codec, synonymous with "araw" 2013-04-12 20:12:19 +03:00
Jean-Baptiste Kempf 3c298a7d84 Wav: add another AAC variant
Seems to be used for RDP on Windows 8/2012 according to
http://msdn.microsoft.com/en-us/library/dd341376%28prot.20%29.aspx
2012-10-28 12:08:08 +01:00
Jean-Baptiste Kempf 22fecf0b84 Wav: Add another version of G.723.1 (Microsoft) 2012-10-28 12:07:21 +01:00
Jean-Baptiste Kempf 85de569233 Support G.723.1 2012-10-28 00:38:54 +02:00
Jean-Baptiste Kempf c9118e8701 Fix truespeech in wav files 2012-08-09 12:16:09 +02:00
Jean-Baptiste Kempf 1c3283dc46 Add Indeo Audio codecs and wave format tags 2012-06-08 16:13:45 +02:00
Laurent Aimar 21ad4798d7 Added Ulead DV audio codecs and wave format tags. 2012-06-01 21:12:57 +02:00
Jean-Baptiste Kempf 3222e1a7d4 Map wf_tag of GSM-AMR 2012-04-29 23:11:47 +02:00
Jean-Baptiste Kempf dc814eb35c Map FLAC wf_tag 2012-04-13 11:51:06 +02:00
Jean-Baptiste Kempf 6623e92f7a Map Atrac wf_tags 2012-04-13 11:51:05 +02:00
Jean-Baptiste Kempf 0044061feb Map Yamaha ADPCM to wf_tag
This should fix Yamaha ADPCM in MKV
2012-04-13 01:06:38 +02:00