aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-09-06 09:30:16 -0400
committerMauro Carvalho Chehab <[email protected]>2017-09-23 08:30:10 -0400
commit3ff692fad32829b5b2199273d2b35273ecab007f (patch)
tree5fdf74e61835d6d9ccc2e1ca8335237ce6e4394e /tools/perf/scripts/python
parente90ce8aa3cb2fcfb0fd45f95e89946a15c03737c (diff)
media: ov9640: make const arrays res_x/y static const, reduces object code size
Don't populate the arrays res_x and resy_y on the stack, instead make them static const. Makes the object code smaller by over 160 bytes: Before: text data bss dec hex filename 10509 2800 64 13373 343d ov9640.o After: text data bss dec hex filename 10184 2960 64 13208 3398 ov9640.o Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions