aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api
diff options
context:
space:
mode:
authorJose Da Silva <digital@joescat.com>2021-01-31 19:51:10 -0800
committerPaul B Mahol <onemda@gmail.com>2021-02-03 16:03:15 +0100
commit7ccea3bf0959d4493959f4a22f9674144aef405b (patch)
treef454f4f208c4decb22c57ada92d0920be39b1a48 /tests/api
parent8c3d31fbeee157d6f529402c86371c857026fcff (diff)
downloadffmpeg-7ccea3bf0959d4493959f4a22f9674144aef405b.tar.gz
avcodec/xbmdec: get_nibble() minor speed increase, and binary reduction
Replace av_isxdigit(*ptr) and convert(*ptr) with get_nibble(*ptr) which returns a valid nibble=={0x00..0x0f} or false==255 for all other values. This way we only need to work with *ptr once instead of twice. Removing inline av_isxdigit(x) functions also shrinks executable size. Signed-off-by: Joe Da Silva <digital@joescat.com>
Diffstat (limited to 'tests/api')
0 files changed, 0 insertions, 0 deletions