Increase static linkage, remove unused functions
A large number of functions were defined with external linkage, even though they were only used from within one file. This patch changes their linkage to static and removes the vp8_ prefix from their names, which should make it more obvious to the reader that the function is contained within the current translation unit. Functions that were not referenced were removed. These symbols were identified by: $ nm -A libvpx.a | sort -k3 | uniq -c -f2 | grep ' [A-Z] ' \ | sort | grep '^ *1 ' Change-Id: I59609f58ab65312012c047036ae1e0634f795779
Showing
- vp8/common/alloccommon.c 2 additions, 2 deletionsvp8/common/alloccommon.c
- vp8/common/filter.c 23 additions, 49 deletionsvp8/common/filter.c
- vp8/common/findnearmv.c 7 additions, 0 deletionsvp8/common/findnearmv.c
- vp8/common/findnearmv.h 2 additions, 0 deletionsvp8/common/findnearmv.h
- vp8/common/mbpitch.c 8 additions, 7 deletionsvp8/common/mbpitch.c
- vp8/common/postproc.c 3 additions, 3 deletionsvp8/common/postproc.c
- vp8/common/reconinter.c 11 additions, 11 deletionsvp8/common/reconinter.c
- vp8/common/x86/subpixel_mmx.asm 0 additions, 91 deletionsvp8/common/x86/subpixel_mmx.asm
- vp8/decoder/decodemv.c 10 additions, 17 deletionsvp8/decoder/decodemv.c
- vp8/decoder/decodframe.c 5 additions, 7 deletionsvp8/decoder/decodframe.c
- vp8/decoder/detokenize.c 9 additions, 3 deletionsvp8/decoder/detokenize.c
- vp8/decoder/onyxd_if.c 2 additions, 72 deletionsvp8/decoder/onyxd_if.c
- vp8/decoder/threading.c 9 additions, 9 deletionsvp8/decoder/threading.c
- vp8/decoder/x86/x86_dsystemdependent.c 2 additions, 2 deletionsvp8/decoder/x86/x86_dsystemdependent.c
- vp8/encoder/encodeintra.c 0 additions, 13 deletionsvp8/encoder/encodeintra.c
- vp8/encoder/encodeintra.h 0 additions, 1 deletionvp8/encoder/encodeintra.h
- vp8/encoder/encodemb.c 20 additions, 35 deletionsvp8/encoder/encodemb.c
- vp8/encoder/encodemb.h 0 additions, 3 deletionsvp8/encoder/encodemb.h
- vp8/encoder/firstpass.c 49 additions, 50 deletionsvp8/encoder/firstpass.c
- vp8/encoder/generic/csystemdependent.c 0 additions, 2 deletionsvp8/encoder/generic/csystemdependent.c
Loading
Please register or sign in to comment