summaryrefslogtreecommitdiff
path: root/libavcodec/libdavs2.c
Commit message (Collapse)AuthorAge
* avcodec/avcodec: Don't include cpu.hAndreas Rheinhardt2021-07-22
| | | | | | | It is not used here at all; instead, add it where it is used without including it or any of the arch-specific CPU headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* 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>
* avcodec/libdavs2: unbreak compilation failureGyan Doshi2021-03-17
| | | | | | FF_CODEC_CAP_AUTO_THREADS added in 8a129077cc requires internal.h Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* 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.
* lavc/libdavs2: fix frame dumping error descriptionhwrenx2019-03-23
| | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
* lavc/libdavs2: add davs2_flushhwrenx2019-03-23
| | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
* lavc/libdavs2: fix parameter setting errorhwren2019-02-19
| | | | Signed-off-by: hwrenx <hwrenx@126.com>
* lavc/libdavs2: Cosmetics: Fix indentation for switch statementJun Zhao2019-01-04
| | | | | | | Cosmetics: Fix indentation for switch statement like the Linux kerenl style. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavc/libdavs2: enable multithreadhwrenx2018-12-26
| | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
* lavc/libdavs2: fix function return value errorhwrenx2018-12-03
| | | | Signed-off-by: hwrenx <hwrenx@126.com>
* lavc/libdavs2: output delayed frameshwrenx2018-12-03
| | | | Signed-off-by: hwrenx <hwrenx@126.com>
* libdavs2: update api version and enable avx optionhwrenx2018-12-03
| | | | Signed-off-by: hwrenx <hwrenx@126.com>
* libavcodec/libdavs2.c: Fix for the wrong line size is usedLimin Wang2018-11-25
| | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
* lavc/libdavs2: correct frame type settinghwren2018-11-18
| | | | Signed-off-by: hwren <hwrenx@126.com>
* lavc/libdavs2: remove unused frame counterhwren2018-11-18
| | | | Signed-off-by: hwren <hwrenx@126.com>
* lavc/libdavs2: Remove yuv420p10le from fromat list.Jun Zhao2018-10-28
| | | | | | | now libdavs2 can't support 10bits mode, so remove the yuv420p10le from fromat list. Signed-off-by: Jun Zhao <jun.zhao@intel.com>
* lavc/libdavs2: fix error return codeshwren2018-09-17
| | | | Signed-off-by: hwren <hwrenx@126.com>
* lavc/libdavs2: remove unused header fileshwren2018-09-17
| | | | Signed-off-by: hwren <hwrenx@126.com>
* avs2: correct avs2 descriptionhwren2018-08-08
| | | | | Signed-off-by: hwren <hwrenx@126.com> Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
* avcodec: add missing files missed in previous commitsJames Almer2018-07-27
Fixes compilation. Signed-off-by: James Almer <jamrial@gmail.com>