/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | acelp_pitch_delay.c | 114 if (pitch_index < 197) in ff_decode_pitch_lag() 115 pitch_index += 59; in ff_decode_pitch_lag() 117 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 125 if (pitch_index < 4) { in ff_decode_pitch_lag() 127 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 128 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 130 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 133 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 137 pitch_index--; in ff_decode_pitch_lag() 147 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 260 if (pitch_index < 376) { in decode_pitch_lag_high() 261 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 263 } else if (pitch_index < 440) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 268 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 278 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 293 if (pitch_index < 116) { in decode_pitch_lag_low() 294 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 297 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | acelp_pitch_delay.c | 114 if (pitch_index < 197) in ff_decode_pitch_lag() 115 pitch_index += 59; in ff_decode_pitch_lag() 117 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 125 if (pitch_index < 4) { in ff_decode_pitch_lag() 127 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 128 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 130 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 133 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 137 pitch_index--; in ff_decode_pitch_lag() 147 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 260 if (pitch_index < 376) { in decode_pitch_lag_high() 261 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 263 } else if (pitch_index < 440) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 268 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 278 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 293 if (pitch_index < 116) { in decode_pitch_lag_low() 294 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 297 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | acelp_pitch_delay.c | 155 if (pitch_index < 197) in ff_decode_pitch_lag() 156 pitch_index += 59; in ff_decode_pitch_lag() 158 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 166 if (pitch_index < 4) { in ff_decode_pitch_lag() 168 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 169 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 171 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 174 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 178 pitch_index--; in ff_decode_pitch_lag() 188 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 263 if (pitch_index < 376) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 266 } else if (pitch_index < 440) { in decode_pitch_lag_high() 267 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 271 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 281 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 282 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 296 if (pitch_index < 116) { in decode_pitch_lag_low() 297 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 300 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | acelp_pitch_delay.c | 155 if (pitch_index < 197) in ff_decode_pitch_lag() 156 pitch_index += 59; in ff_decode_pitch_lag() 158 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 166 if (pitch_index < 4) { in ff_decode_pitch_lag() 168 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 169 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 171 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 174 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 178 pitch_index--; in ff_decode_pitch_lag() 188 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 260 if (pitch_index < 376) { in decode_pitch_lag_high() 261 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 263 } else if (pitch_index < 440) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 268 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 278 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 293 if (pitch_index < 116) { in decode_pitch_lag_low() 294 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 297 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | acelp_pitch_delay.c | 155 if (pitch_index < 197) in ff_decode_pitch_lag() 156 pitch_index += 59; in ff_decode_pitch_lag() 158 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 166 if (pitch_index < 4) { in ff_decode_pitch_lag() 168 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 169 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 171 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 174 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 178 pitch_index--; in ff_decode_pitch_lag() 188 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 260 if (pitch_index < 376) { in decode_pitch_lag_high() 261 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 263 } else if (pitch_index < 440) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 268 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 278 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 293 if (pitch_index < 116) { in decode_pitch_lag_low() 294 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 297 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | acelp_pitch_delay.c | 155 if (pitch_index < 197) in ff_decode_pitch_lag() 156 pitch_index += 59; in ff_decode_pitch_lag() 158 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 166 if (pitch_index < 4) { in ff_decode_pitch_lag() 168 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 169 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 171 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 174 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 178 pitch_index--; in ff_decode_pitch_lag() 188 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 263 if (pitch_index < 376) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 266 } else if (pitch_index < 440) { in decode_pitch_lag_high() 267 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 271 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 281 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 282 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 296 if (pitch_index < 116) { in decode_pitch_lag_low() 297 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 300 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | acelp_pitch_delay.c | 155 if (pitch_index < 197) in ff_decode_pitch_lag() 156 pitch_index += 59; in ff_decode_pitch_lag() 158 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 166 if (pitch_index < 4) { in ff_decode_pitch_lag() 168 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 169 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 171 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 174 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 178 pitch_index--; in ff_decode_pitch_lag() 188 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() [all …]
|
H A D | amrwbdec.c | 260 if (pitch_index < 376) { in decode_pitch_lag_high() 261 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 263 } else if (pitch_index < 440) { in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 268 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 278 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 293 if (pitch_index < 116) { in decode_pitch_lag_low() 294 *lag_int = (pitch_index + 69) >> 1; in decode_pitch_lag_low() 297 *lag_int = pitch_index - 24; in decode_pitch_lag_low() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/fbdev/core/ |
H A D | sysimgblt.c | 53 void *dst1, u32 start_index, u32 pitch_index) in color_imageblit() argument 101 if (pitch_index) { in color_imageblit() 105 start_index += pitch_index; in color_imageblit() 113 u32 start_index, u32 pitch_index) in slow_imageblit() argument 168 if (pitch_index) { in slow_imageblit() 171 start_index += pitch_index; in slow_imageblit() 242 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in sys_imageblit() local 253 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in sys_imageblit() 272 if (32 % bpp == 0 && !start_index && !pitch_index && in sys_imageblit() 278 start_index, pitch_index); in sys_imageblit() [all …]
|
H A D | cfbimgblt.c | 78 u32 pitch_index) in color_imageblit() argument 127 if (pitch_index) { in color_imageblit() 131 start_index += pitch_index; in color_imageblit() 141 u32 pitch_index) in slow_imageblit() argument 197 if (pitch_index) { in slow_imageblit() 200 start_index += pitch_index; in slow_imageblit() 267 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in cfb_imageblit() local 278 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in cfb_imageblit() 297 if (32 % bpp == 0 && !start_index && !pitch_index && in cfb_imageblit() 303 start_index, pitch_index); in cfb_imageblit() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/fbdev/core/ |
H A D | sysimgblt.c | 53 void *dst1, u32 start_index, u32 pitch_index) in color_imageblit() argument 101 if (pitch_index) { in color_imageblit() 105 start_index += pitch_index; in color_imageblit() 113 u32 start_index, u32 pitch_index) in slow_imageblit() argument 168 if (pitch_index) { in slow_imageblit() 171 start_index += pitch_index; in slow_imageblit() 242 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in sys_imageblit() local 253 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in sys_imageblit() 272 if (32 % bpp == 0 && !start_index && !pitch_index && in sys_imageblit() 278 start_index, pitch_index); in sys_imageblit() [all …]
|
H A D | cfbimgblt.c | 78 u32 pitch_index) in color_imageblit() argument 127 if (pitch_index) { in color_imageblit() 131 start_index += pitch_index; in color_imageblit() 141 u32 pitch_index) in slow_imageblit() argument 197 if (pitch_index) { in slow_imageblit() 200 start_index += pitch_index; in slow_imageblit() 267 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in cfb_imageblit() local 278 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in cfb_imageblit() 297 if (32 % bpp == 0 && !start_index && !pitch_index && in cfb_imageblit() 303 start_index, pitch_index); in cfb_imageblit() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/fbdev/core/ |
H A D | sysimgblt.c | 53 void *dst1, u32 start_index, u32 pitch_index) in color_imageblit() argument 101 if (pitch_index) { in color_imageblit() 105 start_index += pitch_index; in color_imageblit() 113 u32 start_index, u32 pitch_index) in slow_imageblit() argument 168 if (pitch_index) { in slow_imageblit() 171 start_index += pitch_index; in slow_imageblit() 242 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in sys_imageblit() local 253 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in sys_imageblit() 272 if (32 % bpp == 0 && !start_index && !pitch_index && in sys_imageblit() 278 start_index, pitch_index); in sys_imageblit() [all …]
|
H A D | cfbimgblt.c | 78 u32 pitch_index) in color_imageblit() argument 127 if (pitch_index) { in color_imageblit() 131 start_index += pitch_index; in color_imageblit() 141 u32 pitch_index) in slow_imageblit() argument 197 if (pitch_index) { in slow_imageblit() 200 start_index += pitch_index; in slow_imageblit() 267 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in cfb_imageblit() local 278 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in cfb_imageblit() 297 if (32 % bpp == 0 && !start_index && !pitch_index && in cfb_imageblit() 303 start_index, pitch_index); in cfb_imageblit() [all …]
|
/dports/audio/mumble/mumble-1.3.3/3rdparty/celt-0.7.0-src/libcelt/ |
H A D | celt.c | 537 int pitch_index; local 1240 int pitch_index; local 1262 pitch_index = MAX_PERIOD-len-pitch_index; 1263 st->last_pitch_index = pitch_index; 1273 offset = MAX_PERIOD-pitch_index; 1276 offset -= pitch_index; 1294 offset = MAX_PERIOD-pitch_index; 1321 period = pitch_index; 1339 offset -= pitch_index; 1405 int pitch_index; local [all …]
|
/dports/audio/rnnoise/rnnoise-1cbdbcf/src/ |
H A D | denoise.c | 319 int pitch_index; 330 PITCH_MAX_PERIOD-3*PITCH_MIN_PERIOD, &pitch_index); 331 pitch_index = PITCH_MAX_PERIOD-pitch_index; 334 PITCH_FRAME_SIZE, &pitch_index, st->last_period, st->last_gain); 335 st->last_period = pitch_index; 338 p[i] = st->pitch_buf[PITCH_BUF_SIZE-WINDOW_SIZE-pitch_index+i]; 348 features[NB_BANDS+3*NB_DELTA_CEPS] = .01*(pitch_index-300);
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-filters/rnnoise/src/ |
H A D | denoise.c | 317 int pitch_index; in compute_frame_features() local 328 PITCH_MAX_PERIOD-3*PITCH_MIN_PERIOD, &pitch_index); in compute_frame_features() 329 pitch_index = PITCH_MAX_PERIOD-pitch_index; in compute_frame_features() 332 PITCH_FRAME_SIZE, &pitch_index, st->last_period, st->last_gain); in compute_frame_features() 333 st->last_period = pitch_index; in compute_frame_features() 336 p[i] = st->pitch_buf[PITCH_BUF_SIZE-WINDOW_SIZE-pitch_index+i]; in compute_frame_features() 346 features[NB_BANDS+3*NB_DELTA_CEPS] = (float)(.01*(pitch_index-300)); in compute_frame_features()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/opus/celt/ |
H A D | celt_decoder.c | 400 int pitch_index; in celt_plc_pitch_search() local 408 PLC_PITCH_LAG_MAX-PLC_PITCH_LAG_MIN, &pitch_index, arch); in celt_plc_pitch_search() 409 pitch_index = PLC_PITCH_LAG_MAX-pitch_index; in celt_plc_pitch_search() 411 return pitch_index; in celt_plc_pitch_search() 510 int pitch_index; in celt_decode_lost() local 516 st->last_pitch_index = pitch_index = celt_plc_pitch_search(decode_mem, C, st->arch); in celt_decode_lost() 518 pitch_index = st->last_pitch_index; in celt_decode_lost() 567 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost() 612 extrapolation_offset = MAX_PERIOD-pitch_index; in celt_decode_lost() 621 if (j >= pitch_index) { in celt_decode_lost() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/opus/celt/ |
H A D | celt_decoder.c | 400 int pitch_index; in celt_plc_pitch_search() local 408 PLC_PITCH_LAG_MAX-PLC_PITCH_LAG_MIN, &pitch_index, arch); in celt_plc_pitch_search() 409 pitch_index = PLC_PITCH_LAG_MAX-pitch_index; in celt_plc_pitch_search() 411 return pitch_index; in celt_plc_pitch_search() 510 int pitch_index; in celt_decode_lost() local 516 st->last_pitch_index = pitch_index = celt_plc_pitch_search(decode_mem, C, st->arch); in celt_decode_lost() 518 pitch_index = st->last_pitch_index; in celt_decode_lost() 567 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost() 612 extrapolation_offset = MAX_PERIOD-pitch_index; in celt_decode_lost() 621 if (j >= pitch_index) { in celt_decode_lost() [all …]
|