summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* avutil/cpu: output cpu data to stdoutMichael Niedermayer2014-08-06
| | | | | | | | | Errors go to stderr, but the cpu stats are non error output for cputest This fixes echoing the cpu test results Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/pixelutils: check for malloc failureMichael Niedermayer2014-08-06
| | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/pixelutils: avoid on stack arraysMichael Niedermayer2014-08-06
| | | | | | | The arrays are fairly large and could cause problems on some embedded systems also they are not endian safe as they mix 32 and 8bit Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/cpu: fix cpu-test to work with ffmpegs cpuflags syntaxMichael Niedermayer2014-08-06
| | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil: add pixelutils APIClément Bœsch2014-08-05
|
* Fix compile error on bfin.Bernd Kuhls2014-08-05
| | | | | | | | | | | | | | | | | | After the removal of all Blackfin architecture optimizations in http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b55d3bbeed375f7b74442c4dd274d116a3e3d2e1 some includes were left behind leading to a compile error: CC libavformat/adtsenc.o In file included from ./libavcodec/get_bits.h:35, from ./libavcodec/ac3_parser.h:27, from libavformat/ac3dec.c:23: ./libavcodec/mathops.h:43:29: error: bfin/mathops.h: No such file or directory This compile error was found by buildroot autobuild system: http://autobuild.buildroot.net/results/ae0/ae056f267e907091d09d2a1546d6f1ae02fa23b9/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'e9abafca278f87e1ecc6d50091d99b73ff63c9a6'Michael Niedermayer2014-08-04
|\ | | | | | | | | | | | | | | | | | | | | | | * commit 'e9abafca278f87e1ecc6d50091d99b73ff63c9a6': avutil: add AV_PIX_FMT_YA16 pixel format Conflicts: libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: add AV_PIX_FMT_YA16 pixel formatVittorio Giovara2014-08-04
| |
* | Merge commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5': avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8 Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/raw.c libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h libswscale/swscale_internal.h libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-04
| | | | | | | | | | | | | | The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
* | Merge commit 'e0d73fda361729d207e51fa2afd8ba6102e58d98'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | * commit 'e0d73fda361729d207e51fa2afd8ba6102e58d98': avutil: add alias names for gray 8/16 colour spaces Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: add alias names for gray 8/16 colour spacesVittorio Giovara2014-08-04
| |
* | Merge commit 'd2962e9f89cca6ff40f0c9d5ffc9c4397b8b1b26'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'd2962e9f89cca6ff40f0c9d5ffc9c4397b8b1b26': pixdesc: Support pixelformat aliases Conflicts: doc/APIchanges libavutil/pixdesc.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: Support pixelformat aliasesLuca Barbato2014-08-04
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'bb41115d56930b9f5d59e79dca254d1201246967'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | | | | | | | | | * commit 'bb41115d56930b9f5d59e79dca254d1201246967': imgutils: Do not declare avpriv_set_systematic_pal2 in the public header Conflicts: libavutil/internal.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * imgutils: Do not declare avpriv_set_systematic_pal2 in the public headerDiego Biurrun2014-08-04
| |
* | Merge commit '1ef9e8376466bb1e2c147e47554b94cab9c8b04a'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1ef9e8376466bb1e2c147e47554b94cab9c8b04a': avcodec: Deprecate dtg_active_format field in favor of avframe side-data Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/mpeg12dec.c libavcodec/version.h libavfilter/vf_showinfo.c libavutil/frame.h libavutil/version.h See: 2a3c36e920d958e99fb4edf065a6713c30f2c2a9 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Deprecate dtg_active_format field in favor of avframe side-dataKieran Kunhya2014-08-03
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Deprecate AFD field and add AFD as side-dataKieran Kunhya2014-08-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a238b83b13640e3192d7d4aaad2242f13a9a84a1'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | * commit 'a238b83b13640e3192d7d4aaad2242f13a9a84a1': aarch64: use MACH-O const data asm directive in const macro Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: use MACH-O const data asm directive in const macroJanne Grunau2014-08-04
| |
* | Merge commit 'caf5ef852bf71984d3322bbeaf48cfb04ac8255f'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | * commit 'caf5ef852bf71984d3322bbeaf48cfb04ac8255f': cpu-test: test av_cpu_count Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cpu-test: test av_cpu_countJanne Grunau2014-08-04
| | | | | | | | Add CPU count and number threads as informative values for fate.
* | Merge commit '07d8fa58121be8fe315bd51ab760547fe209a745'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | | | | | | | * commit '07d8fa58121be8fe315bd51ab760547fe209a745': fate: add informative cpu test Conflicts: tests/fate/libavutil.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: add informative cpu testJanne Grunau2014-08-04
| | | | | | | | | | | | | | | | libavutil/cpu-test prints raw and effective cpu flags to STDERR. Detected cpu flags can be useful for debugging fate errors. No comparison of the result against a expected result since that would require fate config specific references.
* | avutil/mem: document NULL related saftey of av_freep()Michael Niedermayer2014-08-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/hevc_deblock: improve 8bit transpose store macrosJames Almer2014-08-03
| | | | | | | | | | | | | | Up to four instructions less depending on function and instruction set. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | msvc: fix implicitly declared read/close.Matthew Oliver2014-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b2e059a1ffbdaaa985c6a7dcdd684fa034725238'Michael Niedermayer2014-08-01
|\| | | | | | | | | | | | | | | | | | | | | * commit 'b2e059a1ffbdaaa985c6a7dcdd684fa034725238': pixdesc: K&R formatting cosmetics Conflicts: libavutil/pixdesc.c libavutil/pixdesc.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: K&R formatting cosmeticsLuca Barbato2014-08-01
| | | | | | | | | | | | Also change some comments to multiline. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avutil/pixdesc: remove unneeded assignmentMichael Niedermayer2014-07-31
| | | | | | | | | | Found-by: CSA Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dict.c: minor simplification.Reimar Döffinger2014-07-31
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avutil/frame: add av_frame_side_data_name()Michael Niedermayer2014-07-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '69e7336b8e16ee65226fc20381baf537f4b125e6'Michael Niedermayer2014-07-29
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '69e7336b8e16ee65226fc20381baf537f4b125e6': avstring: Expose the simple name match function Conflicts: libavutil/avstring.c libavutil/avstring.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avstring: Expose the simple name match functionLuca Barbato2014-07-29
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | x86/hevc_idct: replace old and unused idct functionsJames Almer2014-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only 8-bit and 10-bit idct_dc() functions are included (adding others should be trivial). Benchmarks on an Intel Core i5-4200U: idct8x8_dc SSE2 MMXEXT C cycles 22 26 57 idct16x16_dc AVX2 SSE2 C cycles 27 32 249 idct32x32_dc AVX2 SSE2 C cycles 62 126 1375 Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Mickaël Raulet <mraulet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: ensure the right buffer is used in set_string_number()Michael Niedermayer2014-07-25
| | | | | | | | | | | | Fixes use of uninitialized memory Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: Fix parsing regression with constants starting with numbersMichael Niedermayer2014-07-23
| | | | | | | | | | | | | | Fixes parsing "3dnow" Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: simplify set_string_number()Michael Niedermayer2014-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: set_string_number(): remove unneeded copyMuhammad Faiz2014-07-22
| | | | | | | | | | | | also remove unused variables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6869612f5c7d4d2f20f69a5658328a761deadb1c'Michael Niedermayer2014-07-22
|\| | | | | | | | | | | | | | | | | | | * commit '6869612f5c7d4d2f20f69a5658328a761deadb1c': arm: Macroize the test for 'setend' CPU instruction support Conflicts: libavcodec/arm/h264dsp_init_arm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: Macroize the test for 'setend' CPU instruction supportBen Avison2014-07-21
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * armv6: Accelerate butterflies_floatBen Avison2014-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in butterflies_float_c() / ff_butterflies_float_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1542.8 43.7 1470.5 41.5 100.0% +4.9% butterflies_float 130.0 11.9 70.2 12.1 100.0% +85.2% Signed-off-by: Martin Storsjö <martin@martin.st>
| * armv6: Accelerate vector_fmul_windowBen Avison2014-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I benchmarked the result by measuring the number of gperftools samples that hit anywhere in the AAC decoder (starting from aac_decode_frame()) or specifically in vector_fmul_window_c() / ff_vector_fmul_window_vfp() for the same sample AAC stream: Before After Mean StdDev Mean StdDev Confidence Change Audio decode 1598.2 47.4 1529.2 25.4 100.0% +4.5% vector_fmul_window 244.0 22.1 188.9 22.3 100.0% +29.2% Signed-off-by: Martin Storsjö <martin@martin.st>
* | avutil/opt: Support general expressions involving AVOption constants in ↵Michael Niedermayer2014-07-21
| | | | | | | | | | | | set_string_number() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: move QP2LAMBDA constant to evalMichael Niedermayer2014-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: remove dead code from set_string_number()Michael Niedermayer2014-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt.c: fix bug when parsing optionMuhammad Faiz2014-07-21
| | | | | | | | | | | | | | | | | | | | | | fix these strange behavior: -af flanger=delay=10 [OK] -af flanger=delay=1e1 [OK] -af flanger=delay=1e+1 [Error] -af flanger=delay=0.1 [OK] -af flanger=delay=1e-1 [Error] Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil: document side effects of macrosChristophe Gisquet2014-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/eval: add clip functionStefano Sabatini2014-07-17
| |