summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* svq3: stop using H264Context.gbAnton Khirnov2016-03-28
|
* svq3: move the frame num variables to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: eliminate H264Context.cur_pic usageAnton Khirnov2016-03-28
| | | | Use the SVQ3Context variable instead
* svq3: eliminate remaining H264SliceContext usageAnton Khirnov2016-03-28
|
* svq3: move pict_type to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move mb strides/sizes to the SVQ3ContextAnton Khirnov2016-03-28
|
* svq3: move the dequant buffer to SVQ3ContextAnton Khirnov2016-03-28
| | | | Remove now unnecesary call to ff_h264_alloc_tables()
* 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>
* rtpdec_jpeg: fix low contrast image on low quality settingIco Doornekamp2016-03-26
| | | | | | | | | | | | | | The problem is that the argument 'q' is of the type uint8_t. According to the JPEG standard, if 1 <= q <= 50, the scale factor 'S' should be 5000 / Q. Because the create_default_qtables() reuses the variable 'q' to store the result of this calculation, for small values of q < 19, q wil subsequently overflow and give wrong results in the calculated quantization tables. Instead, use a new variable 'S' (same name as in RFC2435) with the proper range to store the result of the division. 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
|
* rtmpdh: add an stdio.h includeAnton Khirnov2016-03-25
| | | | The test uses printf.
* qsvdec_h2645: switch to the new BSF APIAnton Khirnov2016-03-25
|
* vf_fade: make sure the slice end is always in the frameAnton Khirnov2016-03-25
| | | | CC: libav-stable@libav.org
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* testprogs: Clean up #includesDiego Biurrun2016-03-24
|
* build: Drop redundant removal of compiled object filesDiego Biurrun2016-03-24
| | | | This is already taken care of by CLEANSUFFIXES.
* fate: Only run SRTP test if SRTP code is enabledDiego Biurrun2016-03-24
|
* unix: Use rw_timeout for setting the connect timeoutMartin Storsjö2016-03-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Use rw_timeout for setting the connect/listen timeoutsMartin Storsjö2016-03-24
| | | | | | | | Apply the default value for timeout in code instead of via the avoption, to allow distinguishing the default value from the user not setting anything at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Copy URLContext generic options into child URLContextsMartin Storsjö2016-03-24
| | | | | | | | | | | | | | | Since all URLContexts have the same AVOptions, such AVOptions will be applied on the outermost context only and removed from the dict, while they probably make sense on all contexts. This makes sure that rw_timeout gets propagated to the innermost URLContext (to make sure it gets passed to the tcp protocol, when opening a http connection for instance). Alternatively, such matching options would be kept in the dict and only removed after the ffurl_connect call. Signed-off-by: Martin Storsjö <martin@martin.st>
* opt: Add av_opt_copy()Michael Niedermayer2016-03-24
| | | | | | | This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>