summaryrefslogtreecommitdiff
path: root/libavcodec/libaomenc.c
Commit message (Collapse)AuthorAge
* libavcodec/libaomenc: fix breakage from upstreamHelmut K. C. Tessarek2018-12-19
| | | | | | | commit https://aomedia.googlesource.com/aom/+/4667aa1a373566e9c124afcd58c71731ab0d7377 changed parts of the code that broke compilation of libavcodec/libaomenc.c Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaomenc: add row-mt optionJames Almer2018-12-09
| | | | | | | | Default to disable, same as aomenc. Fixes ticket #7598 Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/libaomenc: Add a maximum constraint of 64 encoder threads.Jun Zhao2018-11-29
| | | | | | | | | fixed the error in Intel(R) Xeon(R) Gold 6152 CPU like: [libaom-av1 @ 0x469f340] Failed to initialize encoder: Invalid parameter [libaom-av1 @ 0x469f340] Additional information: g_threads out of range [..MAX_NUM_THREADS] Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaomenc: increase the default bitrateJames Almer2018-11-26
| | | | | | | | | aom_codec_enc_config_default() sets it to 256kbps, so don't replace it with 200kbps. See https://bugs.chromium.org/p/aomedia/issues/detail?id=2219 Signed-off-by: James Almer <jamrial@gmail.com>
* libaomenc: Drop unused noise-sensitivity optionMark Thompson2018-11-18
|
* libaomenc: Add support for tilesMark Thompson2018-10-28
| | | | | | | | | | Adds an option to specify the number of tile rows and columns, then uses a uniform tiling if possible and otherwise a fixed tiling with equal-sized tiles to fill the frame. Also adds -tile-columns and -tile-rows options to make tilings with power-of-two numbers of tiles, matching the behaviour of the libvpx/VP9 encoder.
* libavcodec/libaomenc.c: Added code for computing PSNR/SSIMSam John2018-10-11
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaom: fix setting amount of threadsJames Almer2018-09-13
| | | | | | | | | | | | 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>
* avcodec/libaomenc: remove AVOption related to frame partitionsJames Almer2018-09-12
| | | | | | | | | Support for it was apparently never in the codebase, and the enum value was recently removed from the public headers [1] [1] https://aomedia.googlesource.com/aom/+/df4ffb73140fe31bebdabd17c1a7b53721e74838 Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaomenc: correct range for cpu-usedGyan Doshi2018-08-06
| | | | | | Valid range is [0,8] as stated in aom.git:aom/aomcx.h Fixes #7343
* avcodec/libaomenc: export Sequence Header and Metadata OBUs as extradataJames Almer2018-07-20
| | | | | | | | aom_codec_get_global_headers() is not implemented as of libaom 1.0.0 for AV1, so we're forced to extract the relevant header OBUs from the first packet and propagate them as packet side data. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaomenc: remove references to gbrp pixfmtJames Almer2018-04-02
| | | | | | Support for this needs testing, so remove for now. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaomenc: use av_assert0()James Almer2018-03-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libaomenc: minor cosmeticsJames Almer2018-03-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/libaomenc: add support for transfer characteristics and color ↵James Almer2018-03-29
| | | | | | primaries Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/libaomenc: fix size specifier in an av_log callJames Almer2018-03-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcode/profiles: add AV1 profilesJames Almer2018-03-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda'James Almer2018-03-29
| | | | | | | | | | * commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda': Support AV1 encoding using libaom This contains some extra changes taken from the libvpx encoder wrapper, most of them contained in the set_pix_fmt() function. Merged-by: James Almer <jamrial@gmail.com>
* Support AV1 encoding using libaomLuca Barbato2018-03-12