summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* mpegvideo: Add missing includeVittorio 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.
* qsvenc_hevc: use the correct HW plugin UIDAnton Khirnov2015-07-22
|
* 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>
* 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>
* Gather all coded_frame allocations and free functions to a single placeVittorio Giovara2015-07-20
| | | | | | | | | | | | | | 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>
* flashsvenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
|
* ffv1enc: Use input frame to set SAR and interlacingVittorio Giovara2015-07-20
|
* ffv1enc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
|
* qtrleenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
|
* libtheoraenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
|
* libvpxenc: Do not entangle coded_frameVittorio Giovara2015-07-20
| | | | Keep coded_frame.key_frame a write-only variable.
* libxvid: Do not entangle coded_frameVittorio Giovara2015-07-20
|
* svq1enc: Do not entangle coded_frameVittorio Giovara2015-07-20
|
* proresenc: Do not entangle coded_frameVittorio Giovara2015-07-20
|
* a64multienc: Do not entangle coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | 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>
* roqvideoenc: Drop unneeded initializationVittorio Giovara2015-07-20
| | | | Its fields are never initialized to begin with.
* mpegvideo_enc: Drop unnneded initializationVittorio Giovara2015-07-20
| | | | coded_frame is already initialized where needed.
* qsvenc: properly handle asynchronous encodingAnton Khirnov2015-07-19
| | | | Wait for async_depth frames before syncing.
* qsvdec: properly handle asynchronous decodingAnton Khirnov2015-07-19
| | | | Wait for async_depth frames before syncing.
* h264: arm: use intra pred8x8 functions only for chroma_format_idc <= 1Janne Grunau2015-07-18
|
* x86: bswapdsp: Don't treat 32-bit integers as 64-bitHenrik Gramner2015-07-17
| | | | | | | | | 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>
* configure: Factor out g722dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out wmv2dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out vp8dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out vp56dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out rv34dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out mss34dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out ividsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out flacdsp moduleVittorio Giovara2015-07-17
|
* libx264: Add support for the MPEG2 encoderLuca Barbato2015-07-17
|
* hq_hqa: Fix decoding when INFO section is absentVittorio Giovara2015-07-17
|
* h264: Add support for Closed Caption exportKieran Kunhya2015-07-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Split the struct setup from the pps parsingLuca Barbato2015-07-15
|
* hevc: Print the non-supported chroma_format_idcLuca Barbato2015-07-13
| | | | | | And drop the spurious newline. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Factor out the pixel format mapping from the sps parserLuca Barbato2015-07-13
| | | | | | The function will grow larger as more formats are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dxva2_hevc: unbreak compilation after recent sps/pps changesJames Almer2015-07-13
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc_parser: fix standalone build with the hevc decoder disabledAnton Khirnov2015-07-13
| | | | | | The parser depends on hevc_ps, which in turn needs some data tables. Found-by: James Almer <jamrial@gmail.com>
* hevc_ps: make sure failing to decode an SPS always returns an errorAnton Khirnov2015-07-13
| | | | | Some of the goto err clauses do not set the error code. It seems better to fall back on INVALIDDATA instead of adding it everywhere explicitly.
* hevc: handle a NULL sps in set_sps() properlyAnton Khirnov2015-07-12
| | | | | This can happen in update_thread_context(), when the previous frame was corrupted.
* hevc: do not pass an entire HEVCContext into export_stream_params()Anton Khirnov2015-07-12
| | | | It only needs the parameter sets.
* hevc_parser: parse and export some stream parametersAnton Khirnov2015-07-12
| | | | | Particularly those that will be needed by the QSV decoder. More can be added later as necessary.
* hevc: improve a commentAnton Khirnov2015-07-12
| | | | That loop does the actual full decoding, so 'parse' can be misleading.
* hevc: move splitting the packet into NALUs into a separate functionAnton Khirnov2015-07-12
| | | | | This function is independent of the decoding context, so we'll be able to use it in the parser.