head 1.5; access; symbols pkgsrc-2026Q1:1.4.0.16 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.14 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.12 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.10 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.8 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.6 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.4 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.2 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.2.0.42 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.40 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.38 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.36 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.34 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.32 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.30 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.28 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.26 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.24 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.22 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.20 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.18 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.16 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.14 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.12 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.8 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.10 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.6 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.4 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.2 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.1.0.2 pkgsrc-2018Q4-base:1.1; locks; strict; comment @// @; 1.5 date 2026.04.20.18.05.26; author adam; state Exp; branches; next 1.4; commitid HtlaD1LsXdR62JCG; 1.4 date 2024.04.05.13.45.50; author ryoon; state Exp; branches; next 1.3; commitid iZAEup8AipOZxX4F; 1.3 date 2024.04.05.09.22.33; author adam; state Exp; branches; next 1.2; commitid gNhdjE5NvYzw5W4F; 1.2 date 2019.01.25.09.01.13; author adam; state Exp; branches; next 1.1; commitid 3sETXiNMklvHW89B; 1.1 date 2018.12.11.17.55.56; author jklos; state Exp; branches; next ; commitid jhMSr3mRqRU6lp3B; desc @@ 1.5 log @x265: updated to 4.2 Version 4.2 New feature ----------- 1. Threaded Motion Estimation (Experimental feature)-It uses a dedicated threadpool to precompute Motion Estimation in parallel.Improves encoding speed upto 1.5x for 1080p & lower resolution on multi core machines with low frequency setting. On high frequency systems or on machines with low number of cores, the overhead of additional Motion estimation work may outweigh parallelism Enhancements to existing features ------------- 1.Add new Levels 6.3 to 7.2 specified in ITU-T H.265 (V9) (09/2023) and above 2.Improve Slices feature with check zeroMv 3.Enable frame parallelism with MCSTF feature 4.Updated support to signal AOM FGM params 5.Improve quality with SBRC feature 6.Updated DolbyVision P5 VUI defaults API changes ----------- 1. API Support to enable Threaded Motion Estimation(--threaded-me) Optimizations ------------- 1. RISC V optimizations including SAD, SATD, DCT, IDCT, block copy, pixel utilities, SAO, loopfilter, transpose kernels resulting in 2x encoding speed. 2. ARM SIMD optimizations including the use of NEON and SVE instruction set extensions. The following algorithms now have optimized SIMD implementations: DST, IDCT, SSE, SSD ,intra_pred_planar, pelFilterLumaStrong, interpolation, planecopy, dequant_normal, blockcopy, pixel variance resulting in 8% faster encoding speed compared to v4.1 Bug fixes --------- 1. Fix memory leaks (no command line option, SEI buffer, analysis save/load) 2. Fix chroma qp offset for non yuv444 inputs 3. Fix max supported input resolution 4. Fix bugs with ARM SIMD optimizations 5. Fix Alpha and Multiview feature flag support in x265_config 6. Fix test harness issues, CMake errors 7. Fix inconsistent output with aq-motion 8. Fix crash with hist-scenecut on high bit-depth builds 9. Fix lookahead concurrency bug 10. Fix shared link issue (R_X86_64_PC32), yuv recon output issue, rd-refine and dynamic-refine issue, inputs for Windows named pipe,weighted prediction delta_chroma_offset, crf and vbv issue in abr-ladder, psnr and ssim reported with MCSTF feature, internally overflowed VBV variables Known issues ------------ 1. Output mismatch between analysis save & load with cutree with reuse level < 10 2. Inconsistent hash mismatch with abr-ladder feature 3. Performance regression observed with threaded-me feature on high frequency systems and for higher resolutions (4k) @ text @$NetBSD: patch-common_cpu.cpp,v 1.4 2024/04/05 13:45:50 ryoon Exp $ Retire detect512, make enable512 a global. --- common/cpu.cpp.orig 2026-04-19 06:29:17.000000000 +0000 +++ common/cpu.cpp @@@@ -63,7 +63,7 @@@@ static void sigill_handler(int sig) namespace X265_NS { #if X265_ARCH_X86 -static bool enable512 = false; +bool enable512 = false; #endif const cpu_name_t cpu_names[] = { @@@@ -150,10 +150,6 @@@@ uint64_t PFX(cpu_xgetbv)(int xcr); #pragma warning(disable: 4309) // truncation of constant value #endif -bool detect512() -{ - return(enable512); -} uint32_t cpu_detect(bool benableavx512 ) { @ 1.4 log @multimedia/x265: Follow upstream tarball replace @ text @d1 1 a1 1 $NetBSD: patch-common_cpu.cpp,v 1.3 2024/04/05 09:22:33 adam Exp $ d5 1 a5 1 --- common/cpu.cpp.orig 2024-04-04 09:39:50.000000000 +0000 d7 1 a7 2 @@@@ -62,7 +62,7 @@@@ static void sigill_handler(int sig) #endif // if X265_ARCH_ARM d10 1 d13 1 d16 1 a16 2 #if X265_ARCH_X86 @@@@ -135,10 +135,6 @@@@ uint64_t PFX(cpu_xgetbv)(int xcr); @ 1.3 log @x265: updated to 3.6 Version 3.6 =========== Release date - 4th April, 2024. New feature ----------- 1. Segment based Ratecontrol (SBRC) feature 2. Motion-Compensated Spatio-Temporal Filtering 3. Scene-cut aware qp - BBAQ (Bidirectional Boundary Aware Quantization) 4. Histogram-Based Scene Change Detection 5. Film-Grain characteristics as a SEI message to support Film Grain Synthesis(FGS) 6. Add temporal layer implementation(Hierarchical B-frame implementation) Enhancements to existing features --------------------------------- 1. Added Dolby Vision 8.4 Profile Support API changes ----------- 1. Add Segment based Ratecontrol(SBRC) feature: "--[no-]sbrc". 2. Add command line parameter for mcstf feature: "--[no-]mctf". 3. Add command line parameters for the scene cut aware qp feature: "--scenecut-aware-qp" and "--masking-strength". 4. Add command line parameters for Histogram-Based Scene Change Detection: "--hist-scenecut". 5. Add film grain characteristics as a SEI message to the bitstream: "--film-grain " 6. cli: add new option --cra-nal (Force nal type to CRA to all frames expect for the first frame, works only with keyint 1) Optimizations --------------------- ARM64 NEON optimizations:- Several time-consuming C functions have been optimized for the targeted platform - aarch64. The overall performance increased by around 20%. SVE/SVE2 optimizations Bug fixes --------- 1. Linux bug to utilize all the cores 2. Crash with hist-scenecut build when source resolution is not multiple of minCuSize 3. 32bit and 64bit builds generation for ARM 4. bugs in zonefile feature (Reflect Zonefile Parameters inside Lookahead, extra IDR issue, Avg I Slice QP value issue etc..) 5. Add x86 ASM implementation for subsampling luma 6. Fix for abrladder segfault with load reuse level 1 7. Reorder miniGOP based on temporal layer hierarchy and add support for more B frame 8. Add MacOS aarch64 build support 9. Fix boundary condition issue for Gaussian filter @ text @d1 1 a1 1 $NetBSD: patch-common_cpu.cpp,v 1.2 2019/01/25 09:01:13 adam Exp $ d8 4 a11 4 #endif // if X265_ARCH_ARM namespace X265_NS { -static bool enable512 = false; d13 3 a15 3 const cpu_name_t cpu_names[] = { #if X265_ARCH_X86 d17 10 a26 10 #pragma warning(disable: 4309) // truncation of constant value #endif -bool detect512() -{ - return(enable512); -} uint32_t cpu_detect(bool benableavx512 ) { @ 1.2 log @x265: updated to 3.0 Version 3.0 New features option:: ‘–dolby-vision-profile ’ generates bitstreams confirming to the specified Dolby Vision profile. Currently profile 5, profile 8.1 and profile 8.2 enabled, Default 0 (disabled) option:: ‘–dolby-vision-rpu’ File containing Dolby Vision RPU metadata. If given, x265’s Dolby Vision metadata parser will fill the RPU field of input pictures with the metadata read from the file. The library will interleave access units with RPUs in the bitstream. Default NULL (disabled). option:: ‘–zonefile ’ specifies a text file which contains the boundaries of the zones where each of zones are configurable. option:: ‘–qp-adaptation-range’ Delta-QP range by QP adaptation based on a psycho-visual model. Default 1.0. option:: ‘–refine-ctu-distortion <0/1>’ store/normalize ctu distortion in analysis-save/load. Default 0. Experimental feature option:: ‘–hevc-aq’ enables adaptive quantization It scales the quantization step size according to the spatial activity of one coding unit relative to frame average spatial activity. This AQ method utilizes the minimum variance of sub-unit in each coding unit to represent the coding unit’s spatial complexity. Encoder enhancements Preset: change param defaults for veryslow and slower preset. Replace slower preset with defaults used in veryslow preset and change param defaults in veryslow preset as per experimental results. AQ: change default AQ mode to auto-variance Cutree offset reuse: restricted to analysis reuse-level 10 for analysis-save -> analysis-load Tune: introduce –tune animation option which improves encode quality for animated content Reuse CU depth for B frame and allow I, P frame to follow x265 depth decision Bug fixes RC: fix rowStat computation in const-vbv Dynamic-refine: fix memory reset size. Fix linking issue on non x86 platform Encoder: Do not include CLL SEI message if empty Fix build error in VMAF lib @ text @d1 1 a1 1 $NetBSD: patch-common_cpu.cpp,v 1.1 2018/12/11 17:55:56 jklos Exp $ d5 1 a5 1 --- common/cpu.cpp.orig 2019-01-23 09:47:18.000000000 +0000 d7 5 a11 5 @@@@ -58,7 +58,7 @@@@ static void sigill_handler(int sig) #endif // if X265_ARCH_ARM namespace X265_NS { -static bool enable512 = false; d13 14 a26 14 const cpu_name_t cpu_names[] = { #if X265_ARCH_X86 @@@@ -123,10 +123,6 @@@@ uint64_t PFX(cpu_xgetbv)(int xcr); #pragma warning(disable: 4309) // truncation of constant value #endif -bool detect512() -{ - return(enable512); -} uint32_t cpu_detect(bool benableavx512 ) { @ 1.1 log @Fix x265 on non-x86 architectures. Patches are from maya@@netbsd.org. Thanks! @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- common/cpu.cpp.orig 2018-10-05 12:14:40.000000000 +0000 d24 1 a26 1 @