Andrey Turkin
b69335304d
avcodec/nvenc: use INIT_CLEANUP to deal with init failures
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
f84dfbc74a
avcodec/nvenc: add rate control option
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
40df468ab1
avcodec/nvenc: convert tier to AVOptions
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
b0172873a8
avcodec/nvenc: convert levels to AVOptions
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
9824321b32
avcodec/nvenc: convert profile parsing to AVOptions
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
faffff88c2
avcodec/nvenc: use AVOptions to select presets
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Michael Niedermayer
e1de62c5be
doc: Add color_trc values
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Andrey Turkin
7aa16d59bf
avcodec/nvenc: split H264/HEVC encoder definitions into separate files
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Rostislav Pehlivanov
a1953d4cec
aacpsy: remove dead code
This code wasn't removed when the functionality was moved inside
aacenc.c with commit 8005b6de4f
Fixes CID1361962
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Marton Balint
0d0b9397d6
avformat/movenc: remove useless if and reindent
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
15005701b5
avformat/movenc: propagate shift_data errors properly
The second one is not explicitly needed, as res is not reset, but it is there
for consistency.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
37d201aad9
ffplay: simplify display code
And get rid of frame_queue_prev.
Signed-off-by: Marton Balint <cus@passwd.hu>
10 years ago
Michael Niedermayer
0b9b3163f2
avcodec/libxvid: Fix use of uninitialized AVPacket fields
Fixes CID1361964
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
ZhouXiaoyong
2c7fd0e36b
avcodec/mips/h264qpel_mmi.c: Version 2 of the optimizations for loongson mmi
1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
3. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)
4. h264qpel use hepldsp optimizations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
b2d5d6a7f2
build: Only enable symbol reduction if the compiler does proper DCE
With compilers that do not support proper dead code elimination, like
Sun C 5.12, linking fails due to missing references to unavailable,
but also unused, symbols.
Bug-Id: 895
9 years ago
Mark Reid
d74cc61574
libavformat/movenc: remove unnecessary null check
Fixes CID1361955
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
645f7c1ce5
avfilter/f_loop: Fix leak on error
Fixes CID1355117
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
be96ebdcd7
avfilter/vf_fieldhint: Reorder operation to prevent hypothetical integer overflow
Fixes CID1355110
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
c5fd4b5061
build: Simplify postprocessing of linker version script files
Generate the files in a single postprocessing step w/o intermediate files.
9 years ago
Diego Biurrun
535a742c26
build: Change structure of the linker version script templates
Split version files into one line per symbol/directive to allow compatibility
with the Solaris linker without preprocessing and eliminate $ from version file
templates to simplify the postprocessing shell command.
9 years ago
Diego Biurrun
5b1b495c8d
build: Print a message when generating version scripts
9 years ago
Michael Niedermayer
7ae4d574e8
avfilter/vf_fieldhint: Assert that mode is valid
Its checked by the AVOption code
Fixes CID1355122
Fixes CID1355121
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
52ca24bdd2
avutil/softfloat: Improve doxy for av_sub_sf() and av_sf2int()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
cbd19881f7
avformat/udp: Remove unused variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
dac030d3aa
avformat/movenc: Fix potential track width/height overflows
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
17d320800b
avformat/movenc: Avoid integer overflow
Fixes: CID1361947
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thomas Guilbert
1a82d2cf8f
avformat/oggparseopus: Fix Undefined behavior in oggparseopus.c and libavformat/utils.c
Fixes: usan_granule_overflow
constant type fix by commiter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c1ed78a591
avformat/utils: avoid overflow in compute_chapters_end() with huge durations
Fixes: usan_granule_overflow
Found-by: Thomas Guilbert <tguilbert@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
2be3007ed5
avformat/utils: avoid overflow in update_stream_timings() with huge durations
Fixes: usan_granule_overflow
Found-by: Thomas Guilbert <tguilbert@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Petru Rares Sincraian
af56d0dffa
fate: add aemphasis test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
1e9c5bf4c1
asm: FF_-prefix internal macros used in inline assembly
These warnings conflict with system macros on Solaris, producing
truckloads of warnings about macro redefinition.
9 years ago
Diego Biurrun
dc40a70c57
Drop unnecessary libavutil/x86/asm.h #includes
9 years ago
Michael Niedermayer
d1520a6cfd
avutil/softfloat: Document public constants and a few public functions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
a64a030ba0
lavf/mov: Support one more Avid compression id for AVCI50.
Reported by forum user lexidata.
9 years ago
Michael Niedermayer
86d703fd55
avformat/movenc: Fix memleak of reshuffled packet
Fixes CID1361952
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5db111757c
avformat/movenc: Rename reshuffles return variable to ensure it is not mixed up
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f66ca036bc
avformat/oggparseflac: Fix memleaks in old_flac_header()
Fixes CID1361953
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9106cba22a
fate: Add fate-prores-gray
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Håvard Espeland
9c43703620
avcodec/proresdec2: Add support for grayscale videos
Signed-off-by: Håvard Espeland <espeland@mixedrealities.no>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
281caece46
avfilter/avfiltergraph: Clear graph pointers in ff_filter_graph_remove_filter()
When a filter is no longer part of a graph, its pointers should be cleared
so no stale pointers remain.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Luca Barbato
5264e7ba21
ac3: Check the array bound before dereferencing
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Hendrik Leppkes
2dc954e0bd
Merge commit '44d16df413878588659dd8901bba016b5a869fd1'
* commit '44d16df413878588659dd8901bba016b5a869fd1':
h264_parser: eliminate H264SliceContext usage
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years ago
Mark Thompson
a86aa16088
vaapi_h264: Add trivial support for low-power encoding
Experimental; requires Skylake and VAAPI 0.39.1 (not yet released).
Also increases the allowed range of the quality option - in low-power
mode, the Intel driver supports levels 1-8 (and 0 meaning default).
9 years ago
Mark Thompson
b51c7c6b8a
vaapi_h264: Fix frame_num after non-reference frames
Non-reference frames (nal_ref_idc == 0) should be discardable, so
frame_num does not advance after them. Before this change, a stream
containing unreferenced B-frames would be rejected by the reference
decoder.
9 years ago
Mark Thompson
2bfa067d0b
vaapi_encode: Check config attributes before creating config
This prevents attempts to use unsupported modes, such as low-power
H.264 mode on non-Skylake targets. Also fixes a crash on invalid
configuration, when trying to destroy an invalid VA config/context.
9 years ago
Diego Biurrun
6641819fee
build: Ignore generated mapfile and remove it on distclean
9 years ago
Gregor Riepl
d970f7ba31
ffserver: fixed deallocation bug in build_feed_streams
Signed-off-by: Gregor Riepl <onitake@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7f5c6ea511
avformat/utils: Fix use of uninitialized variable
Fixes CID1361961
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
foo86
a0f76b825c
avcodec/dca: move EXSS sampling frequency arrays to dca.c
Avoids unwanted parser dependency on dcadata.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Anton Khirnov
f5c4388419
FATE: drop the audio stream from the dxtory test
This is a video test and there are no audio packets in the sample
anyway.
9 years ago