search for: premultipli

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

Did you mean: premultiply
2019 Mar 06
0
[ANNOUNCE] xf86-video-amdgpu 19.0.0
...tric in set_mode_major Cast return value of amdgpu_get_marketing_name to char* Fix --disable-glamor build Add GitLab CI configuration Fix condition for calling set_pixmap_bo in drmmode_xf86crtc_resize Allow up to six instances in Zaphod mode Detect and fix up non-premultiplied cursor data glamor: Can work at depth >= 15 with current xserver Git master man: This driver supports colour depths 8, 15 and 16 Add README.md to EXTRA_DIST Relax detection of non-premultiplied alpha cursor data Use drm_abort_one in drm_queue_handler Explici...
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
2019 Mar 06
0
[ANNOUNCE] xf86-video-ati 19.0.0
...dri3: Handle radeon_get_pixmap_bo returning NULL Handle pending scanout update in drmmode_crtc_scanout_free Make wait_pending_flip / handle_deferred symmetric in set_mode_major Allow up to six instances in Zaphod mode Post-release version bump Detect and fix up non-premultiplied cursor data Skip gamma correction of cursor data if premultiplied R/G/B > alpha glamor: Can work at depth >= 15 with current xserver Git master Use drm_abort_one in drm_queue_handler Explicitly keep track of whether a DRM event is for a flip or not Move deferre...
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: 802179a76bded0...
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: 802179a76bded0...
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
...pha, i; if (width != 64 || height != 64) @@ -1024,8 +1023,6 @@ nv04_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, ret = nouveau_bo_map(cursor); if (ret) goto out; - src = cursor->kmap.virtual; - dst = nv_crtc->cursor.nvbo->kmap.virtual; /* nv11+ supports premultiplied (PM), or non-premultiplied (NPM) alpha * cursors (though NPM in combination with fp dithering may not work on @@ -1034,7 +1031,7 @@ nv04_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, * blob uses, however we get given PM cursors so we use PM mode */ for (i = 0; i &l...
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
...t a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 4463228..fc0b1f1 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -657,7 +657,7 @@ swfdec_image_create_surface_transformed for (i = 0; i < n; i++) { ((guint32 *) tdata)[i] = swfdec_color_apply_transform_premultiplied (((guint32 *) sdata)[i], trans); /* optimization: check for alpha channel to speed up compositing */ - has_alpha != tdata[4 * i + SWFDEC_COLOR_INDEX_ALPHA] != 0xFF; + has_alpha = tdata[4 * i + SWFDEC_COLOR_INDEX_ALPHA] != 0xFF; } surface = cairo_image_surface_create_for_data (tda...
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
...ource/mask pictures glamor: Check for composite operations which are equivalent to copies glamor: Cannot use copies when accessing outside of composite source glamor: Call eglBindAPI after eglInitialize xwayland: Call eglBindAPI after eglInitialize dix: Work around non-premultiplied ARGB cursor data glamor: Translate solid text background region after clipping os: Use strtok instead of xstrtokenize in ComputeLocalClient Olivier Fourdan (3): xwayland: Fix compiler warning in GLAMOR Xv glamor: fix wrong offset on composite rectangles wayland: cle...
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
...t a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 4463228..fc0b1f1 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -657,7 +657,7 @@ swfdec_image_create_surface_transformed for (i = 0; i < n; i++) { ((guint32 *) tdata)[i] = swfdec_color_apply_transform_premultiplied (((guint32 *) sdata)[i], trans); /* optimization: check for alpha channel to speed up compositing */ - has_alpha != tdata[4 * i + SWFDEC_COLOR_INDEX_ALPHA] != 0xFF; + has_alpha = tdata[4 * i + SWFDEC_COLOR_INDEX_ALPHA] != 0xFF; } surface = cairo_image_surface_create_for_data (tda...
2007 Nov 10
1
3 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h
...uot;); return NULL; } - sdata = image->data; + /* FIXME: This code assumes a rowstride of 4 * width */ + sdata = cairo_image_surface_get_data (source); n = image->width * image->height; for (i = 0; i < n; i++) { ((guint32 *) tdata)[i] = swfdec_color_apply_transform_premultiplied (((guint32 *) sdata)[i], trans); /* optimization: check for alpha channel to speed up compositing */ has_alpha = tdata[4 * i + SWFDEC_COLOR_INDEX_ALPHA] != 0xFF; } + cairo_surface_destroy (source); surface = cairo_image_surface_create_for_data (tdata, has_alpha ? CAIRO_FOR...
2015 Aug 07
0
Wine release 1.7.49
...: d2d1: Validate bitmap formats. d2d1: Implement d2d_bitmap_GetPixelFormat(). d2d1: Implement d2d_bitmap_brush_SetBitmap(). d2d1: Take the bitmap's alpha mode into account in bitmap brushes. d2d1: Force alpha to 1.0f for clears. d2d1: Bitmap values are always premultiplied in practice. d2d1: Properly handle D2D1_ALPHA_MODE_PREMULTIPLIED on render targets. d2d1: Fix the TRACE in d2d_bitmap_Release(). d2d1: Don't pass NULL resource data to ID3D10Device_CreateTexture2D(). d2d1: Implement d2d_stroke_style_GetFactory(). wined3d: Validat...
2016 Sep 16
0
[ANNOUNCE] xorg-server 1.18.99.2
...xwayland: Call eglBindAPI after eglInitialize xfree86/modes: Fix HW cursor clipping for driverIsPerformingTransform (v2) xfree86/modes: Disambiguate driverIsPerformingTransform xfree86/modes: Simplify in_range logic in xf86_crtc_set_cursor_position dix: Work around non-premultiplied ARGB cursor data glamor: Translate solid text background region after clipping xfree86/modes: Move gamma initialization to xf86RandR12Init12 v2 xfree86/modes: Remove xf86RandR12CrtcGetGamma xfree86: Hook up colormaps and RandR 1.2 gamma code v6 present: Only call res...
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
...rom fa335acfbd3526f57dfb66c68e59334a79d90901) Author: Benjamin Otte <otte@gnome.org> Date: Sun Feb 4 14:33:59 2007 +0100 rework images to be correctly color transformed - use new SWFDEC_COLOR_INDEX variables when decoding - avoids #if - ditch caching as we might need the unpremultiplied image for color transforms - implement swfdec_image_get_surface_transformed - use it in the image pattern diff --git a/libswfdec/swfdec_image.c b/libswfdec/swfdec_image.c index 0cf6502..e276508 100644 --- a/libswfdec/swfdec_image.c +++ b/libswfdec/swfdec_image.c @@ -50,7 +50,10 @@ swfdec...