Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41209 Details for
Bug 64893
avifile-0.7.38.20030710-r1 / .41.20041001 fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Requested preprocessed utils file
utils (text/plain), 7.74 KB, created by
Jan Jitse Venselaar
on 2004-10-06 02:25:52 UTC
(
hide
)
Description:
Requested preprocessed utils file
Filename:
MIME Type:
Creator:
Jan Jitse Venselaar
Created:
2004-10-06 02:25:52 UTC
Size:
7.74 KB
patch
obsolete
># 1 "utils.h" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "utils.h" ># 1 "avm_default.h" 1 ># 13 "avm_default.h" ># 1 "/usr/include/inttypes.h" 1 3 4 ># 26 "/usr/include/inttypes.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 296 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 297 "/usr/include/features.h" 2 3 4 ># 319 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 320 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/inttypes.h" 2 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 37 "/usr/include/stdint.h" 3 4 >typedef signed char int8_t; >typedef short int int16_t; >typedef int int32_t; >__extension__ >typedef long long int int64_t; >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; >typedef unsigned int uint32_t; >__extension__ >typedef unsigned long long int uint64_t; >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; >__extension__ >typedef long long int int_least64_t; >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; >__extension__ >typedef unsigned long long int uint_least64_t; >typedef signed char int_fast8_t; >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; >typedef unsigned char uint_fast8_t; >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 126 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 29 "/usr/include/inttypes.h" 2 3 4 >typedef long int __gwchar_t; ># 274 "/usr/include/inttypes.h" 3 4 ># 288 "/usr/include/inttypes.h" 3 4 >typedef struct > { > long long int quot; > long long int rem; > } imaxdiv_t; >extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern intmax_t strtoimax (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); >extern uintmax_t strtoumax (__const char *__restrict __nptr, > char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); >extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, > __gwchar_t **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)); >extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, > __gwchar_t ** __restrict __endptr, int __base) > __attribute__ ((__nothrow__)); ># 459 "/usr/include/inttypes.h" 3 4 ># 14 "avm_default.h" 2 ># 23 "avm_default.h" >typedef long HRESULT; ># 51 "avm_default.h" >typedef uint32_t fourcc_t; >typedef unsigned int uint_t; >typedef uint_t framepos_t; >typedef uint_t streamid_t; >typedef uint_t Unsigned; ># 5 "utils.h" 2 ># 1 "formats.h" 1 ># 25 "formats.h" >typedef struct __attribute__((__packed__)) >{ > uint32_t f1; > uint16_t f2; > uint16_t f3; > uint8_t f4[8]; >} GUID; >enum BI_FMT { > BI_RGB = 0, > BI_RLE8 = 1, > BI_RLE4 = 2, > BI_BITFIELDS = 3 >}; ># 61 "formats.h" >typedef struct __attribute__((__packed__)) >{ > uint32_t biSize; > uint32_t biWidth; ># 82 "formats.h" > int32_t biHeight; > uint16_t biPlanes; ># 141 "formats.h" > uint16_t biBitCount; ># 171 "formats.h" > uint32_t biCompression; > uint32_t biSizeImage; > uint32_t biXPelsPerMeter; > uint32_t biYPelsPerMeter; ># 201 "formats.h" > uint32_t biClrUsed; > uint32_t biClrImportant; >} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER; >typedef struct __attribute__((__packed__)) >{ > BITMAPINFOHEADER bmiHeader; > uint32_t bmiColors[1]; >} BITMAPINFO, *LPBITMAPINFO; >typedef struct __attribute__((__packed__)) _WAVEFORMATEX >{ > uint16_t wFormatTag; > uint16_t nChannels; > uint32_t nSamplesPerSec; > uint32_t nAvgBytesPerSec; > uint16_t nBlockAlign; > uint16_t wBitsPerSample; > uint16_t cbSize; >} WAVEFORMATEX; >typedef WAVEFORMATEX *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX; >typedef struct __attribute__((__packed__)) >{ > WAVEFORMATEX Format; > union { > uint16_t wValidBitsPerSample; > uint16_t wSamplesPerBlock; > uint16_t wReserved; > } Samples; > uint32_t dwChannelMask; > GUID SubFormat; >} WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; >typedef WAVEFORMATEXTENSIBLE WAVEFORMATPCMEX; >typedef enum >{ > MP3WFMTX_ID_UNKNOWN = 0, > MP3WFMTX_ID_MPEG = 1, > MP3WFMTX_ID_CONSTANTFRAMESIZE = 2, > MP3WFMTX_FLAG_PADDING_ISO = 0, > MP3WFMTX_FLAG_PADDING_ON = 1, > MP3WFMTX_FLAG_PADDING_OFF = 2 >} MP3WFMTX; >typedef struct __attribute__((__packed__)) >{ > WAVEFORMATEX wf; > uint16_t wID; > uint32_t fdwFlags; > uint16_t nBlockSize; > uint16_t nFramesPerBlock; > uint16_t nCodecDelay; >} MP3WAVEFORMATEX; ># 6 "utils.h" 2 ># 33 "utils.h" >extern uint_t (*localcount)(void); >extern int64_t (*longcount)(void); >static inline uint16_t avm_get_le16(const void* p) __attribute__ ((__nothrow__)) { > return *(const uint16_t*)p; >} >static inline uint8_t* avm_set_le16(void* p, uint16_t v) __attribute__ ((__nothrow__)) { > uint8_t* b = (uint8_t*) p; > *(uint16_t*)p = v; > return b; >} >static inline uint32_t avm_get_le32(const void* p) __attribute__ ((__nothrow__)) { > return *(const uint32_t*)p; >} >static inline uint8_t* avm_set_le32(void* p, uint32_t v) __attribute__ ((__nothrow__)) { > uint8_t* b = (uint8_t*) p; > *(uint32_t*)p = v; > return b; >} >static inline uint64_t avm_get_le64(const void* p) __attribute__ ((__nothrow__)) { > return *(const uint64_t*)p; >} >static inline uint16_t avm_get_be16(const void* p) __attribute__ ((__nothrow__)) { > const uint8_t* c = (const uint8_t*) p; > return c[0] << 8 | c[1]; >} >static inline uint8_t* avm_set_be16(void* p, uint16_t v) __attribute__ ((__nothrow__)) { > uint8_t* b = (uint8_t*) p; > b[0] = (v >> 8) & 0xff; > b[1] = v & 0xff; > return b; >} >static inline uint32_t avm_get_be32(const void* p) __attribute__ ((__nothrow__)) { > const uint8_t* c = (const uint8_t*) p; > return c[0] << 24 | c[1] << 16 | c[2] << 8 | c[3]; >} >static inline uint8_t* avm_set_be32(void* p, uint32_t v) __attribute__ ((__nothrow__)) { > uint8_t* b = (uint8_t*) p; > b[0] = (v >> 24) & 0xff; > b[1] = (v >> 16) & 0xff; > b[2] = (v >> 8) & 0xff; > b[3] = v & 0xff; > return b; >} >static inline uint64_t avm_get_be64(const void* p) __attribute__ ((__nothrow__)) { > const uint8_t* c = (const uint8_t*) p; > return ((uint64_t) avm_get_be32(c)) << 32 | avm_get_le32(c + 4); >} >static inline int avm_img_is_rgb(fourcc_t fmt) __attribute__ ((__nothrow__)) >{ > return ((fmt & 0xffffff00) == (('R'<<24)|('G'<<16)|('B'<<8))); >} >static inline int avm_img_is_bgr(fourcc_t fmt) __attribute__ ((__nothrow__)) >{ > return ((fmt & 0xffffff00) == 0); >} >static inline int avm_img_get_depth(fourcc_t fmt) __attribute__ ((__nothrow__)) >{ > return fmt & 0xff; >} >WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf) __attribute__ ((__nothrow__)); >BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi) __attribute__ ((__nothrow__)); >const char* avm_fcc_name(fourcc_t fcc) __attribute__ ((__nothrow__)); >const char* avm_wave_format_name(short fmt) __attribute__ ((__nothrow__)); >const char* avm_img_format_name(fourcc_t fmt) __attribute__ ((__nothrow__)); >char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf) __attribute__ ((__nothrow__)); >int avm_usleep(unsigned long) __attribute__ ((__nothrow__)); >int avm_setenv(const char *name, const char *value, int overwrite) __attribute__ ((__nothrow__)); >void avm_unsetenv(const char *name) __attribute__ ((__nothrow__));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 64893
: 41209