Diego Biurrun
1a094af638
fft: Split MDCT bits off from FFT
9 years ago
Diego Biurrun
4c297249ac
rdft: arm: Split RDFT initialization into a separate file
9 years ago
Diego Biurrun
97aec6e75e
fft: arm: Drop unnecessary #include, add missing ones
9 years ago
Diego Biurrun
73ff983e8d
fft: x86: cosmetics: Drop silly comments, add comment, whitespace
9 years ago
Luca Barbato
ce9d7da765
qsv: Move down the implementation query
...
The plugin loaded may not match the general implementation capability
wise.
9 years ago
Anton Khirnov
dbb43b8b83
avpacket: properly reset data/size in av_packet_move_ref()
...
It currently just calls av_init_packet(), which does not touch those
fields.
9 years ago
Anton Khirnov
c80344d010
mpegvideo_enc: use avcodec_free_context() instead of av_free()
9 years ago
Vittorio Giovara
e66fa35392
vc1dec: Check group allocations separatedly
...
This avoids accessing NULL pointers in case of error.
9 years ago
Vittorio Giovara
01f0e6a0c9
vc1dec: Fix leak on error for array allocations
...
The deinit function in the 'error' section will correctly free
everything.
9 years ago
Vittorio Giovara
f91d94bdfc
vc1dec: Properly call deinit function on error
9 years ago
Vittorio Giovara
35b1cd343c
vc1dec: Drop commented out cruft
9 years ago
Diego Biurrun
d6e49096c0
idct: Only build prores IDCT if ProRes decoder is enabled
9 years ago
Anton Khirnov
3c53627ac1
qsvdec: store the sync point in heap memory
...
The reasoning is the same as for the corresponding qsvenc patch.
9 years ago
Maxym Dmytrychenko
a1335149fd
qsvenc: store the sync point in heap memory
...
The QSV runtime expects the sync point address passed to
MFXVideoENCODE_EncodeFrameAsync() to be valid until
MFXVideoCORE_SyncOperation().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
a8068346e4
lavc: add a variant of av_get_audio_frame_duration working with AVCodecParameters
9 years ago
Anton Khirnov
998e1b8f52
lavc: add codec parameters API
...
This API is intended to allow passing around codec parameters without
using full AVCodecContext (which also contains codec options and
encoder/decoder state).
9 years ago
Diego Biurrun
257b30af8e
x86: hevc: Fix linking with both yasm and optimizations disabled
...
Some optimized functions reference optimized symbols, so the functions
must be explicitly disabled when those symbols are unavailable.
9 years ago
Marton Balint
5e555f9300
mpeg12enc: always write closed gops for intra only outputs
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Michael Niedermayer
f435d081b0
h264: Add an AVClass pointer to H264Context
...
Sample-Id: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv
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>
9 years ago
Vittorio Giovara
0837d1dfe2
libx264: Fix noise_reduction option assignment
...
First check the context, then check internal option. Drop the ! typo.
Introduced in 60f0fde309
.
9 years ago
Diego Biurrun
d24bd96bdd
build: Disentangle VC-1 decoder and parser
9 years ago
Diego Biurrun
15a24614ae
build: Add vc1dsp component for more fine-grained dependencies
9 years ago
Diego Biurrun
f9fbd47467
msmpeg4data: Move WMV2 data tables to their own file
9 years ago
Diego Biurrun
79866803ff
msmpeg4data: K&R formatting cosmetics
9 years ago
Diego Biurrun
624e235502
build: Introduce iso_media component
9 years ago
Diego Biurrun
82454c3a82
build: Let the WTV demuxer select the MPEG-TS demuxer
...
The WTV demuxer depends on large parts of the MPEG-TS demuxer internals
anyway and fails to build without it.
9 years ago
Diego Biurrun
7403be9b1b
build: Fix dependencies for components relying on H.263 data tables
9 years ago
Diego Biurrun
e453129321
build: Add missing dependencies for eatqi decoder
9 years ago
Vittorio Giovara
71eaefa64a
build: Add missing celp_math dependency for G723_1 encoder and decoder
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
3d8025d602
profiles: Add missing #endif comment
9 years ago
Diego Biurrun
6b96d2dcda
cosmetics: Drop particularly redundant silly comments
9 years ago
Diego Biurrun
29c2d06d67
cosmetics: Drop empty comment lines
9 years ago
Anton Khirnov
9c0bc1e980
qsv: add a missing #include
...
Needed for enum AVCodecID
9 years ago
Diego Biurrun
47570dbde8
fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefs
...
Also fix #endif comments in the FFT init code.
9 years ago
Anton Khirnov
871d0930d4
nvenc: support CUDA frames as input
9 years ago
Anton Khirnov
7b3214d005
lavc: add a field for passing AVHWFramesContext to encoders
9 years ago
Anton Khirnov
c51b2c79a7
Allow linking to CUDA dynamically instead of dlopen()ing it at runtime
9 years ago
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>
9 years ago
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>
9 years ago
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>
9 years ago
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.
9 years ago
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.
9 years ago
Anton Khirnov
28259c13db
nvenc: factor out the pixel format list
9 years ago
Vittorio Giovara
f7d77b9a5d
eatqi: Remove MpegEncContext dependency
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
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>
9 years ago
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.
9 years ago
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>
9 years ago
Luca Barbato
99214d42a9
dnxhd: Make the encoder message friendlier
9 years ago
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>
9 years ago
Luca Barbato
e280fe1329
v210: Use separate sample_factors
...
The 10bit and the 8bit functions can now be implemented to process
a different amount of samples.
And while at it simplify a little the code.
9 years ago