head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.16 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.14 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.12 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.10 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.8 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.6 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.4 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.2 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.3.0.48 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.46 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.44 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.42 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.40 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.38 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.36 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.34 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.32 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.30 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.28 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.26 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.24 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.22 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.20 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.18 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.14 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.16 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.12 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.10 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.8 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.6 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.4 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.2 pkgsrc-2018Q2-base:1.3; locks; strict; comment @// @; 1.5 date 2024.04.05.13.45.51; author ryoon; state Exp; branches; next 1.4; commitid iZAEup8AipOZxX4F; 1.4 date 2024.04.05.09.22.33; author adam; state Exp; branches; next 1.3; commitid gNhdjE5NvYzw5W4F; 1.3 date 2018.05.25.14.42.07; author jperkin; state Exp; branches; next 1.2; commitid xHnFL86AnM13IGDA; 1.2 date 2018.03.09.12.08.08; author adam; state dead; branches; next 1.1; commitid 7T5wNYiFgvWskMtA; 1.1 date 2018.02.21.12.33.46; author fhajny; state Exp; branches; next ; commitid jJZu9M1q9JkkZIrA; desc @@ 1.5 log @multimedia/x265: Follow upstream tarball replace @ text @$NetBSD: patch-encoder_encoder.cpp,v 1.4 2024/04/05 09:22:33 adam Exp $ Fix error: call of overloaded 'pow(int, int)' is ambiguous --- encoder/encoder.cpp.orig 2024-04-04 09:39:50.000000000 +0000 +++ encoder/encoder.cpp @@@@ -118,6 +118,7 @@@@ VideoSignalTypePresets vstPresets[] = static const char* defaultAnalysisFileName = "x265_analysis.dat"; using namespace X265_NS; +using std::pow; Encoder::Encoder() { @ 1.4 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-encoder_encoder.cpp,v 1.3 2018/05/25 14:42:07 jperkin Exp $ d8 3 a10 3 static const char* defaultAnalysisFileName = "x265_analysis.dat"; using namespace X265_NS; d12 3 a14 3 Encoder::Encoder() { @ 1.3 log @x265: Fix overloaded function call. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- encoder/encoder.cpp.orig 2018-05-21 08:33:10.000000000 +0000 d7 4 a10 4 @@@@ -55,6 +55,7 @@@@ const char g_sliceTypeToChar[] = {'B', ' static const char* defaultAnalysisFileName = "x265_analysis.dat"; using namespace X265_NS; d12 3 a14 3 Encoder::Encoder() { @ 1.2 log @x265: updated to 2.7 Version 2.7 New features 1. :option:--gop-lookahead can be used to extend the gop boundary(set by --keyint). The GOP will be extended, if a scene-cut frame is found within this many number of frames. 2. Support for RADL pictures added in x265. :option:--radl can be used to decide number of RADL pictures preceding the IDR picture. Encoder enhancements 1. Moved from YASM to NASM assembler. Supports NASM assembler version 2.13 and greater. 2. Enable analysis save and load in a single run. Introduces two new cli options --analysis-save and --analysis-load . 3. Comply to HDR10+ LLC specification. 4. Reduced x265 build time by more than 50% by re-factoring ipfilter.asm. Bug fixes 1. Fixed inconsistent output issue in deblock filter and --const-vbv. 2. Fixed Mac OS build warnings. 3. Fixed inconsistency in pass-2 when weightp and cutree are enabled. 4. Fixed deadlock issue due to dropping of BREF frames, while forcing slice types through qp file. @ text @d1 1 a1 1 $NetBSD: patch-encoder_encoder.cpp,v 1.1 2018/02/21 12:33:46 fhajny Exp $ d3 1 a3 1 Remove ambiguous reference. Fixes build on at least SunOS. d5 1 a5 1 --- encoder/encoder.cpp.orig 2017-11-29 03:21:40.000000000 +0000 d7 8 a14 18 @@@@ -575,7 +575,7 @@@@ int Encoder::setAnalysisDataAfterZScan(x { int mv_x = ((analysis_inter_data *)curFrame->m_analysisData.interData)->mv[k][(mbIndex * 16) + cuOffset].x; int mv_y = ((analysis_inter_data *)curFrame->m_analysisData.interData)->mv[k][(mbIndex * 16) + cuOffset].y; - double mv = sqrt(mv_x*mv_x + mv_y*mv_y); + double mv = std::sqrt(mv_x*mv_x + mv_y*mv_y); if (numPU == PU_2Nx2N && ((srcInterData)->depth[cuPos + cuOffset] == (m_param->maxCUSize >> 5)) && mv <= MVTHRESHOLD) memset(&curFrame->m_analysisData.modeFlag[k][cuPos + cuOffset], 1, bytes); } @@@@ -658,7 +658,7 @@@@ int Encoder::setAnalysisData(x265_analys { int mv_x = ((analysis_inter_data *)curFrame->m_analysisData.interData)->mv[i][count + pu].x; int mv_y = ((analysis_inter_data *)curFrame->m_analysisData.interData)->mv[i][count + pu].y; - double mv = sqrt(mv_x*mv_x + mv_y*mv_y); + double mv = std::sqrt(mv_x*mv_x + mv_y*mv_y); if (numPU == PU_2Nx2N && m_param->num4x4Partitions <= 16 && mv <= MVTHRESHOLD) memset(&curFrame->m_analysisData.modeFlag[i][count + pu], 1, bytes); } @ 1.1 log @multimedia/x265: Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD$ @