<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>this is unsafe way to make alignment buffer , it depends on Compiler and its version<br></div><pre><br>At 2015-09-28 12:43:12,dnyaneshwar@multicorewareinc.com wrote:
># HG changeset patch
># User Dnyaneshwar G <dnyaneshwar@multicorewareinc.com>
># Date 1443415172 -19800
># Mon Sep 28 10:09:32 2015 +0530
># Node ID 247891a7dbea7ae2a0e89c290b5a35f38d5be658
># Parent 4f524673358748837d281abf28e4382f2ee845d2
>asm: rearrange buffer positions to align m_residualSumEmergency buffer for asm code
>
>diff -r 4f5246733587 -r 247891a7dbea source/encoder/encoder.h
>--- a/source/encoder/encoder.h Thu Sep 24 18:53:28 2015 -0500
>+++ b/source/encoder/encoder.h Mon Sep 28 10:09:32 2015 +0530
>@@ -131,8 +131,8 @@
> bool m_aborted; // fatal error detected
> bool m_reconfigured; // reconfigure of encoder detected
>
>+ uint16_t (*m_offsetEmergency)[MAX_NUM_TR_CATEGORIES][MAX_NUM_TR_COEFFS];
> uint32_t m_residualSumEmergency[MAX_NUM_TR_CATEGORIES][MAX_NUM_TR_COEFFS];
>- uint16_t (*m_offsetEmergency)[MAX_NUM_TR_CATEGORIES][MAX_NUM_TR_COEFFS];
> uint32_t m_countEmergency[MAX_NUM_TR_CATEGORIES];
>
> Encoder();
>_______________________________________________
>x265-devel mailing list
>x265-devel@videolan.org
>https://mailman.videolan.org/listinfo/x265-devel
</pre></div>