diff options
author | Christophe JAILLET | 2024-07-27 14:51:56 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2024-09-10 07:30:36 +0200 |
commit | 81ee62e8d09ee3c7107d11c8bbfd64073ab601ad (patch) | |
tree | e7ee92b1e03098a15baa0ae7248c7537b08126e0 /tools | |
parent | ffe3dc5acaa2477276011d6eb61373220217cd9d (diff) |
media: atomisp: Use clamp() in ia_css_eed1_8_vmem_encode()
Using clamp() instead of min_t(max_t()) is easier to read.
It also reduces the size of the preprocessed files by ~ 193 ko.
(see [1] for a discussion about it)
$ ls -l ia_css_eed1_8.host*.i
4829993 27 juil. 14:36 ia_css_eed1_8.host.old.i
4636649 27 juil. 14:42 ia_css_eed1_8.host.new.i
[1]: https://lore.kernel.org/all/23bdb6fc8d884ceebeb6e8b8653b8cfe@AcuMS.aculab.com/
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/155aba6ab759e98f66349e6bb4f69e2410486c09.1722084704.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions