Guest User

Untitled

a guest
Mar 26th, 2018
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function FixColumnBrightness(clip c, int column, int input_low, int input_high, int output_low, int output_high){
  2. c
  3. Overlay(ExtractY(),Ylevels(input_low,1,input_high,output_low,output_high).Crop(column,0,1,0),column,0,mode="luma")
  4. CombinePlanes(last, c, planes="YUV", pixel_type="YV12")
  5. }
  6. function FixRowBrightness(clip c, int row, int input_low, int input_high, int output_low, int output_high){
  7. c
  8. Overlay(ExtractY(),Ylevels(input_low,1,input_high,output_low,output_high).Crop(0,row,0,1),0,row,mode="luma")
  9. CombinePlanes(last, c, planes="YUV", pixel_type="YV12")
  10. }
RAW Paste Data