- 19 May, 2014 13 commits
-
-
Martin Storsjö authored
This fixes compilation with MSVC. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Vittorio Giovara authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Vittorio Giovara authored
Add AV_PKT_DATA_DISPLAYMATRIX and AV_FRAME_DATA_DISPLAYMATRIX as stream and frame side data (respectively) to describe a display transformation matrix for linear transformation operations on the decoded video. Add functions to easily extract a rotation angle from a matrix and conversely to setup a matrix for a given rotation angle. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
This also handles side data properly.
-
Anton Khirnov authored
Side data count is incremented by by calling av_packet_new_side_data() in the following loop, setting it explicitly results in the resulting value being twice what it should be. CC: libav-stable@libav.org
-
Anton Khirnov authored
-
Anton Khirnov authored
All encoders should output proper timestamps now.
-
Anton Khirnov authored
Use OutputStream.last_mux_dts as an approximation of 'current' output time instead.
-
Anton Khirnov authored
-
Mickaël Raulet authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Mickaël Raulet authored
Process 4 pixels at once. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Mickaël Raulet authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 18 May, 2014 17 commits
-
-
Anton Khirnov authored
This mirrors the demuxer behaviour and avoids accessing AVCodecContext.codec, which should not be done in muxers.
-
Anton Khirnov authored
-
Anton Khirnov authored
Also, return a proper error code.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It is not supposed to be set from outside of libavcodec. Set average framerate instead.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Do not call an AVCodecContext 'stream', that is highly confusing. Also, add a local variable for the current AVStream in the loop over all streams.
-
Anton Khirnov authored
Do not leave a non-zero extradata_size set on failure
-
Anton Khirnov authored
coded_frame is not meant to be changed from outside of lavc, and is not used for decoding. Set AVCodecContext.field_order instead.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Pad it with the required amount of zeros, check for malloc failure.
-
Anton Khirnov authored
Right now, the caller has to manually manage some allocated AVCodecContext fields, like extradata or subtitle_header. This is fragile and prone to leaks, especially if we want to add more such fields in the future. The only reason for this behaviour is so that the AVStream codec context can be reused for decoding. Such reuse is discouraged anyway, so this commit is the first step to deprecating it.
-
Anton Khirnov authored
This function should not modify any global state, so there should be no reason for any locking.
-
- 17 May, 2014 1 commit
-
-
nu774 authored
Fix incorrect wSamplesPerBlock(=0) written for ADPCM_IMA_WAV Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 16 May, 2014 4 commits
-
-
Martin Storsjö authored
Most HLS implementation only support these codecs. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Katerina Barone-Adesi authored
Clang Undefined Behaviour Sanitizer seems to make non-constant constant expressions, making the compilation fail when they are used within inline assembly if no optimization is requested. Add -O1 to the cflags to hide the misbehaviour. Bug-Id: 683
-
Hendrik Leppkes authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
This seems to be needed on some 32bit arches.
-
- 15 May, 2014 5 commits
-
-
Janne Grunau authored
Opus celt decoding 11% faster and the iMDCT over 2.5 times faster on Apple's A7.
-
Tristan Matthews authored
-
Janne Grunau authored
avcodec might depend on avresample and with --as-needed required symbols might be get removed if avresample is linked before avcodec. Fixes link failures of avprobe and avplay on aarch64 with --enable-neon-clobber-test.
-
Anton Khirnov authored
-
Anton Khirnov authored
If a non-NULL codec was passed to avcodec_alloc_context3(), private data will be already allocated in dest.
-