libavcodec/x86/png_mmx.c File Reference

#include "libavutil/cpu.h"
#include "libavutil/x86_cpu.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/png.h"
#include "dsputil_mmx.h"

Go to the source code of this file.

Defines

#define PAETH(cpu, abs3)
#define ABS3_MMX2
#define ABS3_SSSE3

Functions

static void add_bytes_l2_mmx (uint8_t *dst, uint8_t *src1, uint8_t *src2, int w)
void ff_png_init_mmx (PNGDecContext *s)


Define Documentation

#define ABS3_MMX2

Value:

"psubw     %%mm5, %%mm7 \n"\
        "pmaxsw    %%mm7, %%mm5 \n"\
        "pxor      %%mm6, %%mm6 \n"\
        "pxor      %%mm7, %%mm7 \n"\
        "psubw     %%mm3, %%mm6 \n"\
        "psubw     %%mm4, %%mm7 \n"\
        "pmaxsw    %%mm6, %%mm3 \n"\
        "pmaxsw    %%mm7, %%mm4 \n"\
        "pxor      %%mm7, %%mm7 \n"

Definition at line 110 of file png_mmx.c.

#define ABS3_SSSE3

Value:

"pabsw     %%mm3, %%mm3 \n"\
        "pabsw     %%mm4, %%mm4 \n"\
        "pabsw     %%mm5, %%mm5 \n"

Definition at line 121 of file png_mmx.c.

#define PAETH ( cpu,
abs3   ) 

Definition at line 55 of file png_mmx.c.


Function Documentation

static void add_bytes_l2_mmx ( uint8_t *  dst,
uint8_t *  src1,
uint8_t *  src2,
int  w 
) [static]

Definition at line 32 of file png_mmx.c.

Referenced by ff_png_init_mmx().

void ff_png_init_mmx ( PNGDecContext s  ) 

Definition at line 131 of file png_mmx.c.

Referenced by png_dec_init().


Generated on Fri Oct 26 02:39:47 2012 for FFmpeg by  doxygen 1.5.8