Skip to content

Commit

Permalink
NVIDIA Image Scaling v1.0.2
Browse files Browse the repository at this point in the history
- Added multiple performance optimizations
  Moved edge-map the interpolation and weight computation before the directional
  filter response generation
  Increased detection ratio by a factor of 2
- Fixed host and compute shader compilation warnings
- Adjusted sharpness minimum value and normalization
- Updated copyright notice
  • Loading branch information
abernalnv committed Feb 15, 2022
1 parent aa37be7 commit 4d3f6f1
Show file tree
Hide file tree
Showing 52 changed files with 382 additions and 397 deletions.
278 changes: 143 additions & 135 deletions NIS/NIS_Config.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion NIS/NIS_Main.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// The MIT License(MIT)
//
// Copyright(c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// Copyright(c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files(the "Software"), to deal in
Expand Down
4 changes: 2 additions & 2 deletions NIS/NIS_Main.hlsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// The MIT License(MIT)
//
// Copyright(c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// Copyright(c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files(the "Software"), to deal in
Expand Down Expand Up @@ -79,7 +79,7 @@ NIS_BINDING(0) cbuffer cb : register(b0)

NIS_BINDING(1) SamplerState samplerLinearClamp : register(s0);
NIS_BINDING(2) Texture2D in_texture : register(t0);
NIS_BINDING(3) RWTexture2D<unorm float4> out_texture : register(u0);
NIS_BINDING(3) RWTexture2D<float4> out_texture : register(u0);
#if NIS_SCALER
NIS_BINDING(4) Texture2D coef_scaler : register(t1);
NIS_BINDING(5) Texture2D coef_usm : register(t2);
Expand Down
Loading

0 comments on commit 4d3f6f1

Please sign in to comment.