[x265-commits] [x265] api: make notice of how the build number now must be echo...

Steve Borho steve at borho.org
Thu Oct 10 09:39:00 CEST 2013


details:   http://hg.videolan.org/x265/rev/8ae52f2b159c
branches:  
changeset: 4344:8ae52f2b159c
user:      Steve Borho <steve at borho.org>
date:      Thu Oct 10 01:15:11 2013 -0500
description:
api: make notice of how the build number now must be echoed in x265.def
Subject: [x265] TEncSeach: add alignment to bidir output buffer

details:   http://hg.videolan.org/x265/rev/6a6f72ea32a3
branches:  
changeset: 4345:6a6f72ea32a3
user:      Min Chen <chenm003 at 163.com>
date:      Thu Oct 10 15:05:46 2013 +0800
description:
TEncSeach: add alignment to bidir output buffer

fixes crash in x265_pixel_avg_w16_sse2 from aligned writes to the output buffer

diffstat:

 source/Lib/TLibEncoder/TEncSearch.cpp |  2 +-
 source/x265.def                       |  2 +-
 source/x265.h                         |  1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 4b84c969a079 -r 6a6f72ea32a3 source/Lib/TLibEncoder/TEncSearch.cpp
--- a/source/Lib/TLibEncoder/TEncSearch.cpp	Thu Oct 10 00:40:19 2013 -0500
+++ b/source/Lib/TLibEncoder/TEncSearch.cpp	Thu Oct 10 15:05:46 2013 +0800
@@ -2425,7 +2425,7 @@ void TEncSearch::predInterSearch(TComDat
                 ref0 = m_predYuv[0].getLumaAddr(partAddr);
                 ref1 = m_predYuv[1].getLumaAddr(partAddr);
 
-                pixel avg[MAX_CU_SIZE * MAX_CU_SIZE];
+                ALIGN_VAR_32(pixel, avg[MAX_CU_SIZE * MAX_CU_SIZE]);
 
                 int partEnum = PartitionFromSizes(roiWidth, roiHeight);
                 primitives.pixelavg_pp[partEnum](avg, roiWidth, ref0, m_predYuv[0].getStride(), ref1, m_predYuv[1].getStride(), 32);
diff -r 4b84c969a079 -r 6a6f72ea32a3 source/x265.def
--- a/source/x265.def	Thu Oct 10 00:40:19 2013 -0500
+++ b/source/x265.def	Thu Oct 10 15:05:46 2013 +0800
@@ -1,10 +1,10 @@
 EXPORTS
+x265_encoder_open_1
 x265_setup_primitives
 x265_param_default
 x265_picture_init
 x265_param_apply_profile
 x265_max_bit_depth
-x265_encoder_open
 x265_encoder_headers
 x265_encoder_encode
 x265_encoder_get_stats
diff -r 4b84c969a079 -r 6a6f72ea32a3 source/x265.h
--- a/source/x265.h	Thu Oct 10 00:40:19 2013 -0500
+++ b/source/x265.h	Thu Oct 10 15:05:46 2013 +0800
@@ -30,6 +30,7 @@
 extern "C" {
 #endif
 
+/* Until we have a permanent solution, the x265.def file must be updated each time this is changed */
 #define X265_BUILD 1
 
 /* x265_t:


More information about the x265-commits mailing list