Martin Pulec
31d9809fcd
Updated documentation
...
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
5eddc6546b
Replaced function attributes pure with const
...
Const is actually more powerful than pure while all those function
satisfy those more strict requirements.
2019-11-04 07:53:10 +01:00
Martin Pulec
507a419bb1
Libavcodec common: return print_decoder_error
...
Needed by audio libavcodec, if linking with the object, there would be
needed to link also with VDPAU which doesn't look fortunate.
2019-10-31 09:56:03 +01:00
Martin Pulec
a6dd67032b
Libavcodec common: moved functions from hdr to src
2019-10-23 09:54:57 +02:00
Martin Pulec
06b521f2d0
Libavcodec common: UV<->AV pixfmt conversion funcs
...
Use form UV<->AV pixfmt conversions functions rather than the C++ map in
order to maintain compatibility with C code.
2019-10-22 13:46:06 +02:00
Martin Pulec
763d354794
Lavc: moved UG<->libav codec map to common
2019-10-21 13:49:23 +02:00
Martin Pulec
9e9e77e135
Libavcodec common: do not export API of convs
...
Mark conversion functions as static and remove from header.
2019-10-07 18:28:51 +02:00
Martin Pulec
294041f60b
Libavcodec common: don't include conv list in header
...
Do not include conversion lists in header - it adds dependency on the
libavcodec_common.c file to every module that (transitively) includes
the header (eg. GL) which results in undefined references with modular
build.
2019-10-03 16:57:54 +02:00
Martin Pulec
cff978a082
Do not convert AV_PIX_FMT_* to AV_PIX_FMT_NONE
...
This partially corrects commit f83230c2 which converts the pix format to
0 if not found (old FFMPEG) whereas on some places non-0 is expected
(see previous commit).
2019-09-26 18:37:28 +02:00
Martin Pulec
f83230c208
Libavcodec common: compat macros improvments
...
* reodered
* correctly found out some exact API numbers
* use lavu instead of lavc for some macros that are for lavu functions'
compatibility
2019-09-25 08:49:07 +02:00
Martin Pulec
8a6674d516
Libavcodec common: fixed version check
2019-09-25 08:36:13 +02:00
Martin Pulec
de00f170eb
Added r10k_to_bgr0
2019-09-23 14:23:31 +02:00
Lukas Rucka
babdb79239
COMPAT: compile even with antique version of ffmpeg/libavcodec
2019-07-23 16:01:01 +02:00
Martin Pulec
d00639aea6
libavcodec_common.h: removed no longer used items
2019-06-26 16:25:49 +02:00
Martin Piatka
55bc7d3f82
lavc: Add r10k to yuv422p10le conversion
2019-06-20 12:17:37 +02:00
Martin Pulec
79e90e6501
Libavcodec: toggle optimalizations + params restrict
...
Note: C99 restrict cannot be used because restrict is not a keyword in
C++. __restrict__ or __restrict can be used (the later is supported also
by MSVC).
+ rename min/max macro
2019-06-18 14:59:20 +02:00
Martin Pulec
6b1cf9c2b5
Libavcodec conversions: rename
2019-06-18 14:59:20 +02:00
Martin Pulec
81f7b632d6
Libavcodec: moved conversions to a separate file
2019-06-18 14:59:20 +02:00
Martin Pulec
e285a2318f
Lavd: print text representation of error
2019-06-14 08:55:04 +02:00
Martin Pulec
3a8d3382d0
Libavcodec: AV_CODEC_ID_AV1 backward compat
2019-04-08 17:36:23 +02:00
Martin Pulec
f8656a08d6
SDP: complain about unsupported codecs
2018-11-23 16:12:01 +01:00
Martin Pulec
3f8d00391f
Libavcodec: added HuffYUV and FFV1
2018-11-13 15:13:21 +01:00
Martin Pulec
84b5e18667
Libavcodec 58 compat
2018-01-02 09:57:47 +01:00
Martin Pulec
4950bf95e8
Libavcodec: small cleanups
...
* denote which identifiers are 8-bit
* simplify pixel format conversions lookup in decoder
* if encoder could not have been initialized, writes for which pixel
format (useful for NVENC where HW may not support all pixel formats)
2017-02-15 10:18:30 +01:00
Martin Pulec
c76b4f95e9
Libavcodec: experimental support for 10-bit
2017-02-15 10:17:59 +01:00
Martin Pulec
37fac85d02
Libavcodec: do not use VP9 where not available
2017-02-14 21:27:26 +01:00
Martin Pulec
24c0c93075
Libavcodec: try different pix. formats for encoder
...
This fixes problem when hevc_nvenc reports YUV444 although device
doesn't support it (eg. Maxwell NVIDIA cards) and thus avcodec_open2()
fail. From now, different pixel formats are examined and used if open is
successful (YUV420 in this case).
2017-01-04 13:14:22 +01:00
Martin Pulec
47d1cb4014
Libavcodec: removed deprecated functions (encoder)
...
+ fixed leaked codec in audio
+ fixed warnings in codec listing (--audio-codec help)
2016-10-10 20:44:37 +02:00
Martin Pulec
86eb848b2c
Libavcodec: fixed avcodec_free_context compat
...
+ compute bitrate tolerance differently (now it is at most 6 frames)
2016-08-01 14:19:19 +02:00
Martin Pulec
6bd457cee6
Libavcodec: compat
...
+ fixed some mess in configure.ac
2016-07-26 15:06:04 +02:00
Martin Pulec
6ced9a57f6
Lavd: removed some deprecated functions
...
+ fixed leaked AVCodecContext
2016-06-29 10:36:55 +02:00
Martin Pulec
6ffaff45ff
Lavc: toggle flag for interlaced
2016-06-28 17:33:24 +02:00
Martin Pulec
a9266d3f60
Libavcodec: do not use deprecated av_free_packet
2016-03-14 11:33:42 +01:00
Martin Pulec
7c67d8090d
Libavcode 53 compat
2015-09-28 10:53:17 +02:00
Martin Pulec
e3817ebd64
Older libavcodec compat
2015-09-28 10:21:39 +02:00
Martin Pulec
425672678a
Libavcodec: use compat macro globally (also in dec)
2015-07-14 17:03:30 +02:00
Martin Pulec
a60b9d2cbb
Blank cap. filt.: use scaling instead of black
...
It is not so disturbing at the picture. Black can still be enabled with
":black" option.
2015-07-07 17:23:49 +02:00
Martin Pulec
a6f814d9bb
Libavcodec: another improvements
2015-04-30 14:09:17 +02:00
Martin Pulec
cf8425aa41
Libavcodec: support for AV_PIX_FMT_NV12 pixfmt (NVENC)
2015-04-30 11:59:54 +02:00
Martin Pulec
bf40b4526d
Another libavcodec 53 compat
2014-12-17 13:56:19 +01:00
Martin Pulec
fcc4cb2b38
Small libavcodec 53 compat fix
2014-12-17 12:31:50 +01:00
Martin Pulec
af74d48c1c
Libavcodec audio: minor improvements
2014-09-19 18:22:09 +02:00
Martin Pulec
b1381c2d5f
Rewrite libavcodec video compress to c++
2014-09-16 16:01:54 +02:00
Martin Pulec
57932e3825
Libavcodec: fixed support for v54
2014-05-12 11:17:09 +02:00
Lukas Rucka
935647e9f6
Libavcodec compatibility fix (ffmpeg 54.x.y)
2013-11-05 17:02:58 +01:00
Martin Pulec
6406b31564
Libavcodec: some compatibility tweaks
2013-05-16 10:40:10 +02:00
Martin Pulec
2e2ab75e2e
Lavd: support for yuv444 (from GPUJPEG)
2013-05-07 15:51:37 +02:00
Martin Pulec
5892b60e1f
Lavd: use single-threaded decoder if MT broken
2013-04-22 11:28:20 +02:00
Martin Pulec
1ecc902abf
Libavcodec tweaks
2013-04-19 16:27:26 +02:00