From a81425632db81527bcecd2d0fbdb5b09c25141ba Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 1 May 2022 11:43:42 -0700 Subject: modules/*: make use of generic fragmenters Just one case, modules/submit, was using 32x32 tiles and is now using 64x64. I don't expect it to make any difference. While here I fixed up the num_cpus/n_cpus naming inconsistencies, normalizing on n_cpus. --- src/modules/montage/montage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/montage/montage.c') diff --git a/src/modules/montage/montage.c b/src/modules/montage/montage.c index 19562db..8444616 100644 --- a/src/modules/montage/montage.c +++ b/src/modules/montage/montage.c @@ -15,7 +15,7 @@ typedef struct montage_context_t { } montage_context_t; static void setup_next_module(montage_context_t *ctxt); -static void * montage_create_context(unsigned ticks, unsigned num_cpus, til_setup_t *setup); +static void * montage_create_context(unsigned ticks, unsigned n_cpus, til_setup_t *setup); static void montage_destroy_context(void *context); static void montage_prepare_frame(void *context, unsigned ticks, unsigned n_cpus, til_fb_fragment_t *fragment, til_fragmenter_t *res_fragmenter); static void montage_render_fragment(void *context, unsigned ticks, unsigned cpu, til_fb_fragment_t *fragment); @@ -31,7 +31,7 @@ til_module_t montage_module = { }; -static void * montage_create_context(unsigned ticks, unsigned num_cpus, til_setup_t *setup) +static void * montage_create_context(unsigned ticks, unsigned n_cpus, til_setup_t *setup) { const til_module_t **modules, *rtv_module, *compose_module; size_t n_modules; -- cgit v1.2.1