Sylvestre Ledru
5de63ef061
Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 5orfnoude7h
--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
David Major
1bb3a226c5
Bug 1422368 - Work around a clang-cl complilation bug in yuv_row_win.cpp harder. r=jrmuizel
...
--HG--
extra : histedit_source : f55f9b6a92b88d72a83bf0e2f0da973f445aa47a
2017-12-06 12:24:53 -05:00
Sebastian Hengst
b485da50e4
Backed out changeset 5f90362bbc80 (bug 1422368) for Windows static bustage (unresolved externals). r=backout
2017-12-06 20:20:54 +02:00
David Major
d68fefde32
Bug 1422368 - Work around a clang-cl complilation bug in yuv_row_win.cpp harder. r=jrmuizel
2017-12-06 12:24:53 -05:00
David Major
c6c7ce4333
Bug 1422368 - Work around a clang-cl bug in yuv_row_win.cpp. r=jrmuizel
2017-12-01 16:46:21 -05:00
Jean-Yves Avenard
0fc33ae81a
Bug 1215089 - P5: Convert 10/12 bits YUV image to 8 bits prior conversion to RGB. r=mattwoodrow
...
For now, convert 10/12 bits YUV image to 8 bits. Native support will be tracked in bug 1379948
MozReview-Commit-ID: LOr9X5xxKY7
--HG--
extra : rebase_source : 279e00832543501616af0a4a5958917b72533a4c
2017-09-29 13:43:09 +02:00
Sebastian Hengst
d0f721b4ef
Backed out changeset 9c974e493c3f (bug 1215089)
2017-10-04 16:25:57 +02:00
Jean-Yves Avenard
e54f0e8c27
Bug 1215089 - P4: Convert 10/12 bits YUV image to 8 bits prior conversion to RGB. r=mattwoodrow
...
For now, convert 10/12 bits YUV image to 8 bits. Native support will be tracked in bug 1379948
MozReview-Commit-ID: LOr9X5xxKY7
--HG--
extra : rebase_source : 90b39f46cbc9d5233965e3693c620466557eb8e7
2017-09-29 13:43:09 +02:00
Makoto Kato
5a2c91137e
Bug 1360429 - Part 1. inline arm assember for YCBCR should be on arm only. r=sotaro
...
ycvcr_to_rgb565 uses inline assember for arm neon. Since it is different for aarch64's assembler, we should define HAVE_YCBCR_TO_RGB565 on arm32 only.
MozReview-Commit-ID: 4c2n1luvVvC
--HG--
extra : rebase_source : 8ae3f9deb6d0f4e3ab6036b7ce7ec57e0c7e1b57
2017-04-28 13:22:07 +09:00
Randell Jesup
492e274bf6
Bug 1341543: don't use internal-only I4xxToARGBMatrix() functions from libyuv r=sotaro
...
MozReview-Commit-ID: H0o6ufAlnGx
2017-02-24 14:01:56 -05:00
Randell Jesup
635c96d539
Bug 1341543: Update SIMD_ALIGNED in gfx to match libyuv's definition r=sotaro
...
MozReview-Commit-ID: 35D3W0Dqrc8
2017-02-24 14:01:56 -05:00
Randell Jesup
8ad25a673c
Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted
...
MozReview-Commit-ID: CDMDXqpGueS
2017-02-24 14:01:56 -05:00
sotaro
176fe53134
Bug 1329383 - Update YUVColorSpace handling in ConvertYCbCrToRGB32() r=nical
2017-01-10 10:09:19 +09:00
karo
00b8886839
Bug 1321076 - Added util functions to help with YUVA to BGRA conversion. r=jya
...
MozReview-Commit-ID: JZDdbM2gt0g
--HG--
extra : rebase_source : 572dbf59e8a3b41e6c7366d1579a28e365062260
2016-12-21 15:00:46 +13:00
Sotaro Ikeda
1d3ceeff04
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00
Sotaro Ikeda
5d8ae5cfad
Bug 1295927 - Disable libyuv SIMD scaling on 64bit win r=jrmuizel
2016-08-19 06:18:08 -07:00
Sotaro Ikeda
64b45af818
Bug 1254010 - Scaling during RGB -> YUV conversion with BasicCompositor if possible. basic_compositor_video improved on windows. r=jrmuizel
2016-08-15 18:54:17 -07:00
Sotaro Ikeda
0ca92913eb
Bug 1275441 - Use libyuv for scaling YUV color conversion r=jrmuizel
2016-08-04 19:30:01 -07:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Nathan Froyd
1429c7df48
Bug 1278940 - avoid using __attribute__((optimize)) with clang in yuv; r=jrmuizel
...
clang doesn't understand __attribute__((optimize)) and so complains.
2016-06-24 23:26:40 -04:00
Sotaro Ikeda
6ec321d0df
Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel
2016-06-08 18:46:42 -07:00
Phil Ringnalda
305ac3c2cf
Back out c88f2cb8e4fa (bug 1256475) for Android failures in test_imagebitmap_extensions.html
...
CLOSED TREE
2016-06-06 22:26:25 -07:00
Sotaro Ikeda
d7880ceea1
Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel
2016-06-06 20:10:59 -07:00
Kaku Kuo
145a8d24cf
Bug 1255688 - Fix TypeFromSize for YV16 case; r=jrmuizel
...
MozReview-Commit-ID: KATnTZaLLdG
--HG--
extra : transplant_source : %FA%25%DD%95%12%F2m%FBNX%D5%DD%B9j%14%B4%8F%D8%C5%93
2016-03-10 17:58:00 +08:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Nicholas Nethercote
5e3e083956
Bug 1255655 - Const-ify kCoefficientRgbY. r=jrmuizel.
...
This allows it to be shared between processes.
--HG--
extra : rebase_source : 4a2026ae4b9335bae4d018d6a3f0af40cae3dc15
2016-03-11 13:00:06 +11:00
Nicholas Nethercote
88696a303a
Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
...
This patch:
- Makes the following substitutions (plus necessary namespace qualifiers:
gfxImageFormat::ARGB32 --> SurfaceFormat::A8R8G8B8_UINT32
gfxImageFormat::RGB24 --> SurfaceFormat::X8R8G8B8_UINT32
gfxImageFormat::A8 --> SurfaceFormat::A8
gfxImageFormat::RGB16_565 --> SurfaceFormat::R5G6B5_UINT16
gfxImageFormat::Unknown --> SurfaceFormat::UNKNOWN
- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
removed soon.
- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
replace calls to them with CairoFormatToGfxFormat() and
GfxFormatToCairoFormat().
- Removes ParamTraits<gfxImageFormat>.
- Add namespace qualifiers to SurfaceFormat instances where necessary.
--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Nicholas Nethercote
a34d272e2b
Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
...
--HG--
extra : rebase_source : 1efcfb2522e823e55b5c7b77531a9d2c42c49c8b
2015-10-22 23:01:31 -07:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nathan Froyd
b4f3c3be46
Bug 1202430 - remove NS_GFX and related macros; r=jrmuizel
...
NS_GFX last meant something prior to bug 648911, which removed support
for non-libxul builds. Now that it's meaningless, let's get rid of it.
2015-09-07 17:53:36 -04:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ted Mielczarek
3073ae605d
bug 1174701 - Don't use NEON assembly for ARM iOS in gfx/ycbcr. r=jrmuizel
...
--HG--
extra : commitid : 2MFnSpW8vuK
extra : rebase_source : ad04314f69cf304e1ff220047328b05dcd388685
2015-03-17 14:22:03 -04:00
Ehsan Akhgari
d56a32bce4
Bug 1119068 - Clean up some code used for older unsupported MSVC versions; r=bsmedberg
2015-01-12 23:26:31 -05:00
Wes Kocher
a49543905d
Backout 671a52fff391
2015-01-12 14:46:32 -08:00
Ehsan Akhgari
4acc68bd1e
Bug 1119068 - Clean up some code used for older unsupported MSVC versions; r=bsmedberg
2015-01-12 16:35:07 -05:00
Chris Peterson
22d0c4b343
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps
2014-12-04 16:24:03 -08:00
Ehsan Akhgari
020f3fd4d8
Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium
2014-03-19 21:55:00 -04:00
Ehsan Akhgari
667b4bc049
Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
...
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Marcin Juszkiewicz
c3a5ffcb07
Bug 963031 - AArch support for Graphics. r=doublec
2014-01-27 08:18:27 -05:00
Benoit Jacob
e5ed95579b
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Tor Arvid Lund
7a84faef28
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
e437dfc935
Bug 929513 - Add YCbCrUtils class and change gfxIntSize in BasicCompositor r=nical
...
The purpose of this patch is to replace usages of gfxIntSize with
gfx::IntSize in BasicCompositor.
The new class YCbCrUtils has two methods ported from gfxUtils in thebes.
BasicCompositor now uses these methods instead of the ones in gfxUtils.
Also changed gfxIntSize to gfx::IntSize and gfxImageFormat to
gfx::SurfaceFormat.
2013-12-13 18:31:57 +01:00
Birunthan Mohanathas
1e8f99fd01
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Michael Shuen
17a3c7a0b6
Bug 940799 - Build gfx/ycbcr in unified mode. r=bjacob
2013-11-21 09:22:25 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00