-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConvertToYV1* are notably slower than ConvertToYV24 when converting from RGB #19
Comments
Good catch, reproduced, for me speed penalty is 2x (Source: colorbars). |
Interesting. Do you think this may be a regression? I would like to try to reproduce this on older versions later when I get home. |
It was always working in avs+ like that, classic avs was not affected probably due the different caching mechanism. |
You are welcome. Thank you for working so hard! |
In my previous example there is another performance issue: ImageSource. In 64-bit AviSynth, it runs at ~17 fps for me when called just like above. On the other hand, ColorBars runs at ~150 fps (or 130 with
However, ImageSource can also read image sequences so it's a bit more complex case than ColorBars. |
Fixed, for some reason it was removed some years ago here: fe9dab1 |
Thank you very much. It seems curious to me that the fix is almost a one-liner. Is there any documentation on how to use the Cache feature?
…________________________________
De: Ferenc Pintér <notifications@github.com>
Enviat el: dilluns, 27 d’agost de 2018 16:03:49
Per a: pinterf/AviSynthPlus
A/c: magiblot; Author
Tema: Re: [pinterf/AviSynthPlus] ConvertToYV1* are notably slower than ConvertToYV24 when converting from RGB (#19)
Fixed, for some reason it was removed some years ago here: fe9dab1<fe9dab1>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#19 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATwQWaVJWHTJ_avvIpX7VKY-A0NIJvtZks5uU_xFgaJpZM4VxGhs>.
|
Don't know. A quick search: http://avisynth.nl/index.php/Filter_SDK/Env_Invoke |
That link is clear enough. Thank you very much. |
Hi there,
I have experienced some issues with the performance of the
ConvertToYV12
andConvertToYV16
functions (and theirConvertToYUV4xx
equivalents).In summary, doing a
RGB->YV24->YV1*
conversion path results in a higher processing speed than a directRGB->YV1*
conversion, in my IvyBridge (up to AVX) processor. I have made some measurements which show what I'm saying (the numbers are average FPS measured with AVSMeter):I used the following source to run these tests. Then I added the Convert calls below:
ImageSource("tivissa-turisme-terres-ebre-ribera-catalunya-2.jpg",end=400)
The picture (1746x1200) can be found here: http://www.turismeriberaebre.org/municipi/tivissa/tivissa-turisme-terres-ebre-ribera-catalunya-2/. However, the issue is not exclusive to image sources.
Cheers.
The text was updated successfully, but these errors were encountered: