Skip to content

Instantly share code, notes, and snippets.

@hatt
Created July 29, 2012 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatt/3195897 to your computer and use it in GitHub Desktop.
Save hatt/3195897 to your computer and use it in GitHub Desktop.
Plane-Swapped Chroma Supersampling
loadplugin("dither.dll")
loadplugin("debilinear.dll")
dither_convert_8_to_16()
ly = debilinear(1280, 720, lsb_inout=true)
lc = dither_resize16(1280*2, 720*2, src_left=0.25, kernel="blackman")
lu = lc.utoy()
lv = lc.vtoy()
ytouv(lu,lv,ly)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment