Skip to content

Commit

Permalink
Remove call to set_max_tile_chunk_size.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunrd0 committed Jun 10, 2024
1 parent f99c3f5 commit 086e811
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tiledb/sm/filter/filter_pipeline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include "tiledb/sm/misc/parallel_functions.h"
#include "tiledb/sm/stats/global_stats.h"
#include "tiledb/sm/tile/tile.h"
#include "webp_filter.h"

using namespace tiledb::common;

Expand Down Expand Up @@ -644,6 +645,8 @@ bool FilterPipeline::use_tile_chunking(
} else if (version >= 13 && has_filter(FilterType::FILTER_DICTIONARY)) {
return false;
}
} else if (has_filter(FilterType::FILTER_WEBP)) {
return false;
}

return true;
Expand Down
1 change: 0 additions & 1 deletion tiledb/sm/filter/webp_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ void WebpFilter::set_extents(const std::vector<ByteVecValue>& extents) {
throw StatusException(Status_FilterError(
"Tile extents too large; Max size WebP image is 16383x16383 pixels"));
}
WriterTile::set_max_tile_chunk_size(extents_.first * extents_.second);
}

template void WebpFilter::set_extents<uint8_t>(
Expand Down

0 comments on commit 086e811

Please sign in to comment.