Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
10th May 2018, 17:37 | #4041 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
I found a bug, when I was trying to minimize rounding errors of resize.blur.blur.blur.resize.sharpen.sharpen.sharpen.sharpen kind of script.
source source.Spline16Resize(512,384) source.ConvertTo16bit().Spline16Resize(512,384).ConvertTo8bit() All resizers and all target resolutions are the same. Last edited by bxyhxyh; 10th May 2018 at 17:46. |
10th May 2018, 23:07 | #4049 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I can reproduce it. Adding a simple "ConvertToYV12()" (or YV16/YV24) after the source filter (I used "ImageSource()") fixes it.
__________________
Groucho's Avisynth Stuff |
10th May 2018, 23:18 | #4050 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,374
|
Quote:
I used ImageSource() too , and it returns RGB24 on the source PNG (as expected) And I can't reproduce it in RGB24, or YV12, or YV16, or YV24 |
|
10th May 2018, 23:26 | #4051 | Link | |
Registered User
Join Date: Dec 2011
Posts: 354
|
Quote:
But I need to convert it to YV24/YV12 after the resizing, so it's really problematic for me. Well, I can live with converting the source to the YV24 for now I guess. BTW I'm on Windows 8.1 Last edited by bxyhxyh; 10th May 2018 at 23:36. |
|
11th May 2018, 00:53 | #4054 | Link | |
Registered User
Join Date: Dec 2011
Posts: 354
|
Quote:
CPU is Ivy Bridge Last edited by bxyhxyh; 11th May 2018 at 00:58. |
|
11th May 2018, 07:57 | #4055 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
I'll check it soon
EDIT: cannot reproduce. Tested with AVX2, AVX-only, SSE4.1 only builds. (Win10) Code:
Function Diff(clip src1, clip src2) { return Subtract(src1.ConvertBits(8),src2.ConvertBits(8)).Levels(120, 1, 255-120, 0, 255, coring=false) } source=ImageSource("test.png").Info().trim(0, 100) # 256x224 RGB24 c8=source.Spline16Resize(512,384) c16=source.ConvertTo16Bit().Spline16Resize(512,384).ConvertTo8Bit() StackVertical(c8,c16,Diff(c8,c16)) Last edited by pinterf; 11th May 2018 at 08:35. |
11th May 2018, 10:09 | #4056 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Code:
imagesource("3ZWGafM.png", pixel_type = "RGBXX") #XX to be substituted with 24/32/48/64 ConvertTo16bit().Spline16Resize(512,384).ConvertTo8bit()
__________________
Groucho's Avisynth Stuff |
|
11th May 2018, 10:32 | #4058 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I suppose pinterf won't object:
http://www.mediafire.com/file/kmq3po...us_r2671tst.7z
__________________
Groucho's Avisynth Stuff |
11th May 2018, 10:45 | #4059 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
EDIT: RGB64 Turnleft / Turnright issue (which is used in RGB64 resize) EDIT2: Bug found and fixed. I'll prepare a release in the near future. Last edited by pinterf; 11th May 2018 at 12:03. Reason: bugfix |
|
11th May 2018, 14:21 | #4060 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
x86 test (mediafire link) (not a release)
(see also readme_history.txt for other interesting changes) http://www.mediafire.com/file/een9bf...r2671_test2.7z |
Thread Tools | Search this Thread |
Display Modes | |
|
|