[x265] [PATCH] fix multilib build error
Mahesh Pittala
mahesh at multicorewareinc.com
Fri Aug 25 10:57:33 UTC 2023
>From 33486f9553d1a300c762e05bcb77596f9d063e62 Mon Sep 17 00:00:00 2001
From: maheshpittala <mahesh at multicorewareinc.com>
Date: Wed, 23 Aug 2023 16:19:32 +0530
Subject: [PATCH] fix build error
---
source/encoder/slicetype.cpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/source/encoder/slicetype.cpp b/source/encoder/slicetype.cpp
index 8e67c2ed4..adc784eda 100644
--- a/source/encoder/slicetype.cpp
+++ b/source/encoder/slicetype.cpp
@@ -45,14 +45,6 @@ using namespace X265_NS;
namespace {
-uint32_t acEnergyVarHist(uint64_t sum_ssd, int shift)
-{
- uint32_t sum = (uint32_t)sum_ssd;
- uint32_t ssd = (uint32_t)(sum_ssd >> 32);
-
- return ssd - ((uint64_t)sum * sum >> shift);
-}
-
/* Compute variance to derive AC energy of each block */
inline uint32_t acEnergyVar(Frame *curFrame, uint64_t sum_ssd, int shift,
int plane)
{
@@ -95,6 +87,14 @@ inline uint32_t acEnergyPlane(Frame *curFrame, pixel*
src, intptr_t srcStride, i
namespace X265_NS {
+uint32_t acEnergyVarHist(uint64_t sum_ssd, int shift)
+{
+ uint32_t sum = (uint32_t)sum_ssd;
+ uint32_t ssd = (uint32_t)(sum_ssd >> 32);
+
+ return ssd - ((uint64_t)sum * sum >> shift);
+}
+
bool computeEdge(pixel* edgePic, pixel* refPic, pixel* edgeTheta, intptr_t
stride, int height, int width, bool bcalcTheta, pixel whitePixel)
{
intptr_t rowOne = 0, rowTwo = 0, rowThree = 0, colOne = 0, colTwo = 0,
colThree = 0;
--
2.23.0.windows.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20230825/4444245d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-error-patch.diff
Type: application/octet-stream
Size: 1468 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20230825/4444245d/attachment.obj>
More information about the x265-devel
mailing list