diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-02-04 18:08:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-11 11:59:42 +0100 |
commit | 0c8be47d4a72702382637775d61584a1f097f071 (patch) | |
tree | af916a0defb2b0dde4baf311953bbac1a93934a0 /include/media | |
parent | media: uapi: Correct doc comment in H264 uAPI (diff) | |
download | linux-dev-0c8be47d4a72702382637775d61584a1f097f071.tar.xz linux-dev-0c8be47d4a72702382637775d61584a1f097f071.zip |
media: platform: sti: make a const arrays static, makes object smaller
Don't populate the const arrays on the stack but instead it
static. Makes the object code smaller by 8 bytes:
Before:
text data bss dec hex filename
12504 4568 0 17072 42b0 media/platform/sti/hva/hva-h264.o
After:
text data bss dec hex filename
12272 4792 0 17064 42a8 media/platform/sti/hva/hva-h264.o
(gcc version 10.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions