Files
FFmpeg/libavcodec
Andreas Rheinhardt 42f6dfc42e avcodec/jpeg2000: Simplify exp2fi for numbers used here
The call to ff_exp2fi() here always uses arguments in the normal
range, so that the branches in ff_exp2fi() are unnecessary.
This is so because JPEG2000 itself only supports up to
128 bits per component per pixel (we only support far less);
furthermore, expn is always 0..31 for the decoder and also
sane for the encoder, so that the difference between these
two values is always in the normal range of -126..128.

Reviewed-by: Tomas Härdin <git@haerdin.se>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-02-20 00:09:05 +01:00
..
2023-11-10 00:14:02 +01:00
2023-12-11 18:42:07 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-22 13:15:00 +08:00
2024-02-09 16:14:56 +01:00
2023-09-01 23:59:14 +02:00
2023-09-11 00:27:45 +02:00
2024-02-12 22:00:03 +02:00
2024-02-12 22:00:03 +02:00
2023-09-22 13:15:00 +08:00
2023-09-22 13:15:00 +08:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-26 17:49:09 +01:00
2023-11-26 17:49:09 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-01 02:25:09 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-11-14 19:15:51 +02:00
2023-10-09 19:52:51 +03:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-10-03 00:27:14 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-31 21:33:25 +02:00
2023-10-31 21:33:25 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2023-11-08 17:37:58 +11:00
2024-01-25 11:07:28 -05:00
2023-12-11 18:17:43 +02:00
2023-12-11 18:17:43 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-12-29 00:45:20 +01:00
2023-09-04 11:04:45 +02:00
2023-11-09 12:53:35 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-28 19:37:58 +02:00
2023-09-30 15:35:04 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-01 22:53:26 +02:00
2023-11-01 22:53:26 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-12-22 09:28:04 -03:00
2023-12-22 09:28:04 -03:00
2023-09-11 00:27:45 +02:00
2023-12-08 17:20:48 +02:00
2023-12-08 17:20:48 +02:00
2023-10-10 00:22:55 +02:00
2024-02-03 00:26:17 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2024-02-17 14:45:49 +02:00
2024-02-17 14:45:49 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00