patch by Alexander Strange.
/* 8x8 prediction selection */
if( flags & X264_ANALYSE_I8x8 )
{
- DECLARE_ALIGNED( uint8_t, edge[33], 8 );
+ DECLARE_ALIGNED( uint8_t, edge[33], 16 );
x264_pixel_cmp_t sa8d = (*h->pixf.mbcmp == *h->pixf.sad) ? h->pixf.sad[PIXEL_8x8] : h->pixf.sa8d[PIXEL_8x8];
int i_satd_thresh = a->b_mbrd ? COST_MAX : X264_MIN( i_satd_inter, a->i_satd_i16x16 );
int i_cost = 0;
}
else if( h->mb.i_type == I_8x8 )
{
- DECLARE_ALIGNED( uint8_t, edge[33], 8 );
+ DECLARE_ALIGNED( uint8_t, edge[33], 16 );
for( idx = 0; idx < 4; idx++ )
{
uint64_t pels_h = 0;
}
else if( h->mb.i_type == I_8x8 )
{
- DECLARE_ALIGNED( uint8_t, edge[33], 8 );
+ DECLARE_ALIGNED( uint8_t, edge[33], 16 );
h->mb.b_transform_8x8 = 1;
for( i = 0; i < 4; i++ )
{
if( i_icost < i_bcost * 2 )
{
- DECLARE_ALIGNED( uint8_t, edge[33], 8 );
+ DECLARE_ALIGNED( uint8_t, edge[33], 16 );
x264_predict_8x8_filter( pix, edge, ALL_NEIGHBORS, ALL_NEIGHBORS );
for( i=3; i<9; i++ )
{
x264_predict_t predict_8x8c[4+3];
x264_predict_t predict_4x4[9+3];
x264_predict8x8_t predict_8x8[9+3];
- DECLARE_ALIGNED( uint8_t, edge[33], 8 );
+ DECLARE_ALIGNED( uint8_t, edge[33], 16 );
uint16_t cost_mv[32];
int ret = 0, ok, used_asm;
int i, j;
{
int ret = 0, ok = 1, used_asm = 0;
int i;
- DECLARE_ALIGNED( uint8_t, edge[33], 8 );
+ DECLARE_ALIGNED( uint8_t, edge[33], 16 );
struct
{
x264_predict_t predict_16x16[4+3];