Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th December 2009, 07:02 | #6 | Link | |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
the lack of C99 support causes a fair number of compiling errors within such lacking compilers. you'd need to compile with Intel's C/C++ windows platform compiler (ICL), which can support C99. |
|
15th December 2009, 07:23 | #7 | Link | |
Registered User
Join Date: Feb 2008
Posts: 32
|
Quote:
|
|
15th December 2009, 08:19 | #9 | Link | |
Registered User
Join Date: Feb 2008
Posts: 32
|
Quote:
However, this project is removed now. Can I use the previous vc project (x264.sln, x264.vcproject) in current x264 version? |
|
15th December 2009, 16:43 | #11 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
People are building x264 with ICL (see the "Current Patches" thread for details) and ICL integrates nicely into VisualStudio, so that may be the way to go.
Also note that you can get a free trial of ICL for 30 days. Then you simply request the next 30 days trial. And so on. It seems the trial version isn't restricted, except for the 30 days limit
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
15th December 2009, 18:38 | #12 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
Code that must be modified or implemented:
1) Statement before declaration. 2) log2f and round: Code:
static inline int64_t round(double x) { __asm fld QWORD PTR x __asm fistp QWORD PTR x return *(int64_t*)&x; } static ALWAYS_INLINE double log2(int32_t x) { __asm{ fld1 fild x fyl2x } } Code:
static const uint8_t check_mv_lists[X264_MBTYPE_MAX] = {[P_L0]=1, [B_L0_L0]=1, [B_L1_L1]=2}; Code:
uint64_t dbl2int( double value ) { return (union {double f; uint64_t i;}){value}.i; } |
15th December 2009, 19:14 | #14 | Link | |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
Quote:
Since now log2f is only used to generate lut, performance of log2f doesn't really matter. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|