Hi,

On Sun, Oct 30, 2011 at 11:05 AM, Kostya Shishkov
<[email protected]> wrote:
> Here's a new hit from Elvis Presley - You're The Devil in Disguise.
> Nothing to do with Apple this time though.
[..]
> static inline void fill_64(uint8_t *dst, const uint64_t pix, int32_t n, 
> int32_t row_offset)
> {
>     for (; n > 0; dst += row_offset, n--)
>       *((uint64_t *)(dst)) = pix;
> }

AV_WN64A().

> static inline uint64_t replicate64(uint64_t a) {
> #if HAVE_BIGENDIAN
>     a &= 0xFF00FF00FF00FF00;
>     a |= a >> 8;
> #else
>     a &= 0x00FF00FF00FF00FF;
>     a |= a << 8;
> #endif
>     return a;
> }

0x00FF...ULL please.

> #define DECODE_CELL_TEMPLATE(h_zoom, v_zoom, PREPARE_DELTA, APPLY_DELTA,\
>                              RLE_BLOCK_ACTION, RLE_CODE_ACTION)\

OK, I hate long macros, they are impossible to debug. Can this be made
inline please?

How does performance compare with current indeo3.c?

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to