• Roland Scheidegger's avatar
    h264: use one table instead of several for cabac functions · 7f668cd2
    Roland Scheidegger authored
    
    
    The reason is this is easier for PIC code (in particular on darwin...).
    Keep the old names as pointers (static in cabac_functions.h so gcc
    knows these are just immediate offsets) so the c code can nicely stay the same
    (alternatively could use offsets directly in the functions needing the
    tables). This should produce the same code as before with non-pic and better
    code (confirmed) with pic.
    
    The assembly uses the new table but still won't work for PIC case.
    
    Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
    7f668cd2