aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_thumbnail: switch to query_func2HEADmasterNiklas Haas7 hours1-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of enumerating a static list of planar formats to support, walk through the format list and enable all supported formats. As of writing, this generates the following format list: - gbrap - gbrap10le - gbrap12le - gbrap14le - gbrap16le - gbrp - gbrp10le - gbrp12le - gbrp14le - gbrp16le - gbrp9le - gray - gray10le - gray12le - gray14le - gray16le - gray9le - ya16le - ya8 - yuv410p - yuv411p - yuv420p - yuv420p10le - yuv420p12le - yuv420p14le - yuv420p16le - yuv420p9le - yuv422p - yuv422p10le - yuv422p12le - yuv422p14le - yuv422p16le - yuv422p9le - yuv440p - yuv440p10le - yuv440p12le - yuv444p - yuv444p10le - yuv444p12le - yuv444p14le - yuv444p16le - yuv444p9le - yuva420p - yuva420p10le - yuva420p16le - yuva420p9le - yuva422p - yuva422p10le - yuva422p12le - yuva422p16le - yuva422p9le - yuva444p - yuva444p10le - yuva444p12le - yuva444p16le - yuva444p9le - yuvj411p - yuvj420p - yuvj422p - yuvj440p - yuvj444p
* avfilter/vf_thumbnail: support more planar formatsNiklas Haas7 hours1-5/+20
| | | | | | | | | | | This adds support for high bit depth formats, as well as formats with fewer than 3 planes. The implementation for HBD is the same as for 8 bit formats, just right shifted to 8 bits. It's worth pointing out that this also works for HDR formats (and even DV), because the underlying implementation is just trying to minimize the histogram difference. If anything, using a HDR format will result in a *more* accurate detection, because HDR formats tend to be more perceptually uniform.
* avcodec/nvdec: switch to proper pixfmts on next major bumpTimo Rothenpieler26 hours4-0/+28
|
* avcodec/nvenc: add support for new 10 bit MSB pixel formatsTimo Rothenpieler26 hours1-12/+21
|
* swscale: add support for new 10/12 bit MSB formatsTimo Rothenpieler26 hours31-57/+436
|
* avutils/pixfmt: add YUV444/GBRP 10 and 12 bit MSB formatsTimo Rothenpieler26 hours4-0/+175
|
* avfilter/overlay_cuda: add timeline editing supportJorge Estrada26 hours2-1/+2
| | | | | | | | | | | | | Enables timeline editing options for overlay_cuda similar to what overlay allows Example overlaying an image on a video between 30 to 60 seconds: ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i sample-video.mp4 -i sample-image.jpg -filter_complex "[1:v]hwupload_cuda[image],[0:v]scale_npp=format=yuv420p[video],[video][image]overlay_cuda=enable='between(t,30,60)'" -c:v h264_nvenc -c:a copy -y overlay-output-gpu.mp4 Signed-off-by: Jorge Estrada <jestrada.list@gmail.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avformat/tls_schannel: fix non-blocking write breaking TLS sessionsTimo Rothenpieler26 hours1-32/+79
|
* avformat/tls_schannel: add option to load server certificate from storeTimo Rothenpieler26 hours1-7/+40
|
* avformat/tls_schannel: add DTLS supportTimo Rothenpieler26 hours3-65/+833
|
* avformat/tls: make passing an external socket universalTimo Rothenpieler26 hours3-11/+16
|
* avformat/udp: add function to set remote address directlyTimo Rothenpieler26 hours2-0/+31
|
* avformat/udp: separate rx and tx fifoTimo Rothenpieler26 hours1-20/+27
|
* avformat/udp: make recv addr of each packet availableTimo Rothenpieler26 hours2-18/+36
|
* avformat/tls: move whip specific init out of generic tls codeTimo Rothenpieler26 hours3-13/+13
|
* avformat/rtsp: check copy_tls_opts_dictMarvin Scholz27 hours1-10/+33
| | | | | Properly check av_dict_set return values and propagate them to the caller so they can be handled.
* avformat/rtsp: use av_unreachableMarvin Scholz27 hours1-1/+1
|
* avformat/rtsp: fix misleading indentationMarvin Scholz27 hours1-2/+2
|
* avcodec/mpegvideo_dec: Avoid implicit NULL + offsetAndreas Rheinhardt28 hours2-32/+33
| | | | | | | | | Happens since 4fc874ef0813d39983f9b634cec42798aa94b57a when this code is called via error resilience. Also do the same for wmv2dec.c. Fixes the vsynth_{1,2,3,_lena}-mpeg4-error and wmv2-drm-dec FATE-tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/opus/dec: Simplify resetting AVAudioFifoAndreas Rheinhardt28 hours1-3/+3
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/opus/dec: Don't call function multiple times in FFMAXAndreas Rheinhardt28 hours1-1/+2
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/opus/dec: Remove unused parametersAndreas Rheinhardt28 hours1-5/+2
| | | | | | | | The parameters here are not only unused, but buf_size's value is actually wrong when flushing (it comes from the subpacket of the last packet sent and is therefore outdated). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/get_bits: Remove GetBitContext.buffer_endAndreas Rheinhardt28 hours1-5/+1
| | | | | | | | | | | It is unused. Furthermore, this automatically fixes the issue that init_get_bits() failure would lead to NULL + 0 (when setting buffer_end) which is UB before C23. This happened in the fic-avi and fic-avi-skip_cursor FATE-tests. This saved 7296B of .text here. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/get_bits: Add get_bits_bytesize()Andreas Rheinhardt28 hours8-11/+38
| | | | | | And use it to avoid accesses to GetBitContext.buffer_end. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vvc/dec: Don't use GetBit-API when byte-alignedAndreas Rheinhardt28 hours1-13/+16
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/bytestream: Add const where appropriateAndreas Rheinhardt28 hours1-8/+8
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/scd: ensure SCD_MIN_HEADER_SIZE bytes are readKacper Michajłow42 hours1-1/+2
| | | | | | | | | | | Instead of accessing unintialized data when input is shorter than expected size. Fixes use of uninitialized value in MSAN build. Found by OSS-Fuzz. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fftools/ffmpeg_demux: don't flag timestamps as unreliable if they are generatedJames Almer2 days1-1/+10
| | | | | | | | | | Regardless of the source being an AVFMT_NOTIMESTAMPS format, if the timestamps are generated like when using the use_wallclock_as_timestamps demuxer option, then they are reliable. Fixes ticket #11268 Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/rtsp: fix leak of options dict on errorMarvin Scholz2 days1-0/+3
| | | | | | Fix CID 1655306 Reviewed-by: Kieran Kunhya <kierank@obe.tv>
* avcodec/adpcm: squelch uninitialized variable warningsPeter Ross2 days1-0/+4
| | | | | | Fixes CID1655273 and CID1655274. Signed-off-by: Marvin Scholz <epirat07@gmail.com>
* doc/scaler.texi: add missing gamma optionDesmond Liu4 days1-0/+3
| | | | | | Add missing 'gamma correct scaling' option to documentation. Signed-off-by: Desmond Liu <desmond.liu@netint.ca>
* avformat/tls: rename accidentally changed optionsMarvin Scholz5 days1-2/+2
| | | | | | | These were accidentally renamed back to the old names in ba9817df9df5911ceb2edff37d9ec970c29329e2 Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
* Changelog: mention dropping OpenSSL < 1.1.0Marvin Scholz5 days1-0/+1
|
* avformat/mov: add support for APV streamsDawid Kozinski5 days4-2/+10
| | | | | Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com> Signed-off-by: James Almer <jamrial@gmail.com>
* APIchanges: Add entry for AV_PKT_DATA_RTCP_SRMarvin Scholz5 days1-0/+3
|
* avcodec: bump minor after adding AV_PKT_DATA_RTCP_SRMarvin Scholz5 days1-1/+1
|
* avformat: rtsp: export AV_PKT_DATA_RTCP_SRMarvin Scholz5 days1-0/+18
|
* avcodec: add AV_PKT_DATA_RTCP_SR side data typeMarvin Scholz5 days2-0/+7
|
* lavf: add and use AVRTCPSenderReport structMarvin Scholz5 days4-17/+37
| | | | This will be used in a future commit to expose the SR as side-data.
* lavf/rtpdec: fix RTCP SR packet length checkMarvin Scholz5 days1-1/+1
| | | | | | | | | The minimum valid packet length is 28, given that the length includes the packet header. This didn't cause any issues so far as the code did not care about the last two fields in the SR section, but will be relevant in a future commit.
* avformat/tls_openssl: use SSL_CTX_set_min_proto_versionMarvin Scholz6 days1-1/+5
| | | | | | Using SSL_CTX_set_options to disallow specific versions is discouraged by the documentation, which recommends to use SSL_CTX_set_min_proto_version instead.
* avformat/tls_openssl: use TLS_[client|server]_methodMarvin Scholz6 days1-2/+2
| | | | | SSLv23_*_method was just a define for these anyway since OpenSSL 1.1.0 and the old functions are deprecated.
* avformat/tls_openssl: remove unnecessary checksMarvin Scholz6 days1-4/+4
| | | | Calling av_free with NULL is a no-op so this check is not needed.
* avformat/tls_openssl: remove leftover commentMarvin Scholz6 days1-1/+0
|
* avformat/tls_openssl: properly get new BIO indexMarvin Scholz6 days1-4/+12
| | | | | | As noted in the OpenSSL documentation, BIO_get_new_index must be used to get a new BIO index. This is ORd with the proper type flag BIO_TYPE_SOURCE_SINK.
* avformat/tls_openssl: remove now unnecessary defineMarvin Scholz6 days1-4/+2
| | | | | This was used previously when multiple OpenSSL versions were supported that required this to be handled differently.
* avformat: tls: drop support for OpenSSL < 1.1.0Marvin Scholz6 days2-172/+2
|
* configure: require at least OpenSSL 1.1.0Marvin Scholz6 days1-6/+3
| | | | | Given that OPENSSL_init_ssl was introduced in 1.1.0 means we can rely on that to ensure we have at least 1.1.0.
* avformat/rtsp: add TLS optionsDaniel N Pettersson6 days2-1/+36
| | | | | | | Add TLS options to RTSP for when TLS is used for the lower protocol. Signed-off-by: Marvin Scholz <epirat07@gmail.com> Co-authored-by: Marvin Scholz <epirat07@gmail.com>
* avformat/tls: move common client options into their own defineMarvin Scholz6 days1-5/+9
| | | | Used in a future commit to not duplicate options.