Skip to content

Commit

Permalink
v1.03
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma-axis committed Jun 19, 2024
1 parent 2b342c4 commit 1171e35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ https://github.com/sigma-axis/aviutl_SimpleLoHiPassFilter/assets/132639613/5cbe6

## 改版履歴

- **v1.03** (2024-06-19)

- 新規キャッシュの初期化修正.

- **v1.02** (2024-06-19)

- バッファの取り回しを間違っていたのを修正.ソースのコピー元でバッファが長めの最低保証を受けていたため不具合が起こらなかっただけだった.
Expand Down
4 changes: 2 additions & 2 deletions SimpleLoHiPassFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ enum class ConvKernel : uint8_t {
};
constexpr int count_kernels = 6;

#define PLUGIN_VERSION "v1.02"
#define PLUGIN_VERSION "v1.03"
#define PLUGIN_AUTHOR "sigma-axis"
#define FILTER_INFO_FMT(name, ver, author) (name##" "##ver##" by "##author)
#define FILTER_INFO(name) constexpr char filter_name[] = name, info[] = FILTER_INFO_FMT(name, PLUGIN_VERSION, PLUGIN_AUTHOR)
Expand Down Expand Up @@ -291,7 +291,7 @@ BOOL func_proc(ExEdit::Filter* efp, ExEdit::FilterProcInfo* efpip)
frame == 0 || frame < cache->frame || cache_exists_flag == 0) {
// 新規キャッシュ,あるいは時間が巻き戻っているなら初期化.
cache->offset = 0;
cache->frame = 0;
cache->frame = frame;
std::memset(cache->data, 0, buffer_size * sizeof(i16));
}
else if (cache->frame == frame) {
Expand Down

0 comments on commit 1171e35

Please sign in to comment.