James Almer
e08a876e67
avcodec/libaomdec: remove bogus comment
...
It's a remnant from libvpx that's not valid for libaom.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
309c3a0e81
avcodec/libaom: fix setting amount of threads
...
The libaom doxy says that a value of 0 for the threads fields is
equivalent to a value of 1, whereas for avctx->thread_count it means
the maximum amount of threads possible for the host system.
Use av_cpu_count() to get the correct thread count when auto threads
is requested.
Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
728760de35
Revert "avcodec/libaomdec: auto insert dump_extra bitstream filter"
...
This reverts commit e45ed15594
.
The Matroska spec was updated to not remove Sequence Header OBUs from key
frames, so this is no longer needed.
6 years ago
James Almer
e45ed15594
avcodec/libaomdec: auto insert dump_extra bitstream filter
...
Some containers, like Matroska, may propagate key frames with no Sequence
Header OBU since it's provided in extradata instead.
With this change, the Sequence Header will be appended to the packet data
before calling aom_codec_decode().
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
2accdd3871
avcodec/libaomdec: fix broken pix_fmt changes from the previous commit
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
f3fae82042
avcodec/libaomdec: add support for monochrome files
...
All such files are signaled as I42016, as there's no monochrome value
in aom_img_fmt_t.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
d5343a5005
avcodec/libaomdec: remove duplicate code
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
4897c80cc6
avcodec/libaomdec: remove references to gbrp pixfmt
...
Support for this needs testing, so remove for now.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
97de37da9c
libavcodec/libaomdec: add support for transfer characteristics and color primaries
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
88e9b616b9
libavcodec/libaomdec: use the matrix coefficients value from aom_image
...
"color_space" is no longer a sytax element in libaom.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
c0f0c9f531
avcode/profiles: add AV1 profiles
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
d039d7d4a4
avcodec/libaomdec: remove references to yuv440p pixfmt
...
While the enums are defined in the libaom headers, it's not officially
supported.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Luca Barbato
c438899a70
Add AV1 video decoding support through libaom
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
7 years ago