Re: [FFmpeg-devel] [PATCH] avcodec/xpmdec: Use LUT for hex char->number conversion

2024-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Speeds up decoding and also reduces binary size. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/xpmdec.c | 25 - > 1 file changed, 16 insertions(+), 9 deletions(-) > > diff --git a/libavcodec/xpmdec.c b/libavcodec/xpmdec.c > index 5bc02378

[FFmpeg-devel] [PATCH] avcodec/xpmdec: Use LUT for hex char->number conversion

2024-03-06 Thread Andreas Rheinhardt
Speeds up decoding and also reduces binary size. Signed-off-by: Andreas Rheinhardt --- libavcodec/xpmdec.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/libavcodec/xpmdec.c b/libavcodec/xpmdec.c index 5bc02378c8..804cf8568d 100644 --- a/libavcodec