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

Function get_quality

gtk/src/audiohandler.c:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static gdouble get_quality(int codec, gdouble quality)
90{
91 float low, high, gran;
92 int dir;
93 hb_audio_quality_get_limits(codec, &low, &high, &gran, &dir);
94 if (dir)
95 {
96 // Quality values are inverted
97 quality = high - quality + low;
98 }
99 return quality;
100}
101
102static gdouble get_ui_quality(GhbValue *settings)
103{

Callers 4

get_ui_qualityFunction · 0.85

Calls 1

Tested by

no test coverage detected