Re: [GnomeMeeting-devel-list] Some news



> Sounds good, I guess I have to wait until the patch is in
> OpenH323 CVS before building anything.
> 

Unfortunately, Craig didn't commit it, and I guess he won't commit
before a monday.

So the patches are attached.

They belong to pwlib.


-- 
 _      Damien Sandras
(o-     
//\     It-Optics s.a.
v_/_    GnomeMeeting: http://www.gnomemeeting.org/
        FOSDEM 2004:  http://www.fosdem.org
        H.323 phone:  callto:ils.seconix.com/dsandras seconix com
Index: videoio.cxx
===================================================================
RCS file: /cvsroot/openh323/pwlib/src/ptlib/common/videoio.cxx,v
retrieving revision 1.42
diff -r1.42 videoio.cxx
392a393
>   { "BGR32",   32 },
Index: vconvert.cxx
===================================================================
RCS file: /cvsroot/openh323/pwlib/src/ptlib/common/vconvert.cxx,v
retrieving revision 1.34
diff -r1.34 vconvert.cxx
164a165
> PSYNONYM_COLOUR_CONVERTER(BGR32,  BGR32);
204c205,206
<       BOOL flipVertical
---
>       BOOL flipVertical,
>       BOOL flipBR
210c212,213
<       BOOL flipVertical
---
>       BOOL flipVertical,
>       BOOL flipBR
217c220,221
<       BOOL flipVertical
---
>       BOOL flipVertical,
>       BOOL flipBR
535c539,540
<                                                     BOOL flip) const
---
>                                                     BOOL flip,
> 						    BOOL flipBR) const
555c560,568
<       rgbtoy(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline);
---
>       if (!flipBR) {
> 	
> 	rgbtoy(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline);
>       }
>       else {
> 
> 	rgbtoy(rgbIndex[2], rgbIndex[1], rgbIndex[0],*yline);
>       }
>       
558c571,579
<       rgbtoyuv(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline, *uline, *vline);
---
>       if (!flipBR) {
> 	
> 	rgbtoyuv(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline, *uline, *vline);
>       }
>       else {
> 
> 	rgbtoyuv(rgbIndex[2], rgbIndex[1], rgbIndex[0],*yline, *uline, *vline);
>       }
> 
573c594,595
< 						      BOOL   flip) const
---
> 						      BOOL   flip,
> 						      BOOL flipBR) const
597,599c619,625
<     for (unsigned x = 0; x < min_width; x+=2) 
<     {
<      rgbtoy(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline);
---
>     for (unsigned x = 0; x < min_width; x+=2) {
>       if (!flipBR) {
> 	rgbtoy(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline);
>       }
>       else {
> 	rgbtoy(rgbIndex[2], rgbIndex[1], rgbIndex[0],*yline);
>       }
602c628,636
<      rgbtoyuv(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline, *uline, *vline);
---
>      if (!flipBR) {
>        
>        rgbtoyuv(rgbIndex[0], rgbIndex[1], rgbIndex[2],*yline, *uline, *vline);
>      }
>      else {
>        
>        rgbtoyuv(rgbIndex[2], rgbIndex[1], rgbIndex[0],*yline, *uline, *vline);
>      }
>      
639c673,674
<                                             BOOL flip) const
---
>                                             BOOL flip,
> 					    BOOL flipBR) const
645c680
<     RGBtoYUV420PSameSize(rgb, yuv, rgbIncrement, flip);
---
>     RGBtoYUV420PSameSize(rgb, yuv, rgbIncrement, flip, flipBR);
647c682
<     RGBtoYUV420PWithResize(rgb, yuv, rgbIncrement, flip);
---
>     RGBtoYUV420PWithResize(rgb, yuv, rgbIncrement, flip, flipBR);
664c699,705
<   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 3,  doVFlip);
---
>   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 3,  doVFlip, FALSE);
> }
> 
> 
> PSTANDARD_COLOUR_CONVERTER(BGR24,YUV420P)
> {
>   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 3,  doVFlip, TRUE);
670c711,717
<   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 4, doVFlip);
---
>   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 4, doVFlip, FALSE);
> }
> 
> 
> PSTANDARD_COLOUR_CONVERTER(BGR32,YUV420P)
> {
>   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 4, doVFlip, TRUE);
676c723
<   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 3, doVFlip);
---
>   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 3, doVFlip, FALSE);
688c735
<   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 4, doVFlip);
---
>   return RGBtoYUV420P(srcFrameBuffer, dstFrameBuffer, bytesReturned, 4, doVFlip, FALSE);
939a987,991
> }
> 
> PSTANDARD_COLOUR_CONVERTER(YUV420P,BGR32)
> {
>   return YUV420PtoRGB(srcFrameBuffer, dstFrameBuffer, bytesReturned, 4, doVFlip, TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]