[x265] [PATCH] Alignment struct size to 16 bytes to avoid address compute cost

Min Chen chenm003 at 163.com
Fri Feb 5 11:53:25 CET 2016


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1454669596 -28800
# Node ID 00d5efa52f591d6d8c8f8681c830fb75ea09c594
# Parent  33724cfd90827f3534ce26fbd7797946e2219208
Alignment struct size to 16 bytes to avoid address compute cost

diff -r 33724cfd9082 -r 00d5efa52f59 source/encoder/slicetype.h
--- a/source/encoder/slicetype.h	Thu Feb 04 13:29:41 2016 +0800
+++ b/source/encoder/slicetype.h	Fri Feb 05 18:53:16 2016 +0800
@@ -213,6 +213,7 @@
         int  costEst;
         int  costEstAq;
         int  intraMbs;
+        int  _pad_to_16bytes;
     } m_slice[MAX_COOP_SLICES];
 
     int64_t singleCost(int p0, int p1, int b, bool intraPenalty = false);



More information about the x265-devel mailing list