Rodger Combs
0667327f3f
lavc/audiotoolboxenc: fix iOS build
9 years ago
Rodger Combs
c820e600ea
lavc/audiotoolboxenc: fix a number of config issues
...
- size variables were used in a confusing way
- incorrect size var use led to channel layouts not being set properly
- channel layouts were incorrectly mapped for >2-channel AAC
- bitrates not accepted by the encoder were discarded instead of being clamped
- some minor style/indentation fixes
9 years ago
Rodger Combs
7524b67817
lavc/audiotoolboxenc: remove unneeded packet metadata
...
This isn't necessary here, and for some reason broke only multichannel
AAC encoding when a channel layout tag was set.
9 years ago
Rodger Combs
d38fe9f493
lavf/segment: support automatic bitstream filtering
...
Most useful for MPEG-TS. Works by having the underlying muxer configure the
bitstream filters, then moving them to our own AVStreams.
9 years ago
Ronald S. Bultje
b3eda69490
swscale: add bt2020 yuv2rgb coefficients.
9 years ago
Ronald S. Bultje
98038e2ee0
swscale: fix bt709 yuv2rgb coefficients.
...
They were derived from incorrect values cr=0.2125 (should be cr=0.2126)
and cb=0.0721 (should be cb=0.0722).
9 years ago
Michael Niedermayer
0de1c1ab86
fate: add demux test for TS with AC3 (Ticket 4864)
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7615197b6e
fate: Test for Ticket4560
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
1d64a9d9f6
fate: Add regression test for Ticket 1239
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9f03b85045
avcodec/parser: assert that the codec id is not NONE in av_parser_parse2()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Aaron Boxer
b6b4b0a65e
avcodec/j2kenc: Add attribution to OpenJPEG project:
...
http://ghostscript.com/~tor/gs-browse/gs/openjpeg/libopenjpeg/t1.c
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
eadaef2a63
sws/aarch64: disable ff_hscale_8_to_15_neon temporarly
...
Looks broken.
9 years ago
Matthieu Bouron
58994d7bca
swscale/arm/yuv2rgb: make the code bitexact with its aarch64 counter part
9 years ago
Matthieu Bouron
5629361cc2
swscale/arm/yuv2rgb: save a few instructions by processing the luma line interleaved
9 years ago
Matthieu Bouron
339668301e
swscale/arm/yuv2rgb: re-order compute_rgba macro arguments
9 years ago
Matthieu Bouron
ff4885face
swscale/arm/yuv2rgb: rename {process_1l,process_2l,compute}_16px{,_internal} macros
9 years ago
Matthieu Bouron
562653b731
swscale/arm/yuv2rgb: macro-ify
9 years ago
Matthieu Bouron
0286b56f2f
swscale/arm/yuv2rgb: factorize lsl in load_args_nvx
9 years ago
Matthieu Bouron
0649fe0fae
swscale/arm/yuv2rgb: factorize lsl in load_args_yuv420p
9 years ago
Matthieu Bouron
2aec59c07c
swscale/arm/yuv2rgb: remove unused store of dst + linesize in load_args_yuv422p
9 years ago
Matthieu Bouron
b3ea901945
swscale/arm/yuv2rgb: factorize lsl in load_args_yuv422p
9 years ago
Matthieu Bouron
466e209e6e
swscale/arm/yuv2rgb: fix comments in load_args_yuv422p
9 years ago
Matthieu Bouron
11b4acab8b
swscale/arm/yuv2rgb: remove 32bit code path
9 years ago
wm4
a5f5b8b96a
lavc: factor apply_param_change() AV_EF_EXPLODE handling
...
Remove the duplicated code for handling failure of apply_param_change().
9 years ago
wm4
f099cb2f8a
lavu: improve documentation of some AVFrame functions
9 years ago
Derek Buitenhuis
54ccaaeb2b
psxstr: Remove some commented out code
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Clément Bœsch
be8d98c1ad
lavc/utils: transfer width/height for subs in codecpar
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
dd77dad4e6
codecpar: Add video delay field
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Hendrik Leppkes
5b4f8af2f1
Add frame_size to AVCodecParameters
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
James Almer
3fafde6cbe
lavc: Add seek_preroll to AVCodecParameters
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Derek Buitenhuis
e6053b3b19
Merge commit 'a8068346e48e123f8d3bdf4d64464d81e53e5fc7'
...
* commit 'a8068346e48e123f8d3bdf4d64464d81e53e5fc7':
lavc: add a variant of av_get_audio_frame_duration working with AVCodecParameters
Fixes from jamrial incorporated.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
f9b1cf15c2
Merge commit '998e1b8f521b73e1ed3a13caaabcf79eb401cf0d'
...
* commit '998e1b8f521b73e1ed3a13caaabcf79eb401cf0d':
lavc: add codec parameters API
Fixes added in:
- bit_rate has been made int64_t to match.
- profile and level are properly initialize.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Pedro Arthur
6de58b4903
swscale: cleanup unused code
...
Removed previous swscale code under '#ifndef NEW_FILTER'
and removed unused fields of SwsContext
9 years ago
Michael Niedermayer
3b905b9fe6
swscale: Deprecate vector functions which are unused outside swscale
...
There are no known users of these functions within debian
It should be thus possible to remove these functions without recommandition of a
replacement
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Alex Smith
a677121cc5
configure: Fix debugging on mingw-w64 with gdb
...
The relocation hack broke debugging on mingw-w64 when using gdb. This
makes the reloc hack dependent on --disable-debug so it's still enabled
for release builds.
This is simply an immediate fix for the issue of broken debugging, we
should probably still look at the possibility of reverting it outright
if it proves to be more trouble than it's worth. For now keeping it
enabled for release builds is a reasonable trade off.
Signed-off-by: Alex Smith <theryuu@warpsharp.info>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
cf925e0ac1
doc/filters: add stereotools examples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
241a3a6ca4
doc/filters: add sofalizer examples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Clément Bœsch
263eb76bdf
sws/aarch64: add ff_hscale_8_to_15_neon
...
./ffmpeg -nostats -f lavfi -i testsrc2=4k:d=2 -vf bench=start,scale=1024x1024,bench=stop -f null -
before: t:0.489726 avg:0.489883 max:0.491852 min:0.489482
after: t:0.256515 avg:0.256458 max:0.256999 min:0.253755
9 years ago
Claudio Freire
be746ae470
AAC encoder: fix undefined behavior
...
Fix uninitialized access of minsf in short windows
Fix potential invocation of coef2minsf(0)
9 years ago
James Almer
9bf3d01d91
avformat/latmenc: auto-insert aac_adtstoasc bitstream filter when needed
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
a35a4a5774
fate: Add filter-metadata-cropdetect
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Claudio Freire
c883da6bf4
AAC encoder: fix signed integer overflow
...
Clamp scalefactors by coef2minsf to avoid undefined behavior
caused by signed integer overflow. It also avoids clipping of
coefficients so it should avoid artifacts as well, on very
rare corner cases.
9 years ago
Timo Rothenpieler
b3557c79dc
avcodec/nvenc: Generate AUD NAL units for better compatiblity
9 years ago
Michael Niedermayer
b3ec5b00ce
tests/audiomatch: Reduce search window
...
This avoids unneeded computations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c7b983249a
tests/audiomatch: also print signal vs reference length
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
974734c98c
doc/filters: remove false claim in sofalizer description
...
Remove false claim that processing in freq domain is
worse quality than processing in time domain.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Rostislav Pehlivanov
02172d93f6
Revert "aacenc: use av_clip() instead of av_clip() during quantization"
...
This reverts commit c0918613a0
, since it
triggered a new assertion with gcc.
This bug definitely needs a true proper fix.
9 years ago
Rostislav Pehlivanov
7cda7683a5
Revert "doc/filters: remove false claim in sofalizer description"
...
This reverts commit bf1495d9a9
.
9 years ago
Rostislav Pehlivanov
c0918613a0
aacenc: use av_clip() instead of av_clip() during quantization
...
Seems like clang might be miscompiling it and causing a signed integer overflow,
making a FATE test fail.
Doesn't seem to affect performance, it only runs on the ESC codebook.
Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Paul B Mahol
bf1495d9a9
doc/filters: remove false claim in sofalizer description
...
Remove false claim that processing in freq domain is
worse quality than processing in time domain.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago