~ubuntu-branches/ubuntu/dapper/gst-plugins-good0.10/dapper-security

« back to all changes in this revision

Viewing changes to gst/goom/lines.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher, debian/patches/02_default_audiosink.patch
  • Date: 2006-02-10 00:02:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060210000229-mhsw3f8vt6lt38yf
Tags: 0.10.2-0ubuntu1
* Sync with Debian
* New upstream version:
  Changes since 0.10.1:
  - New libcdio based CDDA reading element
  - APE tag reader ported
  - ID3 tag reading fixes
  - Sun Audio Sink fixes
  - GOOM and gconf element fixes
  - lots of bug and leak fixes
  Bugs fixed since 0.10.1:
  - silence warings which make dvdec / dvdemux unusable
  - Internal event problem with MP3s from vgmix.com
  - [cdio] port cddasrc to 0.10
  - Bugs in G711 RTP packetization logic
  - apetag plugin needs porting to 0.10
  - check that all elements in -good pass queries they can't ...
  - id3demux is not compiling without ZLIB
  - build problem caused by AS_LIBTOOL_TAGS([CXX])
  - gconf(audio|video)sink response to key changes
  - [wavparse] time to bytes format conversion broken
  - [esdsink] won't compile with includes in non-standard prefix
  - [sunaudio] fixes for mixer and stuttering mp3 playback
  - [matroskamux]  Matroska muxer deadlock
  - [videobox] crash when cropping
  - id3demux emits NULL date for year tags
  - Fix build with gcc 2.95
  - [matroskamux] doesn't send newsegment event, critical war...
  - totem crash when using goom effect
  - Fails to read ID3 tag
  - Please use the autodetect sinks by default
  - [cdio] support for cd-text and cd-g
* Build with the current cdbs package [debian/build-deps.in]
* Ubuntu patches [debian/patches/01_esdsink_priority.patch]
* The autodetect sinks are used by default upstream now
  [debian/patches/02_default_audiosink.patch]

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include "lines.h"
15
15
#include <math.h>
16
16
 
17
 
extern unsigned int resolx, resoly;
18
 
 
19
17
static inline unsigned char
20
18
lighten (unsigned char value, unsigned char power)
21
19
{
27
25
}
28
26
 
29
27
void
30
 
goom_lines (gint16 data[2][512], unsigned int ID, unsigned int *p,
 
28
goom_lines (GoomData *goomdata, gint16 data[2][512], unsigned int ID, unsigned int *p,
31
29
    guint32 power)
32
30
{
33
31
  guint32 color1;
34
32
  guint32 color2;
 
33
  guint32 resolx = goomdata->resolx;
 
34
  guint32 resoly = goomdata->resoly;
35
35
  unsigned char *color = 1 + (unsigned char *) &color1;
36
36
 
37
37
  switch (ID) {