Displaying 20 results from an estimated 86 matches for "rgba".
Did you mean:
rgb
2008 Aug 20
2
liboggplay and overlay video
> I think adding an RGB/RGBA frame type to liboggplay should *also*
> happen. yuv2rgb is tedious at best and hard to get right at worst, so
I'd added an RGBA type, but if this is going to also carry video,
it might be better to merge this with the existing video type, and
have a 'type' enum, or just several poi...
2009 Apr 10
0
[PATCH/Gallium] nv50_clear again (might work better)
...as stencil testing is off. */
+#define NV50TCL_CLEAR_DEPTH_BITS 0x01
+#define NV50TCL_CLEAR_STENCIL_BITS 0x02
+#define NV50TCL_CLEAR_DEPTH_STENCIL_BITS 0x03
+#define NV50TCL_CLEAR_COLOR_BITS(i) (0x3c + (0x40 * (i)))
+
void
nv50_clear(struct pipe_context *pipe, unsigned buffers,
const float *rgba, double depth, unsigned stencil)
@@ -40,26 +47,32 @@ nv50_clear(struct pipe_context *pipe, unsigned buffers,
return;
if (buffers & PIPE_CLEAR_COLOR) {
- BEGIN_RING(chan, tesla, NV50TCL_CLEAR_COLOR(0), 4*fb->nr_cbufs);
- for (i = 0; i < fb->nr_cbufs; i++) {
- OUT_RING (chan,...
2010 Jan 17
1
screenshot of swf file
Hi,
Im trying to thumbnail a swf file based on this found at
http://www.mail-archive.com/swfdec at lists.freedesktop.org/msg00821.html.
#include <stdlib.h>
#include <stdio.h>
#include <swfdec/swfdec.h>
#include <cairo.h>
void swfdec_player_save (SwfdecPlayer *player, guint width, guint
height, const char *filename) {
cairo_surface_t *surface;
cairo_t *cr;
2008 Dec 16
0
liboggplay: RGBA overlay video, rendering with libtiger
...PlayErrorCode
oggplay_set_kate_tiger_rendering(OggPlay *me, int track, int use_tiger);
OggPlayErrorCode
oggplay_overlay_kate_track_on_video(OggPlay *me, int kate_track, int
video_track);
-----------------8<---------------------------
Typo in the comment (is should be if):
+ unsigned char * rgba; /* may be NULL is no alpha */
In glut_player.c, If realloc fails then it returns NULL and this will
overwrite the existing value of 'buffer' with null. That 'buffer' will
then never be free'd and result in a memory leak. Although I suspect
it'd crash anyway due to buffer b...
2007 Mar 28
1
Re: compiz: Changes to 'master' (Added possibility to load textures with fixed RGBA byte ordering from header files)
...------
> 3 files changed, 16 insertions(+), 9 deletions(-)
>
> New commits:
> commit 8e3b26fe3000602cfad0eaae2242abb1274c2ce3
> Author: Danny Baumann <dannybaumann@web.de>
> Date: Wed Mar 28 15:29:42 2007 +0200
>
> Added possibility to load textures with fixed RGBA byte ordering from header files.
>
I find this change pretty ugly. "Bool fixedRGBA" looks like a quick hack
to extend the imageToTexture function with some specific functionality.
Creating a lower level function that accept a format and a type GLenum
seems like a more appropriate so...
2008 Dec 15
3
liboggplay: RGBA overlay video, rendering with libtiger
Hi,
the attached patch adds rendering of Kate streams
using libtiger. To do so, it adds a new type of RGBA video.
One can request the incoming video (in YUV) to be sent
in RGBA (ie, asking liboggplay to do the conversion in the
first place).
The large changes in the GLUT player also include fixes
for crash-on-no-sound, mono sound, and locking fixes
(I *think* - at least it works fine for me now).
If t...
2009 Apr 08
0
[PATCH/Gallium] nv50: update nv50_clear to new interface
...rivers/nv50/nv50_clear.c
@@ -26,10 +26,15 @@
#include "nv50_context.h"
+#include "util/u_pack_color.h"
+
void
-nv50_clear(struct pipe_context *pipe, struct pipe_surface *ps,
- unsigned clearValue)
+nv50_clear(struct pipe_context *pipe, unsigned buffers,
+ const float *rgba, double depth, unsigned stencil)
{
+ struct pipe_surface *ps = NULL;
+ /* silenced 'used uninitialized' warning by setting NULL,
+ * GCC doesn't know it can't actually happen */
struct nv50_context *nv50 = nv50_context(pipe);
struct nouveau_channel *chan = nv50->screen->...
2008 Aug 20
2
liboggplay and overlay video
> fancy with unions, but since RGB/RGBA is generally chunked and YUV is
> generally planar, having two separate types makes more sense. There's
OK
> typedef struct {
> unsigned char *data; /* may be RGB or RGBA */
> unsigned char *mask; /* may be NULL if RGBA */
> } OggPlayVideoRGBData;
That's what I have at...
2008 Sep 22
0
[PATCH] liboggplay: RGB/RGBA video, and rendering Kate streams with libtiger
Hi,
This is an updated patch, replacing the previous one. It allows rendering
Kate streams using libtiger (itself using Pango and Cairo). It allows
video to be converted to RGB, and overlaying of a Kate stream onto a
video.
While there, there are various fixes/tweaks (the asm versions of the YUV
to RGB converters would move the data pointer, so anyone using those at
a later time would access bad
2008 Dec 16
1
liboggplay: RGBA overlay video, rendering with libtiger
> Should these be wrapped in HAVE_KATE? Same with the definition of the
> functions on oggplay.c? If I'm not building with Kate support it would
> prevent dead code from being around.
They could, but would change the API, and the implementation just
returns a "not implemented" error currently if HAVE_KATE is undefined,
(and a couple checks for validity) so it's not much
2008 Aug 18
3
liboggplay and overlay video
...g library for
Kate streams,
and I've recently been hacking away at adding it to liboggplay. That was the
missing "overlay" mode to the browser_plugin patch I sent a while ago.
Now, I'm not too sure how to expose those overlays to liboggplay users: the
obvious solution is to add a RGBA video type, and expose the render of this,
which the client can then overlay onto the video. I've done that, and it works
(modulo bugs). However, it's slow, both because of the two renders (once to
render the overlay in liboggplay, the second to overlay it onto the video in the
client code)...
2007 Apr 16
0
7 commits - libswfdec/swfdec_codec_gst.c libswfdec/swfdec_font.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_shape.c libswfdec/swfdec_shape.h libswfdec/swfdec_sprite.c
...SwfdecGradientPattern *gradient;
pattern = g_object_new (SWFDEC_TYPE_GRADIENT_PATTERN, NULL);
+ gradient = SWFDEC_GRADIENT_PATTERN (pattern);
swfdec_bits_get_matrix (bits, &pattern->start_transform, NULL);
pattern->end_transform = pattern->start_transform;
if (rgba) {
- SWFDEC_GRADIENT_PATTERN (pattern)->gradient = swfdec_bits_get_gradient_rgba (bits);
+ gradient->gradient = swfdec_bits_get_gradient_rgba (bits);
} else {
- SWFDEC_GRADIENT_PATTERN (pattern)->gradient = swfdec_bits_get_gradient (bits);
+ gradient->gradient =...
2008 Aug 20
0
liboggplay and overlay video
On Wed, Aug 20, 2008 at 2:27 AM, ogg.k.ogg.k at googlemail.com
<ogg.k.ogg.k at googlemail.com> wrote:
> I'd added an RGBA type, but if this is going to also carry video,
> it might be better to merge this with the existing video type, and
> have a 'type' enum,
Right now, OggPlayVideoData is just a struct with three arbitrarily
named pointers; it doesn't even know its own dimensions. I think
having s...
2006 Apr 02
1
Greetings, first remarks about trying to do customizable drop-shadows
...e the
needed elements for drop-shadows (atm stand-alone to focus on the proper
generation of the shadow-parts) and currently still fiddle with the
tweakable parameters. Right now I have...
shadow-radius (e.g. 20 pixels)
2D-offset vector (e.g. 10 pixels right, 15 pixels downwards)
start-color as rgba (e.g. 0.2/0.2/0.2/1.0)
end-color as rgba (e.g. 0.2/0.2/0.2/0.0)
and try to figure out how I best approach the splitting up of the 5 to 8
shadow-elements (top-left, top, top-right, left, right, bottom-left,
bottom, bottom-right) depeding on the length of the offset-vector being
=, < or > to...
2011 Sep 22
2
suggestions argument in rbga function in genalg package
Would someone be so kind as to provide example code where they use the suggestions argument in the rgba function
In genalg? I can't get it to work.
The following code works just fine:
GenFit <-rbga(Lower, Upper, evalFunc = evaluate)
Lower and Upper are each numeric vectors with 7 elements. Evaluate is an objective function.
However, when I want to use a suggested chromosome, I get an error...
2016 Jan 05
3
Activate DVI-I behind KVM on FX 5200
Hi folks,
I don't seem to be able to enable the DVI-I output of an old FX 5200
behind a KVM switch. Autodetection works fine if the FX 5200 DVI output
is switched to the monitor, but when it is not, I have not found a way
to force-enable it.
Here is what I tried:
*) used the video=DVI-I-1:1280x1024-24 at 60e kernel parameter
(framebuffer still sits at 1024x768)
*) used "options
2009 Sep 04
1
Taking advantage of SIMD
...reating a simple decoder for theora using liboggz i started profiling. As someone else stated in the lists the conversion from yuv 2 rgb takes a significant time. I decided to go on the way of SIMD not shaders because SIMD is supported on a wider range of computers. I managed to strip out the yuv 2 rgba conversion code from liboggplay but it seems i am missing something. It runs but the image is distorted, like this:
http://www.gamesrebirth.com/adrian/graphics/distorted.JPG
The code looks like this(only a few lines):
http://pastebin.com/m185d7b76
Thanks,
?? Adrian
-------------- nex...
2014 Jan 27
0
[PATCH] nv30: don't overwrite blend color setting for r32/r16 float formats
...8 100644
--- a/src/gallium/drivers/nouveau/nv30/nv30_state_validate.c
+++ b/src/gallium/drivers/nouveau/nv30/nv30_state_validate.c
@@ -190,7 +190,7 @@ nv30_validate_blend_colour(struct nv30_context *nv30)
BEGIN_NV04(push, SUBC_3D(0x037c), 1);
PUSH_DATA (push, (util_float_to_half(rgba[2]) << 0) |
(util_float_to_half(rgba[3]) << 16));
- break;
+ return;
default:
break;
}
--
1.8.3.2
2013 Oct 07
1
Color font in verbatim text output in Shiny
Hello!
Is there any way to change the colors (and other characteristics) of the
font that is being used by Shiny when the ui.r code hase some
verbatimTextOutput?
For example, I am producing 2 outputs in two tabs.
mainPanel(
tabsetPanel(
tabPanel("Output 1", verbatimTextOutput("myoutput1")),
tabPanel("Output 2",
2008 Sep 17
1
[ANNOUNCE] compiz-0.7.8
...Removed opacity bindings and matches from core. Users that entered
opacity
matches should enable the obs plugin and enter the matches there.
Enhanced timer infrastructure to allow synchronization of execution of
multiple timer callbacks.
Added matching for window's alpha channel (match type rgba=[0|1]).
Reflect new Metacity "spacer" button type in gtk-window-decorator.
Various bugfixes.
Translation updates.
Regards,
Danny
Changes since compiz-0.7.6:
Aaron Plattner (1):
Handle sync alarm events on screens other than the last.
C-F Language team (4):
new transl...