Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds CLI options for finer control of input resampling #280

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
encoder: Drop outdated TODO comment
rsms committed Jan 16, 2022
commit 2fb88a7ce2f2c279772549f1c0360edf83f9be03
1 change: 0 additions & 1 deletion encoder/basisu_comp.cpp
Original file line number Diff line number Diff line change
@@ -585,7 +585,6 @@ namespace basisu

debug_printf("Resampling to %ix%i\n", new_width, new_height);

// TODO: A box filter - kaiser looks too sharp on video. Let the caller control this.
image temp_img(new_width, new_height);
image_resample(file_image, temp_img, m_params.m_perceptual, m_params.m_resample_filter.c_str(), m_params.m_resample_filter_scale);
temp_img.swap(file_image);