[FFmpeg-cvslog] swscale: add sws_is_noop()

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Oct 14 15:16:26 2024 +0200| [b03c758600f0767d54ae663dadc8f698b79cd1c4] | committer: Niklas Haas swscale: add sws_is_noop() Exactly what it says on the tin. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.

[FFmpeg-cvslog] swscale/utils: add SwsFormat abstraction and helpers

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 9 23:20:59 2024 +0200| [e2637a083ae2876d55adafad6bddf698fe09da3f] | committer: Niklas Haas swscale/utils: add SwsFormat abstraction and helpers Groups together all relevant color metadata from an AVFrame. While we could use AVFrame directly

[FFmpeg-cvslog] swscale: add sws_free_context()

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 9 23:15:48 2024 +0200| [87baf9ab2c2465034a90a59308fab34e2801f2b3] | committer: Niklas Haas swscale: add sws_free_context() Merely a convenience wrapper around sws_freeContext(). The name change is for parity with the other sws_* functions

[FFmpeg-cvslog] swscale: add new frame testing API

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 9 23:33:44 2024 +0200| [5e50a56b9c4998838005ddaaed1422a9d717c50f] | committer: Niklas Haas swscale: add new frame testing API Replacing the old sws_isSupported* API with a more consistent family of functions that follows the same signature and

[FFmpeg-cvslog] swscale/x86: use dedicated int for self-modifying MMX dstW

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Oct 10 12:21:19 2024 +0200| [f1f54d2f826599f90090c1506ebca9977284bad2] | committer: Niklas Haas swscale/x86: use dedicated int for self-modifying MMX dstW I want to pull options out of SwsInternal, so we need to make this field a dedicated int that

[FFmpeg-cvslog] swscale: slightly reorder header

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 9 23:12:05 2024 +0200| [3bf12beae9eea20b4b6270a9228c877223e81157] | committer: Niklas Haas swscale: slightly reorder header I want to start grouping "legacy" functions which I tend to deprecate together, away from the new ones. Sp

[FFmpeg-cvslog] swscale: publicly typedef struct SwsContext

2024-10-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 9 13:33:32 2024 +0200| [fbfea1c6445df9e72a0fd35639145a73f28e3240] | committer: Niklas Haas swscale: publicly typedef struct SwsContext Slightly more convenient, especially for the upcoming refactor which will turn SwsContext into a public struct

[FFmpeg-cvslog] swscale/rgb2xyz: follow convention on image pointers and strides

2024-10-09 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Oct 7 19:33:44 2024 +0200| [775de8c19d22a175e1240a180f339e0642c5d536] | committer: Niklas Haas swscale/rgb2xyz: follow convention on image pointers and strides Instead of taking an int16_t pointer and a stride in halfwords, follow the usual

[FFmpeg-cvslog] swscale/internal: constify and expose ff_swscale()

2024-10-09 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Sep 26 17:06:26 2024 +0200| [ec9985b54f68f58519848096ee7f6b1476052871] | committer: Niklas Haas swscale/internal: constify and expose ff_swscale() Used as an intermediate entry point for the new swscale context. The extra constification is a

[FFmpeg-cvslog] swscale/rgb2xyz: expose these functions internally

2024-10-09 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Oct 7 19:38:03 2024 +0200| [403a20b2e61e3b164f6729f16e14fdfcee535ee8] | committer: Niklas Haas swscale/rgb2xyz: expose these functions internally Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] swscale/rgb2xyz: add explicit width parameter

2024-10-09 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Oct 7 18:58:29 2024 +0200| [9d8f5141cf7da4c72e8e1a08e9a967c0f163a78a] | committer: Niklas Haas swscale/rgb2xyz: add explicit width parameter This fixes an 11-year-old bug in the rgb2xyz functions, when used with a negative stride. The current loop

[FFmpeg-cvslog] swscale/rgb2xyz: minor style fixes

2024-10-09 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Oct 7 18:50:44 2024 +0200| [ea228fc41524caff68a20b6d18a9b1ddcc927928] | committer: Niklas Haas swscale/rgb2xyz: minor style fixes Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] swscale/ppc: fix altivec build failure

2024-10-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Oct 8 16:45:36 2024 +0200| [477445722cc0d67439ca151c9d486c1bfca7a084] | committer: Niklas Haas swscale/ppc: fix altivec build failure Fixes: c1a0e657638f7007dcc807a2d985c22631fcd6d3 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] swscale/input: parametrize ff_sws_init_input_funcs() pointers

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Oct 1 12:32:29 2024 +0200| [73b3344edd39468cb3f729d613949f52dbcba84e] | committer: Niklas Haas swscale/input: parametrize ff_sws_init_input_funcs() pointers Following the precedent set by ff_sws_init_output_funcs(). Sponsored-by: Sovereign Tech

[FFmpeg-cvslog] swscale/internal: add typedefs for input reading functions

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Oct 1 12:22:16 2024 +0200| [20b350b28488a588b79387926dd623c04af2a116] | committer: Niklas Haas swscale/internal: add typedefs for input reading functions Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.

[FFmpeg-cvslog] swscale/internal: forward typedef SwsContext

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 2 15:45:14 2024 +0200| [b90d522d2c6a05b26fe7c4f0198740b630bea94d] | committer: Niklas Haas swscale/internal: forward typedef SwsContext Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] swscale/internal: constify SwsFunc

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 2 15:37:10 2024 +0200| [c1a0e657638f7007dcc807a2d985c22631fcd6d3] | committer: Niklas Haas swscale/internal: constify SwsFunc I want to move away from having random leaf processing functions mutate plane pointers, and while we're at it, we

[FFmpeg-cvslog] swscale/internal: turn cascaded_tmp into an array

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Oct 4 13:51:42 2024 +0200| [286bdc9cdc6deea081aeff70dfc0e0254be5e283] | committer: Niklas Haas swscale/internal: turn cascaded_tmp into an array Slightly more convenient to access from the new wrapping code. Sponsored-by: Sovereign Tech Fund Signed

[FFmpeg-cvslog] swscale/internal: expose ff_update_palette() internally

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Oct 4 16:44:19 2024 +0200| [61369484f62e21999116e9b806d0eb4a7cc6a7b4] | committer: Niklas Haas swscale/internal: expose ff_update_palette() internally Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.

[FFmpeg-cvslog] swscale/internal: rename NB_SWS_DITHER for consistency

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat Sep 21 16:33:36 2024 +0200| [aee19ee431bf8a841cadd8154878ca59ef7d0769] | committer: Niklas Haas swscale/internal: rename NB_SWS_DITHER for consistency Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] tests/swscale: fix minor typos

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Sep 19 13:50:26 2024 +0200| [41ce370b657fbd73a87f4f365ab4fafad1b54c1d] | committer: Niklas Haas tests/swscale: fix minor typos Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avfilter/src_movie: configure correct YUV attributes

2024-10-07 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Sep 16 20:46:59 2024 +0200| [bed919efaab172c7044731aa0a732bcca3ca7c99] | committer: Niklas Haas avfilter/src_movie: configure correct YUV attributes Missed by the YUV negotiation series. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avcodec/riscv: add h264 qpel

2024-09-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Sep 25 02:45:46 2024 +0200| [2f77ecc6bc7dbc832cee4f0fe4d219fb172f775f] | committer: J. Dekker avcodec/riscv: add h264 qpel Benched on K230 for VLEN 128, SpaceMIT for VLEN 256. Variants for 4 width have no speedup for VLEN 256 vs VLEN 128 on available

[FFmpeg-cvslog] lavc/hevc_ps: parse VPS extension

2024-09-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Apr 16 19:11:42 2024 +0200| [7351e067bcaaf846faec1654cb7469d3044f9d2f] | committer: Anton Khirnov lavc/hevc_ps: parse VPS extension Only implementing what's needed for MV-HEVC with two views. Signed-off-by: Anton Khirnov > http://git.vide

[FFmpeg-cvslog] avfilter: fix YUV colorspace negotiation for YUVJ

2024-09-12 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Mar 25 14:37:15 2024 +0100| [ca77fc21774daac141664818db871d9df493eb3a] | committer: Niklas Haas avfilter: fix YUV colorspace negotiation for YUVJ Ironically, despite being introduced to make YUVJ unnecessary, the new YUV negotiation logic failed to

[FFmpeg-cvslog] tests/fate: force MPEG range for rawvideo tests

2024-09-12 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Oct 12 14:49:01 2023 +0200| [da80ee21ca91f4d9a09cac91c05bb242b7c7a9af] | committer: Niklas Haas tests/fate: force MPEG range for rawvideo tests The input file is MPEG range, so we should also encode to MPEG range before comparing against it. This bug

[FFmpeg-cvslog] doc/APIchanges: mention correct version number

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Sep 8 18:06:02 2024 +0200| [b4e918221c212a9284dd9074a18abdb6d56dedbe] | committer: Niklas Haas doc/APIchanges: mention correct version number Missed while rebasing > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] Changelog: mention YUV range negotiation

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Sep 8 14:07:29 2024 +0200| [e6983ed525b56b4a4a4acfd4e3b77a5efc8c0047] | committer: Niklas Haas Changelog: mention YUV range negotiation > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e6983ed525b56b4a4a4acfd4e3b77a5efc8c0

[FFmpeg-cvslog] fftools/ffmpeg_filter: propagate codec yuv metadata to filters

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Apr 8 13:58:19 2024 +0200| [a850f80e2c1fdd7dcac536cce773ddb2bfad7265] | committer: Niklas Haas fftools/ffmpeg_filter: propagate codec yuv metadata to filters To convert between color spaces/ranges, if needed by the codec properties. Signed-off-by

[FFmpeg-cvslog] fftools/ffmpeg_filter: remove YUVJ hack

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Apr 8 13:58:48 2024 +0200| [8517ff2082af041ced19739e0c0793179fb57c85] | committer: Niklas Haas fftools/ffmpeg_filter: remove YUVJ hack This is no longer needed, since we now correctly negotiate the required range from the mjpeg encoder via

[FFmpeg-cvslog] fftools/ffmpeg_mux_init: switch to avcodec_get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:37:41 2024 +0200| [7b0eca1e513240b81f30822b38fea081f4ab6ac1] | committer: Niklas Haas fftools/ffmpeg_mux_init: switch to avcodec_get_supported_config() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] fftools: drop unused/hacky macros

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:32:00 2024 +0200| [377652da19bd1e5b9d81c22a4fce0a78a62b5853] | committer: Niklas Haas fftools: drop unused/hacky macros Having macros initialize local variables seems strange to me, and there are no more current users of these macros. (The

[FFmpeg-cvslog] fftools/ffmpeg_filter: switch to avcodec_get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:47:48 2024 +0200| [33d5a4ec4eaf3d206eb229faf7276e0d0e543b34] | committer: Niklas Haas fftools/ffmpeg_filter: switch to avcodec_get_supported_config() Signed-off-by: Anton Khirnov > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] fftools/opt_common: switch to avcodec_get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:30:07 2024 +0200| [69b84054826566ba7aaf4a3b4343418f2d81611f] | committer: Niklas Haas fftools/opt_common: switch to avcodec_get_supported_config() While rewriting this macro, I decided to make it a bit more flexible so it can work for all

[FFmpeg-cvslog] fftools/ffmpeg_filter: simplify choose_pix_fmts

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 25 12:39:29 2023 +0200| [7d6cd13ccbdfd5975e9ed6c3fc3802f2f64f3d86] | committer: Niklas Haas fftools/ffmpeg_filter: simplify choose_pix_fmts The only meaningful difference between choose_pix_fmts and the default code was the inclusion of an extra

[FFmpeg-cvslog] avcodec/mjpegenc: switch to get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat Apr 6 15:07:26 2024 +0200| [2c2dfd914902d0b41b4bd30d4b19ae08af1d7bc1] | committer: Niklas Haas avcodec/mjpegenc: switch to get_supported_config() This codec's capabilities should be set dynamically based on the value of strict_std_compliance,

[FFmpeg-cvslog] avcodec/codec_internal: nuke init_static_data()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:06:45 2024 +0200| [4524d527bf7215252abdaae9e09af7a252a5dcd8] | committer: Niklas Haas avcodec/codec_internal: nuke init_static_data() All hail get_supported_config() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avcodec/libvpxenc: switch to get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:03:15 2024 +0200| [0977d968e46def74141cc474aebee6e47adfa7d0] | committer: Niklas Haas avcodec/libvpxenc: switch to get_supported_config() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0977d968e46def74141cc474aebee6e47adfa

[FFmpeg-cvslog] avcodec/libx265: switch to get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 19:58:07 2024 +0200| [de421cac8b63904750754e4e138b0b2ee70da2f0] | committer: Niklas Haas avcodec/libx265: switch to get_supported_config() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de421cac8b63904750754e4e138b0b2ee70da

[FFmpeg-cvslog] avcodec/encode: switch to avcodec_get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 18:48:03 2024 +0200| [13cec7bb5fbaad4e41fba32bb73f5835137abd3b] | committer: Niklas Haas avcodec/encode: switch to avcodec_get_supported_config() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avcodec: add avcodec_get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Apr 3 22:19:28 2024 +0200| [3305767560a6303f474fffa3afb10c500059b455] | committer: Niklas Haas avcodec: add avcodec_get_supported_config() This replaces the myriad of existing lists in AVCodec by a unified API call, allowing us to (ultimately) trim

[FFmpeg-cvslog] avcodec/libaomenc: switch to get_supported_config()

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 20:05:58 2024 +0200| [a577172c99e47b6d950e2b1ce8434ad74279247c] | committer: Niklas Haas avcodec/libaomenc: switch to get_supported_config() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a577172c99e47b6d950e2b1ce8434ad742792

[FFmpeg-cvslog] avcodec/internal: add FFCodec.color_ranges

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Oct 11 16:09:33 2023 +0200| [703288cec6522655e8533c89efa3cd6df9613b99] | committer: Niklas Haas avcodec/internal: add FFCodec.color_ranges I went through all codecs and put them into five basic categories: 1. JPEG range only 2. MPEG range only 3

[FFmpeg-cvslog] avcodec/allcodecs: add backcompat for new config API

2024-09-08 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 5 19:21:43 2024 +0200| [088108fc7a24d28b0a83b051b5027ebe32d20f30] | committer: Niklas Haas avcodec/allcodecs: add backcompat for new config API In order to avoid breaking older clients not yet using the new API, we need to add backwards

[FFmpeg-cvslog] fftools/ffmpeg_filter: remove YUVJ hack

2024-08-29 Thread Niklas Haas
ffmpeg | branch: avcodec_yuv_range_v3 | Niklas Haas | Mon Apr 8 13:58:48 2024 +0200| [c65589be4dfc00924a02fd59de22b9ea323d27bb] | committer: Niklas Haas fftools/ffmpeg_filter: remove YUVJ hack This is no longer needed, since we now correctly negotiate the required range from the mjpeg

[FFmpeg-cvslog] avcodec/dovi_rpuenc: slightly improve profile autodetection

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Jul 15 13:36:07 2024 +0200| [3e1b70383e3e3f47589bdc3c90e0831265c155c4] | committer: Niklas Haas avcodec/dovi_rpuenc: slightly improve profile autodetection In the absence of an RPU header, we can consult the colorspace tags to make a more informed

[FFmpeg-cvslog] avcodec/dovi_rpudec: error out on strange RPU formats

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 18 20:54:31 2024 +0200| [7b723ebd5a6c355669aab774b3b1988d298a7472] | committer: Niklas Haas avcodec/dovi_rpudec: error out on strange RPU formats Better safe than sorry. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avcodec/dovi_rpudec: implement limited DM decompression

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jul 14 16:22:23 2024 +0200| [45f5f4d3dab97e71a0f73627f4ae81b768d1d15b] | committer: Niklas Haas avcodec/dovi_rpudec: implement limited DM decompression This implements the limited DM metadata compression scheme described in chapter 9 of the dolby

[FFmpeg-cvslog] avcodec/dovi_rpuenc: implement DM metadata compression

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jul 14 18:18:42 2024 +0200| [ecea6ed3c95c584376957700b50228e0237bb4ef] | committer: Niklas Haas avcodec/dovi_rpuenc: implement DM metadata compression This implements limited metadata compression. To be a bit more lenient, we try and re-order the

[FFmpeg-cvslog] avcodec/dovi_rpudec: sanitize DM data before decoding

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jul 14 18:17:44 2024 +0200| [9824d1539e28607cd79fe83d454f2a4d9078abdc] | committer: Niklas Haas avcodec/dovi_rpudec: sanitize DM data before decoding Some DM types do not fill the whole struct, so just clear it entirely before going filling the

[FFmpeg-cvslog] avcodec/bsf/dovi_rpu: add new bitstream filter

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Jun 14 13:33:45 2024 +0200| [b3d33f11fa42487ccc5acda9077dfd5a8d4af9a4] | committer: Niklas Haas avcodec/bsf/dovi_rpu: add new bitstream filter This can be used to strip dovi metadata, or enable/disable dovi metadata compression. Possibly more use

[FFmpeg-cvslog] avcodec/dovi_rpudec: don't unnecessarily allocate DOVIExt

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jul 14 15:33:27 2024 +0200| [1c4d4cc368bbaaf66b1f56a3af8b25409f35766c] | committer: Niklas Haas avcodec/dovi_rpudec: don't unnecessarily allocate DOVIExt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=

[FFmpeg-cvslog] avcodec/dovi_rpu: separate static ext blocks

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Jul 10 14:47:40 2024 +0200| [a1f96ae157d80c6fd982c60b2e78a555aaa7e810] | committer: Niklas Haas avcodec/dovi_rpu: separate static ext blocks Static and dynamic extension blocks are handled differently by metadata compression, so we need to separate

[FFmpeg-cvslog] avcodec/dovi_rpu: add ff_dovi_get_metadata()

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Jun 14 20:32:58 2024 +0200| [765f29c61efcce598dcd1ddd9f29f19c5902d651] | committer: Niklas Haas avcodec/dovi_rpu: add ff_dovi_get_metadata() Provides direct access to the AVDOVIMetadata without having to attach it to a frame. > h

[FFmpeg-cvslog] avcodec/dovi_rpuenc: add configuration for compression

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 15:04:31 2024 +0200| [07712a0cab180ed69c957d475c14457580acc35b] | committer: Niklas Haas avcodec/dovi_rpuenc: add configuration for compression In particular, validate that the chosen compression level is compatible with the chosen profile

[FFmpeg-cvslog] avcodec/dovi_rpu: move ext blocks into dedicated struct

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jul 14 15:31:30 2024 +0200| [f5d6eb4017a02f3170478db7d7939d291e6131b7] | committer: Niklas Haas avcodec/dovi_rpu: move ext blocks into dedicated struct Slightly re-organize the logic around extension blocks in order to allow expanding the state

[FFmpeg-cvslog] avcodec/dovi_rpuenc: add ff_dovi_configure_ext()

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Jul 15 13:26:13 2024 +0200| [1917270d32e386e8a1623a760baf1bc436aef2a3] | committer: Niklas Haas avcodec/dovi_rpuenc: add ff_dovi_configure_ext() More flexible version of ff_dovi_configure() which does not require an AVCodecContext. Usable, for

[FFmpeg-cvslog] avcodec/dovi_rpuenc: add a flag to enable compression

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jun 18 17:23:28 2024 +0200| [ae3a78593df2b41f4163496f0bdf73c01d73c9a6] | committer: Niklas Haas avcodec/dovi_rpuenc: add a flag to enable compression Keyframes must reset the metadata compression state, so we need to also signal this at rpu

[FFmpeg-cvslog] avcodec/dovi_rpuenc: add `flags` to ff_dovi_rpu_generate()

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jun 18 17:18:14 2024 +0200| [1e6fdb89bdcb7d8db6f12dc5322a703a0fc995e2] | committer: Niklas Haas avcodec/dovi_rpuenc: add `flags` to ff_dovi_rpu_generate() Will be used to control compression, encapsulation etc. > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avcodec/dovi_rpuenc: eliminate unnecessary loop

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 18 15:39:45 2024 +0200| [fd00a56653cd643859197cbdfeb9443828033421] | committer: Niklas Haas avcodec/dovi_rpuenc: eliminate unnecessary loop This struct itself contains vdr_rpu_id, so we can never match it except in the case of i == vdr_rpu_id. So

[FFmpeg-cvslog] avcodec/dovi_rpuenc: make encapsulation optional

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jun 18 17:42:21 2024 +0200| [b3bc8f8e1e58a2ff794158048226fd30969e28c0] | committer: Niklas Haas avcodec/dovi_rpuenc: make encapsulation optional And move the choice of desired container to `flags`. This is needed to handle differing API requirements

[FFmpeg-cvslog] avcodec/dovi_rpuenc: respect dv_md_compression

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 18 15:45:15 2024 +0200| [c62b364dcb549bc0a882af7da3e338d443f78128] | committer: Niklas Haas avcodec/dovi_rpuenc: respect dv_md_compression Limited mode can only ever maintain a single VDR RPU reference, and furthermore requires vdr_rpu_id == 0

[FFmpeg-cvslog] avcodec/dovi_rpuenc: also copy ext blocks to dovi ctx

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Jun 14 15:00:31 2024 +0200| [bf92441d6a29221ccf38b41207ea53d08e1209ab] | committer: Niklas Haas avcodec/dovi_rpuenc: also copy ext blocks to dovi ctx As the comment implies, DOVIContext.ext_blocks should also reflect the current state after

[FFmpeg-cvslog] avcodec/dovi_rpudec: implement validation for compression

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 15:11:27 2024 +0200| [a93801b6266c2170842275271c64a40d015cd03b] | committer: Niklas Haas avcodec/dovi_rpudec: implement validation for compression Add some error checking. I've limited it to AV_EF_CAREFUL and AV_EF_COMPLIANT for now, be

[FFmpeg-cvslog] avutil/dovi_meta: document static vs dynamic ext blocks

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Jul 10 13:41:04 2024 +0200| [2a2e0aced2b677db3d284505ff36b58846d41a51] | committer: Niklas Haas avutil/dovi_meta: document static vs dynamic ext blocks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] fate/scalechroma: switch to standard chroma location

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 13:49:52 2024 +0200| [ae31acd702c3bccc77c7996c1bc1a7889c51d968] | committer: Niklas Haas fate/scalechroma: switch to standard chroma location Replace the manually specified chroma location by one using standard notation, arbitrarily

[FFmpeg-cvslog] avfilter/vf_zscale: remove unused fields

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 13:48:15 2024 +0200| [f1071dc6341bae70a7b781a2c553ef68c6854a2d] | committer: Niklas Haas avfilter/vf_zscale: remove unused fields > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1071dc6341bae70a7b781a2c553ef68c6854

[FFmpeg-cvslog] avfilter/vf_scale: fix 4:1:0 interlaced chroma pos

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 16:28:50 2024 +0200| [c8bc6fabd79ee19df93f2486b8a6ebeedb7cd27e] | committer: Niklas Haas avfilter/vf_scale: fix 4:1:0 interlaced chroma pos The current logic hard-coded a check for v_sub == 1. We can extend this logic slightly to cover the

[FFmpeg-cvslog] avfilter/vf_scale: add in/out_chroma_loc

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 13:44:05 2024 +0200| [15a67c0947d6fa8ff50607ef26185986813a6fd6] | committer: Niklas Haas avfilter/vf_scale: add in/out_chroma_loc Currently, this just functions as a more principled and user-friendly replacement for the (undocumented and hard

[FFmpeg-cvslog] avfilter/swscale: always fix interlaced chroma location

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 13:14:46 2024 +0200| [18b9687308202ea05044cb9b723e72b67be62bc6] | committer: Niklas Haas avfilter/swscale: always fix interlaced chroma location The current logic only fixes it when the user does not explicitly specify the chroma location

[FFmpeg-cvslog] swscale/options: relax src/dst_h/v_chr_pos value range

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 16:08:54 2024 +0200| [6b40be941a00b99fa895adcdffa5f638c739ecd1] | committer: Niklas Haas swscale/options: relax src/dst_h/v_chr_pos value range When dealing with 4x subsampling ratios (log2 == 2), such as can arise with 4:1:1 or 4:1:0, a value

[FFmpeg-cvslog] avfilter/vf_setparams: remove unnecessary options bounds

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 20:00:36 2024 +0200| [5d964df5dab17e6d2ba145adff50658b8bee4636] | committer: Niklas Haas avfilter/vf_setparams: remove unnecessary options bounds AV_OPT_TYPE_CONST does not use min/max, we can leave them as 0. > http://git.videolan.

[FFmpeg-cvslog] swscale: document SWS_FULL_CHR_H_* flags

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 12:44:20 2024 +0200| [3e064f52eb368a373ded6e3704fcf29f1db3ff12] | committer: Niklas Haas swscale: document SWS_FULL_CHR_H_* flags Based on my best understanding of what they do, given the source code. > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avfilter/vf_setparams: allow setting chroma location

2024-08-16 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Jul 4 12:52:08 2024 +0200| [201f1cba150d44de6fedfeee4e8647170ed5fbca] | committer: Niklas Haas avfilter/vf_setparams: allow setting chroma location Shockingly, there isn't currently _any_ filter for overriding this. > http://git.vide

[FFmpeg-cvslog] avcodec/dovi_rpu: correctly copy num_ext_blocks

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 15:33:31 2024 +0200| [6b66df74b8cc5c1e22c3ba01464d8041cf526368] | committer: Niklas Haas avcodec/dovi_rpu: correctly copy num_ext_blocks > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b66df74b8cc5c1e22c3ba01464d8041cf526

[FFmpeg-cvslog] fftools/ffprobe: implement dv_md_compression

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 13:20:08 2024 +0200| [b5aeafc00a94400e5a53a16a098c6c619ef9e757] | committer: Niklas Haas fftools/ffprobe: implement dv_md_compression > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b5aeafc00a94400e5a53a16a098c6c619ef9e

[FFmpeg-cvslog] avformat/dump: implement dv_md_compression

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 13:20:00 2024 +0200| [3d5d60d041c4b16542cdbc72e6f0d00b98922456] | committer: Niklas Haas avformat/dump: implement dv_md_compression > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d5d60d041c4b16542cdbc72e6f0d00b98922

[FFmpeg-cvslog] avcodec/dovi_rpudec: clarify semantics

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jun 18 18:19:13 2024 +0200| [e42a0763b71ccb5b970ad17eb5129c064db36899] | committer: Niklas Haas avcodec/dovi_rpudec: clarify semantics ff_dovi_rpu_parse() and ff_dovi_rpu_generate() are a bit inconsistent in that they expect different levels of

[FFmpeg-cvslog] avformat/mpegts: implement dv_md_compression

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 13:19:51 2024 +0200| [ce8166a19c368486c9df665b43adceedf42fb897] | committer: Niklas Haas avformat/mpegts: implement dv_md_compression > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ce8166a19c368486c9df665b43adceedf42fb

[FFmpeg-cvslog] avutil/dovi_meta: add dv_md_compression to cfg record

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 13:18:51 2024 +0200| [cbea92c84d447bb6a4c7a7041938a5c1b7eeb879] | committer: Niklas Haas avutil/dovi_meta: add dv_md_compression to cfg record This field is used to signal the compression method in use. > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avformat/dovi_isom: implement dv_md_compression

2024-07-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 16 13:19:33 2024 +0200| [b3a9fab9da08ac0bdb8476c73f369a90141d7a2c] | committer: Niklas Haas avformat/dovi_isom: implement dv_md_compression > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3a9fab9da08ac0bdb8476c73f369a90141d7

[FFmpeg-cvslog] swscale/utils: fix leak on threaded ctx init failure

2024-07-14 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 9 16:41:01 2024 +0200| [4ec45aca36ff6c7c7767536ce7f4a855f8b37fb0] | committer: Niklas Haas swscale/utils: fix leak on threaded ctx init failure This count gets incremented after init succeeds, when it should be incremented after *alloc* succeeds

[FFmpeg-cvslog] avfilter/vf_scale: fix frame lifetimes

2024-07-10 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 9 11:28:41 2024 +0200| [084e0b364df3dad4bc1aa44887b49d9fa1e4011f] | committer: Niklas Haas avfilter/vf_scale: fix frame lifetimes scale_frame() inconsistently handled the lifetime of `in`. Fixes a possible double free and a possible memory leak

[FFmpeg-cvslog] avfilter/vf_scale: test return code of scale_frame()

2024-07-10 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 9 11:32:42 2024 +0200| [0deb301ba9cd71a4d35384c9584b800161777852] | committer: Niklas Haas avfilter/vf_scale: test return code of scale_frame() Instead of testing the returned frame against NULL, test the return code itself, going more in line

[FFmpeg-cvslog] avcodec/dovi_rpudec: reject reserved_zero_3bits != 0

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 16:57:31 2024 +0200| [0a5ed91e5e6141cbf21e26a772a0f96a83bd7aed] | committer: Niklas Haas avcodec/dovi_rpudec: reject reserved_zero_3bits != 0 This is used by future versions of the spec to implement metadata compression. Given that we don&#

[FFmpeg-cvslog] avcodec/dovi_rpudec: handle errors consistently

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 17:02:51 2024 +0200| [90579fbb907fbfda18b7cdac44c08aaf09c6ca09] | committer: Niklas Haas avcodec/dovi_rpudec: handle errors consistently Only flush state when we started parsing data, otherwise just error out. Remove the 'fail' lab

[FFmpeg-cvslog] avcodec/dovi_rpu: move ff_dovi_rpu_generate to correct section

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Jun 14 14:15:20 2024 +0200| [5e778cbfd5c09a81531226c0bd0dcf2140419773] | committer: Niklas Haas avcodec/dovi_rpu: move ff_dovi_rpu_generate to correct section This is not an internal use function. > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] avcodec/dovi_rpudec: simplify vdr handling (cosmetic)

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 15:13:01 2024 +0200| [ae7bff55df53e29ad3d443e097feb12227003d86] | committer: Niklas Haas avcodec/dovi_rpudec: simplify vdr handling (cosmetic) Move `vdr` into local scope and point only to the field we actually care about. > h

[FFmpeg-cvslog] avcodec/dovi_rpu: simplify vdr type

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 16:43:29 2024 +0200| [7bf08a5b2d379bc9e4f4422788195f5421b3d72a] | committer: Niklas Haas avcodec/dovi_rpu: simplify vdr type Storing the color metadata alongside the data mapping is no longer needed, so we can simplify this array's

[FFmpeg-cvslog] avcodec/dovi_rpu: fix dm_metadata_id handling

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 15:04:45 2024 +0200| [7ee64631f625372a5796de46b1cda4c9a50d4b74] | committer: Niklas Haas avcodec/dovi_rpu: fix dm_metadata_id handling Despite the suggestive size limits, this metadata ID has nothing to do with the VDR metadata ID used for the

[FFmpeg-cvslog] avcodec/dovi_rpu: guard ext blocks by dm_metadata_present

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 16:45:56 2024 +0200| [d9f902d3a4494eb7c4391884bba73ca039c8cd17] | committer: Niklas Haas avcodec/dovi_rpu: guard ext blocks by dm_metadata_present In the spec, dm_metadata_present also toggles all extension blocks, so we need to move them

[FFmpeg-cvslog] avcodec/dovi_rpu: properly handle vdr_dm_metadata_present

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 14:58:12 2024 +0200| [68a22ac936249935136a2dc266cba55c9c3e5f96] | committer: Niklas Haas avcodec/dovi_rpu: properly handle vdr_dm_metadata_present When this is 0, the metadata is explicitly inferred to stated default values from the spec

[FFmpeg-cvslog] avdovi/dovi_rpudec: handle prev_vdr_rpu_id failures

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Jun 9 14:43:11 2024 +0200| [e1b91eb195734e3eeffdba39bccd6647e34f70f3] | committer: Niklas Haas avdovi/dovi_rpudec: handle prev_vdr_rpu_id failures According to the spec, missing previous VDR RPU IDs do not constitute an error, but we should instead

[FFmpeg-cvslog] avcodec/dovi_rpudec: validate L2.ms_weight

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Jun 14 13:59:26 2024 +0200| [954f890f9553fa13baf4cbc58e9359492fbe8b81] | committer: Niklas Haas avcodec/dovi_rpudec: validate L2.ms_weight This is specified to be in the range -1 to 4095, apparently the only extension level with such a restriction

[FFmpeg-cvslog] avcodec/dovi_rpudec: add return code to parse_ext_v*

2024-06-18 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Jun 14 13:51:21 2024 +0200| [e07b735a9976d75c90597d53c8538da5e434050d] | committer: Niklas Haas avcodec/dovi_rpudec: add return code to parse_ext_v* > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e07b735a9976d75c90597d53c8538da5e4340

[FFmpeg-cvslog] avcodec/dovi_rpu{enc,dec}: fix ms_weight handling

2024-06-14 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat May 25 18:05:04 2024 +0200| [6225ad5c19751ed5ac9ffb738c2e4acc1f92] | committer: Niklas Haas avcodec/dovi_rpu{enc,dec}: fix ms_weight handling The code as written was wrong. In the spec, these fields are treated merely as plain integers in the

[FFmpeg-cvslog] avcodec/h2645_sei: loosen up min luminance requirements

2024-05-28 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat May 25 13:32:24 2024 +0200| [9fd88bd0923e3eb0f6c778700960a58df87d42a3] | committer: Niklas Haas avcodec/h2645_sei: loosen up min luminance requirements The H.265 specification is quite clear on this case: > When min_display_mastering_luminance

[FFmpeg-cvslog] avcodec/libaomenc: properly clean up image metadata

2024-05-10 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat May 11 01:16:27 2024 +0200| [9c6c4f3d476d7a8d423ec3b954254c6a67ebc792] | committer: Niklas Haas avcodec/libaomenc: properly clean up image metadata This does not get consumed by aom_codec_encode(). > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] avfilter/vf_scale: fix input declaration

2024-05-04 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri May 3 22:07:30 2024 +0200| [6a5b021e353655ddeb1a29f50e519f562dcae5a7] | committer: Niklas Haas avfilter/vf_scale: fix input declaration This filter needs to be marked as having only one input by default, with AVFILTER_FLAG_DYNAMIC_INPUTS allowing

[FFmpeg-cvslog] doc/filters: mention scale2ref in replacement example

2024-05-04 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat May 4 13:15:15 2024 +0200| [df868bae239b263f7b71bfd3b5a5f4b0e5179ea1] | committer: Niklas Haas doc/filters: mention scale2ref in replacement example So ctrl+f "scale2ref" finds it. > http://git.videolan.org/gitweb.cgi/ffmpeg.gi

  1   2   3   >