Asd-g / avslibplacebo

AviSynth+ libplacebo.
GNU General Public License v3.0
25 stars 2 forks source link

src_width/height in "_Resample" to correct chroma shift #4

Closed Dogway closed 1 year ago

Dogway commented 1 year ago

Is it possible to add 'src_width' and 'src_height' args to libplacebo_Resample? I found myself battling with this since it's needed to correct chroma shift in a manual way.

I presume it's correcting it when fed with YCbCr but it's useful in cases where you want to scale luma and chroma with different kernels, or simply change subsampling while accounting for chroma shift (422 to 420 while scaling).

Asd-g commented 1 year ago

You can try 1.1.3.

Dogway commented 1 year ago

Thanks! Working great now.