Home
last modified time | relevance | path

Searched refs:GET_MED (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dwavpack.c247 add = GET_MED(0) - 1; in wv_get_value()
250 base = GET_MED(0); in wv_get_value()
251 add = GET_MED(1) - 1; in wv_get_value()
255 base = GET_MED(0) + GET_MED(1); in wv_get_value()
256 add = GET_MED(2) - 1; in wv_get_value()
261 base = GET_MED(0) + GET_MED(1) + GET_MED(2) * (t - 2U); in wv_get_value()
262 add = GET_MED(2) - 1; in wv_get_value()
Dwavpack.h103 #define GET_MED(n) ((c->median[n] >> 4) + 1) macro
Dwavpackenc.c993 if (value < GET_MED(0)) { in scan_word()
996 low = GET_MED(0); in scan_word()
999 if (value - low < GET_MED(1)) { in scan_word()
1002 low += GET_MED(1); in scan_word()
1005 if (value - low < GET_MED(2)) { in scan_word()
2066 if (sample < (int32_t) GET_MED(0)) { in wavpack_encode_sample()
2068 high = GET_MED(0) - 1; in wavpack_encode_sample()
2071 low = GET_MED(0); in wavpack_encode_sample()
2074 if (sample - low < GET_MED(1)) { in wavpack_encode_sample()
2076 high = low + GET_MED(1) - 1; in wavpack_encode_sample()
[all …]