[FFmpeg-cvslog] avcodec/pcm: Use dedicated init function for F16LE, F24LE

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Mar 11 19:36:03 2025 +0100| [c6d743650899b2d7756d86b08c05d24e532a1258] | committer: Andreas Rheinhardt avcodec/pcm: Use dedicated init function for F16LE, F24LE This avoids a switch and allows to simply use a dedicated private context for them

[FFmpeg-cvslog] avcodec/pcm: Avoid AVCodec.sample_fmts for decoders

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 02:44:24 2025 +0100| [54d582e7495144605e1c5405b9420691428cafd8] | committer: Andreas Rheinhardt avcodec/pcm: Avoid AVCodec.sample_fmts for decoders These fields are meant to be for encoders; just use a local table in pcm_decode_init() t

[FFmpeg-cvslog] avcodec/mpeg12dec: Don't assert on thread_count

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 14 20:18:37 2025 +0100| [3ad00ebf2cd8d2e41530dbacf6cf68e45ea6b5fd] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Don't assert on thread_count Nothing in this decoder would break if the generic code were to be changed to allow slice "t

[FFmpeg-cvslog] avcodec: Mark init and close functions as av_cold

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 6 18:28:57 2025 +0100| [5ad86d5fbc46b2399b20c21275a3d8a8a997950a] | committer: Andreas Rheinhardt avcodec: Mark init and close functions as av_cold Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=com

[FFmpeg-cvslog] configure: fix passing Objective-C flags

2025-03-16 Thread Marvin Scholz
ffmpeg | branch: master | Marvin Scholz | Thu Sep 26 01:41:15 2024 +0200| [163e5fd84df0c0246755acf53daffeaee97ad056] | committer: Zhao Zhili configure: fix passing Objective-C flags Passing Objective-C flags from configure to the Makefiles was broken, as configure incorrectly used the OBJCCFLA

[FFmpeg-cvslog] configure: allow mixed declarations and code for Objective-C

2025-03-16 Thread Marvin Scholz
ffmpeg | branch: master | Marvin Scholz | Thu Sep 26 01:43:44 2024 +0200| [81ca85a0872b456e02e770db2aa79c8de3de7f3b] | committer: Zhao Zhili configure: allow mixed declarations and code for Objective-C Mixing declarations and code is quite common in Objective-C (as can be seen by the number of

[FFmpeg-cvslog] avcodec/hqx: Simplify deriving AC table index

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 22:52:15 2025 +0100| [8a2e84dc96f4b0cf5163d21c46b6b6303fc42965] | committer: Andreas Rheinhardt avcodec/hqx: Simplify deriving AC table index It can be simply encoded in the quant coefficients itself as they are so small. Signed-off-by

[FFmpeg-cvslog] avcodec/hqxvlc: Make cbp_vlc static

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 21:04:39 2025 +0100| [5dd83ecfb227835bdd9cf65d478a7dbcd4cac2b3] | committer: Andreas Rheinhardt avcodec/hqxvlc: Make cbp_vlc static This is trivial as well as beneficial because frame threads now use the same table, saving cache/memory.

[FFmpeg-cvslog] avcodec/mpeg12dec: Use saturated addition when combining error_count

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 14 19:10:57 2025 +0100| [2742de0e4a46c9c824fb8ab4cc3013c4988238e3] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Use saturated addition when combining error_count Fixes undefined integer overflows. The overflows could always happen, y

[FFmpeg-cvslog] avcodec/cfhd: Move GetBitContext from context to stack

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 14 00:11:31 2025 +0100| [32fba0bce599960eac549d91f99c1135a6b3a9e1] | committer: Andreas Rheinhardt avcodec/cfhd: Move GetBitContext from context to stack Its lifetime is extremely limited. Signed-off-by: Andreas Rheinhardt > http://git.

[FFmpeg-cvslog] avcodec/cfhd: Use smaller scope where appropriate

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 14 00:24:26 2025 +0100| [c228ae2b4051c5410847f0e94842d8e307b787f5] | committer: Andreas Rheinhardt avcodec/cfhd: Use smaller scope where appropriate Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=com

[FFmpeg-cvslog] avcodec/hqx: Cache pointer to used dc table

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 22:17:03 2025 +0100| [004367a0a38578583fff4e3ef9501574965aee1b] | committer: Andreas Rheinhardt avcodec/hqx: Cache pointer to used dc table Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=

[FFmpeg-cvslog] avcodec/hqx: Combine memsets

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 21:48:17 2025 +0100| [7d70fb3530985c92452c9458b898fdf644ca87b5] | committer: Andreas Rheinhardt avcodec/hqx: Combine memsets Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7d70fb3530985c9

[FFmpeg-cvslog] avcodec/qdm2: Use explicit overread checks instead of implicit ones

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 14 02:58:33 2025 +0100| [60f49f4d92356e3270903a53db087a7c3e11b7d1] | committer: Andreas Rheinhardt avcodec/qdm2: Use explicit overread checks instead of implicit ones If there were not enough data, checksum_size would be read as zero (due

[FFmpeg-cvslog] avcodec/qdm2, vorbisdec: Use compile-time const max_depth in get_vlc2

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 14 02:31:51 2025 +0100| [be7642b198c51e65dc7a1fc4ff1f68d29cd6dc54] | committer: Andreas Rheinhardt avcodec/qdm2, vorbisdec: Use compile-time const max_depth in get_vlc2 It makes no sense to try to be exact with max depth in get_vlc2(): It

[FFmpeg-cvslog] avcodec/hqx: Don't zero in small chunks, don't zero twice

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 21:56:23 2025 +0100| [02b5aee87949d8dd0e626e5354a3322c7620a34a] | committer: Andreas Rheinhardt avcodec/hqx: Don't zero in small chunks, don't zero twice Up until now, decode_block() zeroed every block (of 128 bytes) before decoding a b

[FFmpeg-cvslog] avcodec/hqxvlc: Avoid hardcoded RL VLC table

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 10:57:56 2025 +0100| [abffd9313dc97aa56b1977fe4d4303e03874cd80] | committer: Andreas Rheinhardt avcodec/hqxvlc: Avoid hardcoded RL VLC table hqxvlc.c contains sort-of run-length VLCs in hardcoded form; they amount to 26688 elements, tak

[FFmpeg-cvslog] avcodec/hqx: Combine checks

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 22:23:50 2025 +0100| [2f4f96f1ac03cd157f6269935cc591a721a29c1a] | committer: Andreas Rheinhardt avcodec/hqx: Combine checks Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f4f96f1ac03cd15

[FFmpeg-cvslog] avcodec/hqxvlc: Make dc9, dc10 VLC tables static

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 21:43:37 2025 +0100| [997b33f64c98f3a195d19e2121c61907549313fc] | committer: Andreas Rheinhardt avcodec/hqxvlc: Make dc9, dc10 VLC tables static It allows to share them between frame threads. dc11 can unfortunately not be made static wi

[FFmpeg-cvslog] avcodec/rl: Avoid temporary stack VLC array during RL VLC init

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 7 17:08:08 2025 +0100| [49d15dfc357b0f0930af49e694b62e44ac64415a] | committer: Andreas Rheinhardt avcodec/rl: Avoid temporary stack VLC array during RL VLC init Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmp

[FFmpeg-cvslog] avcodec/mpeg12: Avoid temporary stack VLC array during RL VLC init

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 7 16:37:43 2025 +0100| [3869862b0098bd19a4decf8bd5a0ae49ac1e9a43] | committer: Andreas Rheinhardt avcodec/mpeg12: Avoid temporary stack VLC array during RL VLC init Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/

[FFmpeg-cvslog] avcodec/hqxvlc: Include implicit +1 run in RL VLC tables

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Mar 13 20:04:16 2025 +0100| [09411fef3d0819e3a15ec25a0debeff848f5d365] | committer: Andreas Rheinhardt avcodec/hqxvlc: Include implicit +1 run in RL VLC tables Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] avcodec/vlc: Merge VLCElem and RL_VLC_ELEM

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 7 16:12:42 2025 +0100| [0facdafd1e10f61f59897734d80e16b568bb9b00] | committer: Andreas Rheinhardt avcodec/vlc: Merge VLCElem and RL_VLC_ELEM It will simplify creating RL-VLCs (which until now used a stack-based VLC as temporary buffer).

[FFmpeg-cvslog] avcodec/pcm: Remove always-false check

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Mar 11 17:26:43 2025 +0100| [5247090b0daa128d50eb03052a4abfd6c39bc7dc] | committer: Andreas Rheinhardt avcodec/pcm: Remove always-false check All codecs here have a valid sample size at this point. This check has (presumably) been added for DV

[FFmpeg-cvslog] avcodec/pcm: Cache sample_size value

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Mar 11 17:53:06 2025 +0100| [485e5388e956cb36d9f535f4cbc7e471e92d9072] | committer: Andreas Rheinhardt avcodec/pcm: Cache sample_size value No need to go through two switches per packet. Reviewed-by: Ramiro Polla Signed-off-by: Andreas Rhein

[FFmpeg-cvslog] avcodec/pcm: Don't allocate LUT when unused

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Mar 11 19:21:16 2025 +0100| [e76daf6279a5283bfd62b5a96a13bb66cbab145d] | committer: Andreas Rheinhardt avcodec/pcm: Don't allocate LUT when unused Instead use a dedicated context for the few decoders that use the LUT. Also use a dedicated init

[FFmpeg-cvslog] avcodec/pcm: Reindent after the previous commit

2025-03-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Mar 11 19:55:21 2025 +0100| [05ab7762101a64a4cd228f65132291eb6da133e7] | committer: Andreas Rheinhardt avcodec/pcm: Reindent after the previous commit Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] New commits on branch release/4.4

2025-03-16 Thread Git System
URL: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=40a6963fbd0c47be358a3760480180b7b532e1e9 Author: Michael Niedermayer Date: Sun Mar 16 22:36:08 2025 +0100 Update for 4.4.6 Signed-off-by: Michael Niedermayer URL: http://git.videolan.org/gitweb.cgi/ffmpeg.git/

[FFmpeg-cvslog] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-16 Thread James Almer
ffmpeg | branch: master | James Almer | Thu Mar 13 23:04:41 2025 -0300| [1eafbf820312d45b31907e16877ae780022598c4] | committer: James Almer avcodec/exrdec: restore applying color transfer characteristics for float16 samples Regression since 0e917389fe73c932049635d947bba076f1709589. This change