platform/upstream/gst-plugins-good.git
14 years agojpegdec: optimise buffer scanning
Mark Nauwelaerts [Thu, 29 Apr 2010 14:26:49 +0000 (16:26 +0200)]
jpegdec: optimise buffer scanning

Specifically, when needing more data, do not rescan from start next time
around, but resume from last position.

See also #583047.

14 years agojpegdec: disregard superfluous lines when indirect decoding
Mark Nauwelaerts [Thu, 29 Apr 2010 13:38:49 +0000 (15:38 +0200)]
jpegdec: disregard superfluous lines when indirect decoding

14 years agojpegdec: add support for RGB and grayscale color space
Mark Nauwelaerts [Tue, 27 Apr 2010 13:44:39 +0000 (15:44 +0200)]
jpegdec: add support for RGB and grayscale color space

Also refactor src caps negotiation and setting.

14 years agojpegenc: support more colour spaces and some cleanups
Mark Nauwelaerts [Tue, 27 Apr 2010 10:19:22 +0000 (12:19 +0200)]
jpegenc: support more colour spaces and some cleanups

14 years agojpegenc: more generic sink getcaps
Mark Nauwelaerts [Fri, 30 Apr 2010 10:47:01 +0000 (12:47 +0200)]
jpegenc: more generic sink getcaps

14 years agojpegdec: more sanity checks on input
Mark Nauwelaerts [Fri, 30 Apr 2010 10:42:42 +0000 (12:42 +0200)]
jpegdec: more sanity checks on input

Specifically, verify input components / colour space is as code
subsequently expects, thereby avoiding crashes or otherwise bogus output.
Presently, that means 3 components YCbCr colour space, and somewhat
limited sampling factors.

Fixes #600553.

14 years agortptheoradepay: also accept in-band configuration
Mark Nauwelaerts [Thu, 22 Apr 2010 10:28:22 +0000 (12:28 +0200)]
rtptheoradepay: also accept in-band configuration

Fixes #574416 (theora).

14 years agortpvorbisdepay: also accept in-line configuration
Mark Nauwelaerts [Thu, 22 Apr 2010 10:27:35 +0000 (12:27 +0200)]
rtpvorbisdepay: also accept in-line configuration

Fixes #574416 (vorbis).

14 years agortptheoradepay: Ignore packets without a known codebook
Olivier Crête [Wed, 7 Apr 2010 21:21:55 +0000 (17:21 -0400)]
rtptheoradepay: Ignore packets without a known codebook

Don't produce an error if a packet is received without a valid codebook,
it's possible that the codebook will just be coming later.

See #574416.

14 years agoy4menc: adjust unit test to element behaviour
Mark Nauwelaerts [Tue, 20 Apr 2010 10:17:26 +0000 (12:17 +0200)]
y4menc: adjust unit test to element behaviour

14 years agoy4menc: add 4:2:2, 4:1:1, and 4:4:4 output support
Benjamin M. Schwartz [Wed, 24 Feb 2010 03:16:39 +0000 (22:16 -0500)]
y4menc: add 4:2:2, 4:1:1, and 4:4:4 output support

Fixes #610902.

14 years agortph264depay: DELTA_UNIT marking of output buffers
Mark Nauwelaerts [Thu, 15 Apr 2010 10:21:56 +0000 (12:21 +0200)]
rtph264depay: DELTA_UNIT marking of output buffers

... which evidently makes (most) sense if output buffers are
actually frames.

Partially based on a patch by
Miguel Angel Cabrera <mad_aluche at hotmail.com>

Fixes #609658.

14 years agortph263depay: extra keyframe info from PTYPE header
Mark Nauwelaerts [Fri, 16 Apr 2010 15:21:50 +0000 (17:21 +0200)]
rtph263depay: extra keyframe info from PTYPE header

... as opposed to taking it from h263 payload header, which need not
be so reliable.

Fixes #610172.

14 years agortph263depay: also use Picture Start Code to detect packet loss
Mark Nauwelaerts [Fri, 16 Apr 2010 15:08:47 +0000 (17:08 +0200)]
rtph263depay: also use Picture Start Code to detect packet loss

This ensures a whole frame is dropped if a (start) packet is lost,
rather than relying only on the DISCONT flag.

14 years agortph263depay: detect frame start using Picture Start Code
Mark Nauwelaerts [Fri, 16 Apr 2010 15:06:11 +0000 (17:06 +0200)]
rtph263depay: detect frame start using Picture Start Code

So we stop dropping fragments as soon as there is a picture start (code).
In particular, this prevents dropping the first frame following
initial DISCONT.

14 years agortph263depay: handle a few FIXMEs
Mark Nauwelaerts [Fri, 16 Apr 2010 14:34:06 +0000 (16:34 +0200)]
rtph263depay: handle a few FIXMEs

14 years agortph263depay: slightly refactor payload dropping
Mark Nauwelaerts [Fri, 16 Apr 2010 14:27:25 +0000 (16:27 +0200)]
rtph263depay: slightly refactor payload dropping

14 years agortph263pay: use found GOBs to apply Mode A payloading
Mark Nauwelaerts [Fri, 16 Apr 2010 09:53:17 +0000 (11:53 +0200)]
rtph263pay: use found GOBs to apply Mode A payloading

... rather than falling back to sending the whole frame in one packet
if number of GOB startcodes < maximum.
One might take this further and still perform Mode B/C payloading,
but at least this should cater for decent fragments in typical cases.

Fixes #599585.

14 years agomatroskademux: implement push mode seeking
Mark Nauwelaerts [Wed, 14 Apr 2010 09:53:46 +0000 (11:53 +0200)]
matroskademux: implement push mode seeking

14 years agodocs: update for videofilter plugin merge and add gtk-doc blurb for new property
Tim-Philipp Müller [Thu, 29 Apr 2010 19:08:43 +0000 (20:08 +0100)]
docs: update for videofilter plugin merge and add gtk-doc blurb for new property

14 years agodeinterlace: Improve segment handling a bit
Sebastian Dröge [Mon, 26 Apr 2010 16:12:46 +0000 (18:12 +0200)]
deinterlace: Improve segment handling a bit

14 years agodeinterlace: Order caps by amount of contained information
Sebastian Dröge [Mon, 26 Apr 2010 16:05:00 +0000 (18:05 +0200)]
deinterlace: Order caps by amount of contained information

14 years agodeinterlace: Properly set interlaced field in getcaps
Sebastian Dröge [Mon, 26 Apr 2010 15:25:38 +0000 (17:25 +0200)]
deinterlace: Properly set interlaced field in getcaps

14 years agodeinterlace: Add planar YUV support to all other simple methods
Sebastian Dröge [Sat, 24 Apr 2010 14:28:12 +0000 (16:28 +0200)]
deinterlace: Add planar YUV support to all other simple methods

14 years agodeinterlace: Add planar YUV support to greedyh method
Sebastian Dröge [Sat, 24 Apr 2010 14:10:06 +0000 (16:10 +0200)]
deinterlace: Add planar YUV support to greedyh method

14 years agodeinterlace: Add support for planar YUV formats in greedyl method
Sebastian Dröge [Sat, 24 Apr 2010 13:42:07 +0000 (15:42 +0200)]
deinterlace: Add support for planar YUV formats in greedyl method

14 years agodeinterlace: Add support for Y444, Y42B, I420, YV12 and Y41B
Sebastian Dröge [Sat, 24 Apr 2010 11:58:03 +0000 (13:58 +0200)]
deinterlace: Add support for Y444, Y42B, I420, YV12 and Y41B

The vfir method supports them and will be used until something else
supports it.

14 years agodeinterlace: Define deinterlace method base classes as abstract types
Sebastian Dröge [Sat, 24 Apr 2010 07:16:22 +0000 (09:16 +0200)]
deinterlace: Define deinterlace method base classes as abstract types

14 years agodeinterlace: Move deinterlacing methods to their own file
Sebastian Dröge [Fri, 23 Apr 2010 15:40:10 +0000 (17:40 +0200)]
deinterlace: Move deinterlacing methods to their own file

14 years agodeinterlace: Simplify passthrough mode detection
Sebastian Dröge [Fri, 23 Apr 2010 15:25:12 +0000 (17:25 +0200)]
deinterlace: Simplify passthrough mode detection

14 years agodeinterlace: Fix unit test that checks caps handling
Sebastian Dröge [Fri, 23 Apr 2010 12:35:44 +0000 (14:35 +0200)]
deinterlace: Fix unit test that checks caps handling

deinterlace now always adds the interlaced field to the output caps,
if it wasn't present in the input caps the output caps will still
contain interlaced=false.

14 years agodeinterlace: Refactor deinterlacing as preparation for supporting more color formats
Sebastian Dröge [Wed, 21 Apr 2010 15:00:05 +0000 (17:00 +0200)]
deinterlace: Refactor deinterlacing as preparation for supporting more color formats

14 years agovideobox: Add support for Y444, Y42B and Y41B
Sebastian Dröge [Thu, 22 Apr 2010 17:05:37 +0000 (19:05 +0200)]
videobox: Add support for Y444, Y42B and Y41B

14 years agovideobox: Add support for YVYU and reorder template caps
Sebastian Dröge [Thu, 22 Apr 2010 13:54:21 +0000 (15:54 +0200)]
videobox: Add support for YVYU and reorder template caps

14 years agovideobox: Translate navigation events to make sense again upstream
Sebastian Dröge [Sun, 18 Apr 2010 19:11:21 +0000 (21:11 +0200)]
videobox: Translate navigation events to make sense again upstream

14 years agovideobox: Properly handle ranges/lists of width or height when transforming caps
Sebastian Dröge [Sun, 18 Apr 2010 18:58:14 +0000 (20:58 +0200)]
videobox: Properly handle ranges/lists of width or height when transforming caps

Code partly taken from the videocrop element.

14 years agoalpha: Fix planar YUV->RGB processing
Sebastian Dröge [Thu, 22 Apr 2010 13:45:15 +0000 (15:45 +0200)]
alpha: Fix planar YUV->RGB processing

14 years agoalpha: Correctly clamp after YUV->RGB conversion
Sebastian Dröge [Thu, 22 Apr 2010 13:42:03 +0000 (15:42 +0200)]
alpha: Correctly clamp after YUV->RGB conversion

14 years agoalpha: Add support for YUY2, YVYU and UYVY
Sebastian Dröge [Thu, 22 Apr 2010 13:20:24 +0000 (15:20 +0200)]
alpha: Add support for YUY2, YVYU and UYVY

14 years agovideobox: Sync properties to the controller in before_transform
Sebastian Dröge [Sun, 18 Apr 2010 13:02:42 +0000 (15:02 +0200)]
videobox: Sync properties to the controller in before_transform

14 years agovideobox: Add support for YUY2 and UYUV
Sebastian Dröge [Fri, 16 Apr 2010 15:00:02 +0000 (17:00 +0200)]
videobox: Add support for YUY2 and UYUV

14 years agoalpha: Refactor processing and add support for other planar YUV formats
Sebastian Dröge [Wed, 21 Apr 2010 15:41:43 +0000 (17:41 +0200)]
alpha: Refactor processing and add support for other planar YUV formats

This reduces the generated code size by a factor of 2.5.

14 years agoalpha: Add support for YV12 input
Sebastian Dröge [Wed, 21 Apr 2010 15:15:33 +0000 (17:15 +0200)]
alpha: Add support for YV12 input

14 years agovideomixer: Add support for YUY2, YVYU, UYVY
Sebastian Dröge [Thu, 22 Apr 2010 11:56:58 +0000 (13:56 +0200)]
videomixer: Add support for YUY2, YVYU, UYVY

14 years agovideomixer: Add support for Y444, Y42B, Y41B and YV12
Sebastian Dröge [Tue, 20 Apr 2010 10:18:18 +0000 (12:18 +0200)]
videomixer: Add support for Y444, Y42B, Y41B and YV12

14 years agovideofilter: Order color formats by their contained amount of information
Sebastian Dröge [Wed, 21 Apr 2010 15:07:10 +0000 (17:07 +0200)]
videofilter: Order color formats by their contained amount of information

14 years agovideoflip: Drop Y41B/Y42B support
Sebastian Dröge [Tue, 20 Apr 2010 16:22:16 +0000 (18:22 +0200)]
videoflip: Drop Y41B/Y42B support

Rotating 90°/270° with subsampled YUV where horizontal
and vertical subsampling are different doesn't really work.

14 years agovideoflip: Also flip the pixel-aspect-ratio if width/height are exchanged
Sebastian Dröge [Mon, 19 Apr 2010 12:37:54 +0000 (14:37 +0200)]
videoflip: Also flip the pixel-aspect-ratio if width/height are exchanged

14 years agovideofilter: Extend the unit test to test different color formats
Sebastian Dröge [Sun, 18 Apr 2010 21:08:14 +0000 (23:08 +0200)]
videofilter: Extend the unit test to test different color formats

14 years agovideofilter: Add some more tests
Sebastian Dröge [Sun, 18 Apr 2010 20:55:36 +0000 (22:55 +0200)]
videofilter: Add some more tests

These check different property combinations

14 years agovideoflip: Change the default method to identity
Sebastian Dröge [Sun, 18 Apr 2010 20:54:23 +0000 (22:54 +0200)]
videoflip: Change the default method to identity

14 years agovideobalance: Reduce number of allocations per instance
Sebastian Dröge [Sun, 18 Apr 2010 20:50:20 +0000 (22:50 +0200)]
videobalance: Reduce number of allocations per instance

14 years agovideofilter: Update last-reviewed comments
Sebastian Dröge [Sun, 18 Apr 2010 20:45:58 +0000 (22:45 +0200)]
videofilter: Update last-reviewed comments

14 years agovideobalance: Add support for all RGB formats
Sebastian Dröge [Sun, 18 Apr 2010 20:40:55 +0000 (22:40 +0200)]
videobalance: Add support for all RGB formats

14 years agovideobalance: Add support for YUY2, UYVY, AYUV and YVYU
Sebastian Dröge [Sun, 18 Apr 2010 20:28:17 +0000 (22:28 +0200)]
videobalance: Add support for YUY2, UYVY, AYUV and YVYU

14 years agovideobalance: Add debug category
Sebastian Dröge [Sun, 18 Apr 2010 20:23:03 +0000 (22:23 +0200)]
videobalance: Add debug category

14 years agovideobalance: Make property access threadsafe
Sebastian Dröge [Sun, 18 Apr 2010 20:19:55 +0000 (22:19 +0200)]
videobalance: Make property access threadsafe

14 years agovideobalance: Add support for Y41B, Y42B and Y444
Sebastian Dröge [Sun, 18 Apr 2010 20:18:24 +0000 (22:18 +0200)]
videobalance: Add support for Y41B, Y42B and Y444

14 years agovideobalance: Use libgstvideo for format specific things
Sebastian Dröge [Sun, 18 Apr 2010 20:17:02 +0000 (22:17 +0200)]
videobalance: Use libgstvideo for format specific things

14 years agovideobalance: Make properties controllable
Sebastian Dröge [Sun, 18 Apr 2010 20:09:06 +0000 (22:09 +0200)]
videobalance: Make properties controllable

14 years agovideobalance: Emit "value-changed" signal of color balance interface when values...
Sebastian Dröge [Sun, 18 Apr 2010 20:06:44 +0000 (22:06 +0200)]
videobalance: Emit "value-changed" signal of color balance interface when values change

14 years agovideobalance: Some random cleanup
Sebastian Dröge [Sun, 18 Apr 2010 19:58:13 +0000 (21:58 +0200)]
videobalance: Some random cleanup

14 years agovideobalance: Stop using liboil
Sebastian Dröge [Sun, 18 Apr 2010 19:37:23 +0000 (21:37 +0200)]
videobalance: Stop using liboil

The used liboil function is deprecated and has no optimized
implementation anyway.

14 years agovideoflip: Make property access threadsafe
Sebastian Dröge [Sun, 18 Apr 2010 19:14:11 +0000 (21:14 +0200)]
videoflip: Make property access threadsafe

14 years agogamma: Sync properties to the controller in before_transform
Sebastian Dröge [Sun, 18 Apr 2010 13:00:36 +0000 (15:00 +0200)]
gamma: Sync properties to the controller in before_transform

14 years agovideoflip: Add support for all RGB formats and AYUV
Sebastian Dröge [Sun, 18 Apr 2010 12:46:09 +0000 (14:46 +0200)]
videoflip: Add support for all RGB formats and AYUV

14 years agovideoflip: Add support for Y41B, Y42B and Y444
Sebastian Dröge [Sun, 18 Apr 2010 12:31:36 +0000 (14:31 +0200)]
videoflip: Add support for Y41B, Y42B and Y444

14 years agovideoflip: Make processing more general and use libgstvideo for all format specific...
Sebastian Dröge [Sun, 18 Apr 2010 12:29:30 +0000 (14:29 +0200)]
videoflip: Make processing more general and use libgstvideo for all format specific things

14 years agovideoflip: Make method property controllable and improve debug output
Sebastian Dröge [Sun, 18 Apr 2010 11:12:40 +0000 (13:12 +0200)]
videoflip: Make method property controllable and improve debug output

14 years agovideoflip: Some random cleanup
Sebastian Dröge [Sun, 18 Apr 2010 11:03:48 +0000 (13:03 +0200)]
videoflip: Some random cleanup

14 years agovideofilter: Move all elements into a single plugin
Sebastian Dröge [Sun, 18 Apr 2010 08:17:52 +0000 (10:17 +0200)]
videofilter: Move all elements into a single plugin

Having all these small elements in a separate plugin
is not very memory effective...

14 years agogamma: Improve docs a bit
Sebastian Dröge [Sun, 18 Apr 2010 08:07:24 +0000 (10:07 +0200)]
gamma: Improve docs a bit

14 years agogamma: Add support for all RGB formats
Sebastian Dröge [Sun, 18 Apr 2010 07:59:43 +0000 (09:59 +0200)]
gamma: Add support for all RGB formats

14 years agogamma: Add support for many packed YUV formats
Sebastian Dröge [Sun, 18 Apr 2010 07:46:15 +0000 (09:46 +0200)]
gamma: Add support for many packed YUV formats

That is YUY2, UYVY, AYUV and YVYU.

14 years agogamma: Add support for all other planar YUV formats
Sebastian Dröge [Sun, 18 Apr 2010 07:38:36 +0000 (09:38 +0200)]
gamma: Add support for all other planar YUV formats

That is Y41B, Y42B, Y444, NV12 and NV21.

14 years agogamma: Stop using liboil
Sebastian Dröge [Sun, 18 Apr 2010 07:33:49 +0000 (09:33 +0200)]
gamma: Stop using liboil

The used liboil function is deprecated, only has a reference implementation
and is more complex than what's needed here.

14 years agogamma: Use libgstvideo for format specific values and make gamma processing more...
Sebastian Dröge [Sat, 17 Apr 2010 16:13:46 +0000 (18:13 +0200)]
gamma: Use libgstvideo for format specific values and make gamma processing more generic

Allows us to easily add support for new color formats later.

14 years agogamma: Make gamma property controllable
Sebastian Dröge [Sat, 17 Apr 2010 16:01:06 +0000 (18:01 +0200)]
gamma: Make gamma property controllable

...and properly use liboil.

14 years agogamma: Some random cleanup
Sebastian Dröge [Sat, 17 Apr 2010 15:55:22 +0000 (17:55 +0200)]
gamma: Some random cleanup

14 years agosmptealpha: Sync properties to the controller in before_transform
Sebastian Dröge [Mon, 19 Apr 2010 12:45:33 +0000 (14:45 +0200)]
smptealpha: Sync properties to the controller in before_transform

14 years agosmptealpha: Add support for YV12 (converted to AYUV)
Sebastian Dröge [Sat, 17 Apr 2010 15:47:05 +0000 (17:47 +0200)]
smptealpha: Add support for YV12 (converted to AYUV)

14 years agosmptealpha: Add support for all 4 ARGB formats
Sebastian Dröge [Sat, 17 Apr 2010 15:43:51 +0000 (17:43 +0200)]
smptealpha: Add support for all 4 ARGB formats

...without format conversion.

14 years agosmptealpha: Make color format support more generic
Sebastian Dröge [Fri, 16 Apr 2010 15:27:02 +0000 (17:27 +0200)]
smptealpha: Make color format support more generic

This allows easier addition of new formats later.

14 years agosmptealpha: Some random cleanup
Sebastian Dröge [Fri, 16 Apr 2010 15:18:15 +0000 (17:18 +0200)]
smptealpha: Some random cleanup

14 years agosmpte: Add property for inverting the transition mask
Sebastian Dröge [Thu, 15 Apr 2010 20:28:58 +0000 (22:28 +0200)]
smpte: Add property for inverting the transition mask

This converts a left-to-right transition to right-to-left or
clock-wise to counter-clock-wise.

14 years agosmptealpha: Correctly detect property changes and update properties
Sebastian Dröge [Thu, 15 Apr 2010 20:27:57 +0000 (22:27 +0200)]
smptealpha: Correctly detect property changes and update properties

14 years agoqcelpdepay: add first version of a QCELP depayloader
Wim Taymans [Fri, 16 Apr 2010 17:35:12 +0000 (19:35 +0200)]
qcelpdepay: add first version of a QCELP depayloader

14 years agoBack to development.
Tim-Philipp Müller [Thu, 29 Apr 2010 14:18:07 +0000 (15:18 +0100)]
Back to development.

14 years agoRelease 0.10.22 RELEASE-0.10.22
Tim-Philipp Müller [Wed, 28 Apr 2010 01:58:02 +0000 (02:58 +0100)]
Release 0.10.22

14 years agoUpdate .po files
Tim-Philipp Müller [Wed, 28 Apr 2010 01:57:21 +0000 (02:57 +0100)]
Update .po files

14 years ago0.10.21.3 pre-release
Tim-Philipp Müller [Sun, 25 Apr 2010 22:36:29 +0000 (23:36 +0100)]
0.10.21.3 pre-release

14 years agoflvmux: hide is-live property for release
Tim-Philipp Müller [Sun, 25 Apr 2010 20:19:33 +0000 (21:19 +0100)]
flvmux: hide is-live property for release

At the very least it needs a better/less wrong name.

See #613066.

14 years agojpegdec: don't crash if jpeg image contains more than three components
Tim-Philipp Müller [Sun, 25 Apr 2010 14:12:20 +0000 (15:12 +0100)]
jpegdec: don't crash if jpeg image contains more than three components

Our code currently only handles a maximum of 3 components, so error
out for now if the image has more components than that.

Fixes #604106.

14 years agodoap: update repository info from cvs->git and maintainers
Tim-Philipp Müller [Tue, 20 Apr 2010 16:21:29 +0000 (17:21 +0100)]
doap: update repository info from cvs->git and maintainers

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 23 Apr 2010 13:40:20 +0000 (14:40 +0100)]
Automatic update of common submodule

From fc85867 to 4d67bd6

14 years agovideomixer: Fix byte order for MMX ARGB/AYUV color filling
Sebastian Dröge [Thu, 22 Apr 2010 11:30:55 +0000 (13:30 +0200)]
videomixer: Fix byte order for MMX ARGB/AYUV color filling

Fixes bug #616409.

14 years agovideomixer: Fix AYUV checker/color filling
Sebastian Dröge [Wed, 21 Apr 2010 15:53:49 +0000 (17:53 +0200)]
videomixer: Fix AYUV checker/color filling

14 years agovideomixer: Add i387 floating point registers to the clobbered registers list
Sebastian Dröge [Mon, 19 Apr 2010 14:43:28 +0000 (16:43 +0200)]
videomixer: Add i387 floating point registers to the clobbered registers list

They are the same as the mm0-mm7 MMX registers and will be overwritten
by the assembly code if gcc doesn't know about the MMX registers.

Note: They're all added to the list of clobbered registers in all cases
and not only when __MMX__ is not defined just to make sure that no other
bugs happen with this code just because some compiler version gets things
wrong.

Fixes bug #614466.

14 years agovideobox: Use libgstvideo to get the order of RGB
Sebastian Dröge [Mon, 19 Apr 2010 12:09:34 +0000 (14:09 +0200)]
videobox: Use libgstvideo to get the order of RGB

14 years agogoom: add edx to clobber list in inline assembly code
Brian Cameron [Sat, 17 Apr 2010 09:06:41 +0000 (10:06 +0100)]
goom: add edx to clobber list in inline assembly code

mull modifies %edx, so should be mentioned in clobber list.
Fixes crash on Solaris (#615998).