Commit Graph

64 Commits

Author SHA1 Message Date
Rafaël Carré
8ddf6aa4f2 es_format_t: add i_level
It indicates restrictions on the ES (resolution, bitrate, codec
features...), like the H264 level
2010-01-23 16:44:47 +01:00
Rafaël Carré
f173401f9d audio_format_t.i_flavor -> es_format_t.i_profile
Other (audio or video) demux/codecs than real demux can use it
2010-01-23 16:44:47 +01:00
Francois Cartegnie
9ae152ce22 fix empty declaration warning 2010-01-18 20:14:47 +02:00
Rafaël Carré
f06ff39dd2 vlc_es.h: remove useless vlc_common.h include 2010-01-17 07:58:45 +01:00
Laurent Aimar
d466fd4185 Removed es_format_t::i_aspect.
It was duplicated with es_format_t::i_sar_num/den.
2009-12-16 22:00:47 +01:00
Laurent Aimar
63b7c098f2 Used a sar for video_format_Setup. 2009-12-16 22:00:46 +01:00
Pierre d'Herbemont
72d74337f7 es: RGB masks needs to be uint32_t. 2009-08-20 12:04:54 +02:00
Laurent Aimar
e0882fbcce Fixed a typo (cosmetic). 2009-07-06 23:33:05 +02:00
Laurent Aimar
8a5c9258d1 Added es_format_InitFromVideo helper. 2009-07-01 21:24:35 +02:00
Laurent Aimar
a65e5abc5b Added a missing const to video_format_Copy. 2009-06-06 19:40:14 +02:00
Laurent Aimar
50b81b0917 Added video_format/es_format_IsSimilar helper. 2009-06-06 00:57:35 +02:00
Laurent Aimar
4179a9e5c4 Added video_format_Setup to replace vout_InitFormat. 2009-05-16 22:17:10 +02:00
Laurent Aimar
abf074a86f Removed unused AUDIO_FMT_S/U16_NE. 2009-05-15 22:05:36 +02:00
Laurent Aimar
724461bdf2 Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
 It's only the first pass.
2009-05-13 21:18:19 +02:00
Laurent Aimar
e481f91027 Added a i_original_fourcc field to es_format_t. 2009-05-13 21:18:18 +02:00
Laurent Aimar
d66d8f7d18 Added teletext fields in es_forma_t.
It removed a hack where dvb.i_id was used for teletext.
2009-02-13 23:40:55 +01:00
Jean-Paul Saman
f39c8605e0 Add documentation. 2008-08-27 14:44:31 +02:00
Jean-Paul Saman
5e7051c3d8 Add video_format_{Copy,Init,Clean} inline functions and bump ABI. 2008-08-27 14:44:31 +02:00
Laurent Aimar
4645717fb8 Uninlined es_format_t functions and added video_format_FixRgb helper. 2008-08-21 00:08:45 +02:00
Rémi Denis-Courmont
c0f4bfc5d8 Headers: use non-reserved identifiers for multi-inclusion protection 2008-08-11 19:34:48 +03:00
Rémi Denis-Courmont
fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Antoine Cellerier
2e2178f773 Chroma API change. Chromas are now normal video filters (almost). 2008-06-02 18:43:40 +02:00
Rémi Denis-Courmont
9970930dbc Revert "Move VLC_FOURCC to vlc_es.h"
This reverts commit 62b9f5b025.
2008-05-26 21:56:55 +03:00
Rémi Denis-Courmont
62b9f5b025 Move VLC_FOURCC to vlc_es.h 2008-05-26 21:11:01 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Rémi Denis-Courmont
aa4867fe61 Fix es_format_Copy prototype 2008-03-29 10:39:44 +02:00
Rémi Duraffort
570cece597 Remove uneeded test before freeing.
In the same time add spaces in order to follow code convention.
2008-03-11 22:57:35 +01:00
Jean-Baptiste Kempf
a4c8807ec2 Real/Sipr, try to use a correct flavor detection, without using the MPlayer hacks... 2007-11-19 01:43:37 +00:00
Laurent Aimar
d20dd24295 Added replay gain support (audio-replay-gain-mode track or album to activate
it, disabled by default)
2007-06-17 13:54:20 +00:00
Rémi Denis-Courmont
9ab64bc41c Fix comment 2007-06-07 17:31:45 +00:00
Rémi Denis-Courmont
bfdb4690d3 Store channels counter to a single byte. We can only handle 32 of them anyway 2007-06-07 16:43:10 +00:00
Laurent Aimar
ccf3ec55fa Fixed es_format_Clean (when called multiple times with the same es_format). 2007-03-01 23:01:59 +00:00
Clément Stenac
fbf4c8060d A bit of vlc/libvlc cleanup:
* libvlc sources and plugins now define __LIBVLC__ and headers exported to
  plugins (ie, include/vlc_*.h) check for this
* libvlc sources use the value of the "libvlc" component in vlc-config instead
  of vlc
* Apply flags directly to "libvlc" in configure.ac - might temporarily break win32 :)
2006-12-03 13:48:21 +00:00
Gildas Bazin
94e3a9b93e * Fixed another bunch of memory leaks. 2006-10-08 16:09:13 +00:00
Jean-Paul Saman
8c8624b4f3 Cosmetic 2006-08-23 20:03:48 +00:00
Jean-Paul Saman
9b14f80f77 Use NULL iso 0 (is more portable) 2006-08-06 13:21:54 +00:00
Christophe Mutricy
04b8258960 Fix compilation 2006-07-18 21:25:14 +00:00
Sigmund Augdal Helberg
fb0991c418 support muxing and demuxing of dual mono mpeg ts streams if libdvbpsi is up to date 2006-07-18 08:48:53 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Antoine Cellerier
88a5de2cf6 remove 2 evil tabs 2005-08-20 19:14:58 +00:00
Jean-Paul Saman
af44196ee6 cosmetic fix 2005-08-10 19:34:18 +00:00
Jean-Paul Saman
9aa09bba7a Made es_format_t member i_bitrate unsigned int, because I cannot imagine it ever to be negative. 2005-08-09 15:18:44 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Gildas Bazin
6e9e7e3658 * include/vlc_es.h: added i_sar_num/den (sample aspect ratio) fields to video_format_t (will hopefully deprecate the i_aspect field one day). 2004-11-08 13:41:16 +00:00
Derk-Jan Hartman
86dcb64964 * added origin (position) and 'original frame size' params to SPU es 2004-09-18 09:52:20 +00:00
Gildas Bazin
8ca6f29c3a * ALL: use rgb mask members in video_format_t.
* modules/demux/avi/avi.c: raw RGB 24 is in fact BGR 24.
2004-08-30 19:24:55 +00:00
Gildas Bazin
2a24c87ba6 * modules/stream_out/transcode.c:
- Re-use our audio decoder modules instead of using libavcodec directly.
  - No more dependance on libavcodec.
  (downmixing is currently broken + you have to force the ffmpeg codec for a52)
* modules/audio_filter/format.c:
  - PCM audio format conversion filter using the new common filter architecture.
* modules/audio_filter/converter/mpgatofixed32.c:
  - implements both the old and new filter architecture (ie. useable in the transcoder).
* modules/codec/ffmpeg/audio.c:
  - fixes and cleanup.
2004-08-27 13:31:23 +00:00
Gildas Bazin
1374a69a56 * modules/codec/spudec/*: automatic cropping of fullscreen subpictures (most of them contain large transparent areas).
* src/video_output/vout_subpictures.c: more correct cropping (cropping coordinates are relative to the video size, not subpicture size).
* include/vlc_es.h, modules/video_filter/blend.c: use the i_entries member of video_palette_t.
* include/vlc_common.h: added SetWBE()/SetDWBE()/SetQWBE() facility.
2004-08-13 18:58:25 +00:00
Derk-Jan Hartman
90cccf3717 * viedo_format_t -> video_format_t 2004-08-04 11:58:44 +00:00