Home
last modified time | relevance | path

Searched refs:av_clip64 (Results 1 - 12 of 12) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Dlrcdec.c188 lrc->ts_offset = av_clip64(lrc->ts_offset, INT64_MIN/4, INT64_MAX/4); in lrc_read_header()
203 ts_start = av_clip64(ts_start, INT64_MIN/4, INT64_MAX/4); in lrc_read_header()
H A Dmp3dec.c583 timestamp = av_clip64(timestamp, 0, st->duration); in mp3_seek()
/third_party/ffmpeg/libavutil/
H A Dcommon.h97 #ifndef av_clip64
98 # define av_clip64 av_clip64_c macro
H A Dmathematics.c185 this = av_clip64(*last, a, b); in av_rescale_delta()
H A Dtx_priv.h136 #define RESCALE(x) (av_clip64(lrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX))
/third_party/ffmpeg/compat/
H A Dw32pthreads.h168 DWORD t = av_clip64(abs_milli - av_gettime() / 1000, 0, UINT32_MAX); in pthread_cond_timedwait()
H A Dos2threads.h175 ULONG t = av_clip64(abs_milli - av_gettime() / 1000, 0, ULONG_MAX); in pthread_cond_timedwait()
/third_party/ffmpeg/tests/checkasm/
H A Dav_tx.c30 #define SCALE_INT20(x) (av_clip64(lrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX) >> 12)
/third_party/ffmpeg/libavcodec/
H A Ddcaadpcm.c200 out[i] = quantize_value(av_clip64(delta, -peak, peak), quant); in ff_dcaadpcm_do_real()
H A Daacdec_template.c3091 che->ch[0].ret[j] = (int32_t)av_clip64((int64_t)che->ch[0].ret[j]*128, INT32_MIN, INT32_MAX-0x8000)+0x8000;
3093 che->ch[1].ret[j] = (int32_t)av_clip64((int64_t)che->ch[1].ret[j]*128, INT32_MIN, INT32_MAX-0x8000)+0x8000;
/third_party/ffmpeg/libavfilter/
H A Daf_replaygain.c571 level = av_clip64(level, 0, HISTOGRAM_SLOTS - 1); in filter_frame()
/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_enc.c477 buffer_attributes.tlength = FFMAX(s->buffer_size, av_clip64(bytes, 0, UINT32_MAX - 1)); in pulse_write_header()

Completed in 12 milliseconds