summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-23Make the node pointer transparent during xine build.Diego 'Flameeyes' Pettenò
Check XINE_COMPILE definition, if it's present, define node as a plugin_node_t pointer rather than a void pointer.
2007-12-23Fix for os_types.h move.Diego 'Flameeyes' Pettenò
2007-12-23Remove XINE_COMPILE conditionals where they just changed the include ↵Diego 'Flameeyes' Pettenò
directive paths.
2007-12-23Move os_types.h together with the other includes.Diego 'Flameeyes' Pettenò
--HG-- rename : lib/os_types.h => include/xine/os_types.h
2007-12-23Mark open_internal static (again?).Diego 'Flameeyes' Pettenò
2007-12-23Mark all supported_types constant.Diego 'Flameeyes' Pettenò
2007-12-23Make supported_types constant, change plugins' loading code so that it ↵Diego 'Flameeyes' Pettenò
actually load them properly.
2007-12-23Remove XINE_COMPILE conditional.Diego 'Flameeyes' Pettenò
2007-12-23Mark name and pname static.Diego 'Flameeyes' Pettenò
2007-12-23Mark rm_header and pnm_data_header static.Diego 'Flameeyes' Pettenò
2007-12-23Mark tables static as well as totally constant.Diego 'Flameeyes' Pettenò
2007-12-23Make base_names array static and totally constant.Diego 'Flameeyes' Pettenò
2007-12-23Mark sizes constant.Diego 'Flameeyes' Pettenò
2007-12-23Initialize found when declaring it.Diego 'Flameeyes' Pettenò
2007-12-23Mark text_clut constant.Diego 'Flameeyes' Pettenò
2007-12-23Mark the sub_palette and sub_trans tables constant.Diego 'Flameeyes' Pettenò
2007-12-23Mark more array as constants.Diego 'Flameeyes' Pettenò
2007-12-23Make std_explanation a truly const array.Diego 'Flameeyes' Pettenò
2007-12-23Mark sipr_swaps table constant.Diego 'Flameeyes' Pettenò
2007-12-23Mark the digit array constant.Diego 'Flameeyes' Pettenò
2007-12-23Mark a few more array totally constant.Diego 'Flameeyes' Pettenò
2007-12-23Make more readable.Diego 'Flameeyes' Pettenò
2007-12-23Fix constant pointers declaration.Diego 'Flameeyes' Pettenò
2007-12-23Mark some static objects constant too.Diego 'Flameeyes' Pettenò
2007-12-23Fix merge mistake.Diego 'Flameeyes' Pettenò
2007-12-23Merge from 1.2 main branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-utils/xineutils.h => include/xine/xineutils.h rename : src/libxineadec/Makefile.am => src/audio_dec/Makefile.am rename : src/libxineadec/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c rename : src/libffmpeg/Makefile.am => src/combined/ffmpeg/Makefile.am rename : src/libffmpeg/ff_audio_decoder.c => src/combined/ffmpeg/ff_audio_decoder.c rename : src/libffmpeg/ff_dvaudio_decoder.c => src/combined/ffmpeg/ff_dvaudio_decoder.c rename : src/libffmpeg/ff_dvdata.h => src/combined/ffmpeg/ff_dvdata.h rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libffmpeg/ffmpeg_encoder.c => src/combined/ffmpeg/ffmpeg_encoder.c rename : src/libmpeg2/Makefile.am => src/video_dec/libmpeg2/Makefile.am rename : src/libmpeg2/decode.c => src/video_dec/libmpeg2/decode.c
2007-12-23Merge from 1.1.Diego 'Flameeyes' Pettenò
--HG-- rename : src/liba52/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c
2007-12-23Remove the sed for 'developer-only' comments. Doxygen documentation should ↵Diego 'Flameeyes' Pettenò
replace those.
2007-12-23Simplify code by returning immediately if the condition is not met.Diego 'Flameeyes' Pettenò
2007-12-23Simplify code by returning immediately if the condition is not met.Diego 'Flameeyes' Pettenò
2007-12-23Return immediately if some text is found.Diego 'Flameeyes' Pettenò
2007-12-23Initialise buf as constant.Diego 'Flameeyes' Pettenò
2007-12-23Remove cc_decoder_init function entirely.Diego 'Flameeyes' Pettenò
2007-12-23Precalculate character table, rather than calculating it at runtime. Plugin ↵Diego 'Flameeyes' Pettenò
size decreased. Leave code used as doxygen documentation for the table.
2007-12-22Precalculate parity table, rather than calculating it at runtime. Plugin ↵Diego 'Flameeyes' Pettenò
size decreased. Leave the code used as doxygen documentation for the table.
2007-12-22Merge the sputext decoder and demuxer in a single plugin.Diego 'Flameeyes' Pettenò
2007-12-22Move all the SubPicture decoders together in the spu_dec directory. Remove ↵Diego 'Flameeyes' Pettenò
superfluous xine_ prefixes from source files. --HG-- rename : src/libspucc/cc_decoder.c => src/spu_dec/cc_decoder.c rename : src/libspucc/cc_decoder.h => src/spu_dec/cc_decoder.h rename : src/libspucmml/xine_cmml_decoder.c => src/spu_dec/cmml_decoder.c rename : src/libspudec/nav_read.c => src/spu_dec/nav_read.c rename : src/libspudec/xine_spu_decoder.c => src/spu_dec/spu_decoder.c rename : src/libspudec/spudec.c => src/spu_dec/spudec.c rename : src/libspudec/spudec.h => src/spu_dec/spudec.h rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libsputext/xine_sputext_decoder.c => src/spu_dec/sputext_decoder.c rename : src/libsputext/demux_sputext.c => src/spu_dec/sputext_demuxer.c rename : src/libspucc/xine_cc_decoder.c => src/spu_dec/xine_cc_decoder.c
2007-12-22Move libmpeg2 inside video_dec/libmpeg2.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libmpeg2/Makefile.am => src/video_dec/libmpeg2/Makefile.am rename : src/libmpeg2/cpu_state.c => src/video_dec/libmpeg2/cpu_state.c rename : src/libmpeg2/decode.c => src/video_dec/libmpeg2/decode.c rename : src/libmpeg2/header.c => src/video_dec/libmpeg2/header.c rename : src/libmpeg2/idct.c => src/video_dec/libmpeg2/idct.c rename : src/libmpeg2/idct_altivec.c => src/video_dec/libmpeg2/idct_altivec.c rename : src/libmpeg2/idct_mlib.c => src/video_dec/libmpeg2/idct_mlib.c rename : src/libmpeg2/idct_mlib.h => src/video_dec/libmpeg2/idct_mlib.h rename : src/libmpeg2/idct_mmx.c => src/video_dec/libmpeg2/idct_mmx.c rename : src/libmpeg2/libmpeg2_accel.c => src/video_dec/libmpeg2/libmpeg2_accel.c rename : src/libmpeg2/libmpeg2_accel.h => src/video_dec/libmpeg2/libmpeg2_accel.h rename : src/libmpeg2/motion_comp.c => src/video_dec/libmpeg2/motion_comp.c rename : src/libmpeg2/motion_comp_altivec.c => src/video_dec/libmpeg2/motion_comp_altivec.c rename : src/libmpeg2/motion_comp_mlib.c => src/video_dec/libmpeg2/motion_comp_mlib.c rename : src/libmpeg2/motion_comp_mmx.c => src/video_dec/libmpeg2/motion_comp_mmx.c rename : src/libmpeg2/motion_comp_vis.c => src/video_dec/libmpeg2/motion_comp_vis.c rename : src/libmpeg2/mpeg2.h => src/video_dec/libmpeg2/mpeg2.h rename : src/libmpeg2/mpeg2_internal.h => src/video_dec/libmpeg2/mpeg2_internal.h rename : src/libmpeg2/slice.c => src/video_dec/libmpeg2/slice.c rename : src/libmpeg2/slice_xvmc.c => src/video_dec/libmpeg2/slice_xvmc.c rename : src/libmpeg2/slice_xvmc_vld.c => src/video_dec/libmpeg2/slice_xvmc_vld.c rename : src/libmpeg2/stats.c => src/video_dec/libmpeg2/stats.c rename : src/libmpeg2/vis.h => src/video_dec/libmpeg2/vis.h rename : src/libmpeg2/vlc.h => src/video_dec/libmpeg2/vlc.h rename : src/libmpeg2/xine_mpeg2_decoder.c => src/video_dec/libmpeg2/xine_mpeg2_decoder.c rename : src/libmpeg2/xvmc.h => src/video_dec/libmpeg2/xvmc.h rename : src/libmpeg2/xvmc_vld.h => src/video_dec/libmpeg2/xvmc_vld.h
2007-12-22Move libffmpeg into combined/ffmpeg directory.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libffmpeg/Makefile.am => src/combined/ffmpeg/Makefile.am rename : src/libffmpeg/ff_audio_decoder.c => src/combined/ffmpeg/ff_audio_decoder.c rename : src/libffmpeg/ff_dvaudio_decoder.c => src/combined/ffmpeg/ff_dvaudio_decoder.c rename : src/libffmpeg/ff_mpeg_parser.c => src/combined/ffmpeg/ff_mpeg_parser.c rename : src/libffmpeg/ff_mpeg_parser.h => src/combined/ffmpeg/ff_mpeg_parser.h rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libffmpeg/ffmpeg_decoder.c => src/combined/ffmpeg/ffmpeg_decoder.c rename : src/libffmpeg/ffmpeg_decoder.h => src/combined/ffmpeg/ffmpeg_decoder.h rename : src/libffmpeg/ffmpeg_encoder.c => src/combined/ffmpeg/ffmpeg_encoder.c
2007-12-22Rename libxinvadec directory in video_dec.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libxinevdec/Makefile.am => src/video_dec/Makefile.am rename : src/libxinevdec/bitplane.c => src/video_dec/bitplane.c rename : src/libxinevdec/foovideo.c => src/video_dec/foovideo.c rename : src/libxinevdec/gdkpixbuf.c => src/video_dec/gdkpixbuf.c rename : src/libxinevdec/image.c => src/video_dec/image.c rename : src/libxinevdec/rgb.c => src/video_dec/rgb.c rename : src/libxinevdec/yuv.c => src/video_dec/yuv.c
2007-12-22Rename libxineadec directory in audio_dec.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libxineadec/Makefile.am => src/audio_dec/Makefile.am rename : src/libxineadec/fooaudio.c => src/audio_dec/fooaudio.c rename : src/libxineadec/gsm610.c => src/audio_dec/gsm610.c rename : src/libxineadec/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c rename : src/libxineadec/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libxineadec/xine_faad_decoder.c => src/audio_dec/xine_faad_decoder.c rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c rename : src/libxineadec/xine_mad_decoder.c => src/audio_dec/xine_mad_decoder.c rename : src/libxineadec/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c
2007-12-22Merge -headers-reshuffle branch into main.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-engine/osd.h => include/xine/osd.h
2007-12-22Remove an assertion which is always triggered.Darren Salt
2007-12-21More #include fixes.Darren Salt
2007-12-22Always enable a52dec capabilities for external a52dec.Diego 'Flameeyes' Pettenò
This make it possible to use the DJB accelerated FFT when using the external a52dec liba52 library. --HG-- extra : transplant_source : %03Y%0F%8C%F0%05%EE%F7%5E%2B%A9u%7D%96%F8%D2%13%CD%F4%9D
2007-12-22Fixed an input_pvr issue with 'set input' for ivtv versions 0.10.6+.Richard van Paasen
ivtv now requires the video device to be re-opened when the input is changed.
2007-12-27Add VO_PROP_OUTPUT_* to some other video output drivers (where trivial).Darren Salt
2007-12-27Remove long-obsolete automake patch.Darren Salt
2007-12-27xmlparser: fix token buffer being too smallMaximilian Schwerin
What this patch does is replace the token buffer of static size in xml_parser_get_node with a malloced buffer. If the lexer notices, that it needs more size it just increases the size of this buffer by factor two and tries again. This may not be very elegant, but it works. node_name and property_name are dynamically-sized too.
2007-12-27[Subtitles] SSA-tags patchDubois Nicolas
I watch a lot of movies with subtitles and I need "vobsub subtitles" work in xine, then I decide to write this patch. It may support SSA tags for all text subtiles (ssa, ass, srt, ...) This patch : 1. Remove all SSA tags from stream (they are ugly : {\a6}) 2. Handle some of them (b, i, a, an, pos). The other ones control colours, shadow, animation, ... I can't make them work in an easy way. 3. Correct wrap algorithm which have minors bugs (we can see them only with SSA patch...) Modified files : libsputext/demux_sputext.c just remove unneeded code (which remove some of SSA-tags) libsputext/xine_sputext_decoder.c the main modified file. video_out/video_out_xshm.c video_out/video_out_xv.c xine-engine/video_out.h get video output (position and size). See below. 1. Removing SSA tags is done in ogm_render_line_internal() like for html-like tags. (this was done in the previous version of xine) 2. b(bold) and i(italic) are implemented like html-ones, in ogm_render_line_internal(). The other tags this patch support are : aX : alignment in SSA-code anX : alignment in numpad code pos(X,Y) : position, depend on alignment For those ones, I need in first a full-screen OSD, not a five lines one. Then, I need to remember where the last subtitle was drawn, in order to erase it. At last, I need a translation function to convert subtitle coordinates in screen coordinates. For this last point, I first write a full-screen translation (don't care about blacks borders), but it's not really good: the 'pos' tag is sometime used to point out something in the video. (Moreover, ASS spec say we have to draw subtitle on the video) For doing this, I need the real video output size and position, which are only know by the video output driver! Then I had 4 VO properties (in xine-engine/video_out.h) for video driver could give us those informations. I implement it only in xshm and xv drivers (I can't test other ones). If video driver can't give us those informations, the patch fallback in a full-screen translation. 3. there was 3 problem with the wrap algorithm : 1. It was in double: exactly the same, twice. Look like a merge problem. I remove one and all work fine. 2. It want to cut string in equivalent display length but it cut it in equivalent byte length. In most cases, this is the same, but if we have UTF-8 chars or long SSA-tags (which will not be displayed) the result is strange. 3. If we have a too-long part (in bytes) of the string without spaces (bad subtitle file or long SSA-code), the algorithm don't know what to do. (this case is not handled) I re-write the wrap algorithm to correct those problems. Note that my version is slower than previous one : working with bytes is really faster than computing text-length. Maybe I should had to propose an other patch for this part...