L

libmpeg2

free library for decoding mpeg-2 and mpeg-1 video streams

Project ID: 119
  • 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
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
libmpeg2 Loading commit data...
libvo Loading commit data...
m4 Loading commit data...
src Loading commit data...
test Loading commit data...
vc++ Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
CodingStyle Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...