Revision 4052cbf1 libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c | ||
---|---|---|
24 | 24 |
|
25 | 25 |
#include "libavutil/x86_cpu.h" |
26 | 26 |
#include "libavcodec/dsputil.h" |
27 |
#include "libavcodec/h263.h" |
|
28 | 27 |
#include "libavcodec/mpegvideo.h" |
29 | 28 |
#include "libavcodec/simple_idct.h" |
30 | 29 |
#include "dsputil_mmx.h" |
... | ... | |
703 | 702 |
"paddb %%mm1, %%mm6 \n\t" |
704 | 703 |
|
705 | 704 |
static void h263_v_loop_filter_mmx(uint8_t *src, int stride, int qscale){ |
706 |
if(CONFIG_ANY_H263) {
|
|
705 |
if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
707 | 706 |
const int strength= ff_h263_loop_filter_strength[qscale]; |
708 | 707 |
|
709 | 708 |
__asm__ volatile( |
... | ... | |
753 | 752 |
} |
754 | 753 |
|
755 | 754 |
static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){ |
756 |
if(CONFIG_ANY_H263) {
|
|
755 |
if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
757 | 756 |
const int strength= ff_h263_loop_filter_strength[qscale]; |
758 | 757 |
DECLARE_ALIGNED(8, uint64_t, temp[4]); |
759 | 758 |
uint8_t *btemp= (uint8_t*)temp; |
... | ... | |
2624 | 2623 |
|
2625 | 2624 |
c->draw_edges = draw_edges_mmx; |
2626 | 2625 |
|
2627 |
if (CONFIG_ANY_H263) {
|
|
2626 |
if (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
|
2628 | 2627 |
c->h263_v_loop_filter= h263_v_loop_filter_mmx; |
2629 | 2628 |
c->h263_h_loop_filter= h263_h_loop_filter_mmx; |
2630 | 2629 |
} |
Also available in: Unified diff