Revision 0bda7817

View differences:

libpostproc/postprocess.c
106 106
//#define NUM_BLOCKS_AT_ONCE 16 //not used yet
107 107

  
108 108
#if defined(ARCH_X86)
109
static uint64_t __attribute__((aligned(8))) attribute_used w05= 0x0005000500050005LL;
110
static uint64_t __attribute__((aligned(8))) attribute_used w04= 0x0004000400040004LL;
111
static uint64_t __attribute__((aligned(8))) attribute_used w20= 0x0020002000200020LL;
112
static uint64_t __attribute__((aligned(8))) attribute_used b00= 0x0000000000000000LL;
113
static uint64_t __attribute__((aligned(8))) attribute_used b01= 0x0101010101010101LL;
114
static uint64_t __attribute__((aligned(8))) attribute_used b02= 0x0202020202020202LL;
115
static uint64_t __attribute__((aligned(8))) attribute_used b08= 0x0808080808080808LL;
116
static uint64_t __attribute__((aligned(8))) attribute_used b80= 0x8080808080808080LL;
109
static DECLARE_ALIGNED(8, uint64_t attribute_used, w05)= 0x0005000500050005LL;
110
static DECLARE_ALIGNED(8, uint64_t attribute_used, w04)= 0x0004000400040004LL;
111
static DECLARE_ALIGNED(8, uint64_t attribute_used, w20)= 0x0020002000200020LL;
112
static DECLARE_ALIGNED(8, uint64_t attribute_used, b00)= 0x0000000000000000LL;
113
static DECLARE_ALIGNED(8, uint64_t attribute_used, b01)= 0x0101010101010101LL;
114
static DECLARE_ALIGNED(8, uint64_t attribute_used, b02)= 0x0202020202020202LL;
115
static DECLARE_ALIGNED(8, uint64_t attribute_used, b08)= 0x0808080808080808LL;
116
static DECLARE_ALIGNED(8, uint64_t attribute_used, b80)= 0x8080808080808080LL;
117 117
#endif
118 118

  
119 119
static uint8_t clip_table[3*256];
libpostproc/postprocess_template.c
3348 3348
static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height,
3349 3349
        QP_STORE_T QPs[], int QPStride, int isColor, PPContext *c2)
3350 3350
{
3351
        PPContext __attribute__((aligned(8))) c= *c2; //copy to stack for faster access
3351
        DECLARE_ALIGNED(8, PPContext, c)= *c2; //copy to stack for faster access
3352 3352
        int x,y;
3353 3353
#ifdef COMPILE_TIME_MODE
3354 3354
        const int mode= COMPILE_TIME_MODE;
......
3717 3717
                                else if(mode & H_DEBLOCK)
3718 3718
                                {
3719 3719
#ifdef HAVE_ALTIVEC
3720
                                        unsigned char __attribute__ ((aligned(16))) tempBlock[272];
3720
                                        DECLARE_ALIGNED(16, unsigned char, tempBlock[272]);
3721 3721
                                        transpose_16x8_char_toPackedAlign_altivec(tempBlock, dstBlock - (4 + 1), stride);
3722 3722

  
3723 3723
                                        const int t=vertClassify_altivec(tempBlock-48, 16, &c);

Also available in: Unified diff