rpms/pwlib/devel pwlib-1.10.10.rescale.patch,NONE,1.1
Daniel Veillard (veillard)
fedora-extras-commits at redhat.com
Thu Mar 27 15:13:19 UTC 2008
- Previous message (by thread): rpms/pwlib/devel pwlib.spec,1.52,1.53
- Next message (by thread): rpms/openoffice.org/devel workspace.cmcfixes43.patch, 1.1, 1.2 .cvsignore, 1.153, 1.154 openoffice.org-1.9.123.ooo53397.prelinkoptimize.desktop.patch, 1.7, 1.8 openoffice.org-1.9.87.rh151357.setlangtolocale.patch, 1.24, 1.25 openoffice.org-2.0.3.ooo80816.selinux.bridges.patch, 1.3, 1.4 openoffice.org-2.0.3.rh127576.gtkunixprintdialog.patch, 1.43, 1.44 openoffice.org-2.1.0.oooXXXXX.lingucomponent.systemdicts.patch, 1.2, 1.3 openoffice.org-2.2.0.ooo68717.gstreamer.video.patch, 1.7, 1.8 openoffice.org-2.2.0.rh232389.tango.patch, 1.5, 1.6 openoffice.org-2.2.1.oooXXXXX.sw.titlepagedialog.patch, 1.6, 1.7 openoffice.org-2.3.0.ooo80257.sd.textonlystyle.patch, 1.1, 1.2 openoffice.org-2.3.1.ooo84621.sw.insertexcel.patch, 1.2, 1.3 openoffice.org-2.4.0.ooo85097.desktop.pagein.patch, 1.1, 1.2 openoffice.org-2.4.0.ooo85921.sd.editmasterundermouse.patch, 1.1, 1.2 openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch, 1.3, 1.4 openoffice.org-2.4.0.oooXXXXX.solenv.paths.patch, 1.1, 1.2 openoffice.org.langpack-acor.template, 1.1, 1.2 openoffice.org.langpack-cjk.template, 1.1, 1.2 openoffice.org.langpack-common.template, 1.1, 1.2 openoffice.org.langpack-ctl.template, 1.1, 1.2 openoffice.org.langpack-help.template, 1.1, 1.2 openoffice.org.spec, 1.1455, 1.1456 pseudoworkspace.valgrind1.patch, 1.27, 1.28 sources, 1.276, 1.277 workspace.cairotext01.patch, 1.6, 1.7 openoffice.org-1.9.114.rh161886.rpath.desktop.patch, 1.8, NONE openoffice.org-2.3.0.ooo81321.cppu.silencewarnings.patch, 1.2, NONE openoffice.org-2.3.1.ooo81307.sw.word2.patch, 1.2, NONE openoffice.org-2.3.1.ooo84770.svx.eventsmismatch.patch, 1.1, NONE openoffice.org-2.4.0.ooo85385.svtools.a11ycrash.patch, 1.1, NONE openoffice.org-2.4.0.ooo85931.svx.getentrypos.patch, 1.1, NONE openoffice.org-2.4.0.ooo86123.ucb.newneon.patch, 1.1, NONE openoffice.org-2.4.0.ooo86670.config_office.xpcomasxul.patch, 1.1, NONE workspace.gcc430two.patch, 1.7, NONE workspace.notes2.patch, 1.5, NONE workspace.unifysound01.patch, 1.11, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: veillard
Update of /cvs/pkgs/rpms/pwlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5333
Added Files:
pwlib-1.10.10.rescale.patch
Log Message:
Coops forgot the patch, Daniel
pwlib-1.10.10.rescale.patch:
--- NEW FILE pwlib-1.10.10.rescale.patch ---
diff -up pwlib-1.10.10/src/ptlib/common/vconvert.cxx.rescale pwlib-1.10.10/src/ptlib/common/vconvert.cxx
--- pwlib-1.10.10/src/ptlib/common/vconvert.cxx.rescale 2007-06-18 21:23:27.000000000 +0200
+++ pwlib-1.10.10/src/ptlib/common/vconvert.cxx 2008-03-22 19:22:15.000000000 +0100
@@ -1384,7 +1384,8 @@ BOOL PStandardColourConverter::SBGGR8toY
#define USE_SBGGR8_NATIVE 1 // set to 0 to use the double conversion algorithm (Bayer->RGB->YUV420P)
#if USE_SBGGR8_NATIVE
-
+if ((srcFrameWidth == dstFrameWidth) && (srcFrameHeight == dstFrameHeight))
+{
// kernels for Y conversion, normalised by 2^16
const int kR[]={1802,9667,1802,9667,19661,9667,1802,9667,1802};
const int kG1[]={7733,9830,7733,3604,7733,3604,7733,9830,7733};
@@ -1467,17 +1468,17 @@ BOOL PStandardColourConverter::SBGGR8toY
*bytesReturned = srcFrameHeight*srcFrameWidth+2*hSize*vSize;
return true;
-
-#else //USE_SBGGR8_NATIVE
-
+}
+else
+#endif //USE_SBGGR8_NATIVE
+{
// shortest but less efficient (one malloc per conversion!)
BYTE * tempDest=(BYTE*)malloc(3*srcFrameWidth*srcFrameHeight);
SBGGR8toRGB(src, tempDest, NULL);
- BOOL r = RGBtoYUV420P(tempDest, dst, bytesReturned, 3, 2, 0);
+ BOOL r = RGBtoYUV420P(tempDest, dst, bytesReturned, 3, 0, 2);
free(tempDest);
return r;
-
-#endif //USE_SBGGR8_NATIVE
+}
}
BOOL PStandardColourConverter::SBGGR8toRGB(const BYTE * src,
- Previous message (by thread): rpms/pwlib/devel pwlib.spec,1.52,1.53
- Next message (by thread): rpms/openoffice.org/devel workspace.cmcfixes43.patch, 1.1, 1.2 .cvsignore, 1.153, 1.154 openoffice.org-1.9.123.ooo53397.prelinkoptimize.desktop.patch, 1.7, 1.8 openoffice.org-1.9.87.rh151357.setlangtolocale.patch, 1.24, 1.25 openoffice.org-2.0.3.ooo80816.selinux.bridges.patch, 1.3, 1.4 openoffice.org-2.0.3.rh127576.gtkunixprintdialog.patch, 1.43, 1.44 openoffice.org-2.1.0.oooXXXXX.lingucomponent.systemdicts.patch, 1.2, 1.3 openoffice.org-2.2.0.ooo68717.gstreamer.video.patch, 1.7, 1.8 openoffice.org-2.2.0.rh232389.tango.patch, 1.5, 1.6 openoffice.org-2.2.1.oooXXXXX.sw.titlepagedialog.patch, 1.6, 1.7 openoffice.org-2.3.0.ooo80257.sd.textonlystyle.patch, 1.1, 1.2 openoffice.org-2.3.1.ooo84621.sw.insertexcel.patch, 1.2, 1.3 openoffice.org-2.4.0.ooo85097.desktop.pagein.patch, 1.1, 1.2 openoffice.org-2.4.0.ooo85921.sd.editmasterundermouse.patch, 1.1, 1.2 openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch, 1.3, 1.4 openoffice.org-2.4.0.oooXXXXX.solenv.paths.patch, 1.1, 1.2 openoffice.org.langpack-acor.template, 1.1, 1.2 openoffice.org.langpack-cjk.template, 1.1, 1.2 openoffice.org.langpack-common.template, 1.1, 1.2 openoffice.org.langpack-ctl.template, 1.1, 1.2 openoffice.org.langpack-help.template, 1.1, 1.2 openoffice.org.spec, 1.1455, 1.1456 pseudoworkspace.valgrind1.patch, 1.27, 1.28 sources, 1.276, 1.277 workspace.cairotext01.patch, 1.6, 1.7 openoffice.org-1.9.114.rh161886.rpath.desktop.patch, 1.8, NONE openoffice.org-2.3.0.ooo81321.cppu.silencewarnings.patch, 1.2, NONE openoffice.org-2.3.1.ooo81307.sw.word2.patch, 1.2, NONE openoffice.org-2.3.1.ooo84770.svx.eventsmismatch.patch, 1.1, NONE openoffice.org-2.4.0.ooo85385.svtools.a11ycrash.patch, 1.1, NONE openoffice.org-2.4.0.ooo85931.svx.getentrypos.patch, 1.1, NONE openoffice.org-2.4.0.ooo86123.ucb.newneon.patch, 1.1, NONE openoffice.org-2.4.0.ooo86670.config_office.xpcomasxul.patch, 1.1, NONE workspace.gcc430two.patch, 1.7, NONE workspace.notes2.patch, 1.5, NONE workspace.unifysound01.patch, 1.11, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list