platform/upstream/gst-plugins-bad.git
13 years agompegvideoparse: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:56:25 +0000 (17:56 -0400)]
mpegvideoparse: Fix set-but-unused warnings

13 years agompegdemux: Fix unused-but-set warnings
Olivier Crête [Tue, 12 Jul 2011 21:53:33 +0000 (17:53 -0400)]
mpegdemux: Fix unused-but-set warnings

13 years agompegtsdemux: Fix unused-but-set warnings
Olivier Crête [Tue, 12 Jul 2011 21:50:27 +0000 (17:50 -0400)]
mpegtsdemux: Fix unused-but-set warnings

13 years agompegtsmux: fix segfault if gst_collect_pads_pop () returns no buffer
Sameer Naik [Mon, 11 Jul 2011 19:48:16 +0000 (01:18 +0530)]
mpegtsmux: fix segfault if gst_collect_pads_pop () returns no buffer

In mpegtsmux_choose_best_stream () call if the gst_collect_pads_pop () call
returns no buffer (NULL), the plugin SegFaults in the gst_buffer_unref call.
To fix this we check if a valid buffer is returned before calling
gst_buffer_unref ().

Fixes bug #654416.

13 years agobasevideodecoder: First inform subclass about resetting before resetting/freeing...
Sebastian Dröge [Mon, 11 Jul 2011 10:59:07 +0000 (12:59 +0200)]
basevideodecoder: First inform subclass about resetting before resetting/freeing all internal state

The subclass might want to access the old state.

13 years agobasevideodecoder: Track present position on discont before resetting it
Sebastian Dröge [Mon, 11 Jul 2011 10:36:42 +0000 (12:36 +0200)]
basevideodecoder: Track present position on discont before resetting it

13 years agobasevideodecoder: Also protect the list of pending frames from concurrent access...
Sebastian Dröge [Mon, 11 Jul 2011 09:52:33 +0000 (11:52 +0200)]
basevideodecoder: Also protect the list of pending frames from concurrent access when pushing all pendings events

13 years agobasevideocodec: Protect access to the list of pending frames with the object lock
Sebastian Dröge [Mon, 11 Jul 2011 09:28:40 +0000 (11:28 +0200)]
basevideocodec: Protect access to the list of pending frames with the object lock

This is required if ::finish_frame() and all buffer output happens
on a different thread than the sinkpad streaming thread.

13 years agobasevideodecoder: Set the correct lists to NULL after freeing
Sebastian Dröge [Mon, 11 Jul 2011 07:35:25 +0000 (09:35 +0200)]
basevideodecoder: Set the correct lists to NULL after freeing

13 years agobasevideodecoder: Work with a copy of the GstVideoState in setcaps until the caps...
Sebastian Dröge [Mon, 11 Jul 2011 06:54:53 +0000 (08:54 +0200)]
basevideodecoder: Work with a copy of the GstVideoState in setcaps until the caps are accepted

Also fix a refcount problem with the codec_data.

13 years agobasevideo: Move the utils from the codec header to its own header
Sebastian Dröge [Sat, 9 Jul 2011 09:40:17 +0000 (11:40 +0200)]
basevideo: Move the utils from the codec header to its own header

13 years agovp8enc: Use destroy notify to free the coder hook
Sebastian Dröge [Sat, 9 Jul 2011 09:31:02 +0000 (11:31 +0200)]
vp8enc: Use destroy notify to free the coder hook

13 years agobasevideo: Use GSlice for allocating GstVideoFrame and don't duplicate code in the...
Sebastian Dröge [Sat, 9 Jul 2011 09:09:12 +0000 (11:09 +0200)]
basevideo: Use GSlice for allocating GstVideoFrame and don't duplicate code in the decoder base class

13 years agobasevideodecoder: Don't reorder serialized src events
Sebastian Dröge [Tue, 28 Jun 2011 09:47:25 +0000 (11:47 +0200)]
basevideodecoder: Don't reorder serialized src events

And allow to drop EOS by the subclass if ::finish returns
DROPPED. This requires that the subclass sends EOS manually later.

Fixes bug #653544.

13 years agobasevideo: Add the caps to the GstVideoState and clean up caps/codec_data properly
Sebastian Dröge [Mon, 27 Jun 2011 07:41:40 +0000 (09:41 +0200)]
basevideo: Add the caps to the GstVideoState and clean up caps/codec_data properly

Having access to the caps in ::set_format can be useful if
non-standard caps fields like the h264 alignment must be accessed.

13 years agobasevideo: Add destroy notify for the coder_hook to prevent memory leaks
Sebastian Dröge [Sat, 9 Jul 2011 08:57:52 +0000 (10:57 +0200)]
basevideo: Add destroy notify for the coder_hook to prevent memory leaks

Fixes bug #654293.

13 years agomxfdemux: Properly return seeking errors if the requested position can't be found
Sebastian Dröge [Fri, 8 Jul 2011 09:52:17 +0000 (11:52 +0200)]
mxfdemux: Properly return seeking errors if the requested position can't be found

13 years agointer: add ignore file for intermediate files
Stefan Kost [Thu, 7 Jul 2011 23:00:44 +0000 (16:00 -0700)]
inter: add ignore file for intermediate files

13 years agodocs: add camerabin2 to the docs and update the doc files
Stefan Kost [Thu, 7 Jul 2011 22:59:05 +0000 (15:59 -0700)]
docs: add camerabin2 to the docs and update the doc files

13 years agocamerabin2: don't mess with camerabin (1) namespace
Stefan Kost [Thu, 7 Jul 2011 22:55:59 +0000 (15:55 -0700)]
camerabin2: don't mess with camerabin (1) namespace

Use an extra '2' to stay out of the old namespace.

13 years agodocs: keep section file sorted
Stefan Kost [Thu, 7 Jul 2011 18:11:42 +0000 (11:11 -0700)]
docs: keep section file sorted

13 years agoscaletempo: improve the docs
Stefan Kost [Thu, 7 Jul 2011 17:52:50 +0000 (10:52 -0700)]
scaletempo: improve the docs

Fix the syntax, add more explanation and xref the properties.

13 years agoopus: duplicate from CELT
David Schleef [Sun, 5 Jun 2011 07:54:19 +0000 (00:54 -0700)]
opus: duplicate from CELT

Copy the celt plugin and convert it to Opus.  Mostly works.

13 years agodecklink: HD modes are square pixels
David Schleef [Wed, 6 Jul 2011 22:56:32 +0000 (15:56 -0700)]
decklink: HD modes are square pixels

13 years agodiracparse: make diracparse work correctly
David Schleef [Mon, 4 Jul 2011 23:18:18 +0000 (16:18 -0700)]
diracparse: make diracparse work correctly

13 years agodecklink: properly set up analog input
David Schleef [Mon, 4 Jul 2011 01:32:37 +0000 (18:32 -0700)]
decklink: properly set up analog input

13 years agodecklink: Add more modes
David Schleef [Wed, 29 Jun 2011 06:47:18 +0000 (23:47 -0700)]
decklink: Add more modes

13 years agointer: new intermediate surface plugin
David Schleef [Sat, 4 Jun 2011 02:41:33 +0000 (19:41 -0700)]
inter: new intermediate surface plugin

This set of elements allows easily rendering audio and video to
an intermediate surface that is then used as a source in a different
pipeline.

13 years agocolorspace: Add JPEG YCbCr matrix
David Schleef [Sat, 18 Jun 2011 22:51:54 +0000 (15:51 -0700)]
colorspace: Add JPEG YCbCr matrix

13 years agovp8enc: update for new libvpx api
David Schleef [Sat, 18 Jun 2011 22:56:49 +0000 (15:56 -0700)]
vp8enc: update for new libvpx api

13 years agoy4mdec: Fix buffer duration
David Schleef [Mon, 27 Jun 2011 02:29:24 +0000 (19:29 -0700)]
y4mdec: Fix buffer duration

13 years agovp8enc: generate a timestamp for alt-ref frames.
Alexey Fisher [Sun, 26 Jun 2011 13:15:54 +0000 (15:15 +0200)]
vp8enc: generate a timestamp for alt-ref frames.

It will fix handling of altref/invisible frames since matroska-mux
drop any fram with no timestamp.

see also:
http://www.webmproject.org/code/specs/container/
The encoder will currently set the AR's timestamp as close as possible
to the previous frame while attempting to provide a timestamp that is
strictly increasing. In cases where the time base given to the encoder
at configure time is not granular enough to allow for this the AR
will share the same timestamp as D, but should be
treated as having no duration.

Fixes bug #652951

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
13 years agowininet: Fix configure check by including windows.h
Raimo Järvi [Sat, 25 Jun 2011 20:55:28 +0000 (23:55 +0300)]
wininet: Fix configure check by including windows.h

Fixes bug #653161.

13 years agod3dvideosink: Fix configure check and makefiles
Raimo Järvi [Tue, 7 Jun 2011 10:55:38 +0000 (13:55 +0300)]
d3dvideosink: Fix configure check and makefiles

Fixes bug #652035.

13 years agotta: decrease rank to NONE
David Schleef [Sat, 25 Jun 2011 22:12:45 +0000 (15:12 -0700)]
tta: decrease rank to NONE

Appears to be utterly incapable of parsing and decoding TTA streams.
Hasn't been updated to do TTA2.  If you want this element to work,
fix the bloody thing.  The gst-ffmpeg decoder works fine.

Also fixed an obvious endianness issue along the way.

Fixes: #652924

13 years agovp8dec: add check if we have legal aspect-ratio before reset it.
Alexey Fisher [Sat, 18 Jun 2011 15:47:36 +0000 (17:47 +0200)]
vp8dec: add check if we have legal aspect-ratio before reset it.

the commit f9b552f0494e (vp8dec: set par to 1/1)
will fix situation where no aspect-ratio is set, but it brake
stream with available aspect-ratio. This patch fix it.

Fixes: #652902.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
13 years agocamerabin2: don't use GLib 2.28 API
Tim-Philipp Müller [Thu, 23 Jun 2011 19:11:55 +0000 (20:11 +0100)]
camerabin2: don't use GLib 2.28 API

Don't use GLib 2.28 API, we still only require >= 2.24.

13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:28:53 +0000 (11:28 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agocamerabin2: Set tagsetters to merge replace mode
Thiago Santos [Thu, 23 Jun 2011 01:25:18 +0000 (22:25 -0300)]
camerabin2: Set tagsetters to merge replace mode

The default for tagsetters is to use merge keep mode, so tags
would never be replaced and all captures would have the same tags.

This commit watches all elements added into encodebin and sets
all tagsetters to merge replace mode

13 years agocamerabin2: Use a single location for both modes
Thiago Santos [Wed, 22 Jun 2011 21:58:29 +0000 (18:58 -0300)]
camerabin2: Use a single location for both modes

Implement the location property just like it works in camerabin, the
same location is used for both images and videos

13 years agocamerabin2: Send serialized custom events for filename changes in image sink
Thiago Santos [Wed, 22 Jun 2011 19:27:00 +0000 (16:27 -0300)]
camerabin2: Send serialized custom events for filename changes in image sink

Using serialized custom events for switching image capture saving
location makes camerabin2 save each capture correctly to the location
that was set during the moment start-capture was called, and not
the moment the filesink was writing to disk.

This prevents captures to be overwriten by racyness among start-capture
and setting location for images.

13 years agocamerabin2: No need to change state of the whole image branch
Thiago Santos [Wed, 22 Jun 2011 18:56:26 +0000 (15:56 -0300)]
camerabin2: No need to change state of the whole image branch

We only need to change the state of the filesink to switch its
saving location. This might still cause some problems of dropping
captured buffers, but it is better than changing the state of
the whole branch.

13 years agocamerabin2: Use names for image and video encodebin
Thiago Santos [Wed, 22 Jun 2011 18:37:44 +0000 (15:37 -0300)]
camerabin2: Use names for image and video encodebin

Naming encodebins as image-encodebin and video-encodebin to make
it easier for debugging camerabin2.

13 years agocamerabin2: Remove unused variable
Thiago Santos [Fri, 17 Jun 2011 20:26:37 +0000 (17:26 -0300)]
camerabin2: Remove unused variable

13 years agotests: camerabin2: Adds new test to check image location correctness
Thiago Santos [Fri, 17 Jun 2011 17:32:35 +0000 (14:32 -0300)]
tests: camerabin2: Adds new test to check image location correctness

This new test checks that images are saved with the filename setting
on location on the moment of the start-capture

13 years agocamerabin2: Minor debug message fix
Thiago Santos [Wed, 15 Jun 2011 11:20:31 +0000 (08:20 -0300)]
camerabin2: Minor debug message fix

13 years agoexamples: camerabin2: Adds performance measurement to gst-camerabin2-test
Thiago Santos [Fri, 13 May 2011 14:25:18 +0000 (11:25 -0300)]
examples: camerabin2: Adds performance measurement to gst-camerabin2-test

Adds performance (timing) measure feature to gst-camerabin2-test, it allows
users to specify some target values for commonly measured times and the
application will print out a table of values at the end of its execution
with the measured times and averages of them.

13 years agolegacyh264parse: create correct avc codec-data
Mark Nauwelaerts [Wed, 22 Jun 2011 08:13:38 +0000 (10:13 +0200)]
legacyh264parse: create correct avc codec-data

Fixes #653013.

13 years agolegacyh264parse: fix output caps alignment for avc input
Mark Nauwelaerts [Tue, 21 Jun 2011 10:45:31 +0000 (12:45 +0200)]
legacyh264parse: fix output caps alignment for avc input

... particularly when splitting packetized input.

Fixes #652995.

13 years agoh264parse: avc input must either pass-through or be split into bytestream chunks
Mark Nauwelaerts [Tue, 21 Jun 2011 10:43:41 +0000 (12:43 +0200)]
h264parse: avc input must either pass-through or be split into bytestream chunks

... since parsing code is not meant to receive avc data.

Fixes #653087.

13 years agoh264parse: avoid bogus frame parsing state
Mark Nauwelaerts [Tue, 21 Jun 2011 10:41:47 +0000 (12:41 +0200)]
h264parse: avoid bogus frame parsing state

13 years agodecklink: update DeckLink API wrappers
David Schleef [Mon, 20 Jun 2011 19:47:39 +0000 (12:47 -0700)]
decklink: update DeckLink API wrappers

13 years agodecklink: Add connection type
David Schleef [Mon, 20 Jun 2011 07:38:05 +0000 (00:38 -0700)]
decklink: Add connection type

13 years agodecklinksink: Add audio support
Rafael Diniz [Mon, 6 Jun 2011 04:19:58 +0000 (21:19 -0700)]
decklinksink: Add audio support

Signed-off-by: David Schleef <ds@schleef.org>
13 years agodecklink: Add various features
David Schleef [Mon, 6 Jun 2011 04:24:58 +0000 (21:24 -0700)]
decklink: Add various features

Better mode support, input source property, audio support.

13 years agodecklink: remove unused code
David Schleef [Mon, 6 Jun 2011 04:24:39 +0000 (21:24 -0700)]
decklink: remove unused code

13 years agodecklink: reindent
David Schleef [Mon, 6 Jun 2011 04:17:04 +0000 (21:17 -0700)]
decklink: reindent

13 years agotsdemux: only free the index array if it exists
Thiago Santos [Fri, 17 Jun 2011 19:12:00 +0000 (16:12 -0300)]
tsdemux: only free the index array if it exists

Only free the array if it exists.

Contains an unrelated indentation fix, courtesy of gst-indent

13 years agoupdate docs generated files
Jan Schmidt [Fri, 17 Jun 2011 15:11:05 +0000 (01:11 +1000)]
update docs generated files

13 years agoRTMP: add rtmpsink element for output to an RTMP server
Jan Schmidt [Fri, 17 Jun 2011 15:09:51 +0000 (01:09 +1000)]
RTMP: add rtmpsink element for output to an RTMP server

13 years agotests: add colorspace unit test
Mark Nauwelaerts [Thu, 16 Jun 2011 15:17:07 +0000 (17:17 +0200)]
tests: add colorspace unit test

Compares colorspace result with ffmpegcolorspace output using SSIM.
Also probes for possible crashes for odd width and height image by applying
all possible colorspace transformations.

13 years agodebugutils: add compare element
Mark Nauwelaerts [Fri, 17 Jun 2011 10:10:06 +0000 (12:10 +0200)]
debugutils: add compare element

13 years agocolorspace: fix odd width and height handling in some fastpath cases
Mark Nauwelaerts [Wed, 15 Jun 2011 16:20:48 +0000 (18:20 +0200)]
colorspace: fix odd width and height handling in some fastpath cases

13 years agoshm: Improve documentation of internal shmpipe
Olivier Crête [Thu, 16 Jun 2011 23:06:03 +0000 (19:06 -0400)]
shm: Improve documentation of internal shmpipe

13 years agowininetsrc: don't use G_CONST_RETURN
Tim-Philipp Müller [Mon, 13 Jun 2011 10:12:36 +0000 (11:12 +0100)]
wininetsrc: don't use G_CONST_RETURN

It's going to be deprecated really soon.

13 years agovideoparsers: Speed up the start code search algorithm
Edward Hervey [Sun, 12 Jun 2011 10:55:40 +0000 (12:55 +0200)]
videoparsers: Speed up the start code search algorithm

Based on 96a7f9c8b1195129f0c2157cbbcbaa6cab45056e

Makes it 3-4 times faster

13 years agovideoparsers: Fix sink pad template
Edward Hervey [Sun, 12 Jun 2011 10:40:15 +0000 (12:40 +0200)]
videoparsers: Fix sink pad template

no wonder it was never picked up ...

13 years agotsdemux: Don't free unexistent PAT
Edward Hervey [Sun, 12 Jun 2011 09:27:30 +0000 (11:27 +0200)]
tsdemux: Don't free unexistent PAT

And cleanup find_timestamps a bit

13 years agotsdemux: More fixes to handle non-188 byte packets
Edward Hervey [Wed, 18 May 2011 17:33:45 +0000 (19:33 +0200)]
tsdemux: More fixes to handle non-188 byte packets

13 years agompegts: Stop scanning for keyframes as early as possible
Edward Hervey [Sun, 15 May 2011 12:04:45 +0000 (14:04 +0200)]
mpegts: Stop scanning for keyframes as early as possible

13 years agompegtsdemux: always try to seek for to a keyframe
Janne Grunau [Thu, 31 Mar 2011 12:36:02 +0000 (14:36 +0200)]
mpegtsdemux: always try to seek for to a keyframe

keyframe is expected to lie in the the next ~2500 ms

13 years agompegtsdemux: fix timestamps in newsegement event after seeking
Janne Grunau [Wed, 23 Mar 2011 17:50:25 +0000 (18:50 +0100)]
mpegtsdemux: fix timestamps in newsegement event after seeking

13 years agompegtsdemux: payload parsing for H.264
Janne Grunau [Wed, 30 Mar 2011 09:26:18 +0000 (11:26 +0200)]
mpegtsdemux: payload parsing for H.264

13 years agompegtsdemux: implement key_unit seeking for MPEG2 video
Janne Grunau [Mon, 28 Mar 2011 08:20:43 +0000 (10:20 +0200)]
mpegtsdemux: implement key_unit seeking for MPEG2 video

13 years agompegtsdemux: accurate seeking
Janne Grunau [Tue, 22 Mar 2011 15:49:13 +0000 (16:49 +0100)]
mpegtsdemux: accurate seeking

 * pes header parsing for pts is ugly, refactor
 * timestamps/newsegment after seeking is still off

13 years agompegtsdemux: push based seeking based on PCR
Janne Grunau [Tue, 22 Feb 2011 11:33:56 +0000 (12:33 +0100)]
mpegtsdemux: push based seeking based on PCR

buffer timestamps are converted to GstClockTime to cover pcr/pts wraps.
multiple pcr/pts wraps are handled with an index which ensures at most
a single pcr wraparound between two entries.
the last seen pcr is recorded to have a nearby index point for short seeks
resuming playback might be delayed if the postion is not a keyframe

TODO: replace manual packet scanning and parsing in the initial duration estimation

13 years agompegtsdemux: create function for pcr parsing
Janne Grunau [Wed, 23 Feb 2011 14:21:22 +0000 (15:21 +0100)]
mpegtsdemux: create function for pcr parsing

13 years agompegtsdemux: adaptation field length == 0 is valid
Janne Grunau [Mon, 11 Apr 2011 12:53:28 +0000 (14:53 +0200)]
mpegtsdemux: adaptation field length == 0 is valid

it can be used to insert a single stuffing byte
do not parse the following payload as adaptation field

13 years agoAdd gst/invtelecine to CRUFT_DIRS
Tim-Philipp Müller [Tue, 7 Jun 2011 13:14:36 +0000 (14:14 +0100)]
Add gst/invtelecine to CRUFT_DIRS

13 years agoconfigure: require GLib >= 2.24
Tim-Philipp Müller [Tue, 7 Jun 2011 12:44:08 +0000 (13:44 +0100)]
configure: require GLib >= 2.24

Make implicit requirement explicit.

13 years agotests: add a test for baseaudiovisualizer
Stefan Kost [Mon, 6 Jun 2011 12:23:22 +0000 (15:23 +0300)]
tests: add a test for baseaudiovisualizer

13 years agobaseaudiovisualizer: fix last block condition
Stefan Kost [Mon, 6 Jun 2011 12:20:30 +0000 (15:20 +0300)]
baseaudiovisualizer: fix last block condition

Also push out the last frame if we have exact amount of samples. Fix the adapter
flushing to not cause endless loops. Drop a redundant avail() check.

13 years agoaudiovisualizers: add a README with comments and plans
Stefan Kost [Sat, 4 Jun 2011 17:41:49 +0000 (20:41 +0300)]
audiovisualizers: add a README with comments and plans

13 years agodocs: update inspect files
Stefan Kost [Sat, 4 Jun 2011 17:34:20 +0000 (20:34 +0300)]
docs: update inspect files

13 years agodocs: add new audiovisualizers to the plugin docs
Stefan Kost [Sat, 4 Jun 2011 13:12:40 +0000 (16:12 +0300)]
docs: add new audiovisualizers to the plugin docs

13 years agoaudiovisualizers: remove some not needed boilerplate
Stefan Kost [Sat, 4 Jun 2011 12:56:15 +0000 (15:56 +0300)]
audiovisualizers: remove some not needed boilerplate

13 years agoaudiovisualizers: add a spacescope element
Stefan Kost [Sat, 4 Jun 2011 12:52:44 +0000 (15:52 +0300)]
audiovisualizers: add a spacescope element

Add another element that maps left/right channel to x,y coordinates.

13 years agosynaescope: tweak the algorithm
Stefan Kost [Sat, 4 Jun 2011 12:38:46 +0000 (15:38 +0300)]
synaescope: tweak the algorithm

Speed-up the calculation a bit. Keep a few values as doubles. Tune the scaling
to get nices colors.

13 years agoaudiovisualizers: doc-blob and comment updates
Stefan Kost [Sat, 4 Jun 2011 11:37:04 +0000 (14:37 +0300)]
audiovisualizers: doc-blob and comment updates

13 years agoaudiovisualizers: rename baseclass from basescope to baseaudiovisualizer
Stefan Kost [Sat, 4 Jun 2011 11:33:29 +0000 (14:33 +0300)]
audiovisualizers: rename baseclass from basescope to baseaudiovisualizer

13 years agoaudiovisualizers: rename scopes plugin to audiovisualizers
Stefan Kost [Sat, 4 Jun 2011 11:25:57 +0000 (14:25 +0300)]
audiovisualizers: rename scopes plugin to audiovisualizers

13 years agoscopes: fix elements descriptions
Stefan Kost [Tue, 31 May 2011 11:42:55 +0000 (14:42 +0300)]
scopes: fix elements descriptions

13 years agospectrascope: use add_pixel for non-white pixels
Stefan Kost [Mon, 30 May 2011 20:45:17 +0000 (23:45 +0300)]
spectrascope: use add_pixel for non-white pixels

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agoscopes: add a new element similar to synaesthesia
Stefan Kost [Mon, 30 May 2011 20:36:42 +0000 (23:36 +0300)]
scopes: add a new element similar to synaesthesia

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agoscopes: draw pixels with signle 32bit writes
Stefan Kost [Sat, 28 May 2011 20:22:59 +0000 (23:22 +0300)]
scopes: draw pixels with signle 32bit writes

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agobasescope: add more shading effects
Stefan Kost [Sat, 28 May 2011 11:36:51 +0000 (14:36 +0300)]
basescope: add more shading effects

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agobasescope: add a property to modify the ammount of shading
Stefan Kost [Sat, 28 May 2011 11:08:05 +0000 (14:08 +0300)]
basescope: add a property to modify the ammount of shading

Add another property to specify the shading per color channel. Fix endianess
issues in the shading code.

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agobasescope: add a backbuffer and apply shading effects
Stefan Kost [Fri, 27 May 2011 20:25:00 +0000 (23:25 +0300)]
basescope: add a backbuffer and apply shading effects

Keep the last frame and apply shade and geometry effects. Expose the shading
effects as a controllable gobject property on the baseclass.

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agobasescope: allow subclasses telling how many sample they need per frame
Stefan Kost [Fri, 27 May 2011 20:12:00 +0000 (23:12 +0300)]
basescope: allow subclasses telling how many sample they need per frame

This allows e.g. FFT based elements to require enough data. If they need more
data than what we get, we flush less from the adapter.

https://bugzilla.gnome.org/show_bug.cgi?id=651536

13 years agobasescope: remove some comments
Stefan Kost [Fri, 27 May 2011 19:53:10 +0000 (22:53 +0300)]
basescope: remove some comments

Those comments where pointing to example calls that we do in the subclass.

https://bugzilla.gnome.org/show_bug.cgi?id=651536