Timothy Gu
59ebf32bca
huffyuvencdsp: Undefine "i" macro after each use
2016-02-07 09:19:17 -08:00
Timothy Gu
32fed702b8
libvpxenc: Allow setting tune parameter
2016-02-07 09:12:46 -08:00
Timothy Gu
671761d713
diracdec: Pass DWTPlane to dwt init
2016-02-07 09:09:13 -08:00
Timothy Gu
e04912c0b6
diracdec: Split DWTPlane struct from Plane
2016-02-07 09:09:13 -08:00
Timothy Gu
58ded09bd1
dirac_dwt: Rename init2 to init
...
The functions are all private.
2016-02-07 09:09:13 -08:00
Timothy Gu
6cdde20beb
dirac_dwt: Don't pass information in context as arguments
2016-02-07 09:09:13 -08:00
Timothy Gu
9fd6ea933f
dirac_dwt: Make x86 files/functions names consistent
2016-02-05 19:30:23 -08:00
Timothy Gu
17ab8f7e68
diracdsp: Make x86 files/functions names consistent
2016-02-05 19:29:43 -08:00
Timothy Gu
0ab25dac2f
cinepakenc: Stop using AVPicture
2016-02-02 18:06:13 -08:00
Timothy Gu
13b8ba8c9d
xv: Remove AVPicture usage
2016-02-02 18:06:13 -08:00
Timothy Gu
228eb6708b
sdl: Remove AVPicture usage
2016-02-02 18:06:13 -08:00
Timothy Gu
dd57b316c1
diracdsp_mmx: Fix some more indentations
2016-02-01 20:47:56 -08:00
Timothy Gu
f5e2b8de55
diracdsp_mmx: Fix indentation
2016-02-01 20:41:33 -08:00
Timothy Gu
838abfc1d7
x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format
2016-02-01 17:01:11 -08:00
Timothy Gu
80075b0149
Changelog: add entry on wtvdec performance improvement
2016-01-31 15:52:34 -08:00
Timothy Gu
e5a6dcac47
wtvdec: Removed unused variable
2016-01-31 15:52:23 -08:00
Timothy Gu
180f9a0958
all: Make header guard names consistent
2016-01-31 15:44:11 -08:00
Timothy Gu
014e4e4499
vf_phase: Reduce the scope of several variables
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
2016-01-31 15:34:09 -08:00
Timothy Gu
9ba54c1b82
avcodec: Remove libaacplus
...
TODO: bump minor
It's inferior in quality to fdk-aac and has an arguably more problematic
license.
As early as 2012, a HydrogenAudio user reported:
> It has however one huge advantage: much better quality at low bitrates than
> faac and libaacplus.
(https://hydrogenaud.io/index.php?PHPSESSID=ckiq394pdglka0kj2fin6ij8t7&topic=95989.msg804633#msg804633 )
I myself have made a few spectrograms for a comparison of the two
encoders as well. The FDK output is consistently better than the
libaacplus one, in all bitrates I tested.
libaacplus license is 3GPP + LGPLv2. 3GPP copyright notice is completely
proprietory, as follows:
> No part may be reproduced except as authorized by written permission.
>
> The copyright and the foregoing restriction extend to reproduction in
> all media.
>
> © 2008, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC).
>
> All rights reserved.
(The latest 26410-d00 zip from 3GPP has the same notice, but the copyright
year is changed to 2015)
The copyright part of the FDK AAC license (section 2) is a copyleft
license that permits redistribution under certain conditions (and
therefore the LGPL + libfdk-aac combination is not prohibited by
configure):
> Redistribution and use in source and binary forms, with or without
> modification, are permitted without payment of copyright license fees
> provided that you satisfy the following conditions:
>
> You must retain the complete text of this software license in
> redistributions of the FDK AAC Codec or your modifications thereto in
> source code form.
>
> You must retain the complete text of this software license in the
> documentation and/or other materials provided with redistributions of
> the FDK AAC Codec or your modifications thereto in binary form.
>
> You must make available free of charge copies of the complete source
> code of the FDK AAC Codec and your modifications thereto to recipients
> of copies in binary form.
>
> The name of Fraunhofer may not be used to endorse or promote products
> derived from this library without prior written permission.
>
> You may not charge copyright license fees for anyone to use, copy or
> distribute the FDK AAC Codec software or your modifications thereto.
>
> Your modified versions of the FDK AAC Codec must carry prominent
> notices stating that you changed the software and the date of any
> change. For modified versions of the FDK AAC Codec, the term
> "Fraunhofer FDK AAC Codec Library for Android" must be replaced by the
> term "Third-Party Modified Version of the Fraunhofer FDK AAC Codec
> Library for Android."
2016-01-29 17:14:37 -08:00
Timothy Gu
e74378aa8c
amrwbdec_mips: Add missing ff_ prefix
2016-01-28 19:49:51 -08:00
Timothy Gu
44304ae322
all: Add missing header guards
2016-01-28 19:49:48 -08:00
Timothy Gu
ce36cb08ed
Revert "decklink: Header cleanup"
...
This reverts commit 61fb70c386 .
Reported in #5183 to break the build. Further investigation needed.
2016-01-24 12:42:39 -08:00
Timothy Gu
794b015035
Changelog: Add entry on libquvi being removed
2016-01-24 09:45:11 -08:00
Timothy Gu
fe71fde246
configure: Maintain alphabetical order of components
...
This is not "pure" alphabetical order since some components are
intentionally kept together.
2016-01-24 09:43:48 -08:00
Timothy Gu
61fb70c386
decklink: Header cleanup
...
This commit cleans up the decklink files' header usage so that they pass
checkheaders.
2016-01-24 07:31:16 -08:00
Timothy Gu
bd4d192081
common.mak: Use CCFLAGS for assembly generation as well
...
CCFLAGS is equivalent to CPPFLAGS + CFLAGS, and it is already being used
by other make rules like %.i and %.o. Simplifies common.mak.
2016-01-24 07:29:18 -08:00
Timothy Gu
af54a36fc4
avdevice: Mark decklink_common.h as unconditional SKIPHEADER
...
It is a C++ file, incompatible with the checkheaders infrastructure.
2016-01-24 07:28:18 -08:00
Timothy Gu
d64d6edfc7
Correct two build/built typos
...
Found-by: Leo Izen <leo.izen@gmail.com > as thebombzen on IRC
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2016-01-11 20:53:11 -08:00
Timothy Gu
53d6bf6627
avf_showspectrum: Silence "deprecated pixel format" warning
2016-01-09 15:32:31 -08:00
Timothy Gu
006d3e97fc
cosmetics: Fix weird indentations
2015-12-07 10:43:43 -08:00
Timothy Gu and Michael Niedermayer
b0669e7ccf
fate/concatdec: Use -bitexact
...
Fixes FATE failures on --enable-small builds.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-12-06 14:37:40 +01:00
Timothy Gu and Michael Niedermayer
9670165cc2
ffprobe: Do not print profile names in -bitexact
...
Instead, print "unknown" if it's unknown, or their numerical values if
they are known.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-12-06 14:37:40 +01:00
Timothy Gu and Claudio Freire
9078a694f3
aaccoder_twoloop: Mark sfdiff as av_unused
...
Silences warning when building without assertions
Signed-off-by: Claudio Freire <klaussfreire@gmail.com >
2015-11-26 03:46:09 -03:00
Timothy Gu
04deaef293
fate-run: Fix indentation
2015-11-25 21:03:14 -08:00
Timothy Gu
4f99308ed3
doc/indevs: Fix German
2015-11-24 18:18:12 -08:00
Timothy Gu
798920033e
configure: Fix pseudo-German
2015-11-24 18:18:12 -08:00
Timothy Gu
15dcc506d7
vsrc_mandelbrot: Don't use German in comments
2015-11-24 17:33:07 -08:00
Timothy Gu
12a419dacb
avformat/v210: Check width and height
...
Fixes a floating point exception when width and height are not supplied
(and therefore are zero).
2015-11-23 18:34:52 -08:00
Timothy Gu
e1a214cadf
avformat/rawvideodec: Rework packet size calculation
...
Calculate packet size only once, and propagate errors earlier in the chain.
Also remove use of the deprecated av_image_get_buffer_size().
2015-11-23 18:33:48 -08:00
Timothy Gu
7c91b3021c
imgutils: Use designated initializers for AVClass
...
More readable and less breakable.
2015-11-23 18:30:25 -08:00
Timothy Gu
f2d9ae6e49
avformat/utils: Fix indentation
2015-11-20 21:33:46 -08:00
Timothy Gu
480bad7c6d
avformat: Add v210[x] demuxer
...
Allows one to do:
ffmpeg -s 1920x1080 -i blah.v210 ...
ffmpeg -s 1920x1080 -f v210x -i blah.yuv10 ...
Fixes #1869 .
Reviewed-by: James Almer <jamrial@gmail.com >
Reviewed-by: Kieran Kunhya <kierank@obe.tv >
2015-11-09 20:44:25 -08:00
Timothy Gu
3d20f8e7c0
Add pixblockdsp checkasm tests
2015-11-07 18:46:55 -08:00
Timothy Gu
4b80b895a9
pixblockdsp: x86: Condense diff_pixels_* to a shared macro
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Reviewed-by: James Almer <jamrial@gmail.com >
2015-11-07 14:31:34 -08:00
Timothy Gu
dee7440531
vf_boxblur: Templatize blur{8,16}
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
2015-11-01 18:52:50 -08:00
Timothy Gu
ee20354b29
pixblockdsp: Use AV_COPY128U for get_pixels_16_c
...
Before:
15543 decicycles in get_pixels, 4193214 runs, 1090 skips
After:
5713 decicycles in get_pixels, 8387564 runs, 1044 skips
2015-10-31 17:25:30 -07:00
Timothy Gu
b9cd3e1add
srtenc: Reindent
2015-10-26 23:24:45 -07:00
Timothy Gu
852c4b3d42
drawutils: Reindent
2015-10-26 23:24:30 -07:00
Timothy Gu
87d5509261
avfilter: Reindent
2015-10-26 23:24:18 -07:00
Timothy Gu
9b40ce5a45
avcodec: srtdec: Reindent
2015-10-26 23:23:59 -07:00
Timothy Gu
ab5f43e634
vc1dsp: Port ff_vc1_put_ver_16b_shift2_mmx to yasm
...
This function is only used within other inline asm functions, hence the
HAVE_MMX_INLINE guard. Per recent discussions, we should not worry about
the performance of inline asm-only builds.
2015-10-21 20:01:52 -07:00
Timothy Gu
98da061461
huffyuvencdsp: Cherry pick changes left out in the last commit
...
Oops.
2015-10-21 12:42:33 -07:00
Timothy Gu
5e586e1bef
huffyuvencdsp: Add ff_diff_bytes_{sse2,avx2}
...
SSE2 version 4%-35% faster than MMX depending on the width.
AVX2 version 1%-13% faster than SSE2 depending on the width.
2015-10-21 12:25:32 -07:00
Timothy Gu
6b41b44149
huffyuvencdsp: Convert ff_diff_bytes_mmx to yasm
...
Heavily based upon ff_add_bytes by Christophe Gisquet.
Reviewed-by: James Almer <jamrial@gmail.com >
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2015-10-20 18:24:54 -07:00
Timothy Gu
bc22cd244e
dnxhdenc: Optimize get_pixels_8x4_sym for 10-bit
...
This reverts commit 628e6d0164 and uses
a better fix.
Before:
4483 decicycles in get_pixels_8x4_sym, 131032 runs, 40 skips
After:
2569 decicycles in get_pixels_8x4_sym, 131054 runs, 18 skips
2015-10-20 12:36:29 -07:00
Timothy Gu
068e6cb732
huffyuvencdsp: Use intptr_t for width
...
It is done this way in huffyuvdsp as well.
2015-10-19 16:57:33 -07:00
Timothy Gu
a079cbf458
x86: vc1dsp_mmx: Move yasm initiation steps to vc1dsp_init
...
That's where all yasm initiation steps are. Also removes the overlap
between the two files.
2015-10-19 16:52:52 -07:00
Timothy Gu
607f820ec7
x86: fpel: Remove erroneous ff_put_pixels8_mmxext prototype
...
This function does not exist.
2015-10-19 16:52:37 -07:00
Timothy Gu
cb6f1f8bf9
x86: fpel: Move prototypes for 4-px block functions
2015-10-19 16:52:33 -07:00
Timothy Gu
ed53c14a3c
chromakey: Use the pixel descriptor API for chroma subsampling info
2015-10-17 07:43:23 -07:00
Timothy Gu
801eca1372
opencl: Force the use of 1.2 APIs
...
Silences warnings regarding `clCreateCommandQueue` being deprecated.
Only a very limited number of products support 2.0. Since the
replacement API (`clCreateCommandQueueWithProperties`) is only available
in 2.0, we should not update it just yet.
2015-10-17 01:16:50 -07:00
Timothy Gu
17c68933f4
opencl: Use "opencl" as log context name
...
All other classes use lowercase names.
2015-10-17 01:16:50 -07:00
Timothy Gu
893a648182
opencl: Print compilation log
...
Useful when debugging.
2015-10-17 01:16:50 -07:00
Timothy Gu
d2a1029724
opencl: Print error string when compilation fails
2015-10-17 01:16:50 -07:00
Timothy Gu
d36eac698f
Revert "avformat/format: silence -Wdiscarded-qualifiers"
...
This reverts commit 27cbe4588a .
See
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179002.html
Requested-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Timothy Gu <timothygu99@gmail.com >
2015-09-16 19:53:13 -07:00
Timothy Gu
712235dd8f
configure: Print large lists in more columns if the screen size allows
...
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
Reviewed-by: Michael Niedermayer <michaelni@gmx.at >
2015-09-16 16:22:24 -07:00
Timothy Gu
ca00dda216
aaccoder_mips: Fix indentation
2015-09-14 08:54:44 -07:00
Timothy Gu
617d53f4c7
configure: Reenable colorized warnings and check for tput's existence
...
Untested.
2015-09-07 20:41:38 -07:00
Timothy Gu
da0e76955a
ffmpeg_opt: Add -hwaccels option that lists all supported hwaccels
2015-08-26 18:46:20 -07:00
Timothy Gu and Luca Barbato
c23999be13
avconv_opt: Add an option that lists all supported hwaccels
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-08-26 05:18:43 +02:00
Timothy Gu and Luca Barbato
629d4c5b4d
avconv_opt: Add missing comma
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-08-26 05:03:14 +02:00
Timothy Gu
68a9c8ac77
swscale: Silence an unused variable warning
...
Also remove a pair of extraneous ifdeffery.
2015-08-25 17:40:06 -07:00
Timothy Gu
b144008c1b
ffmpeg_opt: Add missing comma
2015-08-25 16:49:51 -07:00
Timothy Gu
0c6a92a447
matroskaenc: Fix indentation
...
Found-by: Hendrik Leppkes <h.leppkes@gmail.com >
2015-08-25 16:03:49 -07:00
Timothy Gu
5f1c37aefb
avcodec: Fix make checkheaders
2015-08-22 10:14:17 -07:00
Timothy Gu
c5d9e9b354
doxygen: Remove lavu_internal group
...
There is no use in an internal group for a public API documentation.
2015-08-22 10:07:05 -07:00
Timothy Gu
5dee7a32d7
git-howto: Various copy edits
2015-08-22 09:16:20 -07:00
Timothy Gu
f0af25ae11
ffv1: Add missing ff_ prefixes
2015-08-22 08:36:20 -07:00
Timothy Gu
ee4cc80653
vp9dsp: Add missing ff_ prefixes
2015-08-22 08:36:20 -07:00
Timothy Gu
e10ef3289d
aacsbr_fixed: Make fixed_{exp,log}_table static const
2015-08-22 08:36:20 -07:00
Timothy Gu
1597dba86a
aacdec_fixed: Make exp2tab static const
2015-08-22 08:36:20 -07:00
Timothy Gu
8d9fe002b3
fmtconvert: Remove float_interleave*
...
They were not public or used anywhere.
2015-08-22 08:29:10 -07:00
Timothy Gu
0aa9bbbc37
version: Fix two more typos
...
Same as cafba99b51 but applied to
lavf and lavu.
2015-08-22 08:09:03 -07:00
Timothy Gu and Rostislav Pehlivanov
e8279880dc
acenctab: Fix merge conflict
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
2015-08-22 06:16:31 +01:00
Timothy Gu and Rostislav Pehlivanov
21dd5279c3
aacenc: Add missing ff_ prefixes
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
2015-08-22 06:11:23 +01:00
Timothy Gu and Rostislav Pehlivanov
d4401a9e0d
aacenc: Harmonize multiple inclusion guards
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
2015-08-22 04:56:36 +01:00
Timothy Gu and Rostislav Pehlivanov
15ebc7787c
aacenctab: Add missing ff_ prefixes
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
2015-08-22 04:30:15 +01:00
Timothy Gu and Rostislav Pehlivanov
5cbcf2b24d
aacenctab: Use FF_ARRAY_ELEMS
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
2015-08-22 04:07:09 +01:00
Timothy Gu and Luca Barbato
dd4d709be7
x86inc: Clear __SECT__
...
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: Luca Barbato <lu_zero@gentoo.org >
2015-05-28 11:40:15 +02:00
Timothy Gu and Michael Niedermayer
7206b94fb8
network: Move variable declaration under an #if
...
Avoids an unused variable warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-05-28 03:06:05 +02:00
Timothy Gu and Michael Niedermayer
204b228a1d
x86inc: Clear __SECT__
...
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-28 00:08:37 +02:00
Timothy Gu and Michael Niedermayer
2b388e6dde
Revert "Move struc FFTContext below SECTION_RODATA"
...
This reverts commit 599888a480 .
The commit does not silence the warning on ELF-based systems, and will be
fixed in the subsequent commit.
Conflicts:
libavcodec/x86/fft_mmx.asm
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-05-28 00:08:32 +02:00
Timothy Gu and Luca Barbato
732dd65868
doc: Add $branch to FATE config template
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-05-16 17:06:35 +02:00
Timothy Gu and Michael Niedermayer
eaeb632198
nutdec: Remove unused label
...
Added in 361702660d . Modified version that
doesn't use this label merged in 55231323b0 ,
thus obsoleting this label.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-05-14 02:08:12 +02:00
Timothy Gu and Luca Barbato
358b7ec309
fate: Fix test name for pixfmts tests
...
The last pixel format gets leaked as `$test` further down the pipeline.
See for example https://fate.libav.org/x86_32-netbsd-clang-no-inline-asm/20150420020104
Note the odd test names like “yuvj444p.”
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-04-23 12:47:00 +02:00
Timothy Gu and Luca Barbato
3b1e35d46d
fate: Omit the results if the test passed
...
The FATE server does not report this information anyway and omitting
it makes the successful run send much less data.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-04-20 12:41:34 +02:00
Timothy Gu and Michael Niedermayer
7ad27f1221
fate: Include branch information in the payload header
...
The server is properly equiped not to choke on that now.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-04-12 18:02:23 +02:00
Timothy Gu and Michael Niedermayer
a202fe00ab
fate: Add atrac3+ tests
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-04-12 00:15:58 +02:00
Timothy Gu and Michael Niedermayer
3d6069d01c
Use @verbatim instead of @example for ASCII arts
...
Partially fixes #3869 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-04-11 01:14:51 +02:00
Timothy Gu and Michael Niedermayer
5faca08caf
texi2pod: Handle @verbatim
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-04-11 01:00:07 +02:00