View Single Post
Old 27th November 2012, 23:38   #37  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by Asmodian View Post
Oh, I see. You moved the chroma back after making the video mod2 again! Seems so obvious now. Thanks.

edit: it is somewhat embarrassing how well I feel I understand YV12, point resize, etc. and how bad I am at seeing the (in retrospect, at least) obvious consequences.
If it's any consolation, I don't think it's very 'obvious'.
I had to sit down with pencil and paper and trace out where the individual chroma pixels went at each stage of the process, getting quite confused until I was finally sure I had worked it out correctly.

Quote:
Originally Posted by zee944 View Post
Can the colorspace conversions and cropping/adding borders be separated with a well-thought out function? I mean, to do a color conversion anytime, adding/cropping anytime by any values without taking into account what and how happened before, yet keep the chroma intact all the time?
I'm not sure if that's possible. I'll need to think about it for a while and my head still hurts after the earlier effort.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote