James Almer
8c0045f013
fate/iamf: add a remux test with stream group copying
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
Haihao Xiang
8c62d77139
lavc/vp9: Fix regression introduced in 0ba05857
...
It is possible that ff_progress_frame_await() is called but
ff_progress_frame_report() isn't called when a hardware acceleration
method is used, so a thread for vp9 decoding might get stuck.
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
7 months ago
James Almer
725d3b6f17
doc/APIchanges: fix date for the latest entry
...
And add the commit hash while at it.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
757367e068
avformat/demux: extract extradata from packets when context update is requested
...
If the demuxer doesn't set extradata in the stream's codecpar, a
need_context_update request will delete the previously extracted extradata in
the stream's internal AVCodecContext.
As we can't ensure the old extradata is valid for the stream in its post
context update request state, try to get extradata from the new packet instead
of attempting to preserve the old in some form.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
c4e3d6cdb0
avcodec/codec_par: always clear extradata_size in avcodec_parameters_to_context()
...
Missed in d383ae43c2
.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
ecf87dd230
fftools/ffmpeg_mux_init: allow mapping a stream group from one of the inputs
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
8616cfe089
avutil/opt: add support for children objects in av_opt_serialize
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
855d4b5254
avutil/tests/opt: test av_opt_find2()
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
a9df9f95c4
avutil/test/opt: test the AV_OPT_SERIALIZE_SKIP_DEFAULTS flag
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
Michael Niedermayer
b91e3c4c90
avcodec/cbs_h2645: Check NAL space
...
Found-by-reviewing: CID1419833 Untrusted loop bound
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Michael Niedermayer
02301017d2
avfilter/vf_thumbnail_cuda: Set ret before checking it
...
Fixes: CID1418336 Logically dead code
Sponsored-by: Sovereign Tech Fund
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Michael Niedermayer
e7174e66ac
avfilter/signature_lookup: Dont copy uninitialized stuff around
...
Fixes: CID1403238 Uninitialized pointer read
Fixes: CID1403239 Uninitialized pointer read
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Michael Niedermayer
25cb66369e
avfilter/signature_lookup: Fix 2 differences to the refernce SW
...
Fixes: CID1403227 Division or modulo by float zero
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Michael Niedermayer
fb4a1eaadf
tools: add target_enc_fuzzer.c
...
Sponsored-by: Sovereign Tech Fund
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Timo Rothenpieler
61f27e5f71
doc: use HOSTEXESUF when calling print_options
...
This is neccesary on WSL, and has no averse effects in normal
environments.
7 months ago
Martin Storsjö
cdf71f789b
Remove .travis.yml
...
Travis is no longer relevant for attempting to run CI jobs in our
setup.
Signed-off-by: Martin Storsjö <martin@martin.st>
7 months ago
James Almer
ce33a5f16d
avformat/movenc: remove one level of indentation
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
63702d5f9c
avcodec/aac/aacdec: remove double colon
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
Zhao Zhili
1b41631185
fftools: Fix implicit-const-int-float-conversion warning
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
7 months ago
Zhao Zhili
66161166dc
avcodec/mediacodecenc: add AV_CODEC_CAP_ENCODER_FLUSH support
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
7 months ago
Zhao Zhili
9e49915195
avcodec/mediacodecenc: Add global header support
...
The extradata is generated by encoding a dummy frame, then reset
the encoder state by mediacodec flush(). It only works for pixel
format other than AV_PIX_FMT_MEDIACODEC, since I'm not sure how
to create a dummy frame safely with AV_PIX_FMT_MEDIACODEC.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
7 months ago
Zhao Zhili
3cfea6993a
avcodec/mediacodecenc: Remove write only variable
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
7 months ago
Zhao Zhili
a5a3788f56
avcodec/mediacodecenc: Fix return empty packet when bsf is used
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
7 months ago
Zhao Zhili
32fa20c0c9
avcodec/mediacodec_wrapper: Fix unused variable warning
7 months ago
Zhao Zhili
98b5e80fd6
avcodec/mediacodec_wrapper: link to NDK mediacodec API directly
...
Drop support of Android version before 5.0.
7 months ago
Zhao Zhili
309cff378c
configure: Lower Android API level requirement of mediandk
...
AImage_delete is introduced in API level 24, while AMediaFormat_new
is introduced in API level 21. We only need API level 21 to support
NDK mediacodec. This change doesn't break or change of
android_camera_indev since camera2ndk still needs API level 24.
7 months ago
Lynne
e3650886c7
aacdec: initialize float/fixed SBR tables only when either is needed
7 months ago
Lynne
176c922e4e
aacsbr: constify the only SBR table
7 months ago
Lynne
03cf101645
aacdec: remove AAC-specific MIPS optimizations
...
The code was written in 2012, but seems to have been broken
for just as long. Compilation is broken on every MIPS/MIPS64
system with an FPU (which the code depends on).
7 months ago
Lynne
ae7c6cc17d
aac: move aacdec.c to aac/aacdec.c
7 months ago
Lynne
551ce16b59
aacdec: move aacdec.h into libavcodec/aac
7 months ago
Lynne
cd1e404a10
aacdec: merge previously-templated code
7 months ago
Lynne
ce740618d1
aacdec: move LATM decode functions into a separate file
7 months ago
Lynne
e93793bf3c
aacdec: fully detemplate decoder core
7 months ago
Lynne
2f90d83981
aacdec: move fixed/float DSP initialization to templated init functions
7 months ago
Lynne
905fdb0601
aacdec: reuse TNS and LTP tables between fixed and float decoders
...
The fixed decoder derives the values from floats anyway.
7 months ago
Lynne
49e7be1e37
aacdec: move prediction to separate files
7 months ago
Lynne
b1718ce0f9
aacdec: move CCE decoding to a separate templated file
...
Unfortunately, although it's a purely decode function, it does
need to be templated.
7 months ago
Lynne
41c04bec0a
aacdec: move fixed-point clipping to a separate function
7 months ago
Lynne
87a93a5670
aacdec: split off channel coupling into a new file
7 months ago
Lynne
b7387ea00e
aacdec: deduplicate table initizalization
...
All tables now initialized by aac/aacdec_fixed|float
7 months ago
Lynne
41ae2b03a5
aacdec: move spectrum decode and dequantization to a new file
7 months ago
Lynne
5c026e6637
aacdec: remove unnecessary decode_spectrum_and_dequant arguments
...
Small cleanup to reduce number of arguments.
7 months ago
Lynne
eef9100a8e
aacdec: template LTP windowing separately
...
The function is called only internally in DSP, so we do not
need to expose it.
apply_ltp on MIPS uses this function, but due to the function
being just a glue function with no real optimizations,
duplicate it there.
7 months ago
Lynne
091d85217d
aacdec: template windowing and transforms separately
7 months ago
Lynne
a309aa4127
aacdec: duplicate table initialization
...
Preparation to move all table init and support windowing functions.
7 months ago
Lynne
e9fc7661da
aacdec: template LTP application separately
7 months ago
Lynne
db5128ef70
aacdec: template TNS application separately
7 months ago
Lynne
ad16349f9b
aacdec: template intensity stereo application separately
7 months ago
Lynne
9f3fa77e0d
aacdec: template mid/side stereo application separately
7 months ago