Skip to content
Snippets Groups Projects
  1. Jul 18, 2012
    • Rafaël Carré's avatar
      Functions MC_put_o_16_arm, MC_put_o_8_arm, MC_put_x_16_arm, MC_put_x_8_arm · 946bf4b5
      Rafaël Carré authored
      in libmpeg2/motion_comp_arm_s.S have addresses in .text, which is bad
      for shared libraries.  Some environments demand that .text actually be
      read-only all the time, yet MC_put_o_16_arm etc require that the addresses
      be modified by the dynamic linking mechanism (dlopen, LoadLibrary, etc.)
      Even in those environments which permit the dynamic linker to modify the
      .text segment, the runtime cost of doing the relocation can be noticeable.
      
      This commit rewrites the linkage, discarding the tables of addresses
      in favor of tables of offsets.  All transfers are local within each individual
      function, so there can be no interference by processing that occurs
      after assembly, such as link-time re-ordering (even of individual functions.)
      
      Patch by John Reiser <jreiser@bitwagon.com>
      946bf4b5
  2. Jun 24, 2010
  3. Oct 17, 2008
  4. Oct 15, 2008
  5. Oct 12, 2008
  6. Oct 10, 2008
    • Michel Lespinasse's avatar
      First step towards decoupling the slice decoder (which is the main · 64f5c855
      Michel Lespinasse authored
      CPU intensive part of libmpeg2) from the rest of the decoder
      (i.e. the chunk gathering, header parsing and state machine).
      
      Eventually I want to get to a point where decode.c and header.c do not know
      about the internals of the mpeg2_decoder_t type. Longer term, I want to
      be able to switch the slice decoders, for example to support GPU acceleration.
      
      64f5c855
  7. Oct 09, 2008
  8. Oct 05, 2008
  9. Sep 17, 2008
  10. Jul 18, 2008
  11. Jul 16, 2008
  12. Jul 15, 2008
  13. Jul 12, 2008
  14. Jul 11, 2008
  15. Jul 09, 2008
  16. May 15, 2008
  17. Apr 25, 2008
  18. Apr 11, 2008
  19. Apr 10, 2008
Loading