summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* avutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATEMichael Niedermayer2016-06-09
| | | | | | Fixes Ticket5618 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* x86/showcqt: use three operand format for some instructionsJames Almer2016-06-08
| | | | | | Fixes failures with yasm 1.1.0 and older Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/x86util: move haddps sse emulation from showcqtJames Almer2016-06-08
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/frame: Assert that width/height/channels is 0 for the destination of ↵Michael Niedermayer2016-06-05
| | | | | | av_frame*_ref() This should detect caes where these functions are called in unclean destinations
* libavutil/fifo: Fix fifo grow stepJan Sebechlebsky2016-06-03
| | | | | | | | | Fifo was reallocating always to twice of the requested size. This fixes it to reallocate to requested size, or twice of the original size - whichever is greater. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vaapi: Enable more libva surface formatsMark Thompson2016-06-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/frame: Document avcodec_get_frame_class() and the option naming systemMichael Niedermayer2016-06-01
| | | | | | Missing docs found by: nevcairiel Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu: Adding ARIB STD-B67 (hybrid log-gamma) enum value and transfer function.Neil Birkbeck2016-06-01
| | | | | | | | | | | | | | | | | | Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma) based on the standardization in ARIB STD-B67: http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf The choice of enum value of 18 is consistent with HEVC: http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481 And also with latest proposal for color format in mkv: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal The implementation assumes a nominal input range of [0, 1], which is consistent with HEVC. Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/softfloat: Improve doxy for av_sub_sf() and av_sf2int()Michael Niedermayer2016-05-29
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/softfloat: Document public constants and a few public functionsMichael Niedermayer2016-05-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavutil/opencl: fixed uninitialized var warningdsmudhar2016-05-23
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/eval-test: Check av_expr_parse_and_eval() for failure and also check ↵Michael Niedermayer2016-05-20
| | | | | | | | it in the fate test Fixes CID1361940 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/mips: header asmdefs.h add some PTR_ macros for loongsonZhouXiaoyong2016-05-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/lzo: split test out into a separate fileJames Almer2016-05-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/sha512-test: fix memleakJames Almer2016-05-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/sha-test: fix memleakJames Almer2016-05-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/ripemd-test: fix memleakJames Almer2016-05-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/aes-test: fix memleakJames Almer2016-05-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '785bfb1d7bb8de567c3aac1d9cc369b55ac9fb7b'Derek Buitenhuis2016-05-12
|\ | | | | | | | | | | | | * commit '785bfb1d7bb8de567c3aac1d9cc369b55ac9fb7b': pixfmt: fix wrong comment Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * pixfmt: fix wrong commentThomas Guillem2016-04-19
| | | | | | | | | | | | | | | | The h264/hevc Annex E colour primaries table says that AVCOL_SPC_SMPTE170M is similar than AVCOL_SPC_SMPTE240M. These two values are not similar than AVCOL_SPC_BT470BG. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avutil/cpu-test: Fix includes (needed for HAVE_*)James Almer2016-05-12
| | | | | | | | | | Commit message by commiter Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/float_dsp-test: Add include config.h for HAVE_*Michael Niedermayer2016-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil: make crypto testprogs include headers onlyJames Almer2016-05-11
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'a0f469da744db83db32f3fe13186ee4aa2bc7dc5'Derek Buitenhuis2016-05-11
|\| | | | | | | | | | | | | * commit 'a0f469da744db83db32f3fe13186ee4aa2bc7dc5': hwcontext: initialize sw_format in av_hwframe_ctx_alloc() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * hwcontext: initialize sw_format in av_hwframe_ctx_alloc()Anton Khirnov2016-04-15
| |
* | Merge commit '798845ce7e5b7fdd17c7269c5d267fb487d9c46f'Derek Buitenhuis2016-05-11
|\| | | | | | | | | | | | | * commit '798845ce7e5b7fdd17c7269c5d267fb487d9c46f': testprogs: Add missing libm.h includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: Add missing libm.h includesMartin Storsjö2016-04-11
| | | | | | | | | | | | This fixes building on MSVC 2010 and 2012 after d12b5b2f135. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-11
|\| | | | | | | | | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | | | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* | Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'Derek Buitenhuis2016-05-09
|\| | | | | | | | | | | | | * commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | | | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* | libavutil/opt: add writing AV_OPT_TYPE_VIDEO_RATE AVOptionPrzemysław Sobala2016-05-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/parsing: add '\r' as whitespaceMuhammad Faiz2016-05-06
| | | | | | | | | | | | | | for compatibility with platforms that treat it as newline Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avutil/log: Fix occured typoMichael Niedermayer2016-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/log: added test case for av_log_format_line2Andreas Weis2016-04-27
| | | | | | | | | | Signed-off-by: Andreas Weis <github@ghulbus-inc.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/log: added av_log_format_line2 which returns buffer lengthAndreas Weis2016-04-27
| | | | | | | | | | | | | | | | | | The new function behaves the same as av_log_format_line, but also forwards the return value from the underlying snprintf call. This will allow callers to accurately determine the size requirements for the line buffer. Signed-off-by: Andreas Weis <github@ghulbus-inc.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | pgssubdec: fix subpicture output colorspace and rangeJan Ekström2016-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functionality used before didn't widen the values from limited to full range. Additionally, now the decoder uses BT.709 where it should be used according to the video resolution. Default for not yet set colorimetry is BT.709 due to most observed HDMV content being HD. BT.709 coefficients were gathered from the first two parts of BT.709 to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2). They were additionally confirmed by manually calculating values. Fixes #4637
* | avutil/aes: Remove duplicate includeMichael Niedermayer2016-04-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '3b08d9d932eef09403074d5af31e10d8011e840b'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit '3b08d9d932eef09403074d5af31e10d8011e840b': testprogs: K&R formatting cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
| |
* | Merge commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48': testprogs: Clean up #includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: Clean up #includesDiego Biurrun2016-03-24
| |
* | x86inc: Enable AVX emulation in additional casesAnton Mitrofanov2016-04-20
| | | | | | | | | | Allows emulation to work when dst is equal to src2 as long as the instruction is commutative, e.g. `addps m0, m1, m0`.
* | x86inc: Improve handling of %ifid with multi-token parametersAnton Mitrofanov2016-04-20
| | | | | | | | | | | | The yasm/nasm preprocessor only checks the first token, which means that parameters such as `dword [rax]` are treated as identifiers, which is generally not what we want.
* | x86inc: Fix AVX emulation of some instructionsAnton Mitrofanov2016-04-20
| |
* | x86inc: Fix AVX emulation of scalar float instructionsHenrik Gramner2016-04-20
| | | | | | | | | | Those instructions are not commutative since they only change the first element in the vector and leave the rest unmodified.
* | Merge commit '564b4591bbe223bdc5f36a1131eaef103f23f5d0'Derek Buitenhuis2016-04-19
|\| | | | | | | | | | | | | * commit '564b4591bbe223bdc5f36a1131eaef103f23f5d0': opt: Add av_opt_copy() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * opt: Add av_opt_copy()Michael Niedermayer2016-03-24
| | | | | | | | | | | | | | This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
| * opt: Add const to av_opt_nextLukasz Marek2016-03-24
| | | | | | | | | | | | | | Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
| * opt-test: Merge struct declaration and initializationDiego Biurrun2016-03-23
| |