Commit Graph

111 Commits

Author SHA1 Message Date
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Jan Beich
dd8e2e7ec6 Bug 779847: use optimized color conversion on BSDs. r=doublec 2012-08-03 15:04:39 +02:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Timothy B. Terriberry
f6c691eae5 Bug 752293 - Mark stacks non-executable in yuv_row_arm.s, r=glandium 2012-05-06 05:41:14 -07:00
Nicholas Nethercote
6ca9f23930 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Nicholas Nethercote
7ac3a573ad Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
e2181e8fb2 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Kyle Huey
53fc868531 Back out Bug 711895 for breaking l10n builds. 2011-12-29 15:45:51 -05:00
Nicholas Nethercote
6c18b646e6 Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Jonathan Watt
66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Mike Hommey
73e9c2d6c7 Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted 2011-08-29 07:34:02 +02:00
Mike Hommey
a8bdb31026 Bug 670329 - Avoid bumping ARM target because of NEON code in gfx. r=jmuizelaar 2011-07-15 10:15:28 +02:00
Jacob Bramley
9a97cc1996 Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones] 2011-07-05 09:48:40 +01:00
Matt Woodrow
e64b02f01a Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf 2011-07-05 14:52:00 +12:00
Matt Woodrow
f47d6dca8b Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
6e295129f3 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Makoto Kato
ac69aff181 Bug 571739 - Fix VC8 support on Win64. r=neil 2011-05-09 00:07:58 +09:00
Makoto Kato
b40b0293ca Bug 571739 - Use SIMD for conversion from RGB to YUV on Win64. r=kinetik 2011-04-18 09:51:18 +09:00
Timothy B. Terriberry
22100730c3 Bug 650834 - Add casts to pointer differences in assertion r=dougt 2011-04-18 12:22:51 -07:00
Timothy B. Terriberry
beb5d7222d Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley 2011-04-14 17:34:18 -07:00
Timothy B. Terriberry
2bdc74c61a Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec 2011-04-14 17:32:15 -07:00
Tim Terribe
962584e61d Bug 641014 - Fix broken NEO Y'CbCr to RGB conversion - r=doublec
--HG--
extra : rebase_source : fddd6ccddd083484c8b46a53747fb2058a46463e
2011-04-09 06:59:22 +12:00
Tim Terribe
21090ba813 Bug 583958 - Add NEON detection to SSE.h - r=jmuizelaar
--HG--
extra : rebase_source : 2ae9de7e5a914e7ea30c3ef432edfa100027d656
2011-04-09 06:57:52 +12:00
Timothy B. Terriberry
b816cb6603 Bug 641019 - "Crash on video with odd widths and 16-bit displays" [r=tterribe a=stuart] 2011-03-15 15:01:00 -07:00
Makoto Kato
6af9bf0044 Bug 637961 - Crash in [@ yv12_to_rgb565_neon]. r=jmuizelaar a=blocking-fennec 2011-03-08 09:59:44 +09:00
Tom Brinkman
b4bb3b84b9 Bug 620526 - yv12 to rgb565 neon should not be used on cpus without neon. r=jmuizelaar. ARM neon check. a=blocking-fennec 2011-01-19 09:53:46 -08:00
Tom Brinkman
a6c4250136 Bug 620526 - yv12 to rgb565 neon should not be used on cpus without neon. r=jmuizelaar. have ycbcr to rgb565. a=blocking-fennec 2011-01-19 09:38:38 -08:00
Makoto Kato
f2cc5a0073 Bug 625629 - Don't define MMX in SSE.h since Microsoft compiler for x64 doesn't support MMX. r=jlebar a=bustage-fix 2011-01-18 14:08:47 +09:00
Justin Lebar
d8104d96a2 Bug 619178 - Followup for Win64 bustage. Add check for _M_IX86 to FastConvertYUVToRGB32Row in yuv_row_win.cpp. r=m_kato, a=bustage 2011-01-12 22:13:07 -08:00
Justin Lebar
d3538e30fe Bug 616778 - Part 2: Update NPOTB files in gfx/ycbcr. r=kinetik, a=NPOTB
--HG--
extra : rebase_source : 69e306bbb1aba08d2224a83b14086d2efef8f955
2011-01-12 19:08:17 -08:00
Justin Lebar
b9663139a0 Bug 616778 - Part 1: Move vectorized code in FilterRows inside CPUID guards. r=joedrew, a=blocking
--HG--
extra : rebase_source : b959237ee7e21464749ac5759e7845e853a752b6
2010-12-09 09:59:21 -08:00
Justin Lebar
ba43ff2771 Bug 619178 - Update gfx/ycbcr to the new SSE.h interface. r=joedrew, a=blocking
--HG--
extra : rebase_source : c66498e5eb69b5ae375f66217f780f62a89e7f24
2010-12-09 09:59:21 -08:00
Oleg Romashin
09f15ab010 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. README and patch r=doublec a=blocking-fennec 2010-12-15 10:17:26 -08:00
Oleg Romashin
5dbb9398c1 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. ycbcr r=chris.double a=blocking-fennec 2010-12-10 21:32:52 +02:00
Chris Double
4cecd77666 Bug 612429 - Fix Maemo/Android/ARM inclusion of SSE2 code - r=doublec a=roc
--HG--
extra : rebase_source : 2853b40f4888d4af415bde3e7aa801da10eaea3c
2010-11-18 15:11:11 +13:00
Makoto Kato
8466507cd8 Bug 611960 - bustage on Win64 after bug 583138 is landed. r=roc, a=roc 2010-11-14 00:42:02 +09:00
Chris Double
96cbe7d2f7 Bug 583138 - Update to latest Chromium YCbCr to RGB Conversion code - r=roc a=blocking2.0 2010-11-11 12:54:27 +13:00
Chris Double
0965268b8a Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Mike Hommey
ccf7ad92f0 Bug 589743 - Use the slow path for ycbcr on unsupported architectures instead of failing to building. r+a=roc
--HG--
extra : rebase_source : 94d945125b193a29551ebdb5c8f52b98b6787e3e
2010-09-06 09:14:48 +02:00
Matthew Gregan
d08de7d497 Bug 577645 - Y'CbCr assembly uses movntq which is SSE, not MMX. Change runtime CPU detection to match. r=tterribe 2010-08-02 15:32:14 +12:00
Ginn Chen
6560c5519f Bug 561739 Implement YCbCr conversion on Solaris r=doublec 2010-06-23 17:30:48 +08:00
Matthew Gregan
c3736cbb9f Bug 573590 - Ensure code for FastConvertYUVToRGB32Row is placed in .text section. r=tterribe 2010-06-23 11:12:10 +12:00
Matthew Gregan
d262acb0e4 Bug 572034 - Use Linux x86_64 YCbCr routines on x86_64 OS X. Convert Linux routines to local asm labels. r=doublec 2010-06-21 12:18:13 -07:00
Matthew Gregan
802786227b Backed out changeset d268e54fbfcf (bug 572034) 2010-06-19 11:42:11 +12:00
Matthew Gregan
f0118e53c6 Bug 572034 - Use Linux x86_64 Y'CbCr routines on x86_64 OS X. Convert Linux routines to local asm labels. r=chris.double
--HG--
extra : rebase_source : faa6af7f7529d05ec470796a369e7ea37daf3c69
2010-06-17 18:16:28 +12:00
Chris Pearce
05c5a0a72d Backed out changeset f2835c78ef3f, Bug 572034. 2010-06-17 11:03:37 +12:00
Matthew Gregan
c838848708 Bug 572034 - Enable asm optimized Y'CbCr conversion on OSX x86_64. r=doublec 2010-06-15 15:33:18 +12:00
Dave Townsend
f10be7ce3b Bug 564901: Debug builds on ARM fail saying that emms is not a supported instruction. r=roc 2010-05-12 09:52:02 -07:00
Hanspeter Niederstrasser
2bc8d85dbd Bug 561412 - new yuv -> rgb conversion code assumes GTK=linux. r=roc 2010-05-02 14:20:40 +02:00
Chris Double
1e4ad2c781 Bug 561385 - Fix YCbCr to RGB C fallback code. r=roc 2010-04-30 15:04:22 +12:00
Jacek Caban
e4b65f0db1 Bug 561344 - ycbcr doesn't compile on mingw. r=roc 2010-04-29 10:35:07 +02:00
Mark Banner
23389dbf3b Bustage fix for non-libxul windows builds from bug 551277. Wrap the return value for the implementation in NS_GFX_ as well. a=bustage-fix,tree quiet 2010-04-23 08:47:54 +01:00
Chris Double
bc56aab89c Bug 551378 - Implement 4:4:4 colorspace conversion routine for YCbCr layers code - r=roc 2010-04-21 15:05:34 +12:00
Chris Double
ef03b912fb Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Chris Double
4d94fbf7a0 Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double
987e0e6294 Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00