- 07 Jul, 2015 12 commits
-
-
Michael Niedermayer authored
Suggested-by:
Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
Otherwise a frame with non-zero nb_samples but without any data can be returned. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Rostislav Pehlivanov authored
Since the new PNS implementation has been merged and is no longer considered proof of concept (as it's much more complex and better than the previous), change the comments to reflect that. We need people testing it (since all AAC profiles require it to be on by default) and having it tagged as proof of concept might drive some away. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Chris Watkins authored
When compiling libavutil/internal.h as C++11, clang warns that a space is required between a string literal and an identifier. Put spaces in concatenations of string literals and EXTERN_PREFIX. Signed-off-by:
Chris Watkins <watk@chromium.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
周晓勇 authored
Signed-off-by:
ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Shivraj Patil authored
This patch adds MSA (MIPS-SIMD-Arch) optimizations for idctdsp functions in new file idctdsp_msa.c and simple_idct_msa.c Signed-off-by:
Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Ivan Uskov authored
libavcodec/qsv.c: Linux-only code part has been moved to separate function in order to avoid the "ISO C90 forbids mixed declarations and code" compiler warning. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
Fixes ticket #3957.
-
周晓勇 authored
Signed-off-by:
ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
周晓勇 authored
Signed-off-by:
ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 06 Jul, 2015 8 commits
-
-
周晓勇 authored
Loongson has disabled all mipsfpu optimization as fate-test faild. Signed-off-by:
ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Also removes assert this fixes an assertion failure on non-x86 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Shivraj Patil authored
This patch adds MSA (MIPS-SIMD-Arch) optimizations for me_cmp functions in new file me_cmp_msa.c Signed-off-by:
Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Shivraj Patil authored
This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp functions in new file mpegvideoencdsp_msa.c Signed-off-by:
Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Ivan Uskov authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Rodger Combs authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Kieran Kunhya authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Ivan Uskov authored
libavcodec/qsvenc.c: More correct selection of alignment of a frame height depending whether an encoded sequence progressive or not. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Jul, 2015 15 commits
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Marton Balint authored
This should ensure that each frame get its metadata from its proper packet regardless of frame delays caused by reordering or threading. Signed-off-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Marton Balint authored
It does the same as calling ff_decode_frame_props. Signed-off-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
Fixes ticket #535. Fixes ticket #4524.
-
James Almer authored
This silences some deprecation warnings Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Michael Niedermayer authored
This should be faster in theory for AVUI, no speed difference meassurable though Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
the later is not optimal when the buffer size is well known at allocation time This avoids a memcpy() Overall 2.5% speedup with a random 1920x1080 video Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Rostislav Pehlivanov authored
This commit implements intensity stereo coding support to the native aac encoder. This is a way to increase the efficiency of the encoder by zeroing the right channel's spectral coefficients (in a channel pair) and rederiving them in the decoder using information from the scalefactor indices of special band types. This commit confomrs to the official ISO 13818-7 specifications, although due to their ambiguity certain deviations have been taken to ensure maximum sound quality. This commit has been extensively tested and has shown to not result in audiable audio artifacts unless in extreme cases. This commit also adds an option, aac_is, which has the value of 0 by default. Intensity Stereo is part of the scalable aac profile and is thus non-default. The way IS coding works is that it rederives the right channel's spectral coefficients from the left channel via the scalefactor index values left in the right channel. Since an entire band's spectral coefficients do not need to be coded, the encoder's efficiency jumps up and it unzeroes some high frequency values which it previously did not have enough bits to encode. That way less information is lost than the information lost by rederiving the spectral coefficients with some error. This is why the filesize of files encoded with IS do not decrease significantly. Users wishing that IS coding should reduce filesize are expected to reduce their encoding bitrates appropriately. This is V2 of the commit. The old version did not mark ms_mask as 0 since M/S and IS coding are incompactible, which resulted in distortions with M/S coding enabled. This version also improves phase detection by measuring it for every spectral coefficient in the band and using a simple majority rule to determine whether the coefficients are in or out of phase. Also, the energy values per spectral coefficient were changed as to reflect the official specifications. Reviewed-by:
Claudio Freire <klaussfreire@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Rostislav Pehlivanov authored
This commit adds support for the coding of intensity stereo spectral coefficients. It also fixes the Mid/Side coding of band_types higher than RESERVED_BT (M/S must not be applied to their spectral coefficients, but marking M/S as present in encode_ms_info() is okay). Much of the changes here were taken from the decoder and inverted. This commit does not change the functionality of the decoder as the previous patch in this series zeroes ms_mask and is_mask. Reviewed-by:
Claudio Freire <klaussfreire@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Rostislav Pehlivanov authored
This commit finalizes the PNS implementation previously added to the encoder by moving it to a seperate function search_for_pns() and thus making it coder-generic. This new implementation makes use of the spread field of the psy bands and the lambda quality feedback paremeter. The spread of the spectrum in a band prevents PNS from being used excessively and thus preserve more phase information in high frequencies. The lambda parameter allows the number of PNS-marked bands to vary based on the lambda parameter and the amount of bits available, making better choices on which bands are to be marked as noise. Comparisons with the previous PNS implementation can be found here: https://trac.ffmpeg.org/attachment/wiki/Encode/AAC/ This is V2 of the patch, the changes from the previous version being that this version uses the new band->spread metric from aacpsy and normalizes the energy using the group size. These changes were suggested by Claudio Freire on the mailing list. Another change is the use of lambda to alter the frequency threshold. This change makes the actual threshold frequencies vary between +-2Khz of what's specified, depending on frame encoding performance. Reviewed-by:
Claudio Freire <klaussfreire@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Rostislav Pehlivanov authored
This commit undoes commit c5d4f87e and removes PNS band marking from the twoloop coder, which has been reimplemented in a better way in this series of patches. Reviewed-by:
Claudio Freire <klaussfreire@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Rostislav Pehlivanov authored
This commit enables the function added with commit 7c10b87b and uses that new function for setting any special scalefactor indices. This commit does not change the behaviour of the encoder since no bands are being marked as either NOISE_BT(due to the previous PNS implementation removed in the previous commit) or INTENSITY_BT2/INTENSITY_BT. Reviewed-by:
Claudio Freire <klaussfreire@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Philip Langdale authored
Newer versions of the nvenc hardware support The High 444 Predictive profile of H.264, and can also do lossless encoding under this profile if desired. This change introduces support for the profile, and exposes the appropriate presets for requesting lossless encoding. I tested lossless by generating a baseline sample with testsrc converted to raw yuv444p, then encoded the sample with nvenc, then did a framemd5 comparision of both the raw video and the nvenc encode. The framemd5 reports were identical. Signed-off-by:
Philip Langdale <philipl@overt.org> Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- 03 Jul, 2015 3 commits
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 04 Jul, 2015 1 commit
-
-
George Boyle authored
This change fixes a bug where a test that required a sample was being included in the suite when SAMPLES was not set. It also improves the consistency of variable names relating to the API tests. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Jul, 2015 1 commit
-
-
Kevin Coyle authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-