summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27276-393/+487
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27107-353/+450
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Deprecate avctx.me_methodVittorio Giovara2015-07-2714-111/+221
| | | | | | | | 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>
* wmv2enc: Check memory allocationVittorio Giovara2015-07-271-0/+3
|
* ac3enc_template: Use the correct context fieldVittorio Giovara2015-07-271-1/+1
| | | | | For audio encoders, delay has no effect, use the appropriate one, initial_padding (see 2df0c32).
* configure: Check for _M_ARMT to detect thumb when using MSVCMartin Storsjö2015-07-271-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check MSVC defines for identifying hardfloatMartin Storsjö2015-07-271-0/+2
| | | | | | | | 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>
* configure: Default to armasm for --toolchain=msvc when targeting armMartin Storsjö2015-07-271-0/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Simplify, remove an unnecessary intermediate variableMartin Storsjö2015-07-271-2/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Remove the now unnecessary remark about PATH and link.exeMartin Storsjö2015-07-271-6/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* asfdec: interpret the first flag in an asf packet as length flagAlexandra Hájková2015-07-271-2/+4
| | | | | | if the error correction flag is not set, a packet starts with payload Signed-off-by: Anton Khirnov <anton@khirnov.net>
* checkasm: Modify report formatHenrik Gramner2015-07-273-31/+30
| | | | | | | | Makes it a bit more clear where each test belongs. Suggested by Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qsvdec_*: add missing CODEC_CAP_DR1Anton Khirnov2015-07-272-3/+3
|
* configure: Only redirect strtoll to _strtoi64 if necessaryMartin Storsjö2015-07-261-2/+3
| | | | | | This isn't necessary any longer on MSVC 2013 Update 4. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only redefine inline to __inline for msvc if necessaryMartin Storsjö2015-07-261-1/+12
| | | | | | This isn't necessary on MSVC 2015 any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only add -FIstdlib.h for msvc/icl if necessaryMartin Storsjö2015-07-261-2/+13
| | | | | | | | | 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>
* force WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to be able to use dxva.hSteve Lhomme2015-07-262-1/+10
| | | | | | | | | | | | | | | | 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>
* checkasm: Use LOCAL_ALIGNEDMichael Niedermayer2015-07-263-10/+13
| | | | | | Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: add Intel libmfx-based HEVC decoder.Anton Khirnov2015-07-258-16/+95
|
* lavc: add Intel libmfx-based MPEG2 decoder.Anton Khirnov2015-07-254-0/+185
|
* lavc: add a HEVC mp4->annex B bitstream filterAnton Khirnov2015-07-254-0/+189
|
* qsvdec: move qsv_process_data() from qsvdec_h264 to the common codeAnton Khirnov2015-07-253-110/+118
| | | | It will be shared with the upcoming mpeg2 and hevc decoders.
* qsvenc_hevc: fix enum declarationAnton Khirnov2015-07-251-2/+2
| | | | Declare a named enum, not a variable with anonymous enum type.
* qsvdec: fix a memleak of async_fifoAnton Khirnov2015-07-251-4/+6
| | | | | init() is called whenever format changes, so current code would leak the fifo in this case.
* qsvdec: avoid an infinite loop with no consumed data and no outputAnton Khirnov2015-07-251-0/+7
| | | | | | 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.
* use a wrapper script to call MS link.exe to avoid mixing with /usr/bin/link.exeSteve Lhomme2015-07-242-1/+10
| | | | | | Fallback to "link" in the path if the one next to cl is not found. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: force -nologo- when detecting MSVCSteve Lhomme2015-07-231-2/+2
| | | | | | | | 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>
* dds: Write the palette in the native endian formMartin Storsjö2015-07-231-5/+7
| | | | | | | This fixes the palette on big endian, broken (or, differing from little endian) since 57214b2f7. Signed-off-by: Martin Storsjö <martin@martin.st>
* hap: Name enums, remove unused struct memberTom Butterworth2015-07-231-13/+12
|
* snappy: Refactor so ff_snappy_uncompress() uses an existing bufferTom Butterworth2015-07-233-13/+37
| | | | | | Some uses of Snappy require uncompressing to positions within an existing buffer. Also adds a function to get the uncompressed length of Snappy data.
* asfdec: remove the wrong conditionAlexandra Hájková2015-07-231-1/+1
| | | | | | | | this condition breaks reading from the pipe as data_reached variable have to be set to break while in the asf_read_header just after the Data Object is found Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hap: Fix slice size computationTom Butterworth2015-07-232-10/+18
| | | | | | | | A bug was introduced in 977105407cae55876041dddbf4ce0934cdd4cd6c whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dds: Fix the slice size computationTom Butterworth2015-07-231-9/+17
| | | | | | | | A bug was introduced in 6b2b26e7af3ede0abfb46eb5725c26d1083f50bc whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* af_channelmap: properly set the supported output channel layoutsAnton Khirnov2015-07-231-4/+4
| | | | | | | | | | The current code expects query_formats() to be called exactly once, it will leak if it's not called at all (filter initialized, but never configured or used) or try to read freed memory if it's called more than once. Found-by: James Almer <jamrial@gmail.com> CC: libav-stable@libav.org
* asfdec: increment nb_streams right after the stream allocationAlexandra Hájková2015-07-231-1/+1
| | | | | | to prevent possible memory leaks Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: set nb_streams to 0 in the asf_read_closeAlexandra Hájková2015-07-231-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: Add missing includeVittorio Giovara2015-07-221-0/+1
|
* dds: Add a rgba fate testVittorio Giovara2015-07-222-1/+3
|
* dds: Fix 32bpp bitmaps decodingMichael Niedermayer2015-07-221-5/+7
| | | | | Found-By: ami_stuff Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: Fix palette decodingVittorio Giovara2015-07-223-5/+9
| | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* dds: Fix enum declarationVittorio Giovara2015-07-221-2/+2
| | | | Drop the global variables with anonymous enum type.
* asfdec: avoid crash in the case when chunk_len is 0 or pkt_len is 0Alexandra Hájková2015-07-221-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: close the demuxer properly when read_header is failingAlexandra Hájková2015-07-221-3/+8
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: factor out seeking to the Data Object outside whileAlexandra Hájková2015-07-221-7/+10
| | | | | | return INVALIDDARA if Data Object was not found Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qsvenc_hevc: use the correct HW plugin UIDAnton Khirnov2015-07-221-1/+1
|
* checkasm: remove empty array initializer list in h264pred testJanne Grunau2015-07-221-2/+1
| | | | Fixes MSVC compilation.
* checkasm: Always link staticallyLuca Barbato2015-07-213-4/+6
| | | | Checkasm needs to use internal symbols that should not be made public.
* dds: Decode using optimal slices sizesLuca Barbato2015-07-211-9/+27
| | | | | | | Enjoy some cache locality and use less threads. About the same speedup provided to HAP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hap: Decode using optimal slices sizesLuca Barbato2015-07-212-8/+27
| | | | | | | Enjoy some cache locality and use less threads. About 5x speedup (from 60ms to 12ms to decode a 4k frame). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* parseutil: Use non ambiguous aliases for uhdLuca Barbato2015-07-212-4/+4
| | | | uhd1 and uhd2 would be ambigous.