Tim-Philipp Müller
8e04651b8b
Use gst_buffer_new_memdup()
...
Update for function rename in core.
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/827
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2281 >
2021-05-24 19:05:27 +01:00
Tim-Philipp Müller
0151276d7f
Use new gst_buffer_new_copy()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2279 >
2021-05-23 17:20:16 +01:00
Julian Bouzas
d9d30ff464
aom: allow per feature registration
...
Split plugin into features including
dynamic types which can be indiviually
registered during a static build.
More details here:
https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038 >
2021-03-23 14:19:16 +00:00
Mathieu Duponchelle
a048ce81d4
plugins: uddate gst_type_mark_as_plugin_api() calls
2020-06-06 00:40:42 +02:00
Sebastian Dröge
74f2f733be
plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types
2020-06-04 13:33:16 -04:00
Aaron Boxer
6d3429af34
documentation: fixed a heap o' typos
2019-11-05 09:11:25 -05:00
Wonchul Lee
5320bb9085
av1enc: Add tile-{columns,rows} properties
...
It provides to set tile-columns and tile-rows configurations. The av1
codec allows an input image frame be partitioned into separate vertical
or horizontal tile which can be encoded or decoded independently. It
helps to encode/decode parallel.
2019-11-05 00:10:26 +00:00
Wonchul Lee
fc93b2669d
av1enc: Enable row-mt by default
...
Enabling row-mt property can help to increase cpu utilization and reduce
encoding speed, so set it to on by default.
2019-11-05 00:10:26 +00:00
Wonchul Lee
fbcbf36fe3
av1enc: change cpu-used range upto 5
...
The speed 6, 7 and 8 has been removed because it's not yet tuned
correctly.
https://aomedia.googlesource.com/aom/+/7ffbf92030baf6886c2486574cca16d60499bbb8
2019-09-06 13:41:35 +00:00
Matthew Waters
3cb01699d4
av1enc: fix werror build with clang
...
../subprojects/gst-plugins-bad/ext/aom/gstav1enc.c:415:34: warning: implicit conversion from enumeration type 'GstAV1EncEndUsageMode' to different enumeration type 'enum aom_rc_mode' [-Wenum-conversion]
av1enc->aom_cfg.rc_end_usage = DEFAULT_END_USAGE;
~ ^~~~~~~~~~~~~~~~~
../subprojects/gst-plugins-bad/ext/aom/gstav1enc.c:162:41: note: expanded from macro 'DEFAULT_END_USAGE'
#define DEFAULT_END_USAGE GST_AV1_ENC_END_USAGE_VBR
^~~~~~~~~~~~~~~~~~~~~~~~~
2019-08-28 02:47:18 +00:00
Wonchul Lee
1ddd13da24
av1enc: enable row-mt property conditionally
...
The row based multi threading control was introduced after 1.0.0 version
of libaom released. It adds a guard to check the relevant control
definition declared. It fixes #1025
2019-07-27 08:15:33 +00:00
Sebastian Dröge
67ccaf904d
av1enc: Also set AV1E_SET_ROW_MT from the property value when initializing the encoder
...
Previously it was only set if the property was changed after the encoder
was initialized.
2019-07-22 12:23:51 +03:00
Wonchul Lee
783048309f
av1enc: Add threads and row-mt properties
...
Add threads related property that setting a number of threads to encode
av1 codec and row-mt configuration.
2019-07-22 11:23:47 +03:00
Wonchul Lee
5c5888a1aa
av1enc: Release lock when failing to initialize
...
Add to missing unlock when failing to initialize encoder.
2019-07-22 11:23:47 +03:00
Sebastian Dröge
942445b0ac
Revert "av1enc: Release lock when failing to initialize"
...
This reverts commit 7de6b5d481
.
It was accidentally squashed together from the MR instead of keeping the
individual commits.
2019-07-22 11:23:22 +03:00
Wonchul Lee
7de6b5d481
av1enc: Release lock when failing to initialize
...
Add to missing unlock when failing to initialize encoder.
2019-07-22 06:59:48 +00:00
Mathieu Duponchelle
da6afdec9c
doc: remove xml from comments
2019-05-29 22:58:08 +02:00
Wonchul Lee
51d5db3f47
av1enc: Add to configure image formats
...
Expanded to support image format to YV12/I422/I444. It's related to the
color bit-depth and profile of the codec. It can make configuring
appropriate profile according to bit-depth and format.
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-10-10 15:44:34 -04:00
Wonchul Lee
cc9d65a512
av1enc: fix compliation with removed defines
...
AOM_FRAME_IS_INVISIBLE is unused and remove in aom_encoder.h
https://aomedia-review.googlesource.com/c/aom/+/70421
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-10-10 15:44:34 -04:00
Wonchul Lee
7d73307bc4
av1enc: Add configurations
...
Added rate control and profile related configuration. The profile
configuration has been copied from vpx.
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-10-10 15:44:34 -04:00
Olivier Crête
8908260c1f
av1enc: Implement latency setting
2018-07-26 11:19:41 -04:00
Olivier Crête
576c0b2a69
av1enc: Propagate flags from encoder to GstBuffer
2018-07-26 10:48:34 -04:00
Olivier Crête
7c2170a63a
av1enc: Implement finish for EOS
...
Call the encode function repeatedly until nothing comes out.
https://bugzilla.gnome.org/show_bug.cgi?id=796727
2018-07-26 10:34:29 -04:00
Olivier Crête
187783354a
av1enc: Return downstream error from push
2018-07-26 10:34:29 -04:00
Sean DuBois
a8ffc56f84
aom: Implement cpu-used in av1enc
...
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-02-14 10:19:40 +02:00
Sean DuBois
fc4fe1c10e
aom: Drop pointless cast from av1enc
...
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-02-05 15:34:49 +02:00
Sean DuBois
86abe6b1e6
aom: Fix all definite leaks in av1enc
...
Track if the encoder has been inited, and cleanup if needed. Also unref
input_state if has been set
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-02-05 15:34:49 +02:00
Sean DuBois
327586bd26
aom: Consistent naming between av1dec and av1enc
...
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-02-05 15:34:49 +02:00
Sean DuBois
2b03bc021c
aom: Add direct casts for GstAV1Enc and GstAV1Dec
...
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-01-26 11:12:06 +02:00
Sean DuBois
8b27637b4a
aom: Deadline was removed from AV1
...
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-01-26 11:12:06 +02:00
Sean DuBois
0900cbd0a2
aom: Put av1enc config debugging under gst_av1_enc_debug namespace
...
https://bugzilla.gnome.org/show_bug.cgi?id=791674
2018-01-26 11:12:06 +02:00
Edward Hervey
67d6608a58
av1enc: Add debugging of configuration settings
...
In preparation of making such properties configurable
via gobject properties.
2017-12-15 17:38:12 +01:00
Edward Hervey
fbc68c35d3
av1enc: Remove g_print for errors
...
And use standard debugging system for it
2017-12-15 17:37:08 +01:00
Sean DuBois
1c583fd27b
Add aom plugin with av1enc and av1dec element
...
https://bugzilla.gnome.org/show_bug.cgi?id=784160
2017-12-15 15:44:17 +01:00