Diego Biurrun
2870972e9d
build: Fix mpegvideo component dependencies
2016-02-18 15:35:45 +01:00
Diego Biurrun
7403be9b1b
build: Fix dependencies for components relying on H.263 data tables
2016-02-18 15:35:45 +01:00
Diego Biurrun
e453129321
build: Add missing dependencies for eatqi decoder
2016-02-18 15:35:44 +01:00
Vittorio Giovara
71eaefa64a
build: Add missing celp_math dependency for G723_1 encoder and decoder
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-02-18 15:35:44 +01:00
Diego Biurrun
7c82d31cbe
checkasm: Use standard multiple inclusion guards
2016-02-18 15:35:44 +01:00
Diego Biurrun
3d8025d602
profiles: Add missing #endif comment
2016-02-18 15:35:44 +01:00
Diego Biurrun
6b96d2dcda
cosmetics: Drop particularly redundant silly comments
2016-02-18 15:35:43 +01:00
Diego Biurrun
29c2d06d67
cosmetics: Drop empty comment lines
2016-02-18 15:35:30 +01:00
Anton Khirnov
d847a40888
hwcontext_cuda/vdpau: add to skipheaders
2016-02-18 08:47:39 +01:00
Anton Khirnov
9c0bc1e980
qsv: add a missing #include
...
Needed for enum AVCodecID
2016-02-18 08:47:33 +01:00
Vittorio Giovara
b92962436b
mov: Fix the format specifier type for size
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-16 18:25:47 +01:00
Luca Barbato
2edc718723
configure: Relax the implication of --enable for components
...
Do not error out if some subcomponents cannot be enabled.
Reported-By: RT|AO
2016-02-15 17:57:43 +01:00
Diego Biurrun
47570dbde8
fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefs
...
Also fix #endif comments in the FFT init code.
2016-02-15 11:58:04 +01:00
Anton Khirnov
c15f6098b1
avconv: pass the hw context from filters to the encoder
2016-02-14 22:33:26 +01:00
Anton Khirnov
871d0930d4
nvenc: support CUDA frames as input
2016-02-14 22:31:47 +01:00
Anton Khirnov
7b3214d005
lavc: add a field for passing AVHWFramesContext to encoders
2016-02-14 22:29:52 +01:00
Anton Khirnov
21f7cd4acd
lavfi: add a filter for uploading normal frames to CUDA
2016-02-14 22:25:38 +01:00
Anton Khirnov
1bf3413461
avconv: use the new buffersrc parameters API
...
The timebase change in the zmbv-8bit test is due to the fact that
previously the timebase string was evaluated as floating point, then
converted to a rational. After this commit, the timebase is passed
directly as is.
2016-02-14 22:22:41 +01:00
Anton Khirnov
b3dd30db0b
lavfi: pass the hw frames context through the filter chain
2016-02-14 22:21:00 +01:00
Anton Khirnov
ad884d1002
hwcontext: add a CUDA implementation
2016-02-14 22:08:33 +01:00
Anton Khirnov
7bc780cd44
pixfmt: add a CUDA hwaccelled format
2016-02-14 22:08:22 +01:00
Anton Khirnov
c51b2c79a7
Allow linking to CUDA dynamically instead of dlopen()ing it at runtime
2016-02-14 22:08:13 +01:00
Anton Khirnov
bd49be885e
avconv_vdpau: use the hwcontext API to simplify code
2016-02-14 22:07:44 +01:00
Anton Khirnov
a001ce31bc
hwcontext: add a VDPAU implementation
2016-02-14 22:06:04 +01:00
Anton Khirnov
89923e418b
lavu: add a framework for handling hwaccel frames
2016-02-14 21:36:59 +01:00
Anton Khirnov
721a4efc05
buffer: add support for pools using caller data in allocation
...
This should allow using more complex allocators than simple malloc
wrappers.
2016-02-14 21:24:39 +01:00
Anton Khirnov
c084d6d2cf
buffersrc: default SAR to 0 (unknown) rather than 1
...
It makes more sense to not claim anything about the SAR if we don't know
anything. No changes in the FATE tests, since this is what avconv ends
up doing anyway.
2016-02-14 21:24:24 +01:00
Luca Barbato
a2bb771a3c
configure: Restore the --enable-everything behaviour
...
Make sure that the minimum set of dependencies needed by the tools
and the examples are enabled.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-14 11:44:57 +01:00
Luca Barbato
5e1beec944
configure: Print which libraries will be built
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-14 11:44:57 +01:00
Luca Barbato
21c750f240
configure: Use `require` for the non-component options
...
And make sure to enable all the components needed
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-14 11:44:57 +01:00
Luca Barbato
5eb562831b
mov: Use the correct type for size
...
An AVIO offset is int64_t.
Bug-Id: 921
2016-02-14 11:44:38 +01:00
Philip Langdale
8d34a2f803
vdpau: Support for VDPAU accelerated HEVC decoding
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-13 14:42:38 +01:00
Philip Langdale
8958c5c64d
hevc: Track long and short term RPS size for VDPAU
...
Today, we track the short term RPS size for DXVA, but only if the
SliceHeader RPS is being used. Otherwise it's left uninitialized.
NVIDIA's VDPAU implementation requires that the size be accurately
tracked even if an SPS RPS is being used. In this case, it's really
counting the size of the RPS idx information, but you end up with
mangled output if the value is not accurate.
VDPAU also needs the size of the long term RPS.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-13 14:24:37 +01:00
Hendrik Leppkes
8c399bd5ce
dxva2_hevc: properly signal the num_delta_pocs from the SPS RPS
...
ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS,
and not the final computed value from the slice header RPS, as this calculation
is done internally by the driver again.
Sample-Id: http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2016-02-13 14:19:54 +01:00
Luca Barbato
e579d8b29c
lavf: Dump the cpb side data information
2016-02-13 14:03:52 +01:00
Anton Khirnov
d005ccc630
nvenc: rename a misnamed function
...
This function copies the encoded bistream into the caller's packet,
calling it 'get_frame' is misleading.
2016-02-12 10:20:11 +01:00
Anton Khirnov
118beda355
nvenc: merge input and output surface structs
...
An input frame always corresponds to exactly one output packet, so there
is no point in complicating the situation by managing them separately.
2016-02-12 10:19:40 +01:00
Anton Khirnov
28259c13db
nvenc: factor out the pixel format list
2016-02-12 10:19:26 +01:00
Anton Khirnov
fb25d99b0a
buffersrc: do not discard the error from ff_filter_frame()
2016-02-12 10:18:13 +01:00
Vittorio Giovara
f7d77b9a5d
eatqi: Remove MpegEncContext dependency
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-02-09 20:04:59 +01:00
Vittorio Giovara
7c25ffe070
mpeg1: Make intra-block decoding independent of MpegEncContext
...
This allows untangling the eatqi decoder from the MPEG-1 decoder.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-02-09 20:04:59 +01:00
Diego Biurrun
249827f736
mpeg12dec: Refactor mpeg1_decode_block_intra()
...
Reduce variable scope, improve variable name, drop pointless ff_dlog(),
merge variable declaration and initialization, whitespace cosmetics.
2016-02-09 20:04:58 +01:00
Vittorio Giovara
cdbaa43604
mpeg12dec: Always close reader on error
...
A reader left open may lead to hangs.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-02-09 20:04:58 +01:00
Thomas Lee
7a00653be6
tiny_psnr: Support large files
...
If an input file is bigger than 2GB (assume sizeof(int) == 4)),
size0/size1 will overflow, making stddev and PSNR invalid.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-09 20:03:34 +01:00
Luca Barbato
99214d42a9
dnxhd: Make the encoder message friendlier
2016-02-09 20:02:31 +01:00
Diego Biurrun
34c9eba982
configure: Refactor toolchain flag setting
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-09 20:02:31 +01:00
Anton Khirnov
dd53af4b37
avplay: drop support for building without lavfi
...
lavfi has been considered to be stable for a while now, so it is enabled
in most configurations. Supporting avplay without lavfi requires a lot
of nontrivial ifdef mess for no good reason.
2016-02-09 11:31:24 +01:00
Michael Niedermayer
5781bfae0c
flacenc: Load default prediction_order parameters if none is selected
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-02-08 15:00:29 -05:00
Andreas Cadhalpun
2e6ba1993e
asfdec: make sure packet_size is non-zero before seeking
...
This fixes infinite loops due to seeking back.
Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-07 03:12:33 +01:00
Andreas Cadhalpun
bf50607ab7
asfdec: check for too small size in asf_read_unknown
...
This fixes infinite loops due to seeking back.
Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-02-07 03:12:33 +01:00