Skip to content

Commit

Permalink
conv_bit_depth_rsft_add_の不具合を修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Nov 22, 2024
1 parent a98b7cb commit 83566ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NVEncCore/convert_csp.h
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ static int conv_bit_depth_rsft_() {
template<int out_bit_depth, int in_bit_depth, int shift_offset>
CU_DEV_HOST_CODE
static int conv_bit_depth_rsft_add_() {
const int rsft = conv_bit_depth_rsft_<in_bit_depth, out_bit_depth, shift_offset>();
const int rsft = conv_bit_depth_rsft_<out_bit_depth, in_bit_depth, shift_offset>();
return (rsft - 1 >= 0) ? 1 << (rsft - 1) : 0;
}

Expand Down

0 comments on commit 83566ab

Please sign in to comment.