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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th August 2016, 07:15   #41  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,119
Quote:
Originally Posted by GMJCZP View Post
Hi pinterf, and Windows XP problem?
Anyway thank you for your effort.
just drop xp already, turn to Linux if you dislike windows10 or windows7
__________________
If I got new ideas, will post here: https://github.com/IFeelBloated
feisty2 is offline   Reply With Quote
Old 5th August 2016, 20:17   #42  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,030
Quote:
Originally Posted by Reel.Deel View Post
Very nice. Thank you pinterf!



Yes, both QTGMC and SMDegrain are quite bloated due to the planar YUY2 hack. A while back I started modding QTGMC to remove the hack, I never finished but MVTools supporting YV16 makes it a lot easier.
Please make the SMDegrain mod available when finished
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 5th August 2016, 21:34   #43  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 701
It's an hard work to add y8 and 16bit support too?
__________________
powered by Google Translator

Last edited by Motenai Yoda; 6th August 2016 at 01:54.
Motenai Yoda is offline   Reply With Quote
Old 6th August 2016, 04:01   #44  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,119
Kind of, some components like SATD were coded in asm and incompatible with high bitdepth, gotta rewrite them completely
And 16bits support is sort of practical still
Floating point support is much harder, not sure if it's possible to implement floating point support and integer support both within a single plugin
vectors are like, int vx, int vy, int sad for both uint8_t and uint16_t
And SAD(sum of absolute differences) for floating point inputs are also floating points obviously, gotta do some reinterpret_cast tricks here
__________________
If I got new ideas, will post here: https://github.com/IFeelBloated

Last edited by feisty2; 6th August 2016 at 04:07.
feisty2 is offline   Reply With Quote
Old 6th August 2016, 07:46   #45  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,214
Quote:
Originally Posted by Motenai Yoda View Post
It's an hard work to add y8 and 16bit support too?
y8 is possibly easy, possibly working with three planes is hardcoded now.

16 bit/float support is hard (=takes time), but even this modding to YV24 took days and was a nightmare.

I have already put high bit depth supporting code here and there and my last internal version has a working MSuper in 16 bits as a first step.

And I think I will not cut the possibility of the float version, just for my curiosity (inspired by feisty2)
pinterf is offline   Reply With Quote
Old 6th August 2016, 07:57   #46  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,214
Since 2.7.0.22c I have found 3-4 other use of harcoded div 2 for horizontal subsampling (affects only YV24), but will make a fix only if I have time.
Till then you are still encouraged to test it, of course.
pinterf is offline   Reply With Quote
Old 6th August 2016, 08:04   #47  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,119
you're gonna get into the floating point SAD trouble if you do plan to mess with fp support,
I did a nasty reinterpret_cast trick to stuff fp SAD in vectors
Code:
static inline auto _fakeint(float a) {
	return reinterpret_cast<int32_t &>(a);
}

static inline auto _back2flt(int32_t a) {
	return reinterpret_cast<float &>(a);
}
maybe there's a better way to do this, but...
__________________
If I got new ideas, will post here: https://github.com/IFeelBloated
feisty2 is offline   Reply With Quote
Old 6th August 2016, 11:26   #48  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 701
Quote:
Originally Posted by feisty2 View Post
Kind of, some components like SATD were coded in asm and incompatible with high bitdepth, gotta rewrite them completely
IIRC both x264 and x265 should yet sports high bitdepth SATD in asm.
__________________
powered by Google Translator
Motenai Yoda is offline   Reply With Quote
Old 6th August 2016, 11:50   #49  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 224
can you do something about SVPflow i try to updated but i failed
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 6th August 2016, 13:33   #50  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,106
Quote:
Originally Posted by tormento View Post
Please make the SMDegrain mod available when finished
I never said that I was modding SMDegrain. Ask Dogway if he's interested, I'm sure he can do more efficiently since it's his script. A while back I gave him a few suggestions (post 87-89) but nothing came of it.

Quote:
Originally Posted by amayra View Post
can you do something about SVPflow i try to updated but i failed
Please do not cross-post. SVPflow has nothing to do with this thread.
Reel.Deel is offline   Reply With Quote
Old 6th August 2016, 20:47   #51  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,030
Quote:
Originally Posted by Reel.Deel View Post
I never said that I was modding SMDegrain
Oh... I am so sorry.

I confused you with real.finder.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 6th August 2016, 22:49   #52  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 506
The version 2.7.0.22c not working in XP 32 bits. Access violation.
__________________
By law and justice!

Flea Market
GMJCZP is offline   Reply With Quote
Old 7th August 2016, 06:21   #53  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,214
Sad. I was compiling them with xp in mind.
One week holday begins, I'll disappear.
pinterf is offline   Reply With Quote
Old 15th August 2016, 01:28   #54  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,154
Quote:
Originally Posted by pinterf View Post
P.S.
Could not try it with SMDegrain.avsi, because the script internally assumes YV12 for planar YUV format.
it didn't

Code:
planar  = IsYUY2(input)       ? true : false
planar in SMDegrain mean YUY2, I was surprised too

so it should work like qtgmc in yv16 and yv24, especially with http://pastebin.com/JtWFN124
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 15th August 2016, 12:51   #55  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,214
Quote:
Originally Posted by real.finder View Post
it didn't

Code:
planar  = IsYUY2(input)       ? true : false
planar in SMDegrain mean YUY2, I was surprised too

so it should work like qtgmc in yv16 and yv24, especially with http://pastebin.com/JtWFN124
This modified smdegrain.avsi works!
The old version gave "image heights don't match" when using lsb=true because it assumed the dimensions of YV12 subsampling.
pinterf is offline   Reply With Quote
Old 16th August 2016, 20:44   #56  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,214
After-before holiday release for early adopters
  • general: supporting Y8, YV16, YV24 format besides YV12 and YUY2
  • Some additional fixes for YV24
  • Allow greyscale input (Y8) - I hope
  • dct modes >= 5 now use SATD again (so far it was in dead code, contrary to 2.5.13.1 remarks)
  • fftw 3.3.5 support (changed function names, 3.3.4 still OK), see http://www.fftw.org/download.html
  • XP support again
  • compiled to SSE2 with optional SSE4.2 paths
Download: 2.7.0.22d for 32 and 64 bit (20160816)
pinterf is offline   Reply With Quote
Old 16th August 2016, 21:08   #57  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 895
Quote:
Originally Posted by pinterf View Post
[*]fftw 3.3.5 support
Oh cool, didn't even notice an update for FFTW.
Looking at the Release Notes, it's not critical to little old me.
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 16th August 2016, 21:25   #58  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,214
Quote:
Originally Posted by Sparktank View Post
Oh cool, didn't even notice an update for FFTW.
There are other nice topics on doom9
pinterf is offline   Reply With Quote
Old 16th August 2016, 23:42   #59  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 895
Quote:
Originally Posted by pinterf View Post
There are other nice topics on doom9
I'm too far behind to pick up on VS scripting to make regular use of VS.

But, it's good to know that the update is making rounds.
For future reference, I'll make note of it.
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 17th August 2016, 07:53   #60  |  Link
yup
Registered User
 
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
pinterf!

I see some slowdown for dct=5, approx. 10%.
FFTW updated.
yup.
yup is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.