![]() |
|
|||||||
| SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#61
|
|||
|
|||
|
Quote:
Also, I am using VS2015 for the rest. I hijacked this thread but really should have started a new one. Oh well. Thanks for the suggestions. |
|
#62
|
||||
|
||||
|
Quote:
Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
|
#63
|
|||
|
|||
|
Quote:
If 64-bit compiles for Linux there must be a flag that tells yasm how to treat these sorts of things that MinGW is missing. |
|
#64
|
|||
|
|||
|
Quote:
https://github.com/google/sagetv/blo...mplate.c#L2491 Code:
"cmp %2, %%"REG_a" \n\t" Ok, now that I read up a little on this. "%2" is argument 2 to the function this inline asm is in. Here's the function: Code:
static inline void RENAME(hcscale_fast)(SwsContext *c, int16_t *dst,
long dstWidth, const uint8_t *src1,
const uint8_t *src2, int srcW, int xInc)
Then I found this section: Code:
/* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here,
which is needed to support GCC 4.0. */
#if ARCH_X86_64 && AV_GCC_VERSION_AT_LEAST(3,4)
:: "m" (src1), "m" (dst), "g" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
#else
:: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
#endif
Last edited by wnjj; 11-13-2018 at 11:42 AM. |
|
#65
|
||||
|
||||
|
Quote:
I would also find out what the 'm' and 'g' means. Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
|
#66
|
|||
|
|||
|
Quote:
Code:
#if ARCH_X86_64 && AV_GCC_VERSION_AT_LEAST(3,4)
:: "m" (src1), "m" (dst), "g" ((long long) dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
#else
:: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
#endif
|
|
#67
|
||||
|
||||
|
Quote:
.Cheers Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard Last edited by routerunner; 11-13-2018 at 12:11 PM. |
|
#68
|
|||
|
|||
|
I hear ya. Nowadays everything is macroed, wrapped, embedded, etc. I have a tough time finding the actual code sometimes. I checked a newer version of this file and see they smartly changed that argument to an int so it automatically scales.
Last edited by wnjj; 11-13-2018 at 03:28 PM. |
![]() |
| Tags |
| 64bit, vs2017 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux 64bit MiniClient (issues with JTux on 64bit) | stuckless | SageTV Github Development | 23 | 08-19-2015 12:54 PM |
| xp 64bit & HVR-2250 | vikingisson | Hardware Support | 13 | 06-07-2010 10:05 PM |
| New Build with Sage7 - Win7 or no? 64bit or 32bit? | ThePaladinTech | SageTV Beta Test Software | 6 | 05-22-2010 09:01 AM |
| Any advantage to using XP 64bit | rdefino | General Discussion | 4 | 10-15-2006 01:47 AM |
| To 64bit or not to 64bit | teknubic | Hardware Support | 19 | 07-25-2006 10:57 AM |