full range yuv (jpeg) for 420,422, decode videoframe before completing open, scan pixel format, changed clamping were applicable in fx

git-svn-id: svn://code.dyne.org/veejay/trunk@672 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2006-10-21 00:46:19 +00:00
parent 349931cc52
commit ae616b5448
44 changed files with 415 additions and 630 deletions

View File

@@ -993,10 +993,11 @@ void plug_process_mix( VJFrame *frame, VJFrame *frame_b,int fx_id, int src_fmt )
int srcf = 0;
if( src_fmt == 1 )
srcf = PIX_FMT_YUV422P;
else if( src_fmt == 2 )
srcf = PIX_FMT_YUV444P;
else
srcf = PIX_FMT_YUV420P;
else if( src_fmt == 0 )
srcf = PIX_FMT_YUV420P;
else if ( src_fmt == 2 )
srcf = PIX_FMT_YUVJ420P;
else srcf = PIX_FMT_YUVJ422P;
img_convert( &p1, PIX_FMT_RGBA32,
&p2, srcf,
@@ -1066,10 +1067,11 @@ void plug_process( VJFrame *frame,VJFrame *b, int fx_id, int src_fmt )
int srcf = 0;
if( src_fmt == 1 )
srcf = PIX_FMT_YUV422P;
else if( src_fmt == 2 )
srcf = PIX_FMT_YUV444P;
else
srcf = PIX_FMT_YUV420P;
else if( src_fmt == 0 )
srcf = PIX_FMT_YUV420P;
else if( src_fmt == 2 )
srcf = PIX_FMT_YUVJ420P;
else srcf = PIX_FMT_YUVJ422P;
img_convert( &p1, PIX_FMT_RGBA32,
&p2, srcf,