logo Sign In

Post #581292

Author
You_Too
Parent topic
Info: Get rid of the Chroma Shift in Empire (GOUT)
Link to post in topic
https://originaltrilogy.com/post/id/581292/action/topic#581292
Date created
13-Jun-2012, 5:52 PM

Red5 said:

^ Yeah it's true you can't fix that with the chromashift filter

You can, if you do it something like this:

ConvertToRGB32()
ChromaShift(B=1)
ConvertToYV12()
ChromaShift(V=2)

And by the way, in case anyone wants to implement msycamore's fix into their GOUT projects, here's the code you need:

chroma=last

a=trim(chroma,0,90887)
b=trim(chroma,90888,96324).ChromaShift(C=2)
c=trim(chroma,96325,96446)
d=trim(chroma,96447,96650).ChromaShift(C=2)
e=trim(chroma,96651,96945)
f=trim(chroma,96946,97040).ChromaShift(C=2)
g=trim(chroma,97041,97529)
h=trim(chroma,97530,106132).ChromaShift(C=2)
i=trim(chroma,106133,129145)
j=trim(chroma,129146,129574).ChromaShift(C=2)
k=trim(chroma,129575,150203)
l=trim(chroma,150204,155767).ChromaShift(C=2)
m=trim(chroma,155768,155837)
n=trim(chroma,155838,159587).ChromaShift(C=2)
o=trim(chroma,159588,159652)
p=trim(chroma,159653,163075).ChromaShift(C=2)
q=trim(chroma,163076,163145)
r=trim(chroma,163146,165306).ChromaShift(C=2)
s=trim(chroma,165307,165516)
t=trim(chroma,165517,166149).ChromaShift(C=2)
u=trim(chroma,166150,166213)
v=trim(chroma,166214,168066).ChromaShift(C=2)
w=trim(chroma,168067,168236)
x=trim(chroma,168237,168761).ChromaShift(C=2)
y=trim(chroma,168762,168849)
z=trim(chroma,168850,169402).ChromaShift(C=2)
z2=trim(chroma,169403,169484)
z3=trim(chroma,169485,169928).ChromaShift(C=2)
z4=trim(chroma,169929,170763)
z5=trim(chroma,170764,170858).ChromaShift(C=2)
z6=trim(chroma,170859,170978)
z7=trim(chroma,170979,172852).ChromaShift(C=2)
z8=trim(chroma,172853,0)

a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+z2+z3+z4+z5+z6+z7+z8