Searched refs:PUT_FUNC (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavresample/ |
H A D | avresample-test.c | 40 #define PUT_FUNC(name, fmt, type, expr) \ macro 53 PUT_FUNC(u8, AV_SAMPLE_FMT_U8, uint8_t, av_clip_uint8 ( lrint(v_dbl * (1 << 7)) + 128)) 54 PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1 << 15)))) 55 PUT_FUNC(s32, AV_SAMPLE_FMT_S32, int32_t, av_clipl_int32(llrint(v_dbl * (1U << 31)))) 56 PUT_FUNC(flt, AV_SAMPLE_FMT_FLT, float, v_dbl) 57 PUT_FUNC(dbl, AV_SAMPLE_FMT_DBL, double, v_dbl)
|
Completed in 27 milliseconds