summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* svq3: move mb2br_xy to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move {ref,mv}_cache to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: rip out the svq3-relevant parts of pred_motion() out of h264Anton Khirnov2016-03-28
|
* svq3: move edge_emu_buffer to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move the pred mode variables to SVQ3ContextAnton Khirnov2016-03-28
| | | | This will allow removing the H264Context dependency in the future.
* h264: move ff_h264_check_intra[4x4]_pred_mode() to h264_parseAnton Khirnov2016-03-28
| | | | It is shared with svq3.
* svq3: move mb_{x,y,xy} to SVQ3ContextAnton Khirnov2016-03-28
| | | | This will allow removing the H264Context dependency in the future.
* svq3: eliminate write_back_intra_pred_mode() usageAnton Khirnov2016-03-28
| | | | | This function depends on the h264 internals and is so tiny that just copying the code out is the simplest replacement.
* svq3: add all the required dsp contexts into SVQ3ContextAnton Khirnov2016-03-28
| | | | | Stop using the H264Context ones, to allow removing the H264Context dependency.
* svq3: make the dsp functions staticAnton Khirnov2016-03-28
| | | | There is no need for them to be extern anymore.
* h264: remove the svq3-specific codeAnton Khirnov2016-03-28
|
* svq3: rip out the mb decoding code shared with h264Anton Khirnov2016-03-28
| | | | | The ~100 lines of shared code is not worth the pain of svq3 messing with h264 internals.
* h264: factor out pred weight table parsing into a separate fileAnton Khirnov2016-03-28
| | | | This will allow decoupling the parser from the decoder.
* h2645_parse: compute the actual data length, without trailing padddingAnton Khirnov2016-03-28
| | | | This is required by h264.
* h2645_parse: add support for parsing h264Anton Khirnov2016-03-28
|
* h2645_parse: change the AVCodecContext* parameter to void*Anton Khirnov2016-03-28
| | | | | This should make it more clear that it is not supposed to be used for anything except logging.
* h2645_parse: add a function for uninitializing the packetAnton Khirnov2016-03-28
|
* hevc_parse: rename into h2645_parseAnton Khirnov2016-03-28
| | | | This code will be shared with h264.
* aarch64: Make transpose_4x4H do a regular transposeMartin Storsjö2016-03-26
| | | | | | | | | | | | | | | | | | | | | | Previously, ff_h264_idct_add_neon (originally in the arm version) used a non-regular transpose in order to be able to use more instructions that deal with registers as 128 bit register pairs. The aarch64 translation doesn't do it to the same extent, but brought along the same structure since it was a straight translation. This reshuffles ff_h264_idct_add_neon, bringing it closer to the C implementation, making the transpose_4x4H macro do a regular transpose, usable for other algorithms as well. Previously, the third and fourth output from transpose_4x4H were swapped, and prior to cc29d96d5a, the same inputs as well. In addition to just swapping the outputs, also renumber the intermediate registers for better readability (making the register order match transpose_4x8B). This runs with the same number of cycles as before. Signed-off-by: Martin Storsjö <martin@martin.st>
* intrax8: Add a local BlockDSPContext and initialize itVittorio Giovara2016-03-25
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Reference the current AVCodecContextVittorio Giovara2016-03-25
| | | | It will be needed to initialize BlockDSP in the next commit.
* intrax8: Keep a reference to the GetBitContext readerVittorio Giovara2016-03-25
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Use a constant buffer instead of a ScratchpadContextVittorio Giovara2016-03-25
| | | | The size of the block is fixed (8x8 plus padding).
* intrax8: Pass the output frame to the decoding functionVittorio Giovara2016-03-25
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Carry over the loopfilter value in ff_intrax8_decode_pictureVittorio Giovara2016-03-25
| | | | Helps in decoupling this code from mpegvideo.
* intrax8: Keep a reference to the context idctdspVittorio Giovara2016-03-25
| | | | | Use it instead of the embedded mpegvideo one. Update init function signature to load it directly from the callers.
* intrax8: Make x8_init_block_index not use mpegvideo fieldsVittorio Giovara2016-03-25
|
* intrax8: Use local destination buffersVittorio Giovara2016-03-25
| | | | | | | | | | | These buffers are just a way to store frame pointers and be able to modify them without touching the original ones. The two dependent decoders (WMV2 and VC1) do not need special care for these fields: the former does not seem to use the dest buffers, while the latter reinits them every time to the current frame data buffers. So only keep a local copy rather than the one from mpegvideo.
* h264data: Move all data tables from a header to a .c fileDiego Biurrun2016-03-25
|
* lavc: Deduplicate zigzag_scan tableDiego Biurrun2016-03-25
|
* h264: Clean up #includesDiego Biurrun2016-03-25
|
* qsvdec_h2645: switch to the new BSF APIAnton Khirnov2016-03-25
|
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* lavc: introduce a new decoding/encoding API with decoupled input/outputwm42016-03-23
| | | | | | | | | | | | | | | | Until now, the decoding API was restricted to outputting 0 or 1 frames per input packet. It also enforces a somewhat rigid dataflow in general. This new API seeks to relax these restrictions by decoupling input and output. Instead of doing a single call on each decode step, which may consume the packet and may produce output, the new API requires the user to send input first, and then ask for output. For now, there are no codecs supporting this API. The API can work with codecs using the old API, and most code added here is to make them interoperate. The reverse is not possible, although for audio it might. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Move const qualifier before type nameDiego Biurrun2016-03-23
|
* vc1dec: wmv2dec: Validate ff_intrax8_common_init return valueVittorio Giovara2016-03-22
|
* intrax8: Check and propagate errors from ff_intrax8_common_initVittorio Giovara2016-03-22
| | | | This allows dropping an afterwards redundant assert.
* intrax8: Move documentation from implementation to header fileVittorio Giovara2016-03-22
|
* intrax8: K&R formatting cosmeticsVittorio Giovara2016-03-22
|
* intrax8: Adjust printf conversion specifier for sizeof expressionDiego Biurrun2016-03-22
|
* intrax8: Move a comment to the place it correspondsVittorio Giovara2016-03-22
|
* intrax8: Wrap multiline macros in do{}while(0) clausesVittorio Giovara2016-03-22
| | | | | These macros are treated like functions, the wrapping simplifies error checking and avoids deeply nested ifs in the following commit.
* intrax8: Move error resilience out of intrax8Vittorio Giovara2016-03-22
| | | | | | | | The intrax8 decoding process does not imply any kind of error resilience, and the only call present is more related to how mpegvideo works rather than anything else. Therefore have the parent decoders carry out er when actually needed.
* indeo4: Consistently initialize variablesVittorio Giovara2016-03-22
| | | | Avoid using multiple variables for the same purpose.
* indeo4: Rework stream analysis reportVittorio Giovara2016-03-22
| | | | | | | | * Change log level from error to debug * Print report after the first decoded frame, not at the end of decoding * Drop macro guard and use a context variable instead Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: add a new bitstream filtering APIAnton Khirnov2016-03-20
| | | | Deprecate the current bitstream filtering API.
* takdec: ensure chan2 is a valid channel indexAndreas Cadhalpun2016-03-20
| | | | | | | | If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* svq3: Use a separate buffer for decoding the slicesLuca Barbato2016-03-16
| | | | The AVPacket.data should be considered read-only.
* qsv: Fix loading multiple pluginsLuca Barbato2016-03-15
| | | | av_get_token does not strip the trailing separator.