Jawed
15th February 2011, 21:05
Produces a screen full of grey blocks covering the entire range from 0 to 255 luma, from bottom-left to top-right:
greyramp=blankclip(pixel_type="yv12",color_yuv=$008080,width=20,height=60)
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 1 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 2 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 4 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 8 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 16 +"))
greyramp=stackvertical(greyramp.mt_lut("x 32 +"),greyramp)
greyramp=stackvertical(greyramp.mt_lut("x 64 +"),greyramp)
stackvertical(greyramp.mt_lut("x 128 +"),greyramp)
Useful when tweaking screen calibration.
greyramp=blankclip(pixel_type="yv12",color_yuv=$008080,width=20,height=60)
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 1 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 2 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 4 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 8 +"))
greyramp=stackhorizontal(greyramp,greyramp.mt_lut("x 16 +"))
greyramp=stackvertical(greyramp.mt_lut("x 32 +"),greyramp)
greyramp=stackvertical(greyramp.mt_lut("x 64 +"),greyramp)
stackvertical(greyramp.mt_lut("x 128 +"),greyramp)
Useful when tweaking screen calibration.