summaryrefslogtreecommitdiff
path: root/libavcodec/libsvtav1.c
Commit message (Collapse)AuthorAge
* avcodec: Constify AVCodecsAndreas Rheinhardt2021-04-27
| | | | | | | | | | Given that the AVCodec.next pointer has now been removed, most of the AVCodecs are not modified at all any more and can therefore be made const (as this patch does); the only exceptions are the very few codecs for external libraries that have a init_static_data callback. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavc: rename AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADSAnton Khirnov2021-03-16
| | | | | | | | | | This cap is currently used to mark multithreading-capable codecs that wrap external libraries with their own multithreading code. The name is highly confusing for our API users, since libavcodec ALWAYS handles thread_count=0 (see commit message in previous commit). Therefore rename the cap and update its documentation to make its meaning clear. The old name is kept deprecated until next+1 major bump.
* lavc: replace internal use of AV_CODEC_CAP_AUTO_THREADS with an internal capAnton Khirnov2021-03-16
| | | | | | | | | | | | | | | | AV_CODEC_CAP_AUTO_THREADS was originally added in b4d44a45f9a to mark codecs that spawn threads internally and are able to select an optimal threads count by themselves (all such codecs are wrappers around external libraries). It is used by lavc generic code to check whether it should handle thread_count=0 itself or pass the zero directly to the codec implementation. Within this meaning, it is clearly supposed to be an internal cap rather than a public one, since from the viewpoint of a libavcodec user, lavc ALWAYS handles thread_count=0. Whether it happens in the generic code or within the codec internals is not a meaningful difference for the caller. External aspects of this flag will be dealt with in the following commit.
* avcodec/libsvtav1: remove unneeded svt_av1_enc_deinit_handle()Limin Wang2020-08-14
| | | | | | It's for FF_CODEC_CAP_INIT_CLEANUP flag. Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avcodec/libsvtav1: fix copy and paste errorLimin Wang2020-08-12
| | | | | Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* libsvtav1: Fix the documentation to match the actual optionsMark Thompson2020-07-31
|
* libsvtav1: Use _ rather than - in optionsMark Thompson2020-07-31
|
* libsvtav1: Rename without a _Mark Thompson2020-07-31
The external library is called libsvtav1, so use this name everywhere.