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 Usage
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 21st November 2018, 19:26   #1  |  Link
HappyLee
Registered User
 
Join Date: Mar 2013
Posts: 27
Why isn't there a GeneralConvolution filter on YV12 or Y8?

Hi. I'm applying a 5×5 matrix convolution on the Y plane of an YV12 video, but I have trouble finding the perfect filter that does this very simple task.

GeneralConvolution can do what I want, but it only works on an RGB32 clip, so I have to use:
ConverttoY8(matrix="PC.601").ConverttoRGB32(matrix="PC.601").GeneralConvolution(matrix="...").ConverttoY8(matrix="PC.601")
I find it a waste of CPU time and memory, since it calculates R, G & B planes while I only need it to calculate the Y plane.

mt_convolution from MaskTools2 seems like a better solution for YV12 convolution, but it doesn't seem to support a fully customized matrix. It only supports Horizontal × Vertical and I can't apply my full 5×5 matrix like I can with GeneralConvolution.

So I can't help but asking, since convolution is so important, why isn't there a convolution filter that works on YV12 or Y8 like mt_convolution but supports a full matrix like GeneralConvolution? Thanks.
HappyLee is offline   Reply With Quote
 


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 10:46.


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