Go to the source code of this file.
Defines | |
#define | MMREG_WIDTH "16" |
#define | MM "%%xmm" |
#define | MOVQ "movdqa" |
#define | SPREADW(a) |
#define | PMAXW(a, b) "pmaxsw "a", "b" \n\t" |
#define | PMAX(a, b) |
#define | SAVE_SIGN(a, b) |
#define | RESTORE_SIGN(a, b) |
Functions | |
static int | dct_quantize_SSE2 (MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow) |
#define MM "%%xmm" |
Definition at line 34 of file mpegvideo_mmx_template.c.
Referenced by av_register_all(), and dct_quantize_SSE2().
#define MMREG_WIDTH "16" |
Definition at line 33 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
#define MOVQ "movdqa" |
Definition at line 35 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
#define PMAX | ( | a, | |||
b | ) |
"movhlps "a", "b" \n\t"\ PMAXW(b, a)\ "pshuflw $0x0E, "a", "b" \n\t"\ PMAXW(b, a)\ "pshuflw $0x01, "a", "b" \n\t"\ PMAXW(b, a)
Definition at line 40 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
#define PMAXW | ( | a, | |||
b | ) | "pmaxsw "a", "b" \n\t" |
Definition at line 39 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
#define RESTORE_SIGN | ( | a, | |||
b | ) |
"pxor "a", "b" \n\t"\ "psubw "a", "b" \n\t"
Definition at line 89 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
#define SAVE_SIGN | ( | a, | |||
b | ) |
"pxor "a", "a" \n\t"\ "pcmpgtw "b", "a" \n\t" /* block[i] <= 0 ? 0xFF : 0x00 */\ "pxor "a", "b" \n\t"\ "psubw "a", "b" \n\t"
Definition at line 84 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
#define SPREADW | ( | a | ) |
"pshuflw $0, "a", "a" \n\t"\ "punpcklwd "a", "a" \n\t"
Definition at line 36 of file mpegvideo_mmx_template.c.
Referenced by dct_quantize_SSE2().
static int dct_quantize_SSE2 | ( | MpegEncContext * | s, | |
DCTELEM * | block, | |||
int | n, | |||
int | qscale, | |||
int * | overflow | |||
) | [static] |
Definition at line 94 of file mpegvideo_mmx_template.c.
Referenced by MPV_common_init_mmx().