Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-27lavc: AV-prefix all codec capabilitiesVittorio Giovara
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27lavc: AV-prefix all codec flagsVittorio Giovara
Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27lavc: Deprecate avctx.me_methodVittorio Giovara
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>
2015-07-27wmv2enc: Check memory allocationVittorio Giovara
2015-07-27ac3enc_template: Use the correct context fieldVittorio Giovara
For audio encoders, delay has no effect, use the appropriate one, initial_padding (see 2df0c32).
2015-07-27qsvdec_*: add missing CODEC_CAP_DR1Anton Khirnov
2015-07-26force WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to be able to use dxva.hSteve Lhomme
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>
2015-07-25lavc: add Intel libmfx-based HEVC decoder.Anton Khirnov
2015-07-25lavc: add Intel libmfx-based MPEG2 decoder.Anton Khirnov
2015-07-25lavc: add a HEVC mp4->annex B bitstream filterAnton Khirnov
2015-07-25qsvdec: move qsv_process_data() from qsvdec_h264 to the common codeAnton Khirnov
It will be shared with the upcoming mpeg2 and hevc decoders.
2015-07-25qsvenc_hevc: fix enum declarationAnton Khirnov
Declare a named enum, not a variable with anonymous enum type.
2015-07-25qsvdec: fix a memleak of async_fifoAnton Khirnov
init() is called whenever format changes, so current code would leak the fifo in this case.
2015-07-25qsvdec: avoid an infinite loop with no consumed data and no outputAnton Khirnov
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.
2015-07-23dds: Write the palette in the native endian formMartin Storsjö
This fixes the palette on big endian, broken (or, differing from little endian) since 57214b2f7. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-23hap: Name enums, remove unused struct memberTom Butterworth
2015-07-23snappy: Refactor so ff_snappy_uncompress() uses an existing bufferTom Butterworth
Some uses of Snappy require uncompressing to positions within an existing buffer. Also adds a function to get the uncompressed length of Snappy data.
2015-07-23hap: Fix slice size computationTom Butterworth
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>
2015-07-23dds: Fix the slice size computationTom Butterworth
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>
2015-07-22mpegvideo: Add missing includeVittorio Giovara
2015-07-22dds: Fix 32bpp bitmaps decodingMichael Niedermayer
Found-By: ami_stuff Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-22dds: Fix palette decodingVittorio Giovara
Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
2015-07-22dds: Fix enum declarationVittorio Giovara
Drop the global variables with anonymous enum type.
2015-07-22qsvenc_hevc: use the correct HW plugin UIDAnton Khirnov
2015-07-21dds: Decode using optimal slices sizesLuca Barbato
Enjoy some cache locality and use less threads. About the same speedup provided to HAP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-21hap: Decode using optimal slices sizesLuca Barbato
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>
2015-07-21arm: use a local label instead of the function symbol in ff_prefetch_armJanne Grunau
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
2015-07-21h264: aarch64: intra prediction optimisationsJanne Grunau
2015-07-20Deprecate avctx.coded_frameVittorio Giovara
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>
2015-07-20Add a quality factor packet side dataVittorio Giovara
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>
2015-07-20Gather all coded_frame allocations and free functions to a single placeVittorio Giovara
Allocating coded_frame is what most encoders do anyway, so it makes sense to always allocate and free it in a single place. Moreover a lot of encoders freed the frame with av_freep() instead of the correct API av_frame_free(). This bring uniformity to encoder behaviour and prevents applications from erroneusly accessing this field when not allocated. Additionally this helps isolating encoders that export information with coded_frame, and heavily simplifies its deprecation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-20flashsvenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara
2015-07-20ffv1enc: Use input frame to set SAR and interlacingVittorio Giovara
2015-07-20ffv1enc: Keep coded_frame.key_frame a write-only variableVittorio Giovara
2015-07-20qtrleenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara
2015-07-20libtheoraenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara
2015-07-20libvpxenc: Do not entangle coded_frameVittorio Giovara
Keep coded_frame.key_frame a write-only variable.
2015-07-20libxvid: Do not entangle coded_frameVittorio Giovara
2015-07-20svq1enc: Do not entangle coded_frameVittorio Giovara
2015-07-20proresenc: Do not entangle coded_frameVittorio Giovara
2015-07-20a64multienc: Do not entangle coded_frameVittorio Giovara
This change (and the following ones of the same kind) is mainly to simplify wrapping this section with an #if FF_API block later on. No functional changes are applied, the fields of the context coded_frame fields are directly initialized, instead of keeping a reference to the coded_frame itself. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-20roqvideoenc: Drop unneeded initializationVittorio Giovara
Its fields are never initialized to begin with.
2015-07-20mpegvideo_enc: Drop unnneded initializationVittorio Giovara
coded_frame is already initialized where needed.
2015-07-19qsvenc: properly handle asynchronous encodingAnton Khirnov
Wait for async_depth frames before syncing.
2015-07-19qsvdec: properly handle asynchronous decodingAnton Khirnov
Wait for async_depth frames before syncing.
2015-07-18h264: arm: use intra pred8x8 functions only for chroma_format_idc <= 1Janne Grunau
2015-07-17x86: bswapdsp: Don't treat 32-bit integers as 64-bitHenrik Gramner
The upper halves are not guaranteed to be zero in x86-64. Also use `test` instead of `and` when the result isn't used for anything other than as a branch condition, this allows some register moves to be eliminated. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-17configure: Factor out g722dsp moduleVittorio Giovara
2015-07-17configure: Factor out wmv2dsp moduleVittorio Giovara
2015-07-17configure: Factor out vp8dsp moduleVittorio Giovara