D | resample_init.c | 31 #define DECLARE_RESAMPLE_COMMON_TEMPLATE(TYPE, DELEM, FELEM, FELEM2, OUT) \ argument 74 OUT(dst[dst_index], val); \ 97 #define OUT(d, v) d = v macro 98 DECLARE_RESAMPLE_COMMON_TEMPLATE(float, float, float, float, OUT) in DECLARE_RESAMPLE_COMMON_TEMPLATE() argument 99 #undef OUT in DECLARE_RESAMPLE_COMMON_TEMPLATE() 101 #define OUT(d, v) (v) = ((v) + (1<<(14)))>>15; (d) = av_clip_int16(v) in DECLARE_RESAMPLE_COMMON_TEMPLATE() macro 102 DECLARE_RESAMPLE_COMMON_TEMPLATE(s16, int16_t, int16_t, int32_t, OUT) 103 #undef OUT
|