summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* vp9: split out generic decoding skeleton interface API from VP9 types.Ronald S. Bultje2017-03-28
| | | | | This allows vp9dsp.h to only include the VP9 types header, and not the decoder skeleton interface which is for hardware decoders (dxva2/vaapi).
* vp9: split out reconstruction functions in their own source file.Ronald S. Bultje2017-03-28
|
* vp9: split out loopfilter functions in their own source file.Ronald S. Bultje2017-03-28
|
* vp9: re-split the decoder/format/dsp interface header files.Ronald S. Bultje2017-03-28
| | | | | The advantage here is that the internal software decoder interface is not exposed to the DSP functions or the hardware accelerations.
* dirac: make initialization of arithmetic coder tables threadsafe.Ronald S. Bultje2017-03-28
|
* avcodec/extract_extradata_bsf: add missing break statement to ↵James Almer2017-03-28
| | | | extract_extradata_vc1
* Merge commit '801ac7156d3efb8e088fb6024f568eb36a293887'Clément Bœsch2017-03-27
|\ | | | | | | | | | | | | * commit '801ac7156d3efb8e088fb6024f568eb36a293887': qsv: Be informative when reporting that no data has been consumed Merged-by: Clément Bœsch <u@pkh.me>
| * qsv: Be informative when reporting that no data has been consumedLuca Barbato2016-10-30
| |
* | Merge commit '30015305f3b523ed7640f2c3c58b017140533c58'Clément Bœsch2017-03-27
|\| | | | | | | | | | | | | | | | | | | * commit '30015305f3b523ed7640f2c3c58b017140533c58': Use avpriv_request_sample() where appropriate Only the roqvideo chunk is merged because we actually support 24bpp flic, see 5781c983d880e17ffc9b283baa9fb13bad1748f9. Merged-by: Clément Bœsch <u@pkh.me>
| * Use avpriv_request_sample() where appropriateDiego Biurrun2016-10-29
| |
| * srt: Adjust signedness of sscanf format stringsDiego Biurrun2016-10-28
| | | | | | | | Fixes several warnings from -Wformat.
* | Merge commit '7a2b2b6a92c4b528ecb640790eca0aa790d858f4'Clément Bœsch2017-03-27
|\| | | | | | | | | | | | | * commit '7a2b2b6a92c4b528ecb640790eca0aa790d858f4': dxtory: Drop nonsense ISO C printf conversion specifiers for standard types Merged-by: Clément Bœsch <u@pkh.me>
| * dxtory: Drop nonsense ISO C printf conversion specifiers for standard typesDiego Biurrun2016-10-28
| |
| * Use ISO C printf conversion specifiers where appropriateDiego Biurrun2016-10-28
| |
| * hap: Adjust printf length modifiers to match variable typesDiego Biurrun2016-10-28
| | | | | | | | | | libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=] libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t {aka unsigned int}’ [-Wformat=]
* | lavc/vp9: clarify inv_recenter_nonnegClément Bœsch2017-03-27
| | | | | | | | Ends up identical to Libav.
* | lavc/vp9: shuffle header declarationClément Bœsch2017-03-27
| | | | | | | | This reduces diff with Libav.
* | lavc/vp9: consistent use of typedef instead of structClément Bœsch2017-03-27
| |
* | lavc/vp9: misc cosmeticsClément Bœsch2017-03-27
| | | | | | | | Imported from Libav
* | lavc/vp9: rename res to retClément Bœsch2017-03-27
| |
* | lavc/vp9: split a few assignment out of ifsClément Bœsch2017-03-27
| |
* | lavc/vp9: rename {ref,unref,alloc}_frame to frame_{ref,unref,alloc}Clément Bœsch2017-03-27
| | | | | | | | For consistency with Libav.
* | lavc/vp9: rename ctx to avctxClément Bœsch2017-03-27
| | | | | | | | | | This reduces diff with Libav. It also prevents a potential confusion between the private context and the AVCodecContext.
* | lavc/vp9: split into vp9{block,data,mvs}Clément Bœsch2017-03-27
| | | | | | | | This is following Libav layout to ease merges.
* | pthread_frame: fix uninitialized variable readwm42017-03-27
| | | | | | | | | | | | | | | | | | Could lead to random behavior. This possibly happened due to commit 32a5b631267. This should/could probably be simplified, but for no apply a minimal fix to quell the errors. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
* | pthread_frame: do not attempt to unlock a mutex on the wrong threadwm42017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | async_mutex has is used in a very strange but intentional way: it is locked by default, and unlocked only in regions that can be run concurrently. If the user was calling API functions to the same context from different threads (in a safe way), this could unintentionally unlock the mutex on a different thread than the previous lock operation. It's not allowed by the pthread API. Fix this by emulating a binary semaphore using a mutex and condition variable. (Posix semaphores are not available on all platforms.) Tested-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/opusenc: use correct format specifiersKyle Swanson2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | Squelches the following compiler warnings: libavcodec/opusenc.c:1051:16: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] avctx->bit_rate/1000, clipped_rate/1000); ^~~~~~~~~~~~~~~~~~~~ libavcodec/opusenc.c:1051:38: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] avctx->bit_rate/1000, clipped_rate/1000); ^~~~~~~~~~~~~~~~~
* | avcodec/avcodec: Correct and make consistent AVERROR() in commentsMichael Niedermayer2017-03-27
| | | | | | | | | | Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/h264idct_template: Fix multiple runtime error: signed integer overflowMichael Niedermayer2017-03-26
| | | | | | | | | | | | | | Fixes: 712/clusterfuzz-testcase-6647676227551232 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/x86/idctdsp: Remove duplicate includeMichael Niedermayer2017-03-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/extract_extradata_bsf: use the parsing code from mpeg4video_split()James Almer2017-03-25
| | | | | | | | | | | | | | It's a simplifaction of the same code, originally commited as 3b5ad8fbf77. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/extract_extradata_bsf: use the parsing code from vc1_split()James Almer2017-03-25
| | | | | | | | | | | | | | It's a simplifaction of the same code, originally commited as b4b9a64bdb6. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/extract_extradata_bsf: use the parsing code from mpegvideo_split()James Almer2017-03-25
| | | | | | | | | | | | | | | | | | Changes to the parsing code originally committed to mpegvideo_parser.c in 73fb23dc5a5. Required by some samples, like PVA_test-partial.pva Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec: stop using deprecated codec flagsJames Almer2017-03-25
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavc/xface: Reorder conditions to silence a gcc warning.Carl Eugen Hoyos2017-03-24
| | | | | | | | libavcodec/xface.c:318:27: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
* | avcodec/tests/celp_math: Change IsAlmostEqual() to a functionMichael Niedermayer2017-03-24
| | | | | | | | | | | | Fixes empty statement, found by ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tests: added test for celp_math.cThomas Turner2017-03-24
| | | | | | | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dnxhd_parser: take into account compressed frame size and skip itPaul B Mahol2017-03-24
| | | | | | | | | | | | Fixes #6214 and vsynth1-dnxhd-720p-hr-lb. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | x86/hevc_add_res: merge missing changes from ↵James Almer2017-03-24
| | | | | | | | | | | | | | 3d6535983282bea542dac2e568ae50da5796be34 Unrolling the loops triplicates the size of the assembled output while not generating any gain in performance.
* | Merge commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50'Clément Bœsch2017-03-24
|\| | | | | | | | | | | | | * commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50': Adjust printf conversion specifiers to match variable signedness Merged-by: Clément Bœsch <u@pkh.me>
| * Adjust printf conversion specifiers to match variable signednessDiego Biurrun2016-10-28
| |
* | Merge commit '47756f51fe836959ffa5c6e2baeacbd71e150069'Clément Bœsch2017-03-24
|\| | | | | | | | | | | | | * commit '47756f51fe836959ffa5c6e2baeacbd71e150069': dnxhdenc: Drop pointless, commented-out debug output Merged-by: Clément Bœsch <u@pkh.me>
| * dnxhdenc: Drop pointless, commented-out debug outputDiego Biurrun2016-10-27
| |
* | Merge commit '0574780d7a196f87ddd89d6362f4c47f3532b4c4'Clément Bœsch2017-03-24
|\| | | | | | | | | | | | | * commit '0574780d7a196f87ddd89d6362f4c47f3532b4c4': h264_loopfilter: Do not print value of uninitialized variable Merged-by: Clément Bœsch <u@pkh.me>
| * h264_loopfilter: Do not print value of uninitialized variableDiego Biurrun2016-10-27
| | | | | | | | libavcodec/h264_loopfilter.c:531:111: warning: variable 'edge' is uninitialized when used here [-Wuninitialized]
* | Merge commit '255526998501f0040ae43fe4848c817a97fc578a'Clément Bœsch2017-03-24
|\| | | | | | | | | | | | | * commit '255526998501f0040ae43fe4848c817a97fc578a': mpegaudio: Do not print value of uninitialized variable Merged-by: Clément Bœsch <u@pkh.me>
| * mpegaudio: Do not print value of uninitialized variableDiego Biurrun2016-10-27
| | | | | | | | libavcodec/mpegaudiodec_template.c:885:97: warning: variable 'x' is uninitialized when used here [-Wuninitialized]
| * vaapi_decode: Remove vestigial unmap codeMark Thompson2016-10-24
| | | | | | | | | | | | | | The buffer map/unmap code was in an early version of this before it was committed, but the unmap was never removed. While wrong, this was harmless (and therefore unnoticed) because the buffers can't be mapped at this point - all drivers just did nothing with the call.
| * vaapi_decode: Clear parameter buffers to fix picture reuseMark Thompson2016-10-24
| | | | | | | | | | | | When decoding interlaced pictures, the structure is reused to render to the same surface twice. The parameter buffers were not being cleared, which caused the i965 driver to error out.
| * vaapi_h264: fix RefPicList[] field flags.Gwenole Beauchesne2016-10-24
| | | | | | | | | | | | | | | | | | | | | | Use new H264Ref.reference field to track field picture flags. The H264Picture.reference flag in DPB is now irrelevant here. This is a regression from git commit a12d3188, and that affected multiple interlaced video streams. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>