Searched refs:IIR (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | mlp.h | 66 /** The maximum number of taps in IIR and FIR filters. */ 74 #define IIR 1 macro
|
H A D | mlpdec.c | 635 cp->filter_params[IIR].order = 0; in read_restart_header() 637 cp->filter_params[IIR].shift = 0; in read_restart_header() 684 // Filter is 0 for FIR, 1 for IIR. in read_filter_params() 823 FilterParams *iir = &cp->filter_params[IIR]; in read_channel_params() 833 if ((ret = read_filter_params(m, gbp, substr, ch, IIR)) < 0) in read_channel_params() 844 "FIR and IIR filters must use the same precision.\n"); in read_channel_params() 847 /* The FIR and IIR filters must have the same precision. in read_channel_params() 849 * FIR filter is considered. If only the IIR filter is employed, in read_channel_params() 850 * the FIR filter precision is set to that of the IIR filter, so in read_channel_params() 964 int32_t *iirbuf = state_buffer[IIR] in filter_channel() [all...] |
H A D | mlpenc.c | 328 compare_filter_params(prev_cp, cp, IIR)) in compare_decoding_params() 842 /* TODO state data for IIR filter. */ in write_filter_params() 921 write_filter_params(ctx, pb, ch, IIR); in write_decoding_params() 1299 * TODO Add IIR filter predictor! 1308 if ((filter == IIR && ctx->substream_info & SUBSTREAM_INFO_HIGH_RATE) || in set_filter_params() 1311 } else if (filter == IIR) { in set_filter_params() 1719 &ctx->cur_channel_params[channel].filter_params[IIR], }; in apply_filter() 1728 ctx->filter_state_buffer[IIR][i] = *sample_buffer; in apply_filter() 1754 ctx->filter_state_buffer[IIR][i] = (int32_t) residual; in apply_filter() 1761 *sample_buffer = ctx->filter_state_buffer[IIR][ in apply_filter() [all...] |
Completed in 5 milliseconds