Home
last modified time | relevance | path

Searched refs:SF_MAX (Results 1 – 10 of 10) sorted by relevance

/third_party/libsnd/tests/
Dgenerate.c31 #define SF_MAX(x, y) ((x) > (y) ? (x) : (y)) macro
65 maxabs = SF_MAX (maxabs, fabs (output [k])) ; in crappy_snare()
71 maxabs = SF_MAX (maxabs, fabs (output [k])) ; in crappy_snare()
/third_party/libsnd/src/
Dogg.c171 …ret = ogg_sync_next_page (psf, &odata->opage, SF_MAX ((sf_count_t) 0, 4096 - psf->header.indx), NU… in ogg_read_first_page()
414 { begin = SF_MAX (begin - chunk_size, (sf_count_t) 0) ; in ogg_sync_last_page_before()
548 bisect = SF_MAX (bisect - chunk_size, begin) ; in ogg_stream_seek_page_search()
Dima_oki_adpcm.c95 state->step_index = SF_MIN (SF_MAX (state->step_index, 0), state->max_step_index) ; in adpcm_decode()
Dcommand.c382 peak [0] = SF_MAX (peak [0], psf->peak_info->peaks [k].value) ; in psf_get_signal_max()
Dcommon.h105 #define SF_MAX(x, y) ({ \ macro
117 #define SF_MAX(a, b) ((a) > (b) ? (a) : (b)) macro
Dogg_vorbis.c533 vdata->quality = SF_MAX (0.0, SF_MIN (1.0, vdata->quality)) ; in vorbis_command()
Dflac.c884 pflac->compression = psf_lrint (SF_MAX (0.0, SF_MIN (8.0, quality))) ; in flac_command()
Dcommon.c63 newlen = (needed > psf->header.len) ? 2 * SF_MAX (needed, smallest) : 2 * psf->header.len ; in psf_bump_header_allocation()
Dogg_opus.c1041 oopus->len = SF_MAX ((int) (oopus->pg_pos - oopus->pkt_pos) / oopus->sr_factor, 0) ; in ogg_opus_read_refill()
Dsndfile.c1391 quality = 1.0 - SF_MAX (0.0, SF_MIN (1.0, quality)) ; in sf_command()