Mercurial > mplayer.hg
comparison libmpcodecs/vf_spp.c @ 17082:c6da587be0b2
attribute align
author | michael |
---|---|
date | Sat, 03 Dec 2005 03:37:43 +0000 |
parents | 6ff3379a0862 |
children | ba9bf9beb23f |
comparison
equal
deleted
inserted
replaced
17081:f612d2cdb262 | 17082:c6da587be0b2 |
---|---|
377 | 377 |
378 static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ | 378 static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ |
379 int x, y, i; | 379 int x, y, i; |
380 const int count= 1<<p->log2_count; | 380 const int count= 1<<p->log2_count; |
381 const int stride= is_luma ? p->temp_stride : ((width+16+15)&(~15)); | 381 const int stride= is_luma ? p->temp_stride : ((width+16+15)&(~15)); |
382 uint64_t block_align[32]; | 382 uint64_t __attribute__((aligned(16))) block_align[32]; |
383 DCTELEM *block = (DCTELEM *)block_align; | 383 DCTELEM *block = (DCTELEM *)block_align; |
384 DCTELEM *block2= (DCTELEM *)(block_align+16); | 384 DCTELEM *block2= (DCTELEM *)(block_align+16); |
385 | 385 |
386 if (!src || !dst) return; // HACK avoid crash for Y8 colourspace | 386 if (!src || !dst) return; // HACK avoid crash for Y8 colourspace |
387 for(y=0; y<height; y++){ | 387 for(y=0; y<height; y++){ |