Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 94248
Collapse All | Expand All

(-)xine-lib-1.0.1.old/src/libffmpeg/libavcodec/i386/dsputil_mmx.c (-16 / +12 lines)
Lines 643-668 Link Here
643
        "punpcklwd %%mm0, %%mm1		\n\t"
643
        "punpcklwd %%mm0, %%mm1		\n\t"
644
        "punpckhwd %%mm4, %%mm3		\n\t"
644
        "punpckhwd %%mm4, %%mm3		\n\t"
645
        "punpckhwd %%mm0, %%mm6		\n\t"
645
        "punpckhwd %%mm0, %%mm6		\n\t"
646
        "movd %%mm5, %0			\n\t"
646
        "movd %%mm5, (%0)		\n\t"
647
        "punpckhdq %%mm5, %%mm5		\n\t"
647
        "punpckhdq %%mm5, %%mm5		\n\t"
648
        "movd %%mm5, %1			\n\t"
648
        "movd %%mm5, (%0,%2)		\n\t"
649
        "movd %%mm3, %2			\n\t"
649
        "movd %%mm3, (%0,%2,2)		\n\t"
650
        "punpckhdq %%mm3, %%mm3		\n\t"
650
        "punpckhdq %%mm3, %%mm3		\n\t"
651
        "movd %%mm3, %3			\n\t"
651
        "movd %%mm3, (%0,%3)		\n\t"
652
        "movd %%mm1, %4			\n\t"
652
        "movd %%mm1, (%1)		\n\t"
653
        "punpckhdq %%mm1, %%mm1		\n\t"
653
        "punpckhdq %%mm1, %%mm1		\n\t"
654
        "movd %%mm1, %5			\n\t"
654
        "movd %%mm1, (%1,%2)		\n\t"
655
        "movd %%mm6, %6			\n\t"
655
        "movd %%mm6, (%1,%2,2)		\n\t"
656
        "punpckhdq %%mm6, %%mm6		\n\t"
656
        "punpckhdq %%mm6, %%mm6		\n\t"
657
        "movd %%mm6, %7			\n\t"
657
        "movd %%mm6, (%1,%3)		\n\t"
658
        : "=m" (*(uint32_t*)(src + 0*stride)),
658
        :: "r" (src),
659
          "=m" (*(uint32_t*)(src + 1*stride)),
659
           "r" (src + 4*stride),
660
          "=m" (*(uint32_t*)(src + 2*stride)),
660
           "r" ((long)   stride ),
661
          "=m" (*(uint32_t*)(src + 3*stride)),
661
           "r" ((long)(3*stride))
662
          "=m" (*(uint32_t*)(src + 4*stride)),
663
          "=m" (*(uint32_t*)(src + 5*stride)),
664
          "=m" (*(uint32_t*)(src + 6*stride)),
665
          "=m" (*(uint32_t*)(src + 7*stride))
666
    );
662
    );
667
}
663
}
668
664
(-)xine-lib-1.0.1.old/src/libffmpeg/libavcodec/common.h (+35 lines)
Lines 27-32 Link Here
27
#define M_PI    3.14159265358979323846
27
#define M_PI    3.14159265358979323846
28
#endif
28
#endif
29
29
30
/**
31
 * AVOption.
32
 */
33
typedef struct AVOption {
34
    /** options' name */
35
    const char *name; /* if name is NULL, it indicates a link to next */
36
    /** short English text help or const struct AVOption* subpointer */
37
    const char *help; //	const struct AVOption* sub;
38
    /** offset to context structure where the parsed value should be stored */
39
    int offset;
40
    /** options' type */
41
    int type;
42
#define FF_OPT_TYPE_BOOL 1      ///< boolean - true,1,on  (or simply presence)
43
#define FF_OPT_TYPE_DOUBLE 2    ///< double
44
#define FF_OPT_TYPE_INT 3       ///< integer
45
#define FF_OPT_TYPE_STRING 4    ///< string (finished with \0)
46
#define FF_OPT_TYPE_MASK 0x1f	///< mask for types - upper bits are various flags
47
//#define FF_OPT_TYPE_EXPERT 0x20 // flag for expert option
48
#define FF_OPT_TYPE_FLAG (FF_OPT_TYPE_BOOL | 0x40)
49
#define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80)
50
    /** min value  (min == max   ->  no limits) */
51
    double min;
52
    /** maximum value for double/int */
53
    double max;
54
    /** default boo [0,1]l/double/int value */
55
    double defval;
56
    /**
57
     * default string value (with optional semicolon delimited extra option-list
58
     * i.e.   option1;option2;option3
59
     * defval might select other then first argument as default
60
     */
61
    const char *defstr;
62
#define FF_OPT_MAX_DEPTH 10
63
} AVOption;
64
30
#ifdef HAVE_AV_CONFIG_H
65
#ifdef HAVE_AV_CONFIG_H
31
/* only include the following when compiling package */
66
/* only include the following when compiling package */
32
#    include "config.h"
67
#    include "config.h"
(-)xine-lib-1.0.1.old/src/libffmpeg/libavcodec/avcodec.h (-35 lines)
Lines 1605-1645 Link Here
1605
1605
1606
1606
1607
/**
1607
/**
1608
 * AVOption.
1609
 */
1610
typedef struct AVOption {
1611
    /** options' name */
1612
    const char *name; /* if name is NULL, it indicates a link to next */
1613
    /** short English text help or const struct AVOption* subpointer */
1614
    const char *help; //	const struct AVOption* sub;
1615
    /** offset to context structure where the parsed value should be stored */
1616
    int offset;
1617
    /** options' type */
1618
    int type;
1619
#define FF_OPT_TYPE_BOOL 1      ///< boolean - true,1,on  (or simply presence)
1620
#define FF_OPT_TYPE_DOUBLE 2    ///< double
1621
#define FF_OPT_TYPE_INT 3       ///< integer
1622
#define FF_OPT_TYPE_STRING 4    ///< string (finished with \0)
1623
#define FF_OPT_TYPE_MASK 0x1f	///< mask for types - upper bits are various flags
1624
//#define FF_OPT_TYPE_EXPERT 0x20 // flag for expert option
1625
#define FF_OPT_TYPE_FLAG (FF_OPT_TYPE_BOOL | 0x40)
1626
#define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80)
1627
    /** min value  (min == max   ->  no limits) */
1628
    double min;
1629
    /** maximum value for double/int */
1630
    double max;
1631
    /** default boo [0,1]l/double/int value */
1632
    double defval;
1633
    /**
1634
     * default string value (with optional semicolon delimited extra option-list
1635
     * i.e.   option1;option2;option3
1636
     * defval might select other then first argument as default
1637
     */
1638
    const char *defstr;
1639
#define FF_OPT_MAX_DEPTH 10
1640
} AVOption;
1641
1642
/**
1643
 * Parse option(s) and sets fields in passed structure
1608
 * Parse option(s) and sets fields in passed structure
1644
 * @param strct	structure where the parsed results will be written
1609
 * @param strct	structure where the parsed results will be written
1645
 * @param list  list with AVOptions
1610
 * @param list  list with AVOptions

Return to bug 94248