platform/upstream/gst-plugins-good.git
12 years ago[MOVED FROM BAD 127/134] replace gst_element_class_set_details_simple with gst_elemen...
Mark Nauwelaerts [Fri, 14 Sep 2012 15:08:49 +0000 (17:08 +0200)]
[MOVED FROM BAD 127/134] replace gst_element_class_set_details_simple with gst_element_class_set_metadata

12 years ago[MOVED FROM BAD 126/134] vp8dec: Call gst_video_decoder_negotiate()
Edward Hervey [Thu, 19 Jul 2012 07:05:28 +0000 (09:05 +0200)]
[MOVED FROM BAD 126/134] vp8dec: Call gst_video_decoder_negotiate()

12 years ago[MOVED FROM BAD 125/134] vp8dec: Add support for multiple decoding threads
Sebastian Dröge [Tue, 14 Aug 2012 09:17:25 +0000 (11:17 +0200)]
[MOVED FROM BAD 125/134] vp8dec: Add support for multiple decoding threads

12 years ago[MOVED FROM BAD 124/134] vp8dec: Add support for the MFQE postprocessing flag
Sebastian Dröge [Tue, 14 Aug 2012 09:09:46 +0000 (11:09 +0200)]
[MOVED FROM BAD 124/134] vp8dec: Add support for the MFQE postprocessing flag

Which is enabled by default if postprocessing is enabled.

12 years ago[MOVED FROM BAD 123/134] vp8: Use pkg-config file for getting the LIBS and CFLAGS
Sebastian Dröge [Thu, 9 Aug 2012 11:37:22 +0000 (13:37 +0200)]
[MOVED FROM BAD 123/134] vp8: Use pkg-config file for getting the LIBS and CFLAGS

12 years ago[MOVED FROM BAD 122/134] vp8enc: Update the per-component strides for every frame too
Sebastian Dröge [Wed, 8 Aug 2012 15:06:20 +0000 (17:06 +0200)]
[MOVED FROM BAD 122/134] vp8enc: Update the per-component strides for every frame too

This is necessary because of GstVideoAlignment

12 years ago[MOVED FROM BAD 121/134] vp8enc: initiate encoder to fix a crash.
Oleksij Rempel [Thu, 26 Jul 2012 17:31:14 +0000 (19:31 +0200)]
[MOVED FROM BAD 121/134] vp8enc: initiate encoder to fix a crash.

Without this patch vp8enc send header before and after first
key frame. On second keyframe vp8dec will crash without getting
decoded frame. With this pipe it is easy to reproduce this issue:
gst-launch-1.0 videotestsrc ! vp8enc ! vp8dec ! fakesink

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

12 years ago[MOVED FROM BAD 120/134] tag: Update for taglist/tag event API changes
Sebastian Dröge [Fri, 27 Jul 2012 22:32:58 +0000 (00:32 +0200)]
[MOVED FROM BAD 120/134] tag: Update for taglist/tag event API changes

12 years ago[MOVED FROM BAD 119/134] ext: Update for video base classes API changes
Sebastian Dröge [Mon, 23 Jul 2012 08:35:03 +0000 (10:35 +0200)]
[MOVED FROM BAD 119/134] ext: Update for video base classes API changes

12 years ago[MOVED FROM BAD 118/134] vp8enc: fix memory leak
Oleksij Rempel [Sat, 21 Jul 2012 17:59:21 +0000 (19:59 +0200)]
[MOVED FROM BAD 118/134] vp8enc: fix memory leak

unref frame. i hope it is correct place to do it.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
12 years ago[MOVED FROM BAD 117/134] update for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:50:53 +0000 (11:50 +0200)]
[MOVED FROM BAD 117/134] update for query api changes

12 years ago[MOVED FROM BAD 116/134] update for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:26:55 +0000 (11:26 +0200)]
[MOVED FROM BAD 116/134] update for query api changes

12 years ago[MOVED FROM BAD 115/134] update for allocation query changes
Wim Taymans [Fri, 6 Jul 2012 09:03:04 +0000 (11:03 +0200)]
[MOVED FROM BAD 115/134] update for allocation query changes

12 years ago[MOVED FROM BAD 114/134] vp8: fix codec state leaks
Vincent Penquerc'h [Thu, 7 Jun 2012 11:33:31 +0000 (12:33 +0100)]
[MOVED FROM BAD 114/134] vp8: fix codec state leaks

I only tested that vp8enc ! vp8dec does not crash, as valgrind does not grok
at least one of the instructions used by vp8enc, preventing me from checking
a leak, and the lack of one after the patch.

12 years ago[MOVED FROM BAD 113/134] update for tag event change
Wim Taymans [Wed, 6 Jun 2012 11:02:40 +0000 (13:02 +0200)]
[MOVED FROM BAD 113/134] update for tag event change

12 years ago[MOVED FROM BAD 112/134] vp8: Port to 0.11 again
Sebastian Dröge [Mon, 28 May 2012 14:05:21 +0000 (16:05 +0200)]
[MOVED FROM BAD 112/134] vp8: Port to 0.11 again

12 years ago[MOVED FROM BAD 111/134] vp8enc: fix target bitrate config with libvpx 1.1.0
Vincent Penquerc'h [Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)]
[MOVED FROM BAD 111/134] vp8enc: fix target bitrate config with libvpx 1.1.0

libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.

Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.

This fixes encoding VP8 video with libvpx 1.1.0.

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

12 years ago[MOVED FROM BAD 110/134] vp8enc: Update for GstVideoCodecFrame API changes
Sebastian Dröge [Wed, 16 May 2012 12:04:28 +0000 (14:04 +0200)]
[MOVED FROM BAD 110/134] vp8enc: Update for GstVideoCodecFrame API changes

12 years ago[MOVED FROM BAD 109/134] vp8dec: Improve output_state handling
Thiago Santos [Fri, 27 Apr 2012 21:22:42 +0000 (18:22 -0300)]
[MOVED FROM BAD 109/134] vp8dec: Improve output_state handling

Avoid getting output_state for every buffer as that requires
getting the objectlock and doing reference counting. Store it locally
when it is created and use it.

12 years ago[MOVED FROM BAD 108/134] vp8dec: Use outputstate when copying output buffer data
Thiago Santos [Fri, 27 Apr 2012 12:05:57 +0000 (09:05 -0300)]
[MOVED FROM BAD 108/134] vp8dec: Use outputstate when copying output buffer data

Using the input state was causing a crash because the strides/offsets
would be wrong. Fix it by using the output as we are dealing with
the decoded frame.

12 years ago[MOVED FROM BAD 107/134] vp8: Port to -base video base classes
Edward Hervey [Tue, 24 Apr 2012 09:08:41 +0000 (11:08 +0200)]
[MOVED FROM BAD 107/134] vp8: Port to -base video base classes

Conflicts:

ext/vp8/Makefile.am
ext/vp8/gstvp8dec.c
ext/vp8/gstvp8enc.c

Back to 0.10 state for now, need to be ported again.

12 years ago[MOVED FROM BAD 106/134] vp8enc: fix target bitrate config with libvpx 1.1.0
Vincent Penquerc'h [Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)]
[MOVED FROM BAD 106/134] vp8enc: fix target bitrate config with libvpx 1.1.0

libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.

Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.

This fixes encoding VP8 video with libvpx 1.1.0.

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

12 years ago[MOVED FROM BAD 105/134] gst: Update for GST_PLUGIN_DEFINE() API changes
Sebastian Dröge [Thu, 5 Apr 2012 16:02:56 +0000 (18:02 +0200)]
[MOVED FROM BAD 105/134] gst: Update for GST_PLUGIN_DEFINE() API changes

12 years ago[MOVED FROM BAD 104/134] gst: Update versioning
Sebastian Dröge [Wed, 4 Apr 2012 12:41:22 +0000 (14:41 +0200)]
[MOVED FROM BAD 104/134] gst: Update versioning

12 years ago[MOVED FROM BAD 103/134] vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the...
Sebastian Dröge [Tue, 6 Mar 2012 14:21:17 +0000 (15:21 +0100)]
[MOVED FROM BAD 103/134] vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning

12 years ago[MOVED FROM BAD 102/134] update for HEADER flag
Wim Taymans [Mon, 30 Jan 2012 16:17:16 +0000 (17:17 +0100)]
[MOVED FROM BAD 102/134] update for HEADER flag

12 years ago[MOVED FROM BAD 101/134] port some more to new memory API
Mark Nauwelaerts [Wed, 25 Jan 2012 17:49:58 +0000 (18:49 +0100)]
[MOVED FROM BAD 101/134] port some more to new memory API

Fixes #668677.

12 years ago[MOVED FROM BAD 100/134] vp8enc: trace outgoing timestamps
Oleksij Rempel (Alexey Fisher) [Tue, 24 Jan 2012 10:22:46 +0000 (11:22 +0100)]
[MOVED FROM BAD 100/134] vp8enc: trace outgoing timestamps

add info level prints for outgoing timestamps.

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
12 years ago[MOVED FROM BAD 099/134] vp8dec: use is_alt_data option to prevent timestamp collisions
Oleksij Rempel (Alexey Fisher) [Wed, 4 Jan 2012 10:05:48 +0000 (11:05 +0100)]
[MOVED FROM BAD 099/134] vp8dec: use is_alt_data option to prevent timestamp collisions

altref/invisible frames usually stored in container with same timestamp as
dependet frame. This make basevideodecoder to update timestamp for dependet
frame and couse TS colision on next frame:

                 ^- here is altref
time     : 1 2 3 4 5 6 7 8 9
webm ts  : 1   3 5 5   7   9
vp8dec ts: 1   3   7   7   9

Fix bug: https://bugzilla.gnome.org/show_bug.cgi?id=655245

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
12 years ago[MOVED FROM BAD 098/134] vp8: add initial preset file
Oleksij Rempel (Alexey Fisher) [Mon, 2 Jan 2012 07:28:13 +0000 (08:28 +0100)]
[MOVED FROM BAD 098/134] vp8: add initial preset file

This is initial preset file, currently with only one profile
for realtime encoding.

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
12 years ago[MOVED FROM BAD 097/134] various: fix pad template ref leaks
Vincent Penquerc'h [Mon, 28 Nov 2011 13:08:27 +0000 (13:08 +0000)]
[MOVED FROM BAD 097/134] various: fix pad template ref leaks

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

12 years ago[MOVED FROM BAD 096/134] vp8dec: use new basevideodecoder API to drop frames and...
Tim-Philipp Müller [Fri, 25 Nov 2011 11:36:14 +0000 (11:36 +0000)]
[MOVED FROM BAD 096/134] vp8dec: use new basevideodecoder API to drop frames and get QoS messages posted

12 years ago[MOVED FROM BAD 095/134] mimic, opencv, vp8, acmmp3dec, linsys: Don't build static...
Mart Raudsepp [Thu, 10 Nov 2011 13:13:34 +0000 (15:13 +0200)]
[MOVED FROM BAD 095/134] mimic, opencv, vp8, acmmp3dec, linsys: Don't build static plugins

Pass --tag=disable-static to libtool everywhere where it's been forgotten

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

12 years ago[MOVED FROM BAD 094/134] vp8: Port to 0.11
Edward Hervey [Thu, 3 Nov 2011 13:01:41 +0000 (14:01 +0100)]
[MOVED FROM BAD 094/134] vp8: Port to 0.11

12 years ago[MOVED FROM BAD 093/134] vp8enc: fix drop-frame property
David Schleef [Mon, 22 Aug 2011 03:15:25 +0000 (20:15 -0700)]
[MOVED FROM BAD 093/134] vp8enc: fix drop-frame property

Fixes #656929.

12 years ago[MOVED FROM BAD 092/134] vp8: probe for the new tuning API to keep building with...
Vincent Penquerc'h [Fri, 19 Aug 2011 18:17:15 +0000 (19:17 +0100)]
[MOVED FROM BAD 092/134] vp8: probe for the new tuning API to keep building with older libvpx

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

12 years ago[MOVED FROM BAD 091/134] vp8enc: Remove unused and useless variable in tags handling
Sebastian Dröge [Thu, 18 Aug 2011 08:39:26 +0000 (10:39 +0200)]
[MOVED FROM BAD 091/134] vp8enc: Remove unused and useless variable in tags handling

12 years ago[MOVED FROM BAD 090/134] vp8enc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:08:08 +0000 (12:08 +0200)]
[MOVED FROM BAD 090/134] vp8enc: Update for basevideoencoder ::get_caps() removal

12 years ago[MOVED FROM BAD 089/134] vp8enc: Add more properties
David Schleef [Sun, 10 Jul 2011 01:53:24 +0000 (18:53 -0700)]
[MOVED FROM BAD 089/134] vp8enc: Add more properties

12 years ago[MOVED FROM BAD 088/134] vp8enc: add min/maxsection-pct option
Alexey Fisher [Sun, 19 Jun 2011 14:06:46 +0000 (16:06 +0200)]
[MOVED FROM BAD 088/134] vp8enc: add min/maxsection-pct option

This options should be good to redeuce decode CPU load.
for lowend hardware:
minsection-pct=15 maxsection-pct=400

for hiend hw:
minsection-pct=5 maxsection-pct=800

see example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_vbr_encoding_for_smooth_playback_on_low-end_hardware

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
12 years ago[MOVED FROM BAD 087/134] vp8enc: add lag-in-frames option.
Alexey Fisher [Sun, 19 Jun 2011 09:05:36 +0000 (11:05 +0200)]
[MOVED FROM BAD 087/134] vp8enc: add lag-in-frames option.

This option set maximum of frames codec should remember,
to make better prediktion for alt-ref frames.

See example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_best_quality_vbr_encoding

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
12 years ago[MOVED FROM BAD 086/134] vp8enc: use multipass.cache file name as default for multipa...
Alexey Fisher [Sun, 19 Jun 2011 05:16:57 +0000 (07:16 +0200)]
[MOVED FROM BAD 086/134] vp8enc: use multipass.cache file name as default for multipass mode.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
12 years ago[MOVED FROM BAD 085/134] vp8enc: Update for GstBaseVideoEncoder::finish() signature...
Sebastian Dröge [Thu, 21 Jul 2011 06:03:51 +0000 (08:03 +0200)]
[MOVED FROM BAD 085/134] vp8enc: Update for GstBaseVideoEncoder::finish() signature change

12 years ago[MOVED FROM BAD 084/134] vp8: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:05:25 +0000 (18:05 -0400)]
[MOVED FROM BAD 084/134] vp8: Fix set-but-unused warnings

12 years ago[MOVED FROM BAD 083/134] vp8enc: Use destroy notify to free the coder hook
Sebastian Dröge [Sat, 9 Jul 2011 09:31:02 +0000 (11:31 +0200)]
[MOVED FROM BAD 083/134] vp8enc: Use destroy notify to free the coder hook

12 years ago[MOVED FROM BAD 082/134] vp8enc: update for new libvpx api
David Schleef [Sat, 18 Jun 2011 22:56:49 +0000 (15:56 -0700)]
[MOVED FROM BAD 082/134] vp8enc: update for new libvpx api

12 years ago[MOVED FROM BAD 081/134] vp8enc: generate a timestamp for alt-ref frames.
Alexey Fisher [Sun, 26 Jun 2011 13:15:54 +0000 (15:15 +0200)]
[MOVED FROM BAD 081/134] 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>
12 years ago[MOVED FROM BAD 080/134] vp8dec: add check if we have legal aspect-ratio before reset it.
Alexey Fisher [Sat, 18 Jun 2011 15:47:36 +0000 (17:47 +0200)]
[MOVED FROM BAD 080/134] 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>
12 years ago[MOVED FROM BAD 079/134] vp8dec: set par to 1/1
David Schleef [Sat, 4 Jun 2011 02:36:59 +0000 (19:36 -0700)]
[MOVED FROM BAD 079/134] vp8dec: set par to 1/1

12 years ago[MOVED FROM BAD 078/134] vp8enc: Name max/min quantizer properties {max,min}-quantizer
Sebastian Dröge [Wed, 18 May 2011 11:27:20 +0000 (13:27 +0200)]
[MOVED FROM BAD 078/134] vp8enc: Name max/min quantizer properties {max,min}-quantizer

Also improve quality property description.

12 years ago[MOVED FROM BAD 077/134] vp8enc: Add properties to select a maximum and minimum quantizer
Alexey Fisher [Wed, 18 May 2011 11:26:23 +0000 (13:26 +0200)]
[MOVED FROM BAD 077/134] vp8enc: Add properties to select a maximum and minimum quantizer

Fixes bug #641405.

12 years ago[MOVED FROM BAD 076/134] vp8enc: Fix quality to (constant) quantizer mapping
Alexey Fisher [Wed, 18 May 2011 11:18:58 +0000 (13:18 +0200)]
[MOVED FROM BAD 076/134] vp8enc: Fix quality to (constant) quantizer mapping

This now allows to select all possible quantizers between
0 and 63.

See bug #641405.

12 years ago[MOVED FROM BAD 075/134] vp8dec: debug code style fixes
Mark Nauwelaerts [Fri, 1 Apr 2011 20:13:55 +0000 (22:13 +0200)]
[MOVED FROM BAD 075/134] vp8dec: debug code style fixes

12 years ago[MOVED FROM BAD 074/134] vp8dec: propagate downstream flow return to upstream
Mark Nauwelaerts [Fri, 1 Apr 2011 20:13:00 +0000 (22:13 +0200)]
[MOVED FROM BAD 074/134] vp8dec: propagate downstream flow return to upstream

12 years ago[MOVED FROM BAD 073/134] basevideodecoder: really and only set src pad caps whenever...
Mark Nauwelaerts [Wed, 30 Mar 2011 08:18:23 +0000 (10:18 +0200)]
[MOVED FROM BAD 073/134] basevideodecoder: really and only set src pad caps whenever requested

... since subclass is expected to be wise enough to know when to do so.

12 years ago[MOVED FROM BAD 072/134] basevideodecoder: invoke subclass start method at state...
Mark Nauwelaerts [Tue, 29 Mar 2011 08:41:54 +0000 (10:41 +0200)]
[MOVED FROM BAD 072/134] basevideodecoder: invoke subclass start method at state change and use set_format

While this changes API slightly (e.g. actually uses set_format now), which is OK
for unstable API, it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* otherwise no subclass method at state change (global activation time)
Moreover, subclassese are either unaffected or trivially adjusted accordingly.

12 years ago[MOVED FROM BAD 071/134] basevideodecoder: subsume skip_frame into finish_frame
Mark Nauwelaerts [Mon, 28 Mar 2011 06:59:20 +0000 (08:59 +0200)]
[MOVED FROM BAD 071/134] basevideodecoder: subsume skip_frame into finish_frame

12 years ago[MOVED FROM BAD 070/134] basevideoencoder: provide proper upstream flow return handling
Mark Nauwelaerts [Thu, 24 Mar 2011 13:10:07 +0000 (14:10 +0100)]
[MOVED FROM BAD 070/134] basevideoencoder: provide proper upstream flow return handling

12 years ago[MOVED FROM BAD 069/134] vp8enc: minor optimization in setting up image buffer
Mark Nauwelaerts [Thu, 24 Mar 2011 12:59:35 +0000 (13:59 +0100)]
[MOVED FROM BAD 069/134] vp8enc: minor optimization in setting up image buffer

12 years ago[MOVED FROM BAD 068/134] vp8enc: refactor frame processing
Mark Nauwelaerts [Thu, 24 Mar 2011 11:50:23 +0000 (12:50 +0100)]
[MOVED FROM BAD 068/134] vp8enc: refactor frame processing

12 years ago[MOVED FROM BAD 067/134] vp8enc: do init at set_format time
Mark Nauwelaerts [Thu, 24 Mar 2011 10:55:41 +0000 (11:55 +0100)]
[MOVED FROM BAD 067/134] vp8enc: do init at set_format time

12 years ago[MOVED FROM BAD 066/134] vp8enc: fix keyframe forcing
Mark Nauwelaerts [Thu, 24 Mar 2011 09:15:55 +0000 (10:15 +0100)]
[MOVED FROM BAD 066/134] vp8enc: fix keyframe forcing

12 years ago[MOVED FROM BAD 065/134] basevideocodec: remove redundant caps field
Mark Nauwelaerts [Wed, 23 Mar 2011 08:45:20 +0000 (09:45 +0100)]
[MOVED FROM BAD 065/134] basevideocodec: remove redundant caps field

... as it is already at hand as the src pad's negotiated caps.

12 years ago[MOVED FROM BAD 064/134] vp8enc: use baseclass event virtual handler
Mark Nauwelaerts [Wed, 23 Mar 2011 07:50:31 +0000 (08:50 +0100)]
[MOVED FROM BAD 064/134] vp8enc: use baseclass event virtual handler

12 years ago[MOVED FROM BAD 063/134] basevideo: merge utils header into basevideocodec
David Schleef [Sun, 20 Feb 2011 22:16:18 +0000 (14:16 -0800)]
[MOVED FROM BAD 063/134] basevideo: merge utils header into basevideocodec

12 years ago[MOVED FROM BAD 062/134] vp8: fix LIBADD order in Makefile.am
Tim-Philipp Müller [Thu, 17 Mar 2011 16:34:02 +0000 (16:34 +0000)]
[MOVED FROM BAD 062/134] vp8: fix LIBADD order in Makefile.am

12 years ago[MOVED FROM BAD 061/134] vp8enc: Add description for bitrate units.
Alexey Fisher [Fri, 4 Feb 2011 08:08:26 +0000 (09:08 +0100)]
[MOVED FROM BAD 061/134] vp8enc: Add description for bitrate units.

12 years ago[MOVED FROM BAD 060/134] vp8enc: Readd setting of granulepos
David Schleef [Wed, 1 Dec 2010 02:43:24 +0000 (18:43 -0800)]
[MOVED FROM BAD 060/134] vp8enc: Readd setting of granulepos

Revert parts of last patch that removed setting of granulepos.
oggmux still requires correct granulepos in incoming packet.

12 years ago[MOVED FROM BAD 059/134] vp8enc: Don't override timestamps set by base class
David Schleef [Tue, 30 Nov 2010 04:21:31 +0000 (20:21 -0800)]
[MOVED FROM BAD 059/134] vp8enc: Don't override timestamps set by base class

Because the base class does it correctly.
Fixes: #635720, #625558.

12 years ago[MOVED FROM BAD 058/134] vp8: Remove dead assignments
Edward Hervey [Thu, 25 Nov 2010 17:52:47 +0000 (18:52 +0100)]
[MOVED FROM BAD 058/134] vp8: Remove dead assignments

12 years ago[MOVED FROM BAD 057/134] basevideo: Move common fields/functions to basecodec
David Schleef [Sun, 10 Oct 2010 00:36:07 +0000 (17:36 -0700)]
[MOVED FROM BAD 057/134] basevideo: Move common fields/functions to basecodec

12 years ago[MOVED FROM BAD 056/134] basevideo: Move deadline to frame structure
David Schleef [Sun, 19 Sep 2010 00:28:48 +0000 (17:28 -0700)]
[MOVED FROM BAD 056/134] basevideo: Move deadline to frame structure

12 years ago[MOVED FROM BAD 055/134] vp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon...
Philip Jägenstedt [Fri, 13 Aug 2010 12:34:21 +0000 (14:34 +0200)]
[MOVED FROM BAD 055/134] vp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon as possible

This fixes an infinite loop if an EOS event is received before
GstBaseVideoDecoder::start() is called, e.g. immediately when the
pads are activated.

Fixes bug #626815.

12 years ago[MOVED FROM BAD 054/134] vp8enc: Add support for enabling automatic insertion of...
Sebastian Dröge [Sat, 10 Jul 2010 14:52:10 +0000 (16:52 +0200)]
[MOVED FROM BAD 054/134] vp8enc: Add support for enabling automatic insertion of alt-ref frames by the encoder

12 years ago[MOVED FROM BAD 053/134] vp8enc: Fix handling of invisible/alt ref frames
Sebastian Dröge [Sat, 10 Jul 2010 14:51:53 +0000 (16:51 +0200)]
[MOVED FROM BAD 053/134] vp8enc: Fix handling of invisible/alt ref frames

12 years ago[MOVED FROM BAD 052/134] vp8: Add initial documentation, based on the theoradec/theor...
Sebastian Dröge [Sat, 3 Jul 2010 15:47:29 +0000 (17:47 +0200)]
[MOVED FROM BAD 052/134] vp8: Add initial documentation, based on the theoradec/theoraenc documentation

12 years ago[MOVED FROM BAD 051/134] vp8: Move structure definitions, etc to public header files...
Sebastian Dröge [Sat, 3 Jul 2010 15:34:58 +0000 (17:34 +0200)]
[MOVED FROM BAD 051/134] vp8: Move structure definitions, etc to public header files for gtk-doc

12 years ago[MOVED FROM BAD 050/134] vp8enc: Implement multipass encoding
Sebastian Dröge [Sat, 12 Jun 2010 07:02:29 +0000 (09:02 +0200)]
[MOVED FROM BAD 050/134] vp8enc: Implement multipass encoding

Fixes bug #621348.

12 years ago[MOVED FROM BAD 049/134] vp8enc: Set VP8E_SET_CPUUSED to 0
Sebastian Dröge [Mon, 14 Jun 2010 13:56:24 +0000 (15:56 +0200)]
[MOVED FROM BAD 049/134] vp8enc: Set VP8E_SET_CPUUSED to 0

This setting controls how much CPU can be used by the encoder, specified
in fractions of 16. Negative values mean strict enforcement of this
while positive values are adaptive.

The default value is -4, which means that we're not running as fast
as possible and probably are wasting some quality. 0 is the recommended
default by libvpx upstream.

12 years ago[MOVED FROM BAD 048/134] vp8enc: Use VPX defines for REALTIME, GOOD/BEST quality...
Sebastian Dröge [Mon, 14 Jun 2010 13:51:30 +0000 (15:51 +0200)]
[MOVED FROM BAD 048/134] vp8enc: Use VPX defines for REALTIME, GOOD/BEST quality deadlines instead of our own

These are the values used for the speed property.

12 years ago[MOVED FROM BAD 047/134] vp8enc: fix printf format warning in log message
Tim-Philipp Müller [Thu, 3 Jun 2010 09:49:40 +0000 (10:49 +0100)]
[MOVED FROM BAD 047/134] vp8enc: fix printf format warning in log message

gstvp8enc.c:564: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
gstvp8enc.c:744: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’

12 years ago[MOVED FROM BAD 046/134] basevideo, vp8: guard unstable API with GST_USE_UNSTABLE_API
Tim-Philipp Müller [Fri, 3 Jul 2009 15:08:38 +0000 (16:08 +0100)]
[MOVED FROM BAD 046/134] basevideo, vp8: guard unstable API with GST_USE_UNSTABLE_API

Add some guards and fat warnings to the header files with still unstable
API, so people who just look at the installed headers know that it
actually is unstable API.

Merging previous commit into current codebase.

12 years ago[MOVED FROM BAD 045/134] basevideo: Move base video from vp8 to gst-libs
David Schleef [Tue, 1 Jun 2010 22:54:51 +0000 (15:54 -0700)]
[MOVED FROM BAD 045/134] basevideo: Move base video from vp8 to gst-libs

12 years ago[MOVED FROM BAD 044/134] vp8: Use VPX_PLANE_* instead of PLANE_*
Sebastian Dröge [Wed, 26 May 2010 04:52:15 +0000 (06:52 +0200)]
[MOVED FROM BAD 044/134] vp8: Use VPX_PLANE_* instead of PLANE_*

12 years ago[MOVED FROM BAD 043/134] vp8: Add compatilibity defines to work with older versions...
Sebastian Dröge [Mon, 24 May 2010 09:04:02 +0000 (11:04 +0200)]
[MOVED FROM BAD 043/134] vp8: Add compatilibity defines to work with older versions of libvpx too

12 years ago[MOVED FROM BAD 042/134] vp8dec: s/IMG_FMT_I420/VPX_IMG_FMT_I420/
Philip Jägenstedt [Sun, 23 May 2010 07:28:13 +0000 (09:28 +0200)]
[MOVED FROM BAD 042/134] vp8dec: s/IMG_FMT_I420/VPX_IMG_FMT_I420/

This corresponds to upstream libvpx commit 6cd4a10e167203d1deb79abf60ee72599e97891b

12 years ago[MOVED FROM BAD 041/134] vp8enc: Allow a maximum keyframe distance of 0, i.e. all...
Sebastian Dröge [Sat, 22 May 2010 10:55:45 +0000 (12:55 +0200)]
[MOVED FROM BAD 041/134] vp8enc: Allow a maximum keyframe distance of 0, i.e. all frames are keyframes

12 years ago[MOVED FROM BAD 040/134] vp8dec: Set decoder deadline from the QoS information
Sebastian Dröge [Sat, 22 May 2010 06:45:35 +0000 (08:45 +0200)]
[MOVED FROM BAD 040/134] vp8dec: Set decoder deadline from the QoS information

12 years ago[MOVED FROM BAD 039/134] vp8enc: Move debug output one line above where the packet...
Sebastian Dröge [Fri, 28 May 2010 14:35:12 +0000 (16:35 +0200)]
[MOVED FROM BAD 039/134] vp8enc: Move debug output one line above where the packet is still valid

12 years ago[MOVED FROM BAD 038/134] vp8enc: Correctly ignore non-frame packets from the encoder
Sebastian Dröge [Fri, 28 May 2010 13:53:30 +0000 (15:53 +0200)]
[MOVED FROM BAD 038/134] vp8enc: Correctly ignore non-frame packets from the encoder

Fixes bug #619916.

12 years ago[MOVED FROM BAD 037/134] basevideodecoder: Take the frame duration into account when...
Sebastian Dröge [Sat, 22 May 2010 05:44:27 +0000 (07:44 +0200)]
[MOVED FROM BAD 037/134] basevideodecoder: Take the frame duration into account when calculating the earliest time

This formula is used in many other elements too.

Fixes bug #619318.

12 years ago[MOVED FROM BAD 036/134] basevideodecoder: Reset QoS values when necessary
Sebastian Dröge [Sat, 22 May 2010 05:35:01 +0000 (07:35 +0200)]
[MOVED FROM BAD 036/134] basevideodecoder: Reset QoS values when necessary

12 years ago[MOVED FROM BAD 035/134] vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten...
Sebastian Dröge [Sat, 22 May 2010 07:35:24 +0000 (09:35 +0200)]
[MOVED FROM BAD 035/134] vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten I420 caps for the pad template

Fixes bug #619344.

12 years ago[MOVED FROM BAD 034/134] vp8dec: drop late frames after decoding them
Philip Jägenstedt [Fri, 21 May 2010 18:53:36 +0000 (20:53 +0200)]
[MOVED FROM BAD 034/134] vp8dec: drop late frames after decoding them

This saves a memcpy, which is always something.

12 years ago[MOVED FROM BAD 033/134] vp8enc: threads property
Philip Jägenstedt [Fri, 21 May 2010 19:28:29 +0000 (21:28 +0200)]
[MOVED FROM BAD 033/134] vp8enc: threads property

Increasing from 1 to 2 threads on an Thinkpad X60s decreased encode time
in a test from ~24 s to ~19 s, so this is quite useful.

Ideally we should let 0 be the default and automatically match the number
of CPU cores (or something).

12 years ago[MOVED FROM BAD 032/134] vp8enc: add mode property to switch between CBR/VBR
Philip Jägenstedt [Fri, 21 May 2010 13:17:46 +0000 (15:17 +0200)]
[MOVED FROM BAD 032/134] vp8enc: add mode property to switch between CBR/VBR

Always using CBR when bitrate is used isn't that great, VBR mode
can produce meaningful results too.

12 years ago[MOVED FROM BAD 031/134] vp8dec: Only enable postprocessing if the decoder supports it
Sebastian Dröge [Fri, 21 May 2010 08:54:57 +0000 (10:54 +0200)]
[MOVED FROM BAD 031/134] vp8dec: Only enable postprocessing if the decoder supports it

12 years ago[MOVED FROM BAD 030/134] vp8: typo: s/HAVE_VP8_DECODER/HAVE_VP8_ENCODER/
Philip Jägenstedt [Fri, 21 May 2010 06:23:58 +0000 (08:23 +0200)]
[MOVED FROM BAD 030/134] vp8: typo: s/HAVE_VP8_DECODER/HAVE_VP8_ENCODER/

Fixup for bug #619172.

12 years ago[MOVED FROM BAD 029/134] vp8: move #ifdef HAVE_VP8_ENCODER/DECODER
Philip Jägenstedt [Fri, 21 May 2010 06:13:06 +0000 (08:13 +0200)]
[MOVED FROM BAD 029/134] vp8: move #ifdef HAVE_VP8_ENCODER/DECODER

Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.

12 years ago[MOVED FROM BAD 028/134] vp8enc: Write GStreamer element and version in the vorbiscom...
Sebastian Dröge [Thu, 20 May 2010 18:06:09 +0000 (20:06 +0200)]
[MOVED FROM BAD 028/134] vp8enc: Write GStreamer element and version in the vorbiscomment vendor string