Skip to content

Commit

Permalink
Released v1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mysteryx93 committed Aug 18, 2016
1 parent e2f8a42 commit 7b9b3d6
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.txt
@@ -1,3 +1,9 @@
Version 1.5.5: August 18th 2016
- Updated Avisynth headers
- Moved lock so that it doesn't cause all other filters to run as MT_SERIALIZED
- MT mode now set using SetCacheHints instead of using env2
- Planar format for precision 1 changed from D3DFMT_L8 to D3DFMT_A8 to see if it works better on NVidia cards

Version 1.5.4: July 15th 2016
- MatrixIn/MatrixOut: Changed 601 to Rec601, 709 to Rec709.
- Fixed: It wasn't working on Windows 7
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# AviSynth Shader v1.5.4
# AviSynth Shader v1.5.5

<a href="https://github.com/mysteryx93/AviSynthShader/releases">Download here >></a>

Expand Down
2 changes: 1 addition & 1 deletion Shader.avsi
@@ -1,4 +1,4 @@
# AviSynthShader v1.5.4 (July 15th 2016)
# AviSynthShader v1.5.5 (August 18th 2016)
# by Etienne Charland
#
# Provides a bridge between AviSynth and HLSL pixel shaders for high bit depth processing on the GPU.
Expand Down
Binary file modified Src/Shaders/OutputU.cso
Binary file not shown.
Binary file modified Src/Shaders/OutputV.cso
Binary file not shown.
Binary file modified Src/Shaders/OutputY.cso
Binary file not shown.
2 changes: 1 addition & 1 deletion Src/Shaders/Src/OutputU.hlsl
Expand Up @@ -27,5 +27,5 @@ float2 p1 : register(c1);

// -- Main code --
float4 main(float2 tex : TEXCOORD0) : COLOR {
return float4(tex2D(s0, tex).yyy, 1);
return float4(tex2D(s0, tex).yyyy);
}
2 changes: 1 addition & 1 deletion Src/Shaders/Src/OutputV.hlsl
Expand Up @@ -27,5 +27,5 @@ float2 p1 : register(c1);

// -- Main code --
float4 main(float2 tex : TEXCOORD0) : COLOR {
return float4(tex2D(s0, tex).zzz, 1);
return float4(tex2D(s0, tex).zzzz);
}
2 changes: 1 addition & 1 deletion Src/Shaders/Src/OutputY.hlsl
Expand Up @@ -27,5 +27,5 @@ float2 p1 : register(c1);

// -- Main code --
float4 main(float2 tex : TEXCOORD0) : COLOR {
return float4(tex2D(s0, tex).xxx, 1);
return float4(tex2D(s0, tex).xxxx);
}
4 changes: 2 additions & 2 deletions Src/TextureList.cpp
Expand Up @@ -37,10 +37,10 @@ HRESULT __stdcall ClearTextures(MemoryPool* pool, std::vector<InputTexture*>* te

D3DFORMAT __stdcall GetD3DFormat(int precision, bool planar) {
if (precision == 0)
return D3DFMT_L8;
return D3DFMT_A8;
else if (precision == 1) {
if (planar)
return D3DFMT_L8;
return D3DFMT_A8;
else
return D3DFMT_A8R8G8B8;
}
Expand Down

0 comments on commit 7b9b3d6

Please sign in to comment.