View Single Post
Old 23rd January 2007, 09:14   #9  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Quote:
Originally Posted by Chainmax View Post
Would it be something like this (deduced from mediawiki's explanation of SWAP):

Code:
video=last
u_chroma = UToY(video).DeBlock_QED()
YToUV(u_chroma, video.VToY)
MergeLuma(video)
video=last
v_chroma = VToY(video).DeBlock_QED()
YToUV(v_chroma, video.UToY)
MergeLuma(video)
That's not really a good idea. Basically for the almost same reason like this here :

Deblock_QED works with a fixed 8x8 grid mask. But if you execute UVtoY(), then you get a halfsize frame, where the smallest possible blocksize is 4x4. Thus deblock_qed will potentially miss half of all blocking, if you do it that way ...

If at all, then it would simply be
Code:
vid = whatever
vid.deblock_qed().mergeluma(vid)
However, if it's only chroma that is concerned, perhaps you're better off with just deblock().
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)

Last edited by Didée; 23rd January 2007 at 09:16.
Didée is offline   Reply With Quote