Thread: VirtualDub2
View Single Post
Old 25th August 2019, 09:49   #886  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
Quote:
Originally Posted by shekh View Post
Not new, formats were added from build 42338:
kPixFormat_RGB_Planar
kPixFormat_RGB_Planar16
kPixFormat_RGB_Planar32F
kPixFormat_RGBA_Planar
kPixFormat_RGBA_Planar16
kPixFormat_RGBA_Planar32F
So, i just need to update my vdplugin.h with yours.
After, it's up to me in my plugins to eventualy add support.
For RGB planar, as it's something new in virtualdub2, is it the following ?
Code:
pxsrc=(VDXPixmapLayoutAlpha&)*fa->src.mpPixmapLayout;
pxsrc.pitch = pitch R
pxsrc.pitch2 = pitch G
pxsrc.pitch3 = pitch B
//////////
pxsrc=(const VDXPixmapAlpha&)*fa->src.mpPixmap;
pxsrc.data = R data pointer
pxsrc.data2 = G data pointer
pxsrc.data3 = B data pointer
Quote:
Originally Posted by shekh View Post
About adding flags: I'm sorry to tell, nothing changed yet
No big deal, i was just asking to know, it's not something i realy miss...

Anyway, thanks again for your work on VDub2 evolving.

EDIT
Forgot to ask about :
Code:
FilterModPixmapInfo* info = fma->fmpixmap->GetPixmapInfo((fa->dst).mpPixmap);
info->ref_r; // and g,b,a
What about their value in float mode ?
Does it matter ?
__________________
My github.

Last edited by jpsdr; 25th August 2019 at 11:17.
jpsdr is offline   Reply With Quote