Skip to content

Commit

Permalink
backend: Remove all buffer address fields from pisp_be_config
Browse files Browse the repository at this point in the history
These are never used by either the kernel driver or libpisp.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
  • Loading branch information
naushir committed May 1, 2024
1 parent 1f87a91 commit c16438c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions src/libpisp/backend/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ void BackEnd::SetInputFormat(pisp_image_format_config const &input_format)
retile_ = true;
}

void BackEnd::SetInputBuffer(pisp_be_input_buffer_config const &input_buffer)
{
be_config_.input_buffer = input_buffer;
}

void BackEnd::SetDecompress(pisp_decompress_config const &decompress)
{
be_config_.decompress = decompress;
Expand Down
1 change: 0 additions & 1 deletion src/libpisp/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class BackEnd
void SetGlobal(pisp_be_global_config const &global);
void GetGlobal(pisp_be_global_config &global) const;
void SetInputFormat(pisp_image_format_config const &input_format);
void SetInputBuffer(pisp_be_input_buffer_config const &input_buffer);
void SetDecompress(pisp_decompress_config const &decompress);
void SetDpc(pisp_be_dpc_config const &dpc);
void SetGeq(pisp_be_geq_config const &geq);
Expand Down
8 changes: 0 additions & 8 deletions src/libpisp/backend/pisp_be_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,6 @@ typedef struct {
} pisp_be_hog_buffer_config;

typedef struct {
/* I/O configuration: */
pisp_be_input_buffer_config input_buffer;
pisp_be_tdn_input_buffer_config tdn_input_buffer;
pisp_be_stitch_input_buffer_config stitch_input_buffer;
pisp_be_tdn_output_buffer_config tdn_output_buffer;
pisp_be_stitch_output_buffer_config stitch_output_buffer;
pisp_be_output_buffer_config output_buffer[PISP_BACK_END_NUM_OUTPUTS];
pisp_be_hog_buffer_config hog_buffer;
/* Processing configuration: */
pisp_be_global_config global;
pisp_image_format_config input_format;
Expand Down

0 comments on commit c16438c

Please sign in to comment.