MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / is_close

Function is_close

gtk/src/audiohandler.c:1199–1204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199static inline int is_close(float a, float b, float metric)
1200{
1201 float diff = a - b;
1202 diff = (diff > 0) ? diff : -diff;
1203 return diff < metric;
1204}
1205
1206char * ghb_format_quality( const char *prefix, int codec, double quality )
1207{

Callers 1

ghb_format_qualityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected