- 28 Jul, 2015 1 commit
-
-
Martin Storsjö authored
If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause errors (which technically are bugs in the headers). Raising this value here shouldn't hurt; the alternative would be to not touch it at all if WINAPI_FAMILY is set to phone/app, or to force setting it to 0x0602 in configure if unset (for phone/app). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 27 Jul, 2015 22 commits
-
-
John Högberg authored
When skip_frame is set to _NONKEY the decoder skips everything except intra slices, which breaks frames that consist of an intra field together with any other field type; half the frame becomes garbage. This patch fixes the issue by letting non-intra slices through if they're part of a keyframe. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Alexandra Hájková authored
its size is invalid in this case Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
It got copypasted from the h264 decoder, but it does not apply to mpeg2.
-
Vittorio Giovara authored
Missing from the push of 3ee21785.
-
Vittorio Giovara authored
Missing from the push of 3ee21785.
-
Tom Butterworth authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Tom Butterworth authored
This change will reject frames with a texture type which does not match the stream description. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
This option is extremely codec specific and only a few codecs employ it. Move it to codec private options instead: mpegenc family supports only 3 values, xavs and x264 use 5, and xvid has a different metric entirely. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
-
Vittorio Giovara authored
For audio encoders, delay has no effect, use the appropriate one, initial_padding (see 2df0c32e).
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This macro identifies whether VFPv3 is available; MSVC defaults to hardfloat (except for older MSVC versions for CE, targeting ARMv4). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Alexandra Hájková authored
if the error correction flag is not set, a packet starts with payload Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Henrik Gramner authored
Makes it a bit more clear where each test belongs. Suggested by Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
- 26 Jul, 2015 5 commits
-
-
Martin Storsjö authored
This isn't necessary any longer on MSVC 2013 Update 4. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This isn't necessary on MSVC 2015 any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is only necessary on MSVC 2010/2012 (and possibly on some ICL versions). This both avoids an extra hack on newer MSVC versions, and better documents what the extra compiler option is used for. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Steve Lhomme authored
The struct definitions in dxva.h, which are necessary in order to actually use d3d11va, are hidden when WINAPI_FAMILY targets Windows Phone or WindowsRT. Building with WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP is disallowed when targeting ARM. ("Compiling Desktop applications for the ARM platform is not supported.") So we set _CRT_BUILD_DESKTOP_APP to 0 to tell the runtime not to detect some issues with this mismatching. The same tweaks to detect if the API is available is done in dxva2_internal.h when compiling each DXVA2/D3D11VA decoders. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 25 Jul, 2015 7 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It will be shared with the upcoming mpeg2 and hevc decoders.
-
Anton Khirnov authored
Declare a named enum, not a variable with anonymous enum type.
-
Anton Khirnov authored
init() is called whenever format changes, so current code would leak the fifo in this case.
-
Anton Khirnov authored
This is triggerable with the HEVC decoder. It is unclear yet whether the bug is in the calling code or the MSDK, but it seems better to check for this in any case.
-
- 24 Jul, 2015 1 commit
-
-
Steve Lhomme authored
Fallback to "link" in the path if the one next to cl is not found. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 23 Jul, 2015 4 commits
-
-
Steve Lhomme authored
The -nologo- option is the inverse of -nologo, reenabling printing the "logo" version header. This is useful if the compiler actually is a wrapper that forces -nologo. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This fixes the palette on big endian, broken (or, differing from little endian) since 57214b2f. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Tom Butterworth authored
-
Tom Butterworth authored
Some uses of Snappy require uncompressing to positions within an existing buffer. Also adds a function to get the uncompressed length of Snappy data.
-