• Andreas Rheinhardt's avatar
    avcodec/jpegtables: Unavpriv MJPEG-tables · 1d333c15
    Andreas Rheinhardt authored
    There are seven MJPEG-tables, five small (1x12, 4x17) and two
    not small (2x162). These are all avpriv, despite this not being
    worthwhile due to the overhead of exporting a symbol: The total
    overhead for each symbol consists of two entries in .dynsym (24B each),
    one entry in the importing library's .rela.dyn (24B) and one in .got
    (8B) as well as 2x2B for symbol versions and 4B for symbol hashes
    in the exporting library; in addition to that, the name of the symbol
    is included in both exporting and importing libraries, using 2x210 bytes
    in this case.
    (The above numbers are for a x64 Elf/Linux/GNU system. Other platforms
    will give different numbers.)
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
    1d333c15
jpegtabs.h 3.74 KB