Skip to content

Commit 276a829

Browse files
committed
backend: Add GetBlc helper
Add a helper to fetch the black level params. Signed-off-by: Naushir Patuck <[email protected]>
1 parent 6e3a53d commit 276a829

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/libpisp/backend/backend.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ void BackEnd::SetBlc(pisp_bla_config const &blc)
147147
be_config_.dirty_flags_bayer |= PISP_BE_BAYER_ENABLE_BLC;
148148
}
149149

150+
void BackEnd::GetBlc(pisp_bla_config &blc) const
151+
{
152+
blc = be_config_.blc;
153+
}
154+
150155
void BackEnd::SetStitchInputFormat(pisp_image_format_config const &stitch_input_format)
151156
{
152157
be_config_.stitch_input_format = stitch_input_format;

src/libpisp/backend/backend.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class BackEnd
7272
void GetTdnOutputFormat(pisp_image_format_config &tdn_output_format) const;
7373
void SetSdn(pisp_be_sdn_config const &sdn);
7474
void SetBlc(pisp_bla_config const &blc);
75+
void GetBlc(pisp_bla_config &blc) const;
7576
void SetStitchInputFormat(pisp_image_format_config const &stitch_input_format);
7677
void GetStitchInputFormat(pisp_image_format_config &stitch_input_format) const;
7778
void SetStitchDecompress(pisp_decompress_config const &stitch_decompress);

0 commit comments

Comments
 (0)