summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* ac3enc_template: Use the correct context fieldVittorio Giovara2015-07-27
| | | | | 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-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check MSVC defines for identifying hardfloatMartin Storsjö2015-07-27
| | | | | | | | 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-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Simplify, remove an unnecessary intermediate variableMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Remove the now unnecessary remark about PATH and link.exeMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* asfdec: interpret the first flag in an asf packet as length flagAlexandra Hájková2015-07-27
| | | | | | 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-27
| | | | | | | | 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-27
|
* configure: Only redirect strtoll to _strtoi64 if necessaryMartin Storsjö2015-07-26
| | | | | | 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-26
| | | | | | 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-26
| | | | | | | | | 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-26
| | | | | | | | | | | | | | | | 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-26
| | | | | | Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: add Intel libmfx-based HEVC decoder.Anton Khirnov2015-07-25
|
* lavc: add Intel libmfx-based MPEG2 decoder.Anton Khirnov2015-07-25
|
* lavc: add a HEVC mp4->annex B bitstream filterAnton Khirnov2015-07-25
|
* qsvdec: move qsv_process_data() from qsvdec_h264 to the common codeAnton Khirnov2015-07-25
| | | | It will be shared with the upcoming mpeg2 and hevc decoders.
* qsvenc_hevc: fix enum declarationAnton Khirnov2015-07-25
| | | | Declare a named enum, not a variable with anonymous enum type.
* qsvdec: fix a memleak of async_fifoAnton Khirnov2015-07-25
| | | | | 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-25
| | | | | | 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-24
| | | | | | 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-23
| | | | | | | | 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-23
| | | | | | | 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-23
|
* snappy: Refactor so ff_snappy_uncompress() uses an existing bufferTom Butterworth2015-07-23
| | | | | | 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-23
| | | | | | | | 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-23
| | | | | | | | 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-23
| | | | | | | | 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-23
| | | | | | | | | | 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-23
| | | | | | 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-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: Add missing includeVittorio Giovara2015-07-22
|
* dds: Add a rgba fate testVittorio Giovara2015-07-22
|
* dds: Fix 32bpp bitmaps decodingMichael Niedermayer2015-07-22
| | | | | Found-By: ami_stuff Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: Fix palette decodingVittorio Giovara2015-07-22
| | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* dds: Fix enum declarationVittorio Giovara2015-07-22
| | | | 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-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: close the demuxer properly when read_header is failingAlexandra Hájková2015-07-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: factor out seeking to the Data Object outside whileAlexandra Hájková2015-07-22
| | | | | | 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-22
|
* checkasm: remove empty array initializer list in h264pred testJanne Grunau2015-07-22
| | | | Fixes MSVC compilation.
* checkasm: Always link staticallyLuca Barbato2015-07-21
| | | | Checkasm needs to use internal symbols that should not be made public.
* dds: Decode using optimal slices sizesLuca Barbato2015-07-21
| | | | | | | 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-21
| | | | | | | 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-21
| | | | uhd1 and uhd2 would be ambigous.
* arm: use a local label instead of the function symbol in ff_prefetch_armJanne Grunau2015-07-20
| | | | | | | | Avoids a relocation which might end out of range for thumb2. Reported-By: Ludovic Fauvet <etix@videolan.org> Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022 CC: libav-stable@libav.org
* h264: aarch64: intra prediction optimisationsJanne Grunau2015-07-20
|
* Deprecate avctx.coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | | The rationale is that coded_frame was only used to communicate key_frame, pict_type and quality to the caller, as well as a few other random fields, in a non predictable, let alone consistent way. There was agreement that there was no use case for coded_frame, as it is a full-sized AVFrame container used for just 2-3 int-sized properties, which shouldn't even belong into the AVCodecContext in the first place. The appropriate AVPacket flag can be used instead of key_frame, while quality is exported with the new AVPacketSideData quality factor. There is no replacement for the other fields as they were unreliable, mishandled or just not used at all. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Add a quality factor packet side dataVittorio Giovara2015-07-20
| | | | | | | | This is necessary to preserve the quality information currently exported with coded_frame. Add the new side data to every encoder that needs it, and use it in avconv. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>