Luca Barbato
41262498ff
configure: Fix sem_timedwait probe
...
It requires pthreads.
8 years ago
Luca Barbato
44aafa3325
configure: Properly escape arguments in filter/filter_out helper functions
...
The arguments may contain '$', which gets interpreted by the shell.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Anton Khirnov
3889dfde9c
dca: Move the downmix request check outside the loop
8 years ago
Sean McGovern
2e1ab6a67d
vc1dec: raise an error if sprite picture data is missing
...
Bug-Id: 1013
CC: libav-stable@libav.org
8 years ago
Diego Biurrun
ecc5c4db2d
doc/examples/output: Cast pointer to the right (const) type
...
doc/examples/output.c:512:33: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type
8 years ago
Diego Biurrun
f25609ff06
doc/examples/filter_audio: const correctness
...
doc/examples/filter_audio.c:168:17: warning: assignment discards ‘const’ qualifier from pointer target type
8 years ago
Diego Biurrun
0fd0d4fd0a
swscale-test: const correctness
8 years ago
Aaron Levinson
8fd8f91e47
qsvenc: Make sure the interlaced encoding works
...
And reduce the vertical alignment constraint when possible to reduce the
memory usage.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Aaron Levinson
b22094d749
qsvenc: Use MFXVideoENCODE_Query() to update the parameters
...
Fill out the default/unset parameters with ones actually in use.
Matches the current MediaSDK example code.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Martin Storsjö
e00db9f78b
checkasm: hevc: Add a hevc_ prefix to the add_residual functions
...
This makes it easier to group them with the rest when running e.g.
--bench=hevc.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Luca Barbato
1731c3530b
mm: Skip unexpected audio packets
...
Bug-Id: 1046
CC: libav-stable@libav.org
8 years ago
Luca Barbato
f2c469b73f
mjpeg: Report non-3 component rgb lossless as not supported
...
Bug-Id: 1043
CC: libav-stable@libav.org
8 years ago
Luca Barbato
279e3aaa14
flv: Validate the packet size
...
Size can be negative at that point.
Bug-Id: 1041
CC: libav-stable@libav.org
8 years ago
Luca Barbato
4809781586
travis: Exclude gcc for the macOS target
...
On a normal macOS setup, 'gcc' is a symlink to clang. Therefore there is
little point in running the tests twice, with CC=gcc and CC=clang.
8 years ago
Luca Barbato
5352802da8
dca: Account for lfe when checking for the channel count
...
Bug-Id: 1037
CC: libav-stable@libav.org
8 years ago
Luca Barbato
37f573543c
swscale: Convert the check check_image_pointers helper to a macro
...
Avoid warnings about types mismatch and make the code a little simpler.
8 years ago
Luca Barbato
f56fa95cd1
swscale: Do not shift negative values directly
...
It is undefined in C as reported:
warning: shifting a negative signed value is undefined
8 years ago
Paul B Mahol
378460fef1
utvideodec: Support for gradient prediction
...
Introduced with utvideo 18.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Paul B Mahol
9227bd8ac2
utvideodec: Reuse the huffyuv add_left
...
~10% faster when simd is available.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Paul B Mahol
4f33d9d41a
utvideodec: Support ULY4 and ULH4
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Paul B Mahol
a93faf30d6
utvideodec: Support UQRA and UQRG
8 years ago
Michael Niedermayer
ac29b82ec5
swscale: Add gbrap10 output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Paul B Mahol
f6a9c20a52
swscale: Add input support for gbrap10 pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
030c8be7a2
pixfmt: Add gbrap10 pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Paul B Mahol
c523095564
utvideodec: Support UQY2
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Luca Barbato
9e4a5eb51b
avformat: Free the internal codec context at the end
...
Avoid a use after free in avformat_find_stream_info.
CC: libav-stable@libav.org
8 years ago
Luca Barbato
19c5fa9eea
golomb: Simplify get_ur_golomb_jpegls
...
The loop always consumes the bit read and the new bitstream reader
can read 0 bits just fine.
8 years ago
Ganesh Ajjanagadde
1fe858136b
utvideodec: Prevent possible signed overflow
...
Doing slice_end - slice_start is unsafe and can lead to undefined behavior
until slice_end has been properly sanitized.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Diego Biurrun
4d4d7cf9d5
fmvc: Add FATE tests
8 years ago
Paul B Mahol
95a8a03a19
Add FM Screen Capture Codec decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Alexandra Hájková
89d9869d24
hevc: Add NEON 16x16 IDCT
...
The speedup vs C code is around 6-13x.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Anton Khirnov
50a1c66cf6
ac3_parser: add a public function for parsing the data required by the demuxer
...
Make the current semi-public avpriv_ac3_parse_header() private to lavc.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Diego Biurrun
193b091890
thread: Define ff_mutex_* macros as stub functions when threads are disabled
...
Silences a bunch of "statement with no effect" warnings with threads disabled.
8 years ago
Andreas Unterweger
b200a2c8da
examples: Fixed and extended Doxygen documentation
...
Added parameter descriptions for all functions
and converted in-function comments into regular
(non-Doxygen) comments.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Vittorio Giovara
efddf2c09a
decode: Initialize ret before using it
...
libavcodec/decode.c:608:9: warning: variable 'ret' is
used uninitialized whenever 'if' condition is false
8 years ago
Vittorio Giovara
839010aca9
filtfmts-test: Mark filter as const
...
libavfilter/tests/filtfmts.c:57:18: warning:
assigning to 'AVFilter *' (aka 'struct AVFilter *') from
'const AVFilter *' (aka 'const struct AVFilter *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
8 years ago
Vittorio Giovara
f5950b8fd6
lavfi: Drop unused and empty header file
...
This header was public but deprecated on 2013-04-11 (lavfi 3.8.0).
8 years ago
Luca Barbato
d32d59bc97
matroska: Read only the data written in the scratch buffer
...
The private buffer is 20bytes but depending on the type only 12 bytes
are actually filled.
8 years ago
Sean McGovern
6ac0e78183
mpeg4videodec: raise an error if sprite_trajectory.table is NULL
...
CC: libav-stable@libav.org
Bug-Id: 1012
8 years ago
Diego Biurrun
b62ed68738
configure: Better names for functions that sanitize input
8 years ago
Diego Biurrun
604fbb3132
mov: Move code shared with CAF to a separate file
8 years ago
Mark Thompson
3d197514e6
qsvenc: Allow use of hw_device_ctx to make the internal session
8 years ago
Mark Thompson
8848ba0bd6
qsvdec: Allow use of hw_device_ctx to make the internal session
8 years ago
Mark Thompson
4936a48b1e
qsv: Add ability to create a session from a device
8 years ago
Mark Thompson
41dda86087
doc: Add VAAPI encoders
8 years ago
Mark Thompson
0fd91e4bfc
vaapi_encode: Add VP9 support
8 years ago
Mark Thompson
34e051d168
vp9: Add bsf to fix reordering in raw streams
...
Takes a raw input stream containing frames with correct timestamps but
possibly out of order and inserts additional show-existing-frame
packets to correct the ordering.
8 years ago
Ronald S. Bultje
0cf949a011
vp9: Add bsf to merge superframes
...
From ffmpeg commit 2e6636aa87
.
8 years ago
Mark Thompson
f64d1100a5
avconv: Flush output BSFs when encode reaches EOF
...
Before this, output bitstream filters would never see EOF and
therefore would not be able to flush any delayed packets.
8 years ago
Mark Thompson
9aa251c98c
vf_deinterlace_vaapi: Add support for field rate output
...
In order to work correctly with the i965 driver, this also fixes the
direction of forward/backward references - forward references are
intended to be those from the past to the current frame, not from the
current frame to the future.
8 years ago