Wim Taymans
ce2d4d40a1
video-converter: add support for src/dest regions
...
Add support for cropping the source and placing the converted image
into a rectangle in the destination frame.
Add an option to add a border and border color.
2014-10-30 17:34:48 +01:00
Vincent Penquerc'h
a16cd5d2a5
vorbisenc: push an updated segment stop time when we know it
...
When encoding, libvorbis will tell us how many samples are encoded
in the buffer it returns. This number may be less than the maximum
of samples in the block, if this is the last packet. In we have no
segment end time, we set it to the end time of that last sample to
tell downstream that the buffer contains less samples.
2014-10-30 14:28:39 +00:00
Vincent Penquerc'h
aa5b5b9085
oggmux: set correct granpos on last page when samples are clipped
...
Samples may be clipped at the end, and this is conveyed by a
granulepos that's smaller than it would otherwise be. Use the
segment stop time to detect this, and calculate the right
granulepos.
2014-10-30 14:28:39 +00:00
Vincent Penquerc'h
a93cc13d42
oggdemux: fix last buffer timestamp when samples are clipped
...
The end of a stream can be clipped by setting the granulepos of
the last page to a lower value that it otherwise would be.
2014-10-30 14:28:39 +00:00
Wim Taymans
f5b9a26e0d
tests: fix test
2014-10-30 14:48:45 +01:00
Vincent Penquerc'h
e107ba97e2
gst-discoverer: error out on failure to copy
...
This should not really fail, but let's check return value
anyway as it guards against future changes.
Coverity 1135731
2014-10-30 11:42:02 +00:00
Vincent Penquerc'h
20344f6dc9
rtpbuffer: add a const where appropriate
2014-10-30 11:42:02 +00:00
Vincent Penquerc'h
5d1376cefa
typefind: remove unneeded test
...
We've already bailed out if we have less than 5 bytes.
Coverity 1226441
2014-10-30 11:42:02 +00:00
Tim-Philipp Müller
969c9bced6
Update libgstvideo.def for resampler -> video_resample renaming
2014-10-30 11:33:17 +00:00
Wim Taymans
49d909dabf
video-scaler: add more ORC functions
...
Add the old ORC functions for nearest and linear. Label them as Low
quality because they are not as accurate but ORC lacks opcodes to
express this for now.
2014-10-30 11:48:00 +01:00
Wim Taymans
ca2bd1cc6b
video-scaler: rename resampler to video-resampler
...
Prefix the resampler with video-. It we would like to reuse the
resampler for audio later, we can copy/move it and deprecate this
one.
2014-10-30 11:48:00 +01:00
Wim Taymans
daf20d5e09
video-scaler: remove color range argument
...
We just need to clip to the format limits, if there is extra headroom in
the range we can use that without problems.
2014-10-29 17:38:33 +01:00
Wim Taymans
90dca4b3dc
defs: update defs
2014-10-29 17:14:51 +01:00
Wim Taymans
21ba193dd6
video-scaler: add ORC optimized versions
...
Add ORC optimized versions of 2 and 4tap vertical scaling. Provide
a high quality 12 bits and a low quality 6 bits version.
2014-10-29 16:26:19 +01:00
Wim Taymans
84176843c1
video-scaler: add precision to make_s16_taps
2014-10-29 16:26:19 +01:00
Wim Taymans
72b30ac5ed
video-converter: copy config fields
...
When setting a new config, copy all the fields into our own config and
not only the ones we know about.
2014-10-29 16:26:19 +01:00
Wim Taymans
28e5ed00de
resampler: make offset/phase/n_taps uint32
...
Make various resizer fields uint32 so that we can use them in ORC
functions later.
2014-10-29 16:26:19 +01:00
Wim Taymans
9591e22fee
video-converter: don't convert too much
...
Always convert the smallest width.
2014-10-29 16:26:10 +01:00
Wim Taymans
fcc7fbd460
resampler: make shift easier to use
2014-10-29 16:26:10 +01:00
Wim Taymans
716b91d86e
resampler: add parameters to cubic filter
...
Improve cubic filter and add parameters. Switch to mitchell filter
by default.
2014-10-29 16:26:10 +01:00
Wim Taymans
32047eaac0
video-scaler: add extra options
2014-10-29 16:26:10 +01:00
Wim Taymans
c409a45d13
video-converter: define some options
2014-10-29 16:26:10 +01:00
Wim Taymans
ad0e0006b2
resampler: add some options
2014-10-29 16:26:10 +01:00
Wim Taymans
b4a5001e3c
resampler: limit max number of taps
...
Don't use more taps than the input size.
2014-10-29 16:26:10 +01:00
Wim Taymans
a81d450b7e
video-converter: add scaling support
...
Add scaling support for the video-converter object
2014-10-29 16:26:10 +01:00
Wim Taymans
199fab4b06
video-scaler: add video scaler helper object
...
Add a video scaler object build on top of the resampler. It has
implementation to deal with interlaced video as well as horizontal and
vertical scaling functions.
2014-10-29 16:26:10 +01:00
Wim Taymans
c9c9e8158d
video: add generic resampler
...
Add an object that can generate a set of resample filter coefficients.
2014-10-29 16:26:10 +01:00
Wim Taymans
549bdd4ece
video-converter: rework the generic converter function
...
Use a LineCache object to track and process lines between unpack,
upsample, convert, downsample and pack stages. This simplifies the
main core processing function a lot and allows for future additions
easily.
Add support for interlaced formats in chroma up and downsampling.
2014-10-29 16:26:10 +01:00
Wim Taymans
71efeaaa6f
video-convert: swap src and dest
...
It is more natural and consistent with other uses.
2014-10-29 16:26:10 +01:00
Wim Taymans
6547985f27
video-chroma: fix typo
2014-10-29 16:26:10 +01:00
Sebastian Dröge
780bd1a99f
Automatic update of common submodule
...
From 84d06cd to 7bb2bce
2014-10-27 17:56:51 +01:00
Vineeth T M
2847a8108c
video-blend: segfault when xpos >= video size
...
When the xpos is given as greater than or equal to the video size,
we get a segfault, due to improper condition.
Hence adding proper conditions.
https://bugzilla.gnome.org/show_bug.cgi?id=738984
2014-10-27 10:29:15 +00:00
Vineeth T M
900d0267d5
basetextoverlay: segfault when xpos >= video size
...
When the xpos is given as greater than or equal to the video size,
we get a segfault, due to improper condition.
Hence adding proper conditions.
https://bugzilla.gnome.org/show_bug.cgi?id=738984
2014-10-27 10:29:15 +00:00
Tim-Philipp Müller
cd1f1c4973
examples: add new appsink example to .gitignore
2014-10-26 21:31:36 +00:00
Sebastian Dröge
8b8b8ae2e8
Revert "decodebin: fix the autoplugging of parser elements"
...
This reverts commit 2b0d392741
.
This breaks cases where an actual second parser is required after the parser,
e.g. to do timestamp corrections.
See https://bugzilla.gnome.org/show_bug.cgi?id=738416
2014-10-26 11:04:47 +01:00
Sebastian Dröge
2da56de19f
Revert "decodebin: Fix locking"
...
This reverts commit aa94d5dc9a
.
2014-10-26 11:04:38 +01:00
Tim-Philipp Müller
a82e99b093
tests: fix playbin-complex test on big endian
2014-10-24 13:09:42 +01:00
Tim-Philipp Müller
1b19290183
tests: fix expected GstRTSPTimeRange structure size for ABI test for ppc32
...
Also see https://bugzilla.gnome.org/show_bug.cgi?id=695276
2014-10-24 13:04:07 +01:00
Tim-Philipp Müller
7834d733bc
tests: fix adder check on big-endian
2014-10-24 12:26:40 +01:00
Tim-Philipp Müller
db89f0dca4
rtsp: use generic marshaller
2014-10-24 10:17:47 +01:00
Thibault Saunier
0eea730523
basetextoverlay: Make GstBaseTextOverlay::font-desc readable
2014-10-23 11:32:47 +02:00
Tim-Philipp Müller
25bd87307a
Automatic update of common submodule
...
From a8c8939 to 84d06cd
2014-10-21 13:01:16 +01:00
Sebastian Dröge
aa94d5dc9a
decodebin: Fix locking
...
The chain mutex needs to be locked when looking at chain->elements. Move code
around a bit to require only one lock() and unlock().
2014-10-21 13:32:19 +02:00
Sreerenj Balachandran
2b0d392741
decodebin: fix the autoplugging of parser elements
...
If there are two parser elements available for the same media format,
then decodebin is autoplugging an extra capsfilter and parser irrespective
of caps and rank. So restrict the decodebin from autoplugging multiple parser
elements back to back in adjacent positions with in a single DecodeChain
for the same media format.
https://bugzilla.gnome.org/show_bug.cgi?id=738416
2014-10-21 13:32:19 +02:00
Stefan Sauer
9c58cc7e0f
Automatic update of common submodule
...
From 6e75498 to a8c8939
2014-10-21 12:57:59 +02:00
Vineeth T M
c2224b8059
videotestsrc: assertion error
...
timestamp_offset is being declared as an int64 variable,
for which the min
value of G_MININT64 is -9223372036854775808
Changing the minimum and maximum limit for the offset variable.
https://bugzilla.gnome.org/show_bug.cgi?id=738568
2014-10-21 11:28:11 +02:00
Sreerenj Balachandran
a24db77217
decodebin: optimize the code a bit by avoiding unnecessary string comparisons
...
https://bugzilla.gnome.org/show_bug.cgi?id=738416
2014-10-21 11:05:53 +02:00
Sreerenj Balachandran
f60da86ae2
decodebin: Fix typo in comment
...
https://bugzilla.gnome.org/show_bug.cgi?id=738416
2014-10-21 11:05:53 +02:00
Aleix Conchillo Flaqué
66abee92b0
rtspconnection: call watch notify before freeing any watch resources
...
This gives control to the notify function allowing it to finish other
watch related functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=737752
2014-10-21 10:03:35 +02:00
Sebastian Dröge
6129d1bd18
appsink: Fix gst_app_sink_pull() docs to transfer full for the return value
...
Also we get a GstSample, not a GstBuffer here.
2014-10-20 15:31:29 +02:00