Anton Khirnov
0cef06df07
checkasm: add HEVC MC tests
2015-12-05 21:11:21 +01:00
Anton Khirnov
a853388d2f
hevc: change the stride of the MC buffer to be in bytes instead of elements
...
Currently, the frame stride is passed in bytes, while the MC buffer size
is in int16_t elements, This can be confusing, so pass both strides in
bytes.
2015-12-05 21:11:12 +01:00
Anton Khirnov
688417399c
hevcdsp: split the pred functions by width
...
This should allow for more efficient SIMD.
2015-12-05 21:10:41 +01:00
Anton Khirnov
818bfe7f0a
hevcdsp: split the epel functions by width
...
This should allow for more efficient SIMD.
2015-12-05 21:09:57 +01:00
Anton Khirnov
1f821750f0
hevcdsp: split the qpel functions by width instead of by the subpixel fraction
...
This should allow for more efficient SIMD.
Keep the C versions as they are now, to allow the compiler to inline the
interpolation coefficients.
2015-12-05 21:08:04 +01:00
Luca Barbato
6788baebb3
log: Use a do {} while (0) for dlog
...
Avoid the warning `-Wempty-body`.
2015-12-05 13:47:09 +01:00
Luca Barbato
7d36474d19
imgconvert: Re-enable the deprecation warnings
...
The end-marked was typoed in
f7edcac040
2015-12-05 13:31:38 +01:00
Luca Barbato
f7edcac040
avpicture: Suppress warning from deprecated code
2015-12-05 13:12:27 +01:00
Luca Barbato
b805482b1f
aac: Provide more information on the failure message
...
Bug-Id: 761
2015-12-05 13:11:36 +01:00
Luca Barbato
c5eb279e24
g723: Add missing header
...
Unbreak make check.
2015-12-05 12:12:26 +01:00
Martin Storsjö
1077d8c845
configure: Add -framework CoreVideo when building the avfoundation indev
...
This fixes builds with --disable-vda, which previously failed with
undefined references to CVImageBuffer* and CVPixelBuffer* functions.
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-12-03 14:28:12 +02:00
Kylie McClain
bf12a81cc6
configure: Replace pr
since it is not provided by busybox
...
While pr is a valid POSIX.1 command, its usage in configure
is a little borderline and is possible to replace it with
printf.
Bug-Id: 913
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-12-02 23:49:10 +01:00
Luca Barbato
5f3a081b42
avi: Spin out the logic to position to the next non-interleaved stream
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-12-02 23:49:10 +01:00
Luca Barbato
cb49bb10ca
build: Move -Wcast-qual to the extra_warnings
...
It amounts to about 1/2 of the warnings generated and does not help
spotting anything useful.
2015-12-02 23:49:10 +01:00
Michael Niedermayer
0fc61c6ab6
avi: Validate the stream-id for DV as well
...
Avoid false positives while syncing.
Bug-Id: ffmpeg/4086
Bug-Id: 879
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-12-02 23:49:10 +01:00
Luca Barbato
d017ed878a
avi: Use the correct data type
...
avio_tell returns an int64_t.
2015-12-02 23:49:10 +01:00
Vittorio Giovara
7f57ea143c
vsrc_color: Drop unneeded variable
...
Bug-Id: CID 1339818
2015-11-30 10:58:46 -05:00
Mohamed Naufal
ca5f386e75
lavf: G.723.1 muxer
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-30 10:58:46 -05:00
Mohamed Naufal
f023d57d35
lavc: G.723.1 encoder
...
Additional improvements by Michael Niedermayer <michaelni@gmx.at>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-30 10:58:46 -05:00
Vittorio Giovara
165cc6fb9d
g723_1: Move sharable functions to a separate file
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-30 10:58:45 -05:00
Vittorio Giovara
aac996cc01
g723_1: Rename files to better reflect their purpose
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-30 10:58:45 -05:00
Michael Niedermayer
b74b88f30d
g723_1: Handle values at the ends of the table in lsp2lpc()
...
Fixes out of array reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-30 10:58:45 -05:00
Luca Barbato
a0fa6d06b8
matroska: Warn when metadata references a non-existent element
...
Avoid some confusion when the information is not present.
Bug-Id: 902
2015-11-28 17:02:15 +01:00
Luca Barbato
f7986239f4
dvenc: Validate the frame size before copying it
2015-11-28 17:02:15 +01:00
Petri Hintukainen
7139489c45
pgssubdec: fix API compability layer
...
Copy pointers to AVPicture after memory has been allocated.
Fixes NULL pointers in AVPicture after a17a766190
.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-26 10:55:36 +01:00
Luca Barbato
b0e8651a2a
doc: Amend the MSYS2 Documentation
...
Explain better which environment is discouraged and mention the
shortcuts names.
2015-11-26 10:55:35 +01:00
Alexandre Lision
4f979418c7
avfoundation: Simple capture
...
Originally based on the capture written by
Thilo Borgmann <thilo.borgmann@mail.de>.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-26 10:55:28 +01:00
Luca Barbato
9f57f134c1
configure: ObjC support
...
Assume that the default C compiler and the default ObjC compiler match
(default for OSX).
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-26 10:39:15 +01:00
Luca Barbato
0e2395293b
nut: Mark non-fatal errors as warnings
...
And make one more informative.
2015-11-25 09:01:25 +01:00
Luca Barbato
62f72b40c0
nut: Provide more information on failure
2015-11-25 09:01:25 +01:00
Luca Barbato
2c17fb61ce
rtsp: Log getaddrinfo failures
...
And forward the logging contexts when needed.
2015-11-25 09:01:25 +01:00
Luca Barbato
12b1438286
udp: Provide additional information on getaddrinfo failure
2015-11-25 09:01:25 +01:00
Luca Barbato
34af7813f7
udp: Use the logging context
2015-11-25 09:01:25 +01:00
Luca Barbato
98063bcf15
rtsp: Do not assume getnameinfo cannot fail
...
And properly report the error when it happens.
2015-11-25 09:01:25 +01:00
Michael Niedermayer
5b70fb8fee
movenc-test: Fix integer overflows
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-11-24 20:57:11 +02:00
Vittorio Giovara
fdd5c48ebd
texturedsp: Explicitly cast RGBA parameters to unsigned
...
Silences warnings when using -Wshift-overflow (GCC 6+).
Found-by: James Almer <jamrial@gmail.com>
2015-11-24 09:24:48 -05:00
Vittorio Giovara
eef38316ca
texturedspenc: Avoid using separate variables
...
Use the result directly, removing an unneeded cast.
2015-11-24 09:24:39 -05:00
Vittorio Giovara
7831fb9050
textureencdsp: cosmetics: Use normal static const for tables
2015-11-24 09:24:30 -05:00
Vittorio Giovara
99cb833fc2
sgi: Correctly propagate meaningful error values
2015-11-24 09:05:01 -05:00
Vittorio Giovara
823fa70045
fate: Rework sgi tests into a suite and add the missing ones
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-24 09:05:01 -05:00
Vittorio Giovara
4a0918cae6
sgienc: Support encoding high bit depth images with RLE
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-24 09:05:01 -05:00
Vittorio Giovara
59e3f4e598
sgienc: Use a local RLE encoding function
...
SGI RLE encoding is slighlty different than the one provided by rle
module (especially at high bit depth). The pixel count function however
does not change, so it is simply made library-public.
2015-11-24 09:05:01 -05:00
Vittorio Giovara
62cc8f4d79
sgienc: Port to bytestream2
2015-11-24 09:05:01 -05:00
Vittorio Giovara
99f40fd02f
sgienc: Do not end RLE lines with 0s
...
This is never mentioned in the specifications, and decoders work
just as fine without it. Update the fate references since the compressed
file is smaller.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-11-24 09:05:01 -05:00
James Zern
4d05e9392f
libvpxenc: remove some unused ctrl id mappings
...
VP8E_UPD_ENTROPY, VP8E_UPD_REFERENCE, VP8E_USE_REFERENCE were removed
from libvpx and the remaining values were never used here
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Zern <jzern@google.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-23 18:38:04 +01:00
Luca Barbato
6b7df14251
doc: Document better how to use MSYS2
2015-11-23 13:05:09 +01:00
Alexandra Hájková
8375dc1dd1
asfdec: handle the case when the stream index has an invalid value better
...
The demuxer returned INVALIDDATA and failed to demux the remaining data
when an invalid stream index was read, now it just skips the asf packet
for the stream with an invalid stream index and continues demuxing.
Reported-By: Hendrik Leppkes
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-23 11:42:55 +01:00
Tim Walker
c12c085be7
dcadec: Do not check for overreads in auxiliary data
...
The auxiliary data length field is not reliable,
and incorrect overread errors could be returned
for valid, real-world bitstreams.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-23 11:32:32 +01:00
Derek Buitenhuis
c8fa647811
oggparsespeex: Fix unchecked malloc
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-23 10:44:07 +01:00
Luca Barbato
afdff80081
configure: Clearly state that MSYS native builds are discouraged
...
MSYS, as per cygwin, by default uses a custom posix abstraction
in the form of a "msys2.dll". Programs build that way are harder to
distribute and use.
MSYS2 provides alternate launcher scripts that provide a MINGW
environment nearly out of box.
2015-11-21 22:18:57 +01:00