search for: celt_set_complexity_request

Displaying 1 result from an estimated 1 matches for "celt_set_complexity_request".

2010 Mar 02
1
question about CELT_SET_COMPLEXITY_REQUEST
looking at the code for celt_encoder_ctl in 0.7.1 I'm confused as to why Complexity is described as a value from 0-10, but the code only appears to have one setting for 0-2 and another setting for 3-10. Is that for future use or am I missing something? case CELT_SET_COMPLEXITY_REQUEST: { int value = va_arg(ap, celt_int32); if (value<0 || value>10) goto bad_arg; if (value<=2) { st->pitch_enabled = 0; st->pitch_available = 0; } else { st->pitch_enabled = 1; if (st->pitch_available<1) st->pitch_available = 1; } } -------------- next part -------------- An...