config: add description-based output matching with desc: prefix
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Idbe0661f0c491512d61ace4337ebe8cd6a6a6964
This commit is contained in:
parent
e871307f6a
commit
459989e896
3 changed files with 60 additions and 18 deletions
8
include/chroma.h
vendored
8
include/chroma.h
vendored
|
|
@ -250,11 +250,13 @@ void chroma_images_cleanup(chroma_state_t *state);
|
|||
int chroma_config_load(chroma_config_t *config, const char *config_file);
|
||||
void chroma_config_free(chroma_config_t *config);
|
||||
const char *chroma_config_get_image_for_output(chroma_config_t *config,
|
||||
const char *output_name);
|
||||
const char *output_name,
|
||||
const char *output_description);
|
||||
int chroma_config_get_mapping_for_output(
|
||||
chroma_config_t *config, const char *output_name,
|
||||
chroma_scale_mode_t *scale_mode, chroma_filter_quality_t *filter_quality,
|
||||
chroma_anchor_t *anchor, float *anchor_x, float *anchor_y);
|
||||
const char *output_description, chroma_scale_mode_t *scale_mode,
|
||||
chroma_filter_quality_t *filter_quality, chroma_anchor_t *anchor,
|
||||
float *anchor_x, float *anchor_y);
|
||||
|
||||
void chroma_config_print(const chroma_config_t *config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue