344 Commits (f645132061141e1ab8e243eea00d3eac17f43b0f)

Author SHA1 Message Date
Justin Ruggles 0db5d2b09e cosmetics: spacing, line wrap, and remove unneeded braces 14 years ago
Justin Ruggles 964f2cf2a0 Process all EXP_REUSE blocks at once in exponent_min(). 14 years ago
Justin Ruggles 7d87d56ff8 Take advantage of per-channel exponent and exponent strategy layout to 14 years ago
Justin Ruggles 5bff8590f3 Simplify compute_exp_strategy() by passing a pointer to all exponents and 14 years ago
Justin Ruggles 4b90c35d74 Use a local variable in the inner loop of group_exponents() to simplify the 14 years ago
Justin Ruggles a281c6509f cosmetics: remove unneeded braces 14 years ago
Justin Ruggles 5fc2e0075d cosmetics: rename block_num to blk for variable name consistency 14 years ago
Justin Ruggles 0429e4a6ca Move exp_strategy from AC3Block to AC3EncodeContext in order to arrange by 14 years ago
Justin Ruggles 7cc4be58b4 Rearrange exponent buffer to group all blocks for a single channel together. 14 years ago
Justin Ruggles dc7e07ac1f Add stereo rematrixing support to the AC-3 encoders. 14 years ago
Justin Ruggles ac05f9030e Convert floating-point MDCT coefficients to 24-bit fixed-point all at once 14 years ago
Justin Ruggles 9be52d48d9 Use local variables outside the inner loop in extract_exponents() to reduce 14 years ago
Justin Ruggles f1cbbb79bf cosmetics: fix typo in previous commit 14 years ago
Justin Ruggles 6fd96d1a85 Change the AC-3 encoder to use floating-point. 14 years ago
Justin Ruggles ad6b2c1f6d Move fixed-point parts of the AC-3 encoder to separate files. 14 years ago
Justin Ruggles 9c84a72a25 Skip the bit allocation search if previous and current SNR offsets are the 14 years ago
Justin Ruggles 5128842ea2 10l: Fix mistake in r26044. Check increment bounds using actual increment 14 years ago
Justin Ruggles c05ffcd9ba Change planar_samples from int16_t to SampleType. 14 years ago
Justin Ruggles 0cbd5ff704 Add typedefs and a macro that will allow sharing of functions between the 14 years ago
Justin Ruggles b33dae5efb Move the list of supported channel layouts to a separate table. 14 years ago
Justin Ruggles 34d5074e6d Add a window field to AC3MDCTContext and use it as an input to apply_window() 14 years ago
Justin Ruggles b5293036b9 cosmetics: alignment, line wrap, and spacing 14 years ago
Justin Ruggles 14166a6d6c Remove avctx from AC3MDCTContext and just pass it to mdct_init() instead. 14 years ago
Justin Ruggles e0698e4bbd Make exponent_group_tab[] static. 14 years ago
Justin Ruggles ec44dd5fc2 Change the default dB-per-bit code from 2 to 3. 14 years ago
Justin Ruggles b51c740eab cosmetics: line wrap and vertical alignment 14 years ago
Justin Ruggles e96dc767e4 Make sure that the 2nd CRC value does not match the AC-3 sync word. 14 years ago
Justin Ruggles a897423baa Store CRC context locally to reduce number of calls to av_crc_get_table(). 14 years ago
Justin Ruggles 0e9b064305 Remove unneeded local variable, frame_size, in output_frame_end(). 14 years ago
Justin Ruggles 1ce9d6b85f cosmetics: fix comment after change in clipping range 14 years ago
Justin Ruggles 295ab2af6e Change FIX15() back to clipping to -32767..32767. 14 years ago
Justin Ruggles f9f69028af Add emms_c() after exp_diff calculations. 14 years ago
Justin Ruggles a81d7c6aa3 Pre-calculate crc_inv at codec init. 14 years ago
Justin Ruggles 386268dfff Add some simple fallbacks for normal bit allocation failure. 14 years ago
Justin Ruggles e62ef8f2db Check user-specified cutoff frequency in validate_options(). 14 years ago
Justin Ruggles 78646ac206 10l: fix encoding for LFE channel 14 years ago
Justin Ruggles 86c9673bab Add support for fixed-point MDCT sizes other than 512. 14 years ago
Justin Ruggles 234b70d346 cosmetics: reindent after last commit 14 years ago
Justin Ruggles 98e34e71c0 Simplify bit allocation search by using a loop for the SNR offset increment. 14 years ago
Justin Ruggles cf7c961b19 Do not calculate psd and masking curve if exponents are being reused. 14 years ago
Justin Ruggles 68e6b0990d cosmetics: reindent after last commit 14 years ago
Justin Ruggles 795063db3b Copy bap from previous block when exponent strategy is EXP_REUSE. 14 years ago
Justin Ruggles 126a29b871 Count grouped mantissas for each block all at once at the end of bit 14 years ago
Justin Ruggles e7536ac567 Count bits for fixed parameters at start of encoding rather than in every 14 years ago
Justin Ruggles e86ea34dad Use a LUT for number of exponent groups. This avoids recalculating it for 14 years ago
Justin Ruggles 834550ea0d Speed up group minimum and group output calculations for EXP_D25 and EXP_D45 14 years ago
Justin Ruggles cdedf7e625 Convert a for() loop into a while() loop for the downward part of the exponent 14 years ago
Justin Ruggles 27af78cf0e Redesign encode_exponents_blk_ch() so that duplicate exponent sets are no 14 years ago
Justin Ruggles 8846ee54ad Use optimized function DSPContext.sad[0]() instead of calc_exp_diff(). 14 years ago
Justin Ruggles 7786c384f6 cosmetics: pretty-printing after last commit 14 years ago