Home
last modified time | relevance | path

Searched refs:FFUDIV (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavutil/
Dcommon.h63 #define FFUDIV(a,b) (((a)>0 ?(a):(a)-(b)+1) / (b)) macro
64 #define FFUMOD(a,b) ((a)-(b)*FFUDIV(a,b))
/third_party/ffmpeg/libavcodec/
Dmpeg4videoenc.c880 s->time_base = FFUDIV(s->time, s->avctx->time_base.den); in ff_set_mpeg4_time()
896 s->last_time_base = FFUDIV(time, s->avctx->time_base.den); in mpeg4_encode_gop_header()
898 seconds = FFUDIV(time, s->avctx->time_base.den); in mpeg4_encode_gop_header()
899 minutes = FFUDIV(seconds, 60); seconds = FFUMOD(seconds, 60); in mpeg4_encode_gop_header()
900 hours = FFUDIV(minutes, 60); minutes = FFUMOD(minutes, 60); in mpeg4_encode_gop_header()
1081 time_div = FFUDIV(s->time, s->avctx->time_base.den); in ff_mpeg4_encode_picture_header()