Searched refs:SF_MAX (Results 1 – 10 of 10) sorted by relevance
/third_party/libsnd/tests/ |
D | generate.c | 31 #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/ |
D | ogg.c | 171 …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()
|
D | ima_oki_adpcm.c | 95 state->step_index = SF_MIN (SF_MAX (state->step_index, 0), state->max_step_index) ; in adpcm_decode()
|
D | command.c | 382 peak [0] = SF_MAX (peak [0], psf->peak_info->peaks [k].value) ; in psf_get_signal_max()
|
D | common.h | 105 #define SF_MAX(x, y) ({ \ macro 117 #define SF_MAX(a, b) ((a) > (b) ? (a) : (b)) macro
|
D | ogg_vorbis.c | 533 vdata->quality = SF_MAX (0.0, SF_MIN (1.0, vdata->quality)) ; in vorbis_command()
|
D | flac.c | 884 pflac->compression = psf_lrint (SF_MAX (0.0, SF_MIN (8.0, quality))) ; in flac_command()
|
D | common.c | 63 newlen = (needed > psf->header.len) ? 2 * SF_MAX (needed, smallest) : 2 * psf->header.len ; in psf_bump_header_allocation()
|
D | ogg_opus.c | 1041 oopus->len = SF_MAX ((int) (oopus->pg_pos - oopus->pkt_pos) / oopus->sr_factor, 0) ; in ogg_opus_read_refill()
|
D | sndfile.c | 1391 quality = 1.0 - SF_MAX (0.0, SF_MIN (1.0, quality)) ; in sf_command()
|