Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd April 2004, 14:39 | #1 | Link |
Registered User
Join Date: Feb 2004
Posts: 252
|
ConvertToYV12
I'm working on a YV12 plugin and need to know the default behavior of ConvertToYV12 filter regarding "PC->TV" levels. The questions are:
Does ConvertToYV12 simply clips 0-16 and 235/240-255 values for luma/chroma or does it scale from 0-255 to 16-235/240 range? In other words does it transform value Y to 16+Y*219/255? Does it work the same way for clip sources with 0-255 and 16-235 range? Does it work the same for both RGB and YUV-based clip sources? |
23rd April 2004, 14:49 | #2 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
This is also the case the other way around, yuv->rgb. Except here there is the possible to keep the luma range (0-255 yuv -> 0-255 rgb): ConvertToRGB(clip, "rec709") |
|
23rd April 2004, 15:14 | #3 | Link | |
Registered User
Join Date: Feb 2004
Posts: 252
|
Quote:
|
|
23rd April 2004, 15:20 | #4 | Link |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
You mean YUY2<->YV12. No, that's not scaled.
I assume that 0-255 YUY2 gives you 0-255 YV12, although I'm not 100% certain about that. If no body else answers, you check it by using Blankclip and ColorYUV. Last edited by Wilbert; 23rd April 2004 at 15:23. |
23rd April 2004, 15:32 | #5 | Link | |
Registered User
Join Date: Feb 2004
Posts: 252
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|