Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-28avutil/mips: Restructure of generic macrosShivraj Patil
This patch includes restructuring of existing macros and addition of more generic macros. This change was necessary to avoid repeated review comments in remaining patches which we were about to submit. Also this patch reduces number of code lines due to maximum use of generic macros, allows better code alignment & readability etc. These modifications in commonly used .libavutil/mips/generic_macros_msa.h. impacts the already accepted code, hence re-submitting it in 2/4,3/4 & 4/4. Overall, this patch set is just upgrading the code with styling changes and will bring it in sync with MIPS-SIMD optimized latest codebase at our end. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-28x86inc: Clear __SECT__Timothy Gu
This commit silences warning(s) like: libavcodec/x86/fft.asm:93: warning: section flags ignored on section redeclaration The cause of this warning is that because `struc` and `endstruc` attempts to revert to the previous section state [1]. The section state is stored in the macro __SECT__, defined by x86inc.asm to be `.note.GNU-stack ...`, through the `SECTION` directive [2]. Thus, the `.note.GNU-stack` section is defined twice (once in x86inc.asm, once during `endstruc`), causing the warning. That is the first part of the commit: using the primitive `[section]` format for .note.GNU-stack etc., which does not update `__SECT__` [2]. That fixes only half of the problem. Even without any `SECTION` directives, `__SECT__` is predefined as `.text`, which conflicting with the later `SECTION_TEXT` (which expands to `.text align=16`). [1]: http://www.nasm.us/doc/nasmdoc6.html#section-6.4 [2]: http://www.nasm.us/doc/nasmdoc6.html#section-6.3 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-27x86/cpu: add AV_CPU_FLAG_AVXSLOW flagJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-05-26avutil: Add av_q2intfloat()Michael Niedermayer
This function allows writing AVRationals as IEEE floats without the need of platform dependant float operations Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-25Merge commit 'd8039ef8d221ea273aa4f1e62e5df21bf618c772'Michael Niedermayer
* commit 'd8039ef8d221ea273aa4f1e62e5df21bf618c772': D3D11va: add a Direct3D11 video decoder similar to DXVA2 Conflicts: Changelog configure libavcodec/Makefile libavcodec/allcodecs.c libavcodec/dxva2_vc1.c libavcodec/version.h libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-25D3D11va: add a Direct3D11 video decoder similar to DXVA2Steve Lhomme
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-22avutil/pixfmt: Clarify DV example comments for AVChromaLocationTim Nicholson
Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21avutil/pixfmt: s/luma sample positions/horizontal luma sample positions/Michael Niedermayer
Better to be explicit before someone thinks this could be the time axis ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21avutil/pixfmt: make luma sample positions even more explicit in the ↵Michael Niedermayer
AVChromaLocation ASCII art Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21avutil/pixfmt: Clarify mpeg example comments for AVChromaLocationMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21avutil/pixfmt: clarify chroma location text further, as "first" is ambigousMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21avutil/pixfmt: Clarify that the ASCII art describes the location of the ↵Michael Niedermayer
first chroma sample of AVChromaLocation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-19avutil/pixfmt: Improve ascii art showing the meaning of the AVChromaLocation ↵Michael Niedermayer
values Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-14libavutil/softfloat: Add test case for av_add_sfNedeljko Babic
Recently normalization (av_normalize_sf) of output was added to av_add_sf. This normalization is used for better precision for small values and the purpose of this (quite simple) test case is to test difference between double and softfloat. The values used are tailored to maximally highlighte problem with precison when normalization is not used. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-13imgutils: initialize palette padding bytes in av_image_allocAndreas Cadhalpun
av_image_fill_pointers always aligns the palette, but the padding bytes don't (and can't) get initialized in av_image_copy. Thus initialize them in av_image_alloc. This fixes 'Syscall param write(buf) points to uninitialised byte(s)' valgrind warnings. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-11avutil/avstring: Use size_t in av_strlcatf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-10avutil/dict: Use size_t for appending stringsMichael Niedermayer
the string length is not constrained to INT_MAX Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-10libavutil/mem: use size_t for the length in av_strdup()Michael Niedermayer
the string length is not constrained to INT_MAX Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-07avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni copy, uni ↵Shivraj Patil
horizontal and uni vertical mc functions Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-07ripemd: move ripemd{256, 320} into separate functionsJames Almer
This allows the removal of a few branches. Before: lavu RIPEMD-160 size: 1048576 runs: 1024 time: 7.052 +- 0.010 After: lavu RIPEMD-160 size: 1048576 runs: 1024 time: 6.865 +- 0.015 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-06lavu: add yuv440p10/12 pixfmts.Ronald S. Bultje
2015-05-06avutil/internal: Suppress empty body warning from emms_c()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-03avutil/opt: Avoid division by 0Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-02avutil/cast5: Make iv array staticMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-02avutil/cast5: Mark key_bits as constMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-01avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and ↵Shivraj Patil
weight/biweight functions Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-30avutil/softfloat_tables: add missing stdint.h includeJames Almer
Fixes make checkheaders Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-30libavutil/softfloat: Add functions.Nedeljko Babic
Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-30libavutil/softfloat: Added av_normalize_sf in av_add_sfNedeljko Babic
This will normalize sums for which mantissa is smaller than the lower boundary (needed for implementation of fixed point aac decoder). Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-30libavutil/softfloat: exponent adjusted for aac fixed point decNedeljko Babic
Exponent usage and calculation in softfloat adjusted to the format used in implementation of fixed point aac decoder. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-28OpenCL: Fix ABI incompatibility issuesManeesh Gupta
AVOpenCLDeviceNode and AVOpenCLPlatformNode used fixed static buffer for holding the device and platform name. This patch modifies these structures to use pointers instead. The memory required to hold the names is now dynamically allocated, the size for which is determined by querying appropriate OpenCL runtime APIs. Signed-off-by: Maneesh Gupta <maneesh.gupta@amd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-26avutil/log: more complete description of av_log functionMatteo Nastasi (mop)
2015-04-25avutil/softfloat: document av_int2sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-24avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC copy and hv mc ↵Shivraj Patil
functions Incorporated review comment. Removed "__" from volatile. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-24avutil/frame: fix everythnig/everything typoClément Bœsch
2015-04-21Merge commit 'eaa2d123f0a643664721593d248ece6bcd85f1e6'Michael Niedermayer
* commit 'eaa2d123f0a643664721593d248ece6bcd85f1e6': log: Print a full backtrace along with error messages under Valgrind Conflicts: libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-20log: Print a full backtrace along with error messages under ValgrindVittorio Giovara
Useful to understand where and in what execution state a certain message is generated. It is enabled only when optimizations are disabled, since function names are not printed otherwise. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-04-20avutil/mips/generic_macros_msa: volatile doesnt need __Michael Niedermayer
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-20Merge commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e'Michael Niedermayer
* commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e': log: Introduce a more verbose debug level Conflicts: doc/APIchanges doc/fftools-common-opts.texi libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-20avutil: remove pointless bmi1 defineJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-19log: Introduce a more verbose debug levelVittorio Giovara
And deprecate av_dlog macro.
2015-04-19avutil: remove pointless bmi1 defineJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-17avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC horizontal and ↵Shivraj Patil
vertical mc functions Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-15libavutil/softfloat: Change order of fields in SoftFloat structure.Nedeljko Babic
Softfloat will be used in implementation of AAC fixed point decoder. This change is needed in order to more easily integrate ffmpegs softfloat in already developed algorithm for AAC. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-10avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not ↵Shivraj Patil
supported) Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-09avutil/x86/Makefile: fix conditional x86/emms.o buildMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-08avutil/x86/Makefile: Make building and linking of emms.c conditionalRonald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-07Merge commit '27f274628234c1f934b9a6a6380ed567c1b4ceae'Michael Niedermayer
* commit '27f274628234c1f934b9a6a6380ed567c1b4ceae': parseutils: Make av_small_strptime public Conflicts: doc/APIchanges libavformat/utils.c libavutil/parseutils.c libavutil/version.h See: 29e972f67c914d35417bc7368493d2617abdd26e Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-07Merge commit '108f2f381acb93827fb4add0517eeae859afa3bf'Michael Niedermayer
* commit '108f2f381acb93827fb4add0517eeae859afa3bf': parseutils: Extend small_strptime to be used in avformat Conflicts: libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-07parseutils: Make av_small_strptime publicLuca Barbato
And use it in libavformat. Based on a similar patch by Stefano Sabatini <stefasab@gmail.com>.