hevcdsp: remove more instances of compile-time-fixed parameters
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
d4f44b66d3
commit
dad7f15567
@@ -102,7 +102,7 @@ void ff_hevc_put_hevc_uni_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t ds
|
||||
}
|
||||
#define mc_rep_bi_func(name, bitd, step, W, opt) \
|
||||
void ff_hevc_put_hevc_bi_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststride, uint8_t *_src, \
|
||||
ptrdiff_t _srcstride, int16_t* _src2, ptrdiff_t _src2stride, \
|
||||
ptrdiff_t _srcstride, int16_t* _src2, \
|
||||
int height, intptr_t mx, intptr_t my, int width) \
|
||||
{ \
|
||||
int i; \
|
||||
@@ -114,7 +114,7 @@ void ff_hevc_put_hevc_bi_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dst
|
||||
dst = _dst + (i * ((bitd + 7) / 8)); \
|
||||
src2 = _src2 + i; \
|
||||
ff_hevc_put_hevc_bi_##name##step##_##bitd##_##opt(dst, dststride, src, _srcstride, src2, \
|
||||
_src2stride, height, mx, my, width); \
|
||||
height, mx, my, width); \
|
||||
} \
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@ mc_rep_uni_w(12, 8, 64, sse4);
|
||||
|
||||
#define mc_rep_bi_w(bitd, step, W, opt) \
|
||||
void ff_hevc_put_hevc_bi_w##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststride, int16_t *_src, ptrdiff_t _srcstride, \
|
||||
int16_t *_src2, ptrdiff_t _src2stride, int height, \
|
||||
int16_t *_src2, int height, \
|
||||
int denom, int _wx0, int _wx1, int _ox0, int _ox1) \
|
||||
{ \
|
||||
int i; \
|
||||
@@ -294,7 +294,7 @@ void ff_hevc_put_hevc_bi_w##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststrid
|
||||
src = _src + i; \
|
||||
src2 = _src2 + i; \
|
||||
dst = _dst + (i * ((bitd + 7) / 8)); \
|
||||
ff_hevc_put_hevc_bi_w##step##_##bitd##_##opt(dst, dststride, src, _srcstride, src2, _src2stride, \
|
||||
ff_hevc_put_hevc_bi_w##step##_##bitd##_##opt(dst, dststride, src, _srcstride, src2, \
|
||||
height, denom, _wx0, _wx1, _ox0, _ox1); \
|
||||
} \
|
||||
}
|
||||
@@ -381,14 +381,14 @@ mc_uni_w_funcs(qpel_hv, 12, sse4);
|
||||
#define mc_bi_w_func(name, bitd, W, opt) \
|
||||
void ff_hevc_put_hevc_bi_w_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t _dststride, \
|
||||
uint8_t *_src, ptrdiff_t _srcstride, \
|
||||
int16_t *_src2, ptrdiff_t _src2stride, \
|
||||
int16_t *_src2, \
|
||||
int height, int denom, \
|
||||
int _wx0, int _wx1, int _ox0, int _ox1, \
|
||||
intptr_t mx, intptr_t my, int width) \
|
||||
{ \
|
||||
LOCAL_ALIGNED_16(int16_t, temp, [71 * MAX_PB_SIZE]); \
|
||||
ff_hevc_put_hevc_##name##W##_##bitd##_##opt(temp, _src, _srcstride, height, mx, my, width); \
|
||||
ff_hevc_put_hevc_bi_w##W##_##bitd##_##opt(_dst, _dststride, temp, MAX_PB_SIZE, _src2, _src2stride, \
|
||||
ff_hevc_put_hevc_bi_w##W##_##bitd##_##opt(_dst, _dststride, temp, MAX_PB_SIZE, _src2, \
|
||||
height, denom, _wx0, _wx1, _ox0, _ox1); \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user