head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.24 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.22 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.20 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.18 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.16 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.14 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.12 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.10 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.8 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.6 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2026.08.12.03.41.38; author ryoon; state Exp; branches; next 1.1; commitid vl9oo9uaRPQOAiRG; 1.1 date 2023.08.17.07.43.40; author jperkin; state Exp; branches; next ; commitid 1WyCI2xGqbo607BE; desc @@ 1.2 log @multimedia/svt-av1: Update to 4.2.0 Changelog: 4.2.0: VOD / Random Access Added TUNE-VMAF mode targeting ~15% VMAF BD-rate improvement at minimal PSNR loss Implemented single-thread processing mode with RA handling RA preset tuning and bitrate optimization for M3-M5 New CLI options: --cqp, --enable-intrabc, --hbd-mds, --enable-kf-tf Added raw OBU output format as an alternative to IVF Signal initial_display_delay in sequence header to fix A/V sync on seek RTC / Low Delay Added CBR rate control with Kalman-filter QP estimation, cyclic refresh, and frame re-encode Added on-the-fly MG size, preset, bitrate, and frame rate changes Added reference frame management API with LTR support and two-layer RPS structure Exposed --max-intra-bitrate-pct and --max-inter-bitrate-pct parameters Improved compression efficiency vs. cycle tradeoff across RTC presets Optimized memory footprint for RTC mode with small resolutions Further speed and quality tuning for RTC Encoder (general) Refactored entropy coding: direct tile-buffer writes, arithmetic coder simplifications, coefficient shaving CDEF optimizations: 8-bit boundary-aware filter, persistent scratch buffers, luma/chroma specialization MD and ME optimizations (LPD1 early-skip, VLPD0 fast path, static-block ME bypass) Optimized still-image screen content detection Optimized TPL dispatch when TPL is disabled Added ENABLE_STACK_PROTECTOR CMake option to prevent the stack protector flag from being added Arm Added lowbd (8-bit) int16 forward transform NEON kernels (4x4 through 32x32) Added Neon SAD, quantize-matrix, SSIM, VMAF, variance, and pixel projection error kernels Added SVE2 VMAF kernels and hardware CRC-32C for hash-based ME Optimized convolution, full distortion, and SAD calculation functions Bug fixes and documentation Fixed superres recode crash, RESIZE_DYNAMIC under --rtc, RTC candidate-count overflow, recon output, and memory leak Fixed signed left-shift UB, OOB reads, and race conditions in rate control Added NVTX/Nsight Systems profiling hooks, PPC toolchain, and macOS universal binary support Addressed cppcheck warnings and rewrote affected unit tests Addressed USAN and MSAN warnings Reduced OBMC stack usage to fix a crash with PGO General code cleanup, documentation updates, and test improvements 4.1.0: Encoder Refactor MD, EncDec, and Entropy Coding kernels (!2604 (merged)) Improve Still Image coding efficiency (!2612 (merged), !2614 (merged)) Change Wiener Filter level for chroma for presets M3 and below (!2620 (merged)) Optimize Screen Content coding for Still Image (!2630 (merged)) Arm Refactor Subpixel Variance kernels (!2608 (merged)) Optimize 16b SAD kernel (!2610 (merged)) Fixed Neoverse V2 unit test detection (!2622 (merged)) Update Arm build guide (!2625 (merged)) Bug fixes and documentation Fixed a hang caused by improper variable looping (#2338 (closed), !2600 (merged)) Add missing option 2 for --enable-dlf's help output (!2601 (merged)) Depth Refinement algorithmic bug fix (!2602 (merged)) Add mutexes to fix hangs when running multiple instances of the encoder in one process (!2603 (merged), !2605 (merged), !2619 (merged)) Fix motion calculation for cyclic QP refresh (!2613 (merged)) Fixed a Debug vs Release mismatch (!2618 (merged)) Fixed some new warnings with newer GCC versions (!2621 (merged), !2636 (merged)) Changed Temporal Filtering distortion calculation to not include padding (!2623 (merged)) Cleanup some dead unit tests (!2626 (merged)) Benchmark framework improvements (!2627 (merged)) CI/CD improvements (!2628 (merged)) Fixed some niche crashes (!2629 (merged)) Readd missing PredStructure enum without SVT_AV1 prefix (!2635 (merged)) Rename svt_log to prevent conflict with SVT-JPEG-XS (!2634 (merged)) General code and doc cleanup (!2606 (merged), !2607 (merged), !2609 (merged), !2611 (merged), !2616 (merged), !2617 (merged), !2624 (merged), !2631 (merged), !2633 (merged), !2637 (merged)) 4.0.1: Bug fixes and documentation Fixed a missing version bump for shared library and pkg-config (!2593 (merged)) This is now tied to the CMake project version and should not happen again. Added a CI check to verify this going forward (!2594 (merged)) Fixed tf-strength's default value in the help output (!2595 (merged)) Cleaned up some old debug prints and fixed some Windows build warnings (!2596 (merged)) Fixed bug in incorrect plane selection in quantize_inv_quantize (!2597 (merged)) Fixed hang caused by incorrect update of looping variable in pic_manager_process (!2600 (merged)) 4.0.0: API updates Major release with new API updates that are not backwards compatible. Extended the crf range to 70 reducing the impact or QP scaling allowing the encoder to reach lower bitrates Added quarter steps between crf increments to allow for further granularity in qp selection Added support for setting a custom global logger for library consumers (!2570 (merged), !2579 (merged)) Cleaned up public API headers including removal of deprecated macros, structs, and fields (!2565 (merged), !2568 (merged)) Additionally cleaned up anything marked using SVT_AV1_CHECK_VERSION(). Added ability to calculate per-frame PSNR and SSIM metrics (!2521 (merged)) Allow sending more than 1 but less than 4 frames with avif mode (This is not for AVIF image sequence, but for encoding an alpha layer) (!2551 (merged), !2560 (merged)) Added tune IQ and MS-SSIM for Still Image coding mode Encoder Significant improvements in AVIF and still image modes (!2552 (merged),!2567 (merged)): ~5-8x speedup M11-M0 at the same quality levels with tune MS-SSIM ~5-8% BD-Rate improvements at the same complexity with tune MS-SSIM Tradeoff improvements for the RTC modes (!2558 (merged)): ~5-15% speedup at similar quality levels in --rtc mode across presets 7 - 11 Tradeoff improvements for the Random Access mode (VOD use case) showing a 10-25% speedup across presets M7 down to M0 for --fast-decode 1 and 2 (!2558 (merged)) Major feature updates for the visual quality mode with the completion porting all SVT-AV1-PSY applicable features for --tune vq for video and --tune iq for avif (!2484 (merged), !2489 (merged), !2491 (merged), !2494 (merged), !2496 (merged), !2503 (merged), !2504 (merged), !2507 (merged), !2514 (merged), !2522 (merged) , !2561 (merged), !2562 (merged), !2576 (merged)): Added AC Bias, a psychovisual feature that improves detail preservation and film grain retention Update S-Frame support to allow setting it in a specific decode order option and with more qp options (!2477 (merged) !2523 (merged) !2534 (merged)) Further Arm Neon and SVE2 optimizations that improve high bitdepth encoding by an average of ~5% in low resolutions Cleanup, Build and bug fixes, testing and documentation General code cleanup, bugfixes, documentation and console output changes Bugfixes: Fixed an issue with the encoder hanging when given an input with a height of 24 pixels or less (!2518 (merged)) Bugfixes: Fixed a bug that results in encoding an invalid bitstream when using rtc with a high QP value (!2502 (merged)) Bugfixes: Fixed a hang with VBR encoding (#2300 (closed), !2535 (merged)) Bugfixes: Fixed a hang when using recon output with low delay mode (#2315 (closed), !2544 (merged)) Bugfixes: Fixed an encoder crash when using RTC with resolutions not divisible by 16 and presets >= 11 (#2301 (closed), !2547 (merged)) Bugfixes: Fixed bitstream level tier compliance with AV1 specification (#2332 (closed), !2577 (merged), !2581 (merged), !2587 (merged)) Cleanup: Removed in-tree gstreamer plugin (!2586 (merged)) Cleanup: Code specific cleanup for slimmer binary sizes (!2476 (merged)) Testing: Added CI coverage for compiling FFmpeg on macOS Arm (!2536 (merged)) Testing: Added a python based testing framework for comparing codec performance and quality (!2532 (merged), !2550 (merged), !2556 (merged), !2563 (merged), !2564 (merged), !2566 (merged)) @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2023/08/17 07:43:40 jperkin Exp $ Avoid incompatible linker flags on SunOS. --- CMakeLists.txt.orig 2026-03-23 06:52:18.000000000 +0000 +++ CMakeLists.txt @@@@ -322,7 +322,7 @@@@ if(UNIX) set(CMAKE_C_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") set(CMAKE_CXX_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") endif() - elseif(NOT EMSCRIPTEN) + elseif(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS" AND NOT EMSCRIPTEN) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -z noexecstack -z relro -z now") endif() endif() @ 1.1 log @svt-av1: Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2023-04-26 22:11:56.000000000 +0000 d7 1 a7 1 @@@@ -209,7 +209,7 @@@@ if(UNIX) d11 2 a12 2 - else() + elseif(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS") @