Eric Rahm
dbb0f24d7e
Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn
2014-03-19 14:33:12 -07:00
Benoit Jacob
3991287fb7
Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel
2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Ali Akhtarzada
c8d408d444
Bug 959526 - Implement PlanarYCrCbImage and derived classes GetAsSourceSurface. r=nical
...
Implement GetAsSourceSurface in:
* PlanarYCrCbImage
* BasicPlanarYCrCbImage
* SharedPlanarYCrCbImage
2014-01-21 11:49:53 -05:00
Ali Akhtarzada
2317024a4c
Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
...
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface
and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface.
Deprecated GetAsSurface.
2014-01-15 10:06:43 -05:00
Tor Arvid Lund
af7e76f848
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Benoit Jacob
c1d7f88886
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Nicholas Cameron
8628de1017
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kan-Ru Chen (陳侃如)
e35ea77a3f
Bug 785339 - Restore BasicPlanarYCbCrImage::SetDelayedConversion. r=roc
2012-09-03 15:36:04 +08: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
Matt Woodrow
7591d1ef12
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
Nicolas Silva
047b99ba78
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Timothy B. Terriberry
7cc584ea37
Bug 726580, Stop shadowing PlanarYCbCr::mOffscreenFormat, r=bas
2012-02-15 14:32:11 -08:00
Bas Schouten
f987b74374
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
Ed Morley
8ed69ffe5f
Backout 76dcfabe0a2a, d8004eb22252, 86e91202ef51 & f9a5736cd6bc (bug 695845) for build failures on windows
2011-12-19 20:27:59 +00:00
Matt Woodrow
9898776457
Bug 695845 - Part 2: Add ShadowImplData. r=cjones
2011-12-19 14:49:45 -05:00
Chris Pearce
f689fe4458
Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc
2011-11-15 09:35:46 +13:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
8ddd2bdc2f
Bug 686742 - Move YUV conversion code into gfxUtil functions. r=derf
...
--HG--
extra : rebase_source : 0993d4fc7558c40fd6df97278919c01fc8e92918
2011-09-27 15:19:24 -07:00
Matt Woodrow
3ec9b74079
Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc
2011-08-31 14:03:34 +12:00
Matthew Gregan
db3428cfec
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12: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
Matt Woodrow
9d7dd64918
Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe
2011-04-21 16:38:39 +12:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05: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
Chris Double
8ea4897f3e
Bug 639415 - Disable prescaling of videos if they have an offset due to chromium scaling code not supporting offsets - r=kinetik
...
--HG--
extra : rebase_source : 0b72a504f731a81a498876a28dfae0d7c4aebded
2011-03-14 17:31:48 +13:00
Chris Pearce
38662eb161
Bug 580531 - Record first paint time and number of images painted in ImageContainer. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
18e05ec12b
Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc
2011-03-24 11:28:57 +13: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
Timothy B. Terriberry
85f70e68b5
Bug 640588 - "Bad rendering of webm and ogv with 16-bits displays on Linux" [r=jones.chris.g a-2.0=doug.turner]
...
--HG--
extra : rebase_source : 8407e60c8e2c24252c4ce36daddd793ebf4cbd9d
2011-03-11 16:07:00 -08: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
Bas Schouten
a798fe031c
Bug 620665 - Part 7: Do not use mManager pointer for basic layers. r=roc a=blocking-beta9
2010-12-29 01:07:18 +00:00
Bas Schouten
e4cc92e61d
Bug 620665 - Part 1: Expose backend type on ImageContainers. r=roc a=blocking-beta9
2010-12-29 01:07:00 +00:00
Oleg Romashin
5654c20b27
Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. use 16bpp neon r=roc a=blocking-fennec
2010-12-10 21:32:52 +02:00
Oleg Romashin
5658661615
Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. Offscreen API r=roc a=b-f
2010-12-15 10:17:27 -08: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
Vladimir Vukicevic
34ff738268
b=574481; fix layers lifetime issues; part 4 - fix other layers; r=bas
2010-08-06 22:09:18 -07:00
Oleg Romashin
c1ec97595b
Bug 545632 - Add 16bpp format support enabler. r=jmuizelaar
2010-06-11 05:33:22 -04:00
Oleg Romashin
ff064189d9
Backed out changeset 2959eddcd018, to fix oranges
2010-06-11 08:35:26 -04:00
Oleg Romashin
cfe4ce6dd8
Bug 545632 - Add 16bpp format support enabler. r=jmuizelaar
...
--HG--
extra : rebase_source : 8ddcebaa4f6418c65325b4374f7f9f5ab4ec377e
2010-06-11 05:33:22 -04:00
Chris Pearce
3841ce0fd3
Bug 556889 - Honour video aspect ratio in layers rendering. r=roc
2010-04-27 20:53:44 +12:00
Chris Double
bce74d4343
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
39352b97f4
Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc
2010-04-19 13:17:06 +12:00