1. 20 Oct, 2007 1 commit
    • Laurent Aimar's avatar
      Fixed subtitle blend module loading. · 794eece8
      Laurent Aimar authored
      The blend module will be loaded only if needed and reloaded on chroma change.
      (As a side effect it should allow displaying TEXT even when no blending module
      exist)
      794eece8
  2. 18 Oct, 2007 1 commit
  3. 10 Oct, 2007 1 commit
  4. 23 Sep, 2007 1 commit
  5. 20 Sep, 2007 1 commit
  6. 09 Sep, 2007 1 commit
  7. 24 Aug, 2007 1 commit
  8. 20 Aug, 2007 1 commit
  9. 06 Aug, 2007 1 commit
  10. 20 Jul, 2007 1 commit
  11. 07 Jul, 2007 1 commit
    • Laurent Aimar's avatar
      all: Subtitle improvment patch by Bernie Purcell. · 4d4eb334
      Laurent Aimar authored
      Author comments:
      
      It makes the following changes:
      * Changes to vout_subpictures.c to create some new variables which
      renderers are free to use to render time-specific subtitling
      information, such as karaoke. One of these variables allows for the text
      region to not be permanently converted to YUVA/YUVP - so that more than
      one pass can be made on the subtitle - so that it will update correctly
      over time. If a rendering module doesn't use or change any of the
      variables it behaves the same as usual, with the text region being
      rendered just the once to a YUVA/YUVP region and then just blended to
      the video on future passes.
      
      * Changes to alignment implementation: no longer use the i_text_align
      field of font_style_t at all; require the alignment to be correctly
      setup solely in the subpicture_region_t's i_align field (this is so that
      the alignment initially inherited from a style can be overridden). This
      meant minor changes to freetype.c and quartztext.c as well as the
      deletion of the i_text_align field in vlc_osd.h. It also involved some
      changes in subsdec.c, where most of the work in this patch occurs.
      
      * Minor change to quartztext.c to correct the interpretation of font
      size parameter, making it consistent with a similar change being made in
      subsdec.c, and to strip out multiple whitespace in html subtitles
      (Similar changes to the freetype.c module have already been made as part
      of a separate larger patch submission to fix problems with bidirectional
      styled text in that module)
      
      * Adds 2 new fields for carrying karaoke specific information to the
      text_style_t struct in vlc_osd.h. Changed the default_text_style's
      definition to agree with the changes made in the fields of text_style_t
      struct.
      
      * Support for <image> and <karaoke> subtitles in subsdec.c. (Full
      working karaoke also requires an as-yet unsubmitted patch to the
      renderers to implement)
      
      * Support for more than one subpicture_region_t per timestamp, with each
      subpicture region being able to have its own alignment and margins and
      type: text or image
      
      * Better calculation of plain-text versions of html subtitles
      
      NB: This patch still makes use of a mechanism of explicitly requesting
      the sdl_image module to decode any images it wants. The main reason for
      this is that the bmp decoder in ffmpeg (the image decoder with the
      highest score) presently only handles 16, 24 and 32 bit depths. An
      alternative is for us to switch off the bmp support in ffmpeg for the
      time being and the segment of code in subsdec.c that explicitly requests
      this module (along with one line added to sdl_image.c) can be removed.
      I'm not fussed by either implementation, but this way probably affects
      fewer other modules, so have submitted it this way.
      
      4d4eb334
  12. 18 Jun, 2007 1 commit
    • Laurent Aimar's avatar
      Patch by Bernie Purcell : · 23cc599d
      Laurent Aimar authored
      "This is part of a former submission stripped out for easier
       assimilation. It modifies vout_subpictures to use the existing alignment
       field on each region, rather than the alignment on the subpicture plane
       itself. Modifications are made to everywhere that depended on the former
       behaviour, to make it use the new alignment location instead."
      
      23cc599d
  13. 14 Jun, 2007 1 commit
  14. 26 Apr, 2007 1 commit
  15. 15 Apr, 2007 1 commit
  16. 05 Apr, 2007 1 commit
  17. 01 Apr, 2007 1 commit
  18. 31 Mar, 2007 2 commits
    • dionoea's avatar
      scale.c: implement RGBA scaling. · da065dee
      dionoea authored
      vout_subpictures.c: enable scaling for RGBA subpictures.
      da065dee
    • dionoea's avatar
      vout_subpictures.c: Do not call the scaling module if the subpicture is using... · 4d8cbc47
      dionoea authored
      vout_subpictures.c: Do not call the scaling module if the subpicture is using RGBA. The current way subpictures scaling and blending modules loading work is kind of flawed. It assumes that the module will be able to handle all the possible types of input chromas. This worked fine previously (since all modules allowing to scale/blend YUVP also handled YUVA), but doesn't now (the scaling module doesn't support RGBA. blending works fine).
      vout_pictures.*: Add core support for RGBA pictures.
      
      4d8cbc47
  19. 25 Mar, 2007 2 commits
  20. 21 Mar, 2007 1 commit
  21. 13 Mar, 2007 1 commit
  22. 22 Feb, 2007 1 commit
    • Laurent Aimar's avatar
      Fixed subtitle/osd memory leaks (subpicture_region_t->psz_text was not freed). · 0c9117de
      Laurent Aimar authored
       I think we have a potential bug with the way subpicture_region_t->p_style
      is used.
       Decoders allocate p_style memory in their context, so we don't free it in
      spu_DestroyRegion. As vout object can live longer than decoder, I think
      p_style might be used after the decoder has destroyed it.
      
       Can someone, who has worked on osd/spu internal, comment ?
       
      0c9117de
  23. 16 Jan, 2007 2 commits
  24. 26 Nov, 2006 1 commit
    • zorglub's avatar
      A bit of headers cleanup · d3fe7f28
      zorglub authored
      * Headers in include must contain the structures and prototypes needed
        by the plugins and should be named vlc_*.
      * Headers in include/vlc must contain the structures and prototypes
        needed by external libvlc clients
      
      * Moved and renamed some things in headers. 
         - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
         - Removed snapshot.h (merged in vlc_vout.h)
         - Removed vlc_spu.h (merged in vlc_osd.h)
         - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
         - Moved all internal headers to src
         - Merged vlc_video.h and video_output.h and move private things to src
         - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
           (meta headers for use in modules, and often implying too large 
           dependencies)
      * Removed some useless dependencies
      * Unexported a bunch of functions and structures used only in src/
        (--> Still some work here)
      * Finally made input_thread_t and input_source_t (mostly) private. 
        Added input_GetItem to fetch the input_item of an input_thread
      * Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
        prefix
      
      This commit has a 99% probability of breaking the build, 0.1% of killing
      your cat and 0% of getting you hot chicks.
      d3fe7f28
  25. 07 Oct, 2006 1 commit
  26. 01 Oct, 2006 1 commit
    • dionoea's avatar
      · 9786ac41
      dionoea authored
      use config chain for the --sub-filter option.
      Example:
        --sub-filter "marq{marquee=pouet}:marq{marquee=\$N,y=50,x=50}"
      Sub filters other than marq still need to be changed
      rc interface marq callbacks need to be fixed too
      9786ac41
  27. 10 Sep, 2006 1 commit
  28. 02 Sep, 2006 1 commit
  29. 13 Apr, 2006 3 commits
  30. 07 Apr, 2006 1 commit
  31. 25 Mar, 2006 1 commit
  32. 22 Feb, 2006 1 commit
  33. 07 Feb, 2006 1 commit
    • hartman's avatar
      * Introduced a new text_style_t · c5cc4e52
      hartman authored
      * basic support for SSA formatted subs. (disable with --no-subsdec-formatted option)
      * changes to freetype renderer to support the font color, size and alpha options of text_style_t (other options are possible, just not implemented yet. Full text_style_t support requires a more advanced renderer though. )
      * changes to modules to support text_style_t instead of the old sub options.
      * Some changes to subsdec to only iconv to UTF-8 if source is !UTF-8.
      
      refs #82
      
      not supported are style runs (styles on substrings).
      
      
      c5cc4e52
  34. 12 Jan, 2006 1 commit
  35. 31 Oct, 2005 1 commit
    • hartman's avatar
      * changed default value of sub-margin to 0 · 3887b077
      hartman authored
      * sub elements can be moved up (positive values) and down (negative)
      * force_crop'ed elements cannot be moves (usually only dvd menu's)
      * works for spudec and subsdec
      * if the margin / offset correction forces the picture out of the main picture, the offset is cropped so that the subpicture is still 100% visible.
      3887b077