Searched refs:PUT_FUNC (Results 1 - 1 of 1) sorted by relevance
/third_party/ffmpeg/libavresample/tests/ |
H A D | avresample.c | 41 #define PUT_FUNC(name, fmt, type, expr) \ macro 54 PUT_FUNC(u8, AV_SAMPLE_FMT_U8, uint8_t, av_clip_uint8 ( lrint(v_dbl * (1 << 7)) + 128)) 55 PUT_FUNC(s16, AV_SAMPLE_FMT_S16, int16_t, av_clip_int16 ( lrint(v_dbl * (1 << 15)))) 56 PUT_FUNC(s32, AV_SAMPLE_FMT_S32, int32_t, av_clipl_int32(llrint(v_dbl * (1U << 31)))) 57 PUT_FUNC(flt, AV_SAMPLE_FMT_FLT, float, v_dbl) 58 PUT_FUNC(dbl, AV_SAMPLE_FMT_DBL, double, v_dbl)
|
Completed in 2 milliseconds