Searched refs:intnum (Results 1 - 1 of 1) sorted by relevance
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ |
H A D | opt.c | 50 static int av_set_number2(void *obj, const char *name, double num, int den, int64_t intnum, const AVOption **o_out){ argument 58 if(o->max*den < num*intnum || o->min*den > num*intnum) { 67 case FF_OPT_TYPE_INT: *(int *)dst= llrint(num/den)*intnum; break; 68 case FF_OPT_TYPE_INT64: *(int64_t *)dst= llrint(num/den)*intnum; break; 69 case FF_OPT_TYPE_FLOAT: *(float *)dst= num*intnum/den; break; 70 case FF_OPT_TYPE_DOUBLE:*(double *)dst= num*intnum/den; break; 72 if((int)num == num) *(AVRational*)dst= (AVRational){num*intnum, den}; 73 else *(AVRational*)dst= av_d2q(num*intnum/den, 1<<24); 81 static const AVOption *av_set_number(void *obj, const char *name, double num, int den, int64_t intnum){ argument 267 av_get_number(void *obj, const char *name, const AVOption **o_out, double *num, int *den, int64_t *intnum) argument 293 int64_t intnum=1; local 302 int64_t intnum=1; local 314 int64_t intnum=1; local [all...] |
Completed in 38 milliseconds