Commit Graph

37274 Commits

Author SHA1 Message Date
openvela-robot a9577d896e Merge commit '2bfa067d0b636e7b2004fb0ad5a53d0d48c6de32'
* commit '2bfa067d0b636e7b2004fb0ad5a53d0d48c6de32':
  vaapi_encode: Check config attributes before creating config

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:35:08 +08:00
openvela-robot b9879bc295 Merge commit '24b5cff01bbac4e08acfd6d19c499e880988f520'
* commit '24b5cff01bbac4e08acfd6d19c499e880988f520':
  lavc: handle hw_frames_ctx where necessary

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:55 +08:00
openvela-robot 8338967a94 Merge commit '4024b566d664a4b161d677554be52f32e7ad4236'
* commit '4024b566d664a4b161d677554be52f32e7ad4236':
  golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better names

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:54 +08:00
openvela-robot b195d6925b Merge commit 'e47b8bbf0b54599d44b9330eb4d68cdde4f6d298'
* commit 'e47b8bbf0b54599d44b9330eb4d68cdde4f6d298':
  avcodec: Bump micro version after changing public JPEG 2000 defines

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:50 +08:00
openvela-robot 6120d64617 Merge commit 'ad61da054bd8c74a5d5b38d80846228fc6147108'
* commit 'ad61da054bd8c74a5d5b38d80846228fc6147108':
  jpeg2000: Fix profile define values

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:49 +08:00
openvela-robot cb78f7272f Merge commit '2ef6dab0a79a9852a92ed80b07f9e32a37530d9e'
* commit '2ef6dab0a79a9852a92ed80b07f9e32a37530d9e':
  lavc: document that avcodec_close() should not be used

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:47 +08:00
openvela-robot a32af9525e Merge commit '04fc8e24a091ed1d77d7a3c0cbcfe60baec19a9f'
* commit '04fc8e24a091ed1d77d7a3c0cbcfe60baec19a9f':
  lavc: deprecate avcodec_get_context_defaults3()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:46 +08:00
openvela-robot f5f17d1950 Merge commit '5f30ac27795f9f98043e8582ccaad8813104adc4'
* commit '5f30ac27795f9f98043e8582ccaad8813104adc4':
  lavc: deprecate avcodec_copy_context()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:45 +08:00
openvela-robot 6ce06496a5 Merge commit '74b1bf632f125a795e66e5fd0a060b9c7c55b7a3'
* commit '74b1bf632f125a795e66e5fd0a060b9c7c55b7a3':
  mp3: Make the extrasize explicit

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:43 +08:00
openvela-robot 9e248232e2 Merge commit '52567e8198669a1e7493c75771613f87a90466c3'
* commit '52567e8198669a1e7493c75771613f87a90466c3':
  get_bits: Drop some TRACE-level debug code

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2026-04-20 18:34:42 +08:00
Paul B Mahol 48e6b0f2c6 avcodec: add YUY2 Lossless Codec decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 18:34:38 +08:00
Michael Niedermayer a2d16a47c8 avcodec/h264_sei: Do not skip subsequent SEIs on errors potentially caused by missing parameter sets.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:34:37 +08:00
Timo Rothenpieler 08479516af avcodec/nvenc: Bring encoder names in line with other encoders 2026-04-20 18:34:37 +08:00
Martin Storsjö 52f8ff8403 omx: Don't return > 0 from omx_encode_frame
The encode function is supposed to just return 0 on success.
This stems from a mixup with the return value of decode functions.

Reviewed-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 18:34:37 +08:00
Aman Gupta 6c693c4ed7 avcodec/omx: fix deprecation warning for ff_alloc_packet
Tested-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:34:36 +08:00
Martin Vignali 3543ea79ba avcodec/exr: add missed hunks from previous exr commit 2026-04-20 18:34:36 +08:00
Martin Vignali a4bb6eda61 avcodec/exr: fix reading float channel when there is half and float channels in a file 2026-04-20 18:34:36 +08:00
Clément Bœsch 5e5e1e0e71 lavc/neontest: fix constness in arm/aarch64 avcodec_open2() wrappers 2026-04-20 18:34:36 +08:00
openvela-robot f2c1f5bced ffmpeg: do not use deprecated AVSubtitleRect.pict 2026-04-20 18:34:35 +08:00
openvela-robot 299a293793 avconv: factor out initializing stream parameters for encoding
Setting the filter input parameters is moved to init_input_stream(),
so that it is done before the decoder is opened, potentially overwriting
the information from avformat_find_stream_info() with less accurate
data.

This commit temporarily disables QSV transcoding with hw frames. The
functionality will be re-added in the following commits.
2026-04-20 18:34:33 +08:00
openvela-robot ea93001fad Merge commit 'd68fb1475856cf93199e2bc4eee3063902c35df7'
* commit 'd68fb1475856cf93199e2bc4eee3063902c35df7':
  mjpegdec: Properly fail on malloc failure

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:34:29 +08:00
openvela-robot bddcb533d0 Merge commit 'c0f4c7db9fea1c07d290a298b8db858b7ceed96d'
* commit 'c0f4c7db9fea1c07d290a298b8db858b7ceed96d':
  configure: move the hardware accel libs' entries in the help text

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:34:26 +08:00
openvela-robot 1d6ec89e4d avconv: explicitly postpone writing the header until all streams are initialized
This should have no practical effect for now, but will make a difference
in the following commits.
2026-04-20 18:34:24 +08:00
openvela-robot 15a1467d80 Merge commit '0d95d88fbd1aeadafb8b0b1bfb880bf21b33132c'
* commit '0d95d88fbd1aeadafb8b0b1bfb880bf21b33132c':
  lavc: revert the Makefile part of 330177b

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:34:21 +08:00
Jing Yu e50d105f68 avcodec/ppc: fix broken build when compiling libavcodec with LLVM on PPC backend
This commit fixes a broken build when compiling libavcodec with LLVM
compiler. These assembly files use non-standard format that is only
supported by GCC compiler. It would be nice to use a common standard
format. With this patch, both GCC and LLVM can build and generate the
same objects.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:34:19 +08:00
Martin Storsjö 66dc34f832 omx: Don't return > 0 from omx_encode_frame
The encode function is supposed to just return 0 on success.
This stems from a mixup with the return value of decode functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 18:34:19 +08:00
Martin Storsjö 314913adb6 libopenh264enc: Fix inconsistent whitespace
Signed-off-by: Martin Storsjö <martin@martin.st>
2026-04-20 18:34:19 +08:00
Diego Biurrun 2ba4635dc0 msmpeg4: Remove commented-out debug logging code 2026-04-20 18:34:19 +08:00
Diego Biurrun d74b9e01c1 msmpeg4: Remove some broken, commented-out cruft 2026-04-20 18:34:19 +08:00
Michael Niedermayer 3c4c979404 avcodec/flac_parser: Increase FLAC_MAX_SEQUENTIAL_HEADERS by 1
Fixes Ticket5343

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:34:08 +08:00
Michael Niedermayer bb67417285 avcodec/libx264: Remove unused variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:34:05 +08:00
openvela-robot 347549d03c Merge commit 'db7968bff4851c2be79b15b2cb2ae747424d2fca'
* commit 'db7968bff4851c2be79b15b2cb2ae747424d2fca':
  avio: Allow custom IO users to get labels for the output bytestream

Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
2026-04-20 18:34:00 +08:00
openvela-robot 82067d2aaa h264: Eliminate unused but set variable
libavcodec/h264_slice.c:1384:9: warning: variable 'droppable' set but not used
2026-04-20 18:33:57 +08:00
Matthieu Bouron d292d1d8ba lavc/mediacodec: increase buffer dequeue timeout when the codec needs to be drained
Increase buffer dequeue timeout when the codec needs to be drained as it
could happen that no input buffer is available when we receive a null
packet for the first time (meaning we are unable to signal end of stream
and mark the codec as draining).

Fixes potential loss of last frames after sending a null packet.
2026-04-20 18:33:55 +08:00
Matthieu Bouron 1dde5345c6 lavc/mediacodec: rely on buffer flags to detect end of stream 2026-04-20 18:33:55 +08:00
Matthieu Bouron e8a82a5843 lavc/mediacodec: re-indent after previous commit 2026-04-20 18:33:55 +08:00
Matthieu Bouron 0fe2c948cb lavc/mediacodec: discard 0-sized buffers
Their only purpose is to carry the end of stream flag.
2026-04-20 18:33:55 +08:00
Derek Buitenhuis 41238a711a avcodec: remove libutvideo wrapper support
The 10-bit decoding support is available now in native decoder.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 18:33:54 +08:00
Paul B Mahol 251108852a avcodec/sheervideo: fix YbYr format decoding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2026-04-20 18:33:54 +08:00
Clément Bœsch b66915e5d7 lavc: fix previous merge 2026-04-20 18:33:49 +08:00
openvela-robot dc0011813c Merge commit 'ffa190d0479d2370dd89c95692f822cbff2cc24c'
* commit 'ffa190d0479d2370dd89c95692f822cbff2cc24c':
  Move VLC and RL_VLC_ELEM structure definitions to a separate header

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:33:49 +08:00
Michael Niedermayer 677701a79f avcodec/flac_parser: Raise threshold for detecting invalid data
Fixes regression from Ticket5428

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:33:46 +08:00
Clément Bœsch 53ef1a8cd4 lavc/get_bits: add a logging context to check_marker()
Based on d338abb664
2026-04-20 18:33:46 +08:00
openvela-robot 963658ea53 Merge commit '31f6a4b4b83aca1d73f3cfc99ce2b39331970bf3'
* commit '31f6a4b4b83aca1d73f3cfc99ce2b39331970bf3':
  lavc: mark the old audio/video encoding API as deprecated

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:33:44 +08:00
openvela-robot 151850f8f3 Merge commit '8996515b137f962e3a8691241c285c96437b6c53'
* commit '8996515b137f962e3a8691241c285c96437b6c53':
  avpacket: fix setting AVPacket.data in av_packet_ref()

This commit is a noop, see ed3a02547c

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:33:39 +08:00
openvela-robot 931621db03 Merge commit 'e62ff72fc1052273deb708ba715f73e5187281d4'
* commit 'e62ff72fc1052273deb708ba715f73e5187281d4':
  lavc: make avcodec_open2() fail when the timebase is not set for encoding

Merged-by: Clément Bœsch <u@pkh.me>
2026-04-20 18:33:38 +08:00
Michael Niedermayer 2c355663fa avcodec/tests/options: Set timebase
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-04-20 18:33:37 +08:00
openvela-robot 9097168d73 Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'
* commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196':
  tests: Move all test programs to a subdirectory

Merged-by: Clément Bœsch <clement@stupeflix.com>
2026-04-20 18:33:24 +08:00
openvela-robot 31f456f5e4 Merge commit '257f00ec1ab06a2a161f535036c6512f3fc8e801'
* commit '257f00ec1ab06a2a161f535036c6512f3fc8e801':
  Split global .gitignore file into per-directory files

Merged-by: Clément Bœsch <clement@stupeflix.com>
2026-04-20 18:33:22 +08:00
Clément Bœsch cfc20682df lavc/qtrleenc: simplify FF_API_CODED_FRAME deprecation guard 2026-04-20 18:33:21 +08:00