Skip to content

Commit

Permalink
backend: Add GetBlc helper
Browse files Browse the repository at this point in the history
Add a helper to fetch the black level params.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
  • Loading branch information
naushir committed Mar 12, 2024
1 parent 6e3a53d commit 276a829
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libpisp/backend/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ void BackEnd::SetBlc(pisp_bla_config const &blc)
be_config_.dirty_flags_bayer |= PISP_BE_BAYER_ENABLE_BLC;
}

void BackEnd::GetBlc(pisp_bla_config &blc) const
{
blc = be_config_.blc;
}

void BackEnd::SetStitchInputFormat(pisp_image_format_config const &stitch_input_format)
{
be_config_.stitch_input_format = stitch_input_format;
Expand Down
1 change: 1 addition & 0 deletions src/libpisp/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class BackEnd
void GetTdnOutputFormat(pisp_image_format_config &tdn_output_format) const;
void SetSdn(pisp_be_sdn_config const &sdn);
void SetBlc(pisp_bla_config const &blc);
void GetBlc(pisp_bla_config &blc) const;
void SetStitchInputFormat(pisp_image_format_config const &stitch_input_format);
void GetStitchInputFormat(pisp_image_format_config &stitch_input_format) const;
void SetStitchDecompress(pisp_decompress_config const &stitch_decompress);
Expand Down

0 comments on commit 276a829

Please sign in to comment.