search for: premultiply

Displaying 18 results from an estimated 18 matches for "premultiply".

2019 Mar 06
0
[ANNOUNCE] xf86-video-amdgpu 19.0.0
I'm pleased to announce the 19.0.0 release of xf86-video-amdgpu, the Xorg driver for AMD Radeon GPUs supported by the amdgpu kernel driver. This release supports xserver versions 1.13-1.20. Highlights: * Support for FreeSync variable refresh rate (this also requires the amdgpu driver from kernel 5.0 or newer, and radeonsi from Mesa 19.0 or newer). * Various TearFree related fixes and
2002 Dec 04
2
difftime arithmetic (PR#2345)
Full_Name: Barry Rowlingson Version: 1.6.0 OS: RH8 i386 Submission from: (NULL) (148.88.136.205) Strange things happen if I premultiply a difftime() object with a number. Example: > d1 <- difftime(Sys.time(),Sys.time()) > d2 <- 1 * difftime(Sys.time(),Sys.time()) > d3 <- difftime(Sys.time(),Sys.time()) * 1 > d1 Time difference of 0 secs - thats fine > d2 [1] 0 attr(,"units") [1] "secs&...
2019 Mar 06
0
[ANNOUNCE] xf86-video-ati 19.0.0
I'm pleased to announce the 19.0.0 release of xf86-video-ati, the Xorg driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver. This release supports xserver versions 1.13-1.20. Highlights: * Various TearFree related fixes and robustness improvements. * Up to six independent instances per GPU are now supported in "Zaphod" style multi-head configurations. Plus other
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
--- src/drmmode_display.c | 29 +++++++++++++++++-- src/nouveau_hw.h | 17 +++++++++++ src/nv_cursor.c | 74 ++++++++++++++++++++++++------------------------ src/nv_proto.h | 2 + 4 files changed, 82 insertions(+), 40 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index f2fe0e8..7acddf1 100644 --- a/src/drmmode_display.c +++
2016 Oct 04
0
[ANNOUNCE] libXrender 0.9.10
Lauri Kasanen (1): Fix documentation to explicitly mention premultiplied alpha Matthieu Herrb (1): libXrender 0.9.10 Tobias Stoeckmann (2): Avoid OOB write in XRenderQueryFilters Validate lengths while parsing server data. git tag: libXrender-0.9.10 https://xorg.freedesktop.org/archive/individual/lib/libXrender-0.9.10.tar.bz2 MD5: 802179a76bded0b658f4e9ec5e1830a4
2016 Oct 04
0
[ANNOUNCE] libXrender 0.9.10
Lauri Kasanen (1): Fix documentation to explicitly mention premultiplied alpha Matthieu Herrb (1): libXrender 0.9.10 Tobias Stoeckmann (2): Avoid OOB write in XRenderQueryFilters Validate lengths while parsing server data. git tag: libXrender-0.9.10 https://xorg.freedesktop.org/archive/individual/lib/libXrender-0.9.10.tar.bz2 MD5: 802179a76bded0b658f4e9ec5e1830a4
2006 Nov 29
1
Matrix*vector: coercing sparse to dense matrix for arithmetic
Hi, I have a sparse Matrix (kronecker product of spline design matrices), and I need to multiply each row by a number to get another matrix. If the matrix is A and the numbers are stored in a vector k, with plain vanilla matrices I would do A*k But when using the Matrix package (class of A is "dgCMatrix"), I get the warning "coercing sparse to dense matrix for arithmetic".
2009 Aug 04
5
[PATCH 1/6] drm/nouveau: bo read/write wrappers for nv04_crtc.c
Introduce accessors for TTM buffer object memory that has been mapped into the kernel virtual address space or as IO memory. IO memory needs to be accessed via special accessor functions, not by dereferencing the iomem cookie. The wrappers hide the details of 32-bit access and honour the TTM map type. nv04_crtc_cursor_set() is changed to use the new wrappers. 'cursor' is received from
2007 Feb 06
0
Branch 'interpreter' - 15 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_image.c libswfdec/swfdec_sprite_movie.c
.../dev/null and b/test/image/image-lossless-alpha.swf.png differ diff-tree 7ee699c59898c37528d0051fd0c25f6756338dbe (from 801292bafb7bb89ecae7a2764307fda87cb540f0) Author: Benjamin Otte <otte@gnome.org> Date: Tue Feb 6 09:53:20 2007 +0100 make rendering more accurate - Don't premultiply images, they are already premultiplied - Use swfdec_color_apply_transform_premultiplied since the image is premultiplied diff --git a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 224e101..4463228 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -588,24 +588,...
2006 Oct 17
4
ruby floating point calculations
helo eveyone, for a rails app i''m working on i need to do some calculations with some floating point data. the calculations aren''t on currency so i can''t do the trick where you do the math with integers and have the units in pennies. i would like the results to be as accurate as possible with the least amount of work (haha). any suggestions? is there a ruby gem for more
2016 Jul 19
0
[ANNOUNCE] xorg-server 1.18.4
Another pile of backports from the devel branch, primarily in glamor, xwayland, and the modesetting driver. Thanks to all who contributed. Adam Jackson (9): dix: Squash some new gcc6 warnings kdrive: Nuke a bunch of dead code xfree86: Add IndirectGLX server flag (v2) xfree86: Don't swallow Âħiglx command line flag modesetting: resubmit dirty rects on EINVAL (v2)
2009 Aug 17
8
drm bo accessors etc. v2
Revised patch set v2. [PATCH 1/8] drm/nouveau: bo read/write wrappers for nv04_crtc.c [PATCH 2/8] drm/nouveau: use bo accessors for push buffers [PATCH 3/8] drm/nouveau: OUT_RINGp - optimize OUT_RING loops [PATCH 4/8] drm/nv50: proper notifier_bo access in nv50_display_vblank_crtc_handler() [PATCH 5/8] drm/nouveau: access fbcon notifier via bo accessors [PATCH 6/8] drm/nouveau: screen_base and
2003 Mar 15
1
formula, how to express for transforming the whole model.matrix, data=Orthodont
Hi, R or S+ users, I want to make a simple transformation for the model, but for the whole design matrix. The model is distance ~ age * Sex, where Sex is a factor. So the design matrix may look like the following: (Intercept) age SexFemale age:SexFemale 1 1 8 0 0 2 1 10 0 0 3 1 12 0 0 4
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
.../dev/null and b/test/image/image-lossless-alpha.swf.png differ diff-tree 7ee699c59898c37528d0051fd0c25f6756338dbe (from 801292bafb7bb89ecae7a2764307fda87cb540f0) Author: Benjamin Otte <otte@gnome.org> Date: Tue Feb 6 09:53:20 2007 +0100 make rendering more accurate - Don't premultiply images, they are already premultiplied - Use swfdec_color_apply_transform_premultiplied since the image is premultiplied diff --git a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 224e101..4463228 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -588,24 +588,...
2007 Nov 10
1
3 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h
libswfdec/swfdec_image.c | 204 ++++++++++++++++++++++++++--------------------- libswfdec/swfdec_image.h | 11 +- 2 files changed, 123 insertions(+), 92 deletions(-) New commits: commit 54d034a21fa13a6afb4ad788a82b240002def2cf Author: Benjamin Otte <otte at gnome.org> Date: Sun Nov 11 00:21:54 2007 +0100 implement reading from PNG files diff --git a/libswfdec/swfdec_image.c
2015 Aug 07
0
Wine release 1.7.49
The Wine development release 1.7.49 is now available. What's new in this release (see below for details): - DirectWrite is now good enough for rendering text in Steam. - A number of Direct2D improvements. - Some more OpenMP functions. - Support for namespaces in the IDL compiler. - Various bug fixes. The source is available from the following locations:
2016 Sep 16
0
[ANNOUNCE] xorg-server 1.18.99.2
I think we're ready for RC1 at this point, but wanted to give people a chance to scream about "just one more API change" until tomorrow. Let me know if there's something I'm missing; if I don't hear anything, I'll be tagging RC1 in the morning. Aaron Plattner (1): xace: Fix XaceCensorImage to actually censor the right part of the image Adam Jackson (92):
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...: + default: + g_assert_not_reached (); + break; + } + if (image->data == NULL) { + SWFDEC_WARNING ("failed to load image data"); + return FALSE; + } + } else { + swfdec_cached_use (SWFDEC_CACHED (image)); + } + return TRUE; +} + +static void +swfdec_image_premultiply (guint8 *data, guint n) +{ + guint i; + + for (i = 0; i < n; i++, data += 4) { + if (data[SWFDEC_COLOR_INDEX_ALPHA] == 0xFF) + continue; + if (data[SWFDEC_COLOR_INDEX_ALPHA] == 0) { + data[SWFDEC_COLOR_INDEX_RED] = data[SWFDEC_COLOR_INDEX_GREEN] = data[SWFDEC_COLOR_INDEX_BLUE]...