- 30 Sep, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 29 Sep, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 25 Sep, 2015 1 commit
-
-
Claudio Freire authored
This patch tweaks search_for_pns to be both more aggressive and more careful when applying PNS. On the one side, it will again try to use PNS on zero (or effectively zero) bands. For this, both zeroes and band_type have to be checked (some ZERO bands aren't marked in zeroes). On the other side, a more accurate rate-distortion measure avoids using PNS where it would cause audible distortion. Also fixed a small bug in the computation of freq that caused PNS usage on low-frequency bands during 8-short windows. This allows re-enabling PNS during 8-short.
-
- 23 Sep, 2015 2 commits
-
-
Christophe Gisquet authored
The sample position is made weird and non-nominal to force catching such issues as default values or specialized operations hiding issues in corner cases. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Claudio Freire authored
This patch modifies the encode frame function to retry encoding the frame when the resulting bit count is too far off target, but only adjusting lambda in small, incremental step. It also makes the logic more conservative - otherwise it will contend with bit reservoir-related variations in bit allocation, and result in artifacts when frame have to be truncated (usually at high bit rates transitioning from low complexity to high complexity).
-
- 19 Sep, 2015 1 commit
-
-
Rostislav Pehlivanov authored
Also change the window to Hamming (using coefficient which make it a Hanning). Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 17 Sep, 2015 1 commit
-
-
Claudio Freire authored
This patch refactors the AAC coders to reuse code between the MIPS port and the regular, portable C code. There were two main functions that had to use hand-optimized versions of quantization code: - search_for_quantizers_twoloop - codebook_trellis_rate Those two were split into their own template header files so they can be inlined inside both the MIPS port and the generic code. In each context, they'll link to their specialized implementations, and thus be optimized by the compiler. This approach I believe is better than maintaining several copies of each function. As past experience has proven, having to keep those in sync was error prone. In this way, they will remain in sync by default. Also, an implementation of the dequantized output argument for the optimized quantize_and_encode functions is included in the patch. While the current implementation of search_for_pred still isn't using it, future iterations of main prediction probably will. It should not imply any measurable performance hit while not being used.
-
- 16 Sep, 2015 1 commit
-
-
Rostislav Pehlivanov authored
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 13 Sep, 2015 2 commits
-
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
- 12 Sep, 2015 1 commit
-
-
Rostislav Pehlivanov authored
The recent commits change the value slightly. Even though it's within the threshold it's better to risk as little as possible especially when different systems, processors, FPUs and compilers are involved. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 09 Sep, 2015 1 commit
-
-
Rostislav Pehlivanov authored
This commit changes a few things about the noise substitution logic: - Brings back the quantization factor (reduced to 3) during scalefactor index calculations. - Rejects any zeroed bands. They should be inaudiable and it's a waste transmitting the scalefactor indices for these. - Uses swb_offsets instead of incrementing a 'start' with every window group size. - Rejects all PNS during short windows. Overall improves quality. There was a plan to use the lfg system to create the random numbers instead of using whatever the decoder uses but for now this works fine. Entropy is far from important here. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 07 Sep, 2015 1 commit
-
-
Rostislav Pehlivanov authored
This commit once again improves the PNS implementation by scaling the thresholds with frequency. The thresholds get looser as the frequency increases since higher frequencies are basically noise to human ears. Also, this introduces quantization error correction for PNS. Should the error be too much, no PNS will be used. The energy_ratio is used to regulate the actual encoded PNS energy: if the generated PNS energy is higher than the energy from the psy system, energy_ratio is used to correct it so that hopefully once requantized and transmitted the value in the decoder will be closer to what the encoder has. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 06 Sep, 2015 4 commits
-
-
Rostislav Pehlivanov authored
This was an oversight when the IS system was being first implemented. The ener01 part was largely a result of trial and error and the fact that the sum of coef0 and coef1 could result in a zero was overlooked. Once ener01 turns to zero it's used to divide the left channel energy which doesn't turn out so well as it fills IS[] with -nan's and inf's which in turn confused the quantize_band_cost. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Since the new commits improve quality. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Yayoi authored
Signed-off-by:
Clément Bœsch <u@pkh.me>
-
Michael Niedermayer authored
also limit dcinema-encode to 20 frames to avoid huge reference checksum lists Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 05 Sep, 2015 2 commits
-
-
Rostislav Pehlivanov authored
Almost fine on SunOS without yasm but 5 wasn't enough. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
The new commits improve the quality. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 03 Sep, 2015 1 commit
-
-
Claudio Freire authored
Needed to make them pass in mips
-
- 02 Sep, 2015 4 commits
-
-
Vittorio Giovara authored
Support all DXDI and DXD3 normal quality videos.
-
Rostislav Pehlivanov authored
Fails on x86_64 using ICC 13.1. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Fails on ppc64 architecture under Ubuntu. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
TNS had both IS and PNS switched on when it makes more sense to have them both off. Prediction had a redundant argument. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 01 Sep, 2015 3 commits
-
-
Rostislav Pehlivanov authored
Have to adjust it again, this time because of --enable-small on gcc 4.5 in Linaro. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
IS and PNS increase quality a ton so as a result the PSNR changed. Disable the extensions and keep the tests separate such that there will be no red herrings if one test fails. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 31 Aug, 2015 2 commits
-
-
Peter B authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Andreas Cadhalpun authored
Without this fate-filter-join failes with FF_API_GET_CHANNEL_LAYOUT_COMPAT disabled. Reviewed-by:
Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 30 Aug, 2015 1 commit
-
-
Andreas Cadhalpun authored
This fixes fate with FF_API_LAVF_BITEXACT disabled. Reviewed-by:
Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 29 Aug, 2015 4 commits
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Rostislav Pehlivanov authored
Tests fails on some ARM builds but it's close enough so it's okay. NEON, half-precision floats, rounding errors, who knows. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
This commit introduces a test for AAC-Main prediction which was just reworked in this series of commits. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Hopefully without errors like last time, but I'm prepared. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 25 Aug, 2015 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 24 Aug, 2015 2 commits
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Ludmila Glinskih authored
Works only for flv, h263 and huffyuv decoders. Makes only one pass through the file (this should be changed to two passes) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 23 Aug, 2015 1 commit
-
-
Rostislav Pehlivanov authored
Fixing it will take a bit longer, so just suspend the test. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 22 Aug, 2015 2 commits
-
-
Andreas Cadhalpun authored
This fixes fate with FF_API_REQUEST_CHANNELS disabled. Reviewed-by:
wm4 <nfxjfg@googlemail.com> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Rostislav Pehlivanov authored
This commit adds tests for the PNS, TNS and IS functionality of the encoder. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-