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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 10th July 2007, 08:38   #1  |  Link
bill_baroud
Registered User
 
Join Date: Feb 2002
Posts: 407
Y8 Color Space and Avisynth 2.5/6

Hello,

I recently implemented some DeBayer algorithm paper and wanted to make an Avisynth Filter out of that.
Remembering some discussion about Y8 color space support, i was thinking it was now in avisynth, but it looks like it's still planned for Avisynth 2.6 which isn't ready yet. Is that correct ?
In that case, do you have any suggestion on how i could work around this limitation ? I just need two (contiguous) memory arrays as parameters to my debayer function.

Thank you for your help !
bill_baroud is offline   Reply With Quote
Old 10th July 2007, 09:23   #2  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Assuming the data is per frame based. If it is clip static just store it in a var with env->SetVar/SetGlobalVar/GetVar.

And yes Y8 will be in 2.6. There may also be an untyped byte array format for frame associated meta data like the motion vectors from mvtools.

If you need a 2.5 compatible filter either use the luma channel of YV12 and ignore or fill the chroma planes with 128 or use RGB32 with height=1 and width=number of dwords you need.
IanB is offline   Reply With Quote
Old 10th July 2007, 09:45   #3  |  Link
bill_baroud
Registered User
 
Join Date: Feb 2002
Posts: 407
Debayering is just taking some 8-bits array image and convert that to RGB24, pretty straightforward but i need some way to input my 8-bits data. I think i'll go the YV12 way, since it's planar, i can just leave the UV channels like you said and i won't have much modification when Y8 will be around (i should have think of that myself, doh!)

And yes, i'm doing a 2.5 version, since i don't know when 2.6 will be available and i have time now

Thank you for your quick response !
bill_baroud is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.