Lines 44-51
Link Here
|
44 |
|
44 |
|
45 |
#include "ADM_assert.h" |
45 |
#include "ADM_assert.h" |
46 |
|
46 |
|
47 |
static int16_t scaletab[16]; |
47 |
static int16_t scaletab[16] asm("scaletab"); |
48 |
static uint64_t scaletab_MMX[65536]; |
48 |
static uint64_t scaletab_MMX[65536] asm("scaletab_MMX"); |
49 |
|
49 |
|
50 |
void initScaleTab( void ) |
50 |
void initScaleTab( void ) |
51 |
{ |
51 |
{ |
Lines 72-89
Link Here
|
72 |
//#define ASM_FLUX |
72 |
//#define ASM_FLUX |
73 |
BUILD_CREATE(fluxsmooth_create,ADMVideoFlux); |
73 |
BUILD_CREATE(fluxsmooth_create,ADMVideoFlux); |
74 |
|
74 |
|
75 |
static uint64_t spat_thresh ASM_CONST =0LL; |
75 |
static uint64_t spat_thresh asm("spat_thresh") ASM_CONST =0LL; |
76 |
static uint64_t temp_thresh ASM_CONST =0LL; |
76 |
static uint64_t temp_thresh asm("temp_thresh") ASM_CONST =0LL; |
77 |
static uint64_t ASM_CONST _l_counter_init,_l_indexer,_l_prev_pels,_l_next_pels; |
77 |
static uint64_t ASM_CONST _l_counter_init asm("_l_counter_init"), |
78 |
static long int _l_src_pitch ASM_CONST =0; |
78 |
_l_indexer asm("_l_indexer"), _l_prev_pels asm("_l_prev_pels"), |
79 |
static long int _l_dst_pitch ASM_CONST =0; |
79 |
_l_next_pels asm("_l_next_pels"); |
80 |
static int _l_xmax ASM_CONST=0; |
80 |
static long int _l_src_pitch asm("_l_src_pitch") ASM_CONST =0; |
|
|
81 |
static long int _l_dst_pitch asm("_l_dst_pitch") ASM_CONST =0; |
82 |
static int _l_xmax asm("_l_xmax") ASM_CONST=0; |
81 |
|
83 |
|
82 |
static int ycnt; |
84 |
static int ycnt asm("ycnt"); |
83 |
static uint8_t * _l_currp; |
85 |
static uint8_t * _l_currp asm("_l_currp"); |
84 |
static uint8_t * _l_prevp; |
86 |
static uint8_t * _l_prevp asm("_l_prevp"); |
85 |
static uint8_t * _l_nextp; |
87 |
static uint8_t * _l_nextp asm("_l_nextp"); |
86 |
static uint8_t * _l_destp; |
88 |
static uint8_t * _l_destp asm("_l_destp"); |
87 |
|
89 |
|
88 |
|
90 |
|
89 |
static uint32_t size; |
91 |
static uint32_t size; |