Wim Taymans
b3e5d55040
videoscale: remove redundant MAX
...
The checks above make it inpossible for the value to be smaller than
what we check against with the MAX call.
2013-09-12 12:27:19 +02:00
Wim Taymans
a156fe4a1a
videoscale: fix RGB15 masks
2013-09-10 16:24:56 +02:00
Wim Taymans
85c572a57e
videoscale: simplify YUYV and UYVY linear scaling
...
Simplify the code and make it handle odd width
2013-09-10 16:24:56 +02:00
Wim Taymans
ccf53052a0
videoscale: small cleanups
...
Use BLEND macro
Fix NV12 corner case
2013-09-10 16:24:56 +02:00
Wim Taymans
d365b68517
videoscale: fix RGB15 masks
2013-09-10 16:24:56 +02:00
Wim Taymans
d7c02f389f
videoscale: simplify nearest scaling
...
Round the accumulator to avoid later checks
Remove some bound checks that would never trigger
Fix odd width scaling
2013-09-10 16:24:56 +02:00
Wim Taymans
c8cbcb6f02
videoscale: pick nearest line in scaling
...
Use rounding to pick the nearest line instead of rounding down.
2013-09-10 16:24:55 +02:00
Sebastian Dröge
ff5d3313d4
Release 1.1.1
2013-06-05 18:31:27 +02:00
Tim-Philipp Müller
f5c0d61be7
Update disted orc backup files
...
Generated with 0.4.17 now.
2013-04-22 13:58:33 +01:00
Sebastian Dröge
948a4a3632
gst: Add better support for static plugins
2013-04-15 15:52:58 +02:00
Sebastian Dröge
882677eb8e
videoscale: Allow passthrough for ANY caps features
2013-04-08 08:30:38 +02:00
David Schleef
c07efdabd8
videoscale: set reasonable limits on properties
...
Properties sharpen, sharpness, and envelope are only useful
near their default values. Decrease ranges to avoid brokenness.
https://bugzilla.gnome.org/show_bug.cgi?id=682171
2013-04-06 13:19:44 -07:00
Stefan Sauer
c2b34b05de
videoscale: set min value to DBL_MIN to avoid a value of 0.0 that would crash
2013-04-05 22:39:43 +02:00
Sebastian Dröge
575f0640ed
videoscale: Let the add-borders property default to TRUE
...
It's undesirable most of the time that the display aspect ratio
is changed.
2013-03-21 11:14:41 +01:00
Jan Schole
8e791d52aa
videoscale: Correct DAR and border calculations
...
changed: gst_video_scale_set_info in gst/videoscale/gstvideoscale.c
DAR on sink side now calculated with PAR on sink side
ratio of output width/height now calculated with inverse PAR
additional condition that borders are 0:0 for passthrough mode
https://bugzilla.gnome.org/show_bug.cgi?id=696019
2013-03-21 11:13:49 +01:00
Sebastian Dröge
5a58f8b9ec
videoscale: Fix compiler errors caused by not including config.h
...
_stdint.h requires config.h to be included to properly
use the correct code to get uint8_t and friends.
2013-03-02 19:29:40 +01:00
Wim Taymans
0085a77919
videoscale: scale each field in interlace mode
...
When we are dealing with interlaced content, scale each field intependently so
that we don't destroy the interlacing.
See https://bugzilla.gnome.org/show_bug.cgi?id=588535
2013-02-05 10:49:57 +01:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Sebastian Dröge
3c1041d5eb
Revert "gst: Add better support for static plugins"
...
This reverts commit d2d79e3bc2
,
which was accidentially pushed.
2012-10-24 13:26:26 +02:00
Sebastian Dröge
d2d79e3bc2
gst: Add better support for static plugins
2012-10-24 12:10:44 +02:00
Wim Taymans
acb3aeebd4
fix caps
2012-09-14 13:22:31 +02:00
Tim-Philipp Müller
f7c6aa5abd
Release 0.11.94
2012-09-14 02:47:54 +01:00
Wim Taymans
280e504ae5
videoscale: improve handling of navigation events
...
Only make the navigation event writable when we need to change it.
2012-09-11 10:56:43 +02:00
Mark Nauwelaerts
23dde756e6
videoscale: remove defunct commented code
2012-09-10 14:03:49 +02:00
Tim-Philipp Müller
8d284f8387
videoscale: mark Lanczos method as experimental/unstable
...
It's known to crash in some circumstances.
2012-08-18 21:33:38 +01:00
Tim-Philipp Müller
d4f582edd6
tests: silence FIXMEs when running videoscale unit test
2012-08-05 17:21:31 +01:00
Tim-Philipp Müller
7892e1e22f
videoscale: fix 4-tap scaling for 64-bpp formats
...
Fix invalid memory access caused by broken pointer arithmetic.
If we have a uint16_t *tmpbuf and add n * dest->stride to it, we
skip twice as much as we intended to because dest->stride is in
bytes and not in pixels. This made us write beyond the end of
our allocated temp buffer, and made the unit test crash.
2012-08-04 22:05:21 +01:00
Tim-Philipp Müller
a314325002
videoscale: sprinkle some G_GNUC_INTERNAL
...
Not sure it actually makes any difference for plugins though.
2012-08-04 22:05:20 +01:00
Tim-Philipp Müller
4c6ea69464
videoscale: make 4tap scanline funcs static
2012-08-04 22:05:20 +01:00
Wim Taymans
aefd1a5d6d
videoscale: ranem gst_video_scale_orc -> video_scale_orc
...
So that functions are not exported
2012-07-23 17:13:29 +02:00
Wim Taymans
d4255d4339
videoscale: prefix orc functions with gst_video_scale_orc
...
See https://bugzilla.gnome.org/show_bug.cgi?id=680025
2012-07-23 17:03:53 +02:00
Tim-Philipp Müller
e29098f8f0
videoscale: remove formats Y800 and Y16 which no longer exist from template caps
...
Should help with the unit test, which has been failing.
2012-07-17 00:27:17 +01:00
Wim Taymans
059a6ca673
video: update for removed formats
2012-05-29 17:52:06 +02:00
Tim-Philipp Müller
3c6a3ad629
Use new gst_element_class_set_static_metadata()
2012-04-10 00:45:16 +01:00
Sebastian Dröge
ad42b16375
gst: Update for GST_PLUGIN_DEFINE() API change
2012-04-05 15:11:05 +02:00
Sebastian Dröge
65307dd132
gst: Update versioning
2012-04-04 14:55:15 +02:00
Wim Taymans
1982d1ce12
Release 0.11.3
2012-03-22 15:51:39 +01:00
Wim Taymans
dd819ddc6b
orc: avoid precompilation
...
Avoid compiling all the functions at startup but compile only what's needed when
needed.
2012-03-20 15:37:42 +01:00
Wim Taymans
25137962ad
fix for caps API changes
2012-03-11 19:04:41 +01:00
Wim Taymans
37541750d2
videoscale: fix broken format filter
...
Simply intersect the format with the supported formats to make the code deal
with lists of formats.
2012-03-08 10:22:49 +01:00
Wim Taymans
9a21eda38c
videoscale: remove old caps fields
2012-03-02 13:11:36 +01:00
Sebastian Dröge
f7939bb43f
Merge branch 'master' into 0.11
...
Conflicts:
NEWS
RELEASE
configure.ac
docs/plugins/gst-plugins-base-plugins.args
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/app/gstappsink.c
gst-libs/gst/audio/mixer.c
gst-libs/gst/audio/mixer.h
gst-libs/gst/tag/gstxmptag.c
gst-libs/gst/video/colorbalance.c
gst-libs/gst/video/colorbalance.h
gst/adder/gstadder.c
gst/playback/gstplaybasebin.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/videoscale/gstvideoscale.c
tests/check/elements/videoscale.c
tests/examples/seek/seek.c
tests/examples/v4l/probe.c
win32/common/_stdint.h
win32/common/audio-enumtypes.c
win32/common/config.h
2012-03-02 10:00:55 +01:00
Tim-Philipp Müller
63d1316c0f
videoscale: fix negotiation after addition of new formats and methods
...
Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.
make check, folks. It's da bomb.
2012-02-26 23:46:50 +00:00
Wim Taymans
14387953a0
update for basetransform change
2012-02-24 11:03:16 +01:00
Wim Taymans
9212619549
update for new fixate_caps function
2012-02-22 12:32:44 +01:00
Wim Taymans
d2ea46cdbf
Merge branch 'master' into 0.11
...
Conflicts:
tests/examples/seek/seek.c
2012-02-21 10:01:30 +01:00
David Schleef
f8dc679ca7
videoscale: fix AYUV64 scaling
2012-02-19 00:05:08 -08:00
Wim Taymans
c3478b2da0
Merge branch 'master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisparse.c
gst-libs/gst/video/video.c
gst/videoscale/gstvideoscale.c
sys/v4l/gstv4lxoverlay.c
sys/v4l/v4l_calls.c
sys/v4l/v4lsrc_calls.c
tests/check/libs/video.c
2012-02-10 15:41:06 +01:00
Wim Taymans
f31d5d7505
debug: add some performance debug
2012-02-09 15:28:54 +01:00
David Schleef
beacccc396
videoscale: Add nearest/linear scaling for NV12
2012-02-04 13:41:47 -08:00
David Schleef
e4f01106d0
videoscale: Add AYUV64 path to Lanczos
2012-02-04 13:41:47 -08:00
Sebastian Dröge
68c0790817
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/interfaces/propertyprobe.c
sys/xvimage/xvimagesink.c
2012-01-25 11:50:54 +01:00
Mark Nauwelaerts
e82ff60a4c
videoscale: prevent implicit upgrade to integer type and sign extension
2012-01-19 16:43:38 +01:00
Wim Taymans
a5f3d21723
videofilter: improve video filter
...
Flesh out the video filter base class. Make it parse the input and output caps
and turn them into GstVideoInfo. Map buffers as video frames and pass them to
the transform functions.
This allows us to also implement the propose and decide_allocation vmethods.
Implement the transform size method as well.
Update subclasses with the new improvements.
2011-12-21 23:46:53 +01:00
Wim Taymans
8a9c4ed69f
videofilter: implement propose_allocation
...
With the new video bufferpool we can now implement the propose_allocation
vmethod on some video filter elements so that we can also use video metadata and
bufferpools when not operating in passthrough mode.
2011-12-21 18:58:42 +01:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Wim Taymans
e067e67923
rename meta* -> *meta
2011-11-02 09:04:27 +01:00
Wim Taymans
7012e88090
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/audio.h
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudioencoder.h
gst/playback/Makefile.am
gst/playback/gstplaybin.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
gst/videoscale/gstvideoscale.c
win32/common/libgstaudio.def
2011-09-06 15:24:32 +02:00
David Schleef
4e38577b30
videoscale: Add modified Lanczos scaling method
...
Adds a Lanczos-derived scaling method, which is rather slow, but very
high quality. Adds a few properties that can be used to tune various
scaling properties: sharpness, sharpen, envelope, dither. Not currently
Orcified, but was designed with that in mind.
2011-09-01 15:16:50 -07:00
Wim Taymans
82d82203f6
base: fix for allocation methods rename
2011-08-26 14:26:37 +02:00
Josep Torra
5629ed74b3
Fix debug statements
...
Fixes build on MacOSX
Signed-off-by: Edward Hervey <edward.hervey@collabora.co.uk>
2011-08-10 11:15:41 +02:00
Wim Taymans
5a85e1d75f
base: update for new bufferpool API
2011-07-29 17:15:39 +02:00
Wim Taymans
ddce68a5c2
video: More video helper library improvements
...
Make a new GstVideoFormatinfo structure that contains the specific information
related to a format such as the number of planes, components, subsampling,
pixel stride etc. The result is that we are now able to introduce the concept of
components again in the API.
Use tables to specify the formats and its properties.
Use macros to get information about the video format description.
Move code to set strides, offsets and size into one function.
Remove methods that are not handled with the structures.
Add methods to retrieve pointers and strides to the components in the video.
2011-07-04 16:01:14 +02:00
Wim Taymans
97567606e2
videoscale: activate Video meta
...
Configure the allocator with GstMetaVideo because we can handle that using the
GstVideoFrame helpers.
2011-06-20 17:49:13 +02:00
Wim Taymans
6d9e76f2de
video: remove intermediate Plane structure
...
Remove the GstVideoPlane structure and move the fields directly into the
GstVideoInfo structure. This makes things a little easier to read and also makes
it more likely that we can pass the stride array to external libraries.
2011-06-20 11:25:58 +02:00
Wim Taymans
d93129d8da
-base: port to GstVideoFrame API
2011-06-17 15:41:31 +02:00
Wim Taymans
d06f599193
-base: port elements to new video caps
2011-06-16 12:52:13 +02:00
Wim Taymans
40d567153a
Merge branch 'master' into 0.11
2011-06-13 19:09:05 +02:00
David Schleef
4db89c82bb
convert M_PI to G_PI, for msvc
2011-06-10 23:56:34 -07:00
Sebastian Dröge
0c99ab5806
videoscale: Optimize transform_caps()
...
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
2011-05-27 14:37:41 +02:00
Sebastian Dröge
d8e0af1fc1
gst: Update for the GstBaseTransform::transform_caps() changes
2011-05-27 12:13:14 +02:00
Sebastian Dröge
a46485e357
gst: Update for caps/pad template related API changes
2011-05-17 13:06:01 +02:00
Sebastian Dröge
0d39d5bb8f
videoscale: Update for negotiation related API changes
2011-05-16 15:35:17 +02:00
Sebastian Dröge
cc785bade6
videoscale: basetransform is now better at trying passthrough, remove workaround
2011-05-16 15:34:49 +02:00
Sebastian Dröge
c3b778f9b1
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
2011-05-03 09:49:26 +02:00
Tim-Philipp Müller
288f8babd1
gst: update orc-generated disted C backup code to orc 0.4.14
2011-04-30 17:21:28 +01:00
Wim Taymans
079c152e62
Merge branch 'master' into 0.11
...
Conflicts:
gst/videoscale/gstvideoscale.c
2011-04-25 11:20:45 +02:00
David Schleef
fc31f355ea
videoscale: Fix off-by-one error in previous commit
...
Fix for 7c0b702e
. It helps to get your j+1's right.
2011-04-24 18:46:52 -07:00
David Schleef
7c0b702e14
videoscale: Fix ARGB bilinear scaling
...
Fixes #648548 . Orc generates bad code for
gst_videoscale_orc_resample_merge_bilinear_u32, so we'll use the
slightly slower two-stage process. I'd fix Orc, but it's hard to
get excited about fixing a feature that I'm planning to deprecate
and replace.
2011-04-24 18:22:23 -07:00
David Schleef
d4dbebc606
videoscale: hack to fix invalid reads in linear
...
https://bugzilla.gnome.org/show_bug.cgi?id=633837
2011-04-24 14:21:18 +01:00
David Schleef
ce9406f4d6
videoscale: protect 4tap from out-of-bounds reads
...
https://bugzilla.gnome.org/show_bug.cgi?id=633837
2011-04-24 14:21:18 +01:00
David Schleef
8264d59aab
videoscale: use simpler scaling method for small images
...
https://bugzilla.gnome.org/show_bug.cgi?id=633837
2011-04-24 12:55:28 +01:00
Sebastian Dröge
f10a8f0986
gst: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-04-19 11:35:53 +02:00
Sebastian Dröge
0759ce8533
Merge branch 'master' into 0.11
2011-04-18 13:23:32 +02:00
Tim-Philipp Müller
82a791519c
gst: update disted orc backup code
2011-04-16 15:59:45 +01:00
Sebastian Dröge
352edd1dd9
Merge branch 'master' into 0.11
2011-04-16 09:12:31 +02:00
Marc Plano-Lesay
bf2b14f860
fix unused-but-set-variable warnings with gcc 4.6
...
https://bugzilla.gnome.org/show_bug.cgi?id=647294
2011-04-12 12:24:37 +01:00
Wim Taymans
6e160bed3d
Merge branch 'master' into 0.11
...
Conflicts:
android/alsa.mk
android/app.mk
android/app_plugin.mk
android/audio.mk
android/audioconvert.mk
android/decodebin.mk
android/decodebin2.mk
android/gdp.mk
android/interfaces.mk
android/netbuffer.mk
android/pbutils.mk
android/playbin.mk
android/queue2.mk
android/riff.mk
android/rtp.mk
android/rtsp.mk
android/sdp.mk
android/tag.mk
android/tcp.mk
android/typefindfunctions.mk
android/video.mk
2011-04-11 11:37:51 +02:00
Alessandro Decina
030f639a8e
android: make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the
needed Android.mk files.
Androgenizer can be found here:
http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:23:21 +02:00
Wim Taymans
e1869fa267
Merge branch 'master' into 0.11-fdo
2011-03-28 20:13:59 +02:00
Wim Taymans
3b03e23559
plugins: port some plugins to the new memory API
2011-03-27 16:35:28 +02:00
Thiago Santos
91ed9290b8
videoscale: Fix assertion on caps fixation
...
When fixating caps, from_par should always be initialized
with a fixed value.
In case the fixation is from src to sink pad it was setting
the from par (srcpad par) to a fraction range, this patch initializes
it to 1/1, based on the assumption that missing PAR is 1/1.
https://bugzilla.gnome.org/show_bug.cgi?id=641952
2011-03-22 15:24:01 -03:00
David Schleef
e1149f52c1
videoscale: Add 16-bit-channel support
2011-02-20 12:04:02 -08:00
Sebastian Dröge
32f28f476e
videoscale: Change classification to Filter/Converter/Video/Scaler
2010-12-16 10:11:43 +01:00
David Schleef
a3f4bf9c72
Update generated orc code
2010-10-15 13:16:13 -07:00
Tim-Philipp Müller
a86613a487
videoscale: use math-compat.h here as well
...
Hopefully the powers that be don't mind the gst/glib include here
too much.
2010-10-05 19:15:47 +01:00
David Schleef
bec69e20ae
orc: update generated files to fix MSVC compile issues
2010-09-16 18:03:23 -07:00
David Schleef
af87634078
videoscale: Don't use broken orc feature
2010-09-16 17:56:49 -07:00
David Schleef
0cceeb2035
videoscale: refactor using more Orc code
...
Convert downsampling to Orc. Convert horizontal linear scaling
to Orc. Combine horizontal and vertical scaling into one pass.
2010-09-14 12:33:21 -07:00
Sebastian Dröge
18b282e49f
orc: Fix generated source files
2010-09-10 08:43:17 +02:00