Commit Graph

62 Commits

Author SHA1 Message Date
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
2795937cf4 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
0fd9123eac 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Jan Beich
759364fa7a Bug 779847: use optimized color conversion on BSDs. r=doublec 2012-08-03 15:04:39 +02:00
Gervase Markham
d4eb7d5782 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
05e7573fc2 Bug 752293 - Mark stacks non-executable in yuv_row_arm.s, r=glandium 2012-05-06 05:41:14 -07:00
Nicholas Nethercote
85b9728d6c 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
c4ee2f9bdc Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
5524d35c04 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
535386a8e6 Back out Bug 711895 for breaking l10n builds. 2011-12-29 15:45:51 -05:00
Nicholas Nethercote
cc36bb0b51 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
8a0b72332d 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
60b73b4219 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
b8a5bdd1fc Bug 670329 - Avoid bumping ARM target because of NEON code in gfx. r=jmuizelaar 2011-07-15 10:15:28 +02:00
Jacob Bramley
6d297c4c1a 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
89e737996c 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
cc66446a05 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
8aba398b72 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Ed Morley
223c46b36b 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
008efccff3 Bug 571739 - Fix VC8 support on Win64. r=neil 2011-05-09 00:07:58 +09:00
Makoto Kato
1af4175e89 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
e63a2989e7 Bug 650834 - Add casts to pointer differences in assertion r=dougt 2011-04-18 12:22:51 -07:00
Timothy B. Terriberry
371832a9bb Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley 2011-04-14 17:34:18 -07:00
Timothy B. Terriberry
bc00a0826c Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec 2011-04-14 17:32:15 -07:00
Tim Terribe
cb46080bbf 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
6bbc2a8bd4 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
e2473b98ea 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
0b526ebb5a Bug 637961 - Crash in [@ yv12_to_rgb565_neon]. r=jmuizelaar a=blocking-fennec 2011-03-08 09:59:44 +09:00
Tom Brinkman
6244449447 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
733b524353 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
0b448d34d8 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
cc238f48d5 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
690116173e 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
db12052004 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
457c238696 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
9b58852fa0 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
6fbdf6304b 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
a9e4c5e117 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
c7c2568e01 Bug 611960 - bustage on Win64 after bug 583138 is landed. r=roc, a=roc 2010-11-14 00:42:02 +09:00
Chris Double
6656705ec5 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
c8b0bb098e 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
45436fd809 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
54ebb950b0 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
ca5abe7f73 Bug 561739 Implement YCbCr conversion on Solaris r=doublec 2010-06-23 17:30:48 +08:00
Matthew Gregan
15965d6735 Bug 573590 - Ensure code for FastConvertYUVToRGB32Row is placed in .text section. r=tterribe 2010-06-23 11:12:10 +12:00
Matthew Gregan
c5de9cd65f 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
547b93c9c2 Backed out changeset d268e54fbfcf (bug 572034) 2010-06-19 11:42:11 +12:00