Commit Graph

1250 Commits

Author SHA1 Message Date
Gildas Bazin
06b63706fe * src/video_output/vout_subpictures.c, include/vlc_video.h:
+ introduce a "TEXT" subpicture region type.
  + a psz_text field stores the subpicture text.
* src/video_output/video_text.c: produce "TEXT" subpictures.
* modules/codec/subsdec.c: produce "TEXT" subpictures.
* modules/misc/freetype.c: auto sizing works again.
2004-08-31 18:29:58 +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
56d76ed1eb * include/vlc_video.h: added an i_visible_lines field to plane_t. 2004-08-28 16:46:22 +00:00
Laurent Aimar
743711c4d3 * all: ooops wrong order for ACCESS_SET_PRIVATE_ID... 2004-08-28 15:20:18 +00:00
Sam Hocevar
f0251c53bd * Spelling fixes. 2004-08-28 11:29:48 +00:00
Gildas Bazin
535be4f675 * include/vlc_es_out.h, src/input/es_out.c: added an ES_OUT_SET_FMT control.
* modules/demux/ogg.c, modules/demux/mkv.cpp:
  - store the vorbis/theora/speex headers in fmt.p_extra.
  - this change simplifies the code quite a bit and is a lot cleaner.
* modules/codec/vorbis.c, theora.c, speex.c, flac.c:
  - get the headers from fmt_in.p_extra or from the bitstream if empty.
* modules/mux/ogg.c:
  - recontstruct the headers from fmt.p_extra.
2004-08-28 11:02:51 +00:00
Sam Hocevar
451f396085 * debian/*.menu:
+ Removed unused menu files.
  * debian/rules:
    + Build libavformat.
  * include/vlc_common.h:
    + PACKAGE overrides PACKAGE_NAME.
2004-08-27 20:46:35 +00:00
Sam Hocevar
f2ab6b69af * include/vlc_common.h:
+ Use PACKAGE_NAME instead of PACKAGE.
  * modules/codec/ffmpeg/ffmpeg.c:
    + This module does not require AltiVec for now.
2004-08-27 19:30:37 +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
f2c554795a * modules/codec/ffmpeg/video_filter.c, include/vlc_filter.h:
- chroma + resizing video filter (using the filter_t architecture).
* modules/codec/ffmpeg/*:
  - cleanup + small updates.
* modules/codec/speex.c, theora.c, vorbis.c:
  - got rid of pf_header() in the encoder.
  - store the headers in fmt_out.p_extra (this will break the ogg muxer for now).
* modules/codec/libmpeg2.c, modules/codec/ffmpeg/video.c:
  - added a p_dec->b_pace_control field to signal if the decoder is allowed to drop frames.
* modules/stream_out/transcode.c:
  - heavy cleanup.
  - re-use video decoder modules and got rid of the duplicated ffmpeg video decoder.
  - use video filters for chroma conversion and resizing.
  (a few things are broken now like deinterlacing but I'll repair them asap).
2004-08-26 21:27:06 +00:00
Laurent Aimar
3f821deb15 * input: added a INPUT_UPDATE_META (for meta data in access like ICY)
* access: added ACCESS_GET_TITLE_INFO (not yet implemented)
 * demux: added DEMUX_SET_GROUP (will be only for dvb/ts).
2004-08-25 18:50:36 +00:00
Cyril Deguet
de0246807e * all: removed obsolete b_blocking in intf_dialogs_arg_t 2004-08-24 18:43:41 +00:00
Gildas Bazin
b9c133227e * src/video_output/vout_subpictures.c, video_output.c: fixed a crash with dvd menus. 2004-08-23 15:19:56 +00:00
Gildas Bazin
25d2a663a9 * src/input/*, include/vlc_input.h: the MRL is now parsed for titles/chapters directly in the core.
- syntax is: [url][@[title-start][,chapter-start][-[title-end][,chapter-end]]]
  - core also handles start/end boundaries itself (simplifies the access plugins).
* modules/access/dvdread.c,dvdnav.c,cdda.c: removed MRL parsing code.
2004-08-20 23:37:40 +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
Eric Petit
cb3f739d6b vlc_threads_funcs.h: got rid of vlc_cond_broadcast.
It wasn't implemented for all systems anyway, and isn't used anymore.
  (Terminates #23)
2004-08-11 23:34:38 +00:00
Derk-Jan Hartman
06f5e60542 * include/stream_output.h: add a ip_version field to sap_address_t
This way we can later on set IP6 instead of IP4 in a SDP.
* modules/stream_out/rtp.c: accept sdp=sap as a valid option.
* src/stream_output/sap.c: 
  - Set the SAP packet Hash headerfield to a unique value based on mtime
    Patch by Philippe van Hecke <philippe at belnet dot be>
  - Set SAP packet IPv6 field to 1 if we are a ipv6 session
  - Made some preperations for setting the origin ip address in the header as well,
    anyone any ideas on how to retrieve the current origin IP address???
2004-08-10 15:02:11 +00:00
Gildas Bazin
924e05dc3d * modules/stream_out/transcode.c: added support for subtitles overlaying when transcoding (no resizing yet).
* include/vlc_common.h: added a b_force member that is set when a module is forced (ie. module specified in module_Need()).
2004-08-08 21:14:38 +00:00
Laurent Aimar
c1aa70f30b * codecs.h: a few defines to avoid redefinitions. 2004-08-08 01:36:56 +00:00
Gildas Bazin
8826fb82cc * src/video_output/*: optimized/simplified vout_RenderPicture(). 2004-08-05 14:58:16 +00:00
Gildas Bazin
c7ceea8a94 * src/input/control.c: bookmarks support is back (will need some more work though).
* modules/gui/wxwindows/bookmarks.cpp: bookmarks support is back.
2004-08-05 12:45:23 +00:00
Derk-Jan Hartman
90cccf3717 * viedo_format_t -> video_format_t 2004-08-04 11:58:44 +00:00
Gildas Bazin
3ea1b0e909 * ALL: Major rework of the subpictures architecture.
(expect some breakage).
* modules/video_filter/blend.c: new alpha-blending module.
2004-08-03 00:11:32 +00:00
Gildas Bazin
327a8a9270 * include/ninput.h: removed left-over from access2/demux2 transition.
* modules/demux/mpeg/*: removed old MPEG TS/PS demuxers.
2004-08-02 19:17:12 +00:00
Sam Hocevar
3c4a7fc5a5 * src/video_output/video_output.c:
+ Fixed an undefined function warning.
2004-07-30 20:51:05 +00:00
Gildas Bazin
4feb30d653 * src/input/decoder.c: don't let the decoder/packetizer fifo grow too much because this leads to a steady increase in memory useage when the data isn't consumed quickly enough. (not the best fix, but should be better than nothing) 2004-07-29 08:50:52 +00:00
Derk-Jan Hartman
e4ceccd323 - 2004-07-27 16:20:32 +00:00
Gildas Bazin
3e784cb13e * src/misc/net.c, include/network.h: added net_vaPrintf() and net_Accept().
* modules/control/rc.c: added option to listen on a socket instead of only stdin.
   Inspired from a patch by Bernhard Rosenkraenzer <bero at arklinux dot org>.
2004-07-24 22:49:28 +00:00
Gildas Bazin
bb13e22780 * modules/video_output/x11/*: the glx "opengl provider" makes use of xcommon.c.
* modules/video_output/opengl.c: new platform independant OpenGL vout (uses an "opengl provider" module).
* modules/visualization/galaktos/*: uses the new "opengl provider" module.
2004-07-22 21:27:45 +00:00
Cyril Deguet
4994baa723 * all: created a new module type "opengl provider", which provides a
simple interface to create and use OpenGL windows
 * modules/video_output/x11/glx.c: the GLX vout now implements the
  "opengl provider" interface
 * modules/visualization/galaktos/*: no more dependency on GLX: we use
   the generic opengl provider interface instead.
2004-07-21 22:38:49 +00:00
Sam Hocevar
2e11ee1562 * it's information, not informations (you missed some, dj :P) 2004-07-16 11:33:32 +00:00
Gildas Bazin
e414aa3236 * src/misc/mtime.c, include/mtime.h: new common "date" API for date incrementation without long-term rounding errors.
(is going to replace audio_date_t).
2004-07-10 18:08:09 +00:00
Laurent Aimar
9ea870aa6c * vlc_common: moved a few typedefs from stream_output.h 2004-07-10 17:22:10 +00:00
Laurent Aimar
5363e037cc * all: lot of cosmetics, and added a MUX_GET_MIME (not yet used). 2004-07-10 17:18:50 +00:00
Sigmund Augdal Helberg
43619b8a3e Forgot this file in my last commit. 2004-07-08 09:12:37 +00:00
Laurent Aimar
1c18e06712 * block.*: faster block_* and removed unused features. 2004-07-05 19:50:06 +00:00
Gildas Bazin
8f80181581 * include/video_output.h, include/vlc_video.h, src/video_output/*:
+ When dealing with slow direct buffers, use a temporary picture to overlay subtitles (avoids slow reads during alpha-blending).
* modules/video_output/directx/directx.c: signal slow picture buffers.
2004-07-02 15:12:35 +00:00
Sigmund Augdal Helberg
32329d4ff2 Doxygenized some functions in vout_pictures.c. Prepared for new chroma
fourcc YUVA to be used in subpicture rendering
2004-07-01 12:54:19 +00:00
Gildas Bazin
40a4073e30 * modules/codec/dmo: "DirectX Media Object" decoder plugin (win32 only).
This plugin allows using DMO filters to decode some media types (eg. WMV3).
2004-07-01 10:06:42 +00:00
Derk-Jan Hartman
f1579f9046 * first stab at vlc daemon mode (-d, --daemon ) 2004-06-30 16:26:48 +00:00
Laurent Aimar
1078c3002d * vlc_input: removed unused p_sys. 2004-06-25 20:46:11 +00:00
Laurent Aimar
58ff3e0b91 * vlc_input: added missing fields for multi-input (nothing working yet). 2004-06-24 22:18:33 +00:00
Laurent Aimar
2aebce79d5 * all: - added a boolean "seekable" object variable to p_input.
(becarefull, it's just if you can seek or not, and not if you have to
 display the progress bar, for thet last you have to check if "position"
 value get != 0.0 )
       - added "audio-delay" and "spu-delay" object variables to delay
 audio/spu to the video. They can be changed on the fly (untested).
       - renamed INPUT__GET/SET_SUBDELAY into
 INPUT_SET_SPU_DELAY and added INPUT_SET_AUDIO_DELAY
 (wrapper to "audio-delay" and "spu-delay")
 - readded INPUT_ADD/GET_INFO/INPUT_SET_NAME. Becarefull to not over-use
them, a demuxer should export DEMUX_GET_META and not using them.
2004-06-23 17:49:26 +00:00
Laurent Aimar
0a77085121 * vlc_stream.h : oops again. 2004-06-22 20:09:22 +00:00
Laurent Aimar
8bfb3dcc16 * vlc_es_out.h: oops ;) 2004-06-22 20:07:34 +00:00
Laurent Aimar
7d01a7e7f4 * all: rework of the input. 2004-06-22 19:29:37 +00:00
Laurent Aimar
53b4094ff6 * all: rework of the input. 2004-06-22 19:29:19 +00:00
Sigmund Augdal Helberg
1e37a8cbae various documentation fixes 2004-06-18 11:35:45 +00:00
Sigmund Augdal Helberg
9eabf09090 include/vlc_video.h: minor doc fix 2004-06-17 11:27:49 +00:00
Yoann Peronneau
11e8ae9200 * src/video_output/vout_subpictures.c : New OSD channels
When you want to use OSD, you have to register an OSD channel, by calling
vout_RegisterOSDChannel, then pass it to vout_CreateSubPicture.
There is a particular channel, DEFAULT_CHANNEL that can be used for
general purpose.
See modules/control/hotkeys.c for an example.
2004-06-17 03:37:03 +00:00