summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* opt: Add const to av_opt_nextLukasz Marek2016-03-24
| | | | | | | Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
* file: Add an option for following a file that is being writtenMartin Storsjö2016-03-24
| | | | | | | | Using this requires setting the rw_timeout option to make it terminate, alternatively using the interrupt callback (if used via the API). Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Add an option 'rw_timeout'Andrey Utkin2016-03-24
| | | | | | | | | | | If set non-zero, this limits duration of the retry_transfer_wrapper() loop, thus affecting ffurl_read*(), ffurl_write(). As soon as one single byte is successfully received/transmitted, the timer restarts. This has further changes by Michael Niedermayer and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Apply avoptions on the URLContext itself as wellMartin Storsjö2016-03-24
| | | | | | | Currently the list of avoptions for URLContext is empty though, but such options will be added. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: add an NVIDIA NPP-based scaling filterAnton Khirnov2016-03-23
|
* lavf: VAAPI scale filterMark Thompson2016-03-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: use new decode APIwm42016-03-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: use new encode APIwm42016-03-23
| | | | | | | The flushing case is a bit strange; not simplifying it so the change is less noisy. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: use new decode APIwm42016-03-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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>
* opt-test: Merge struct declaration and initializationDiego Biurrun2016-03-23
|
* opt-test: Move some variable declarations to avoid block bracesDiego Biurrun2016-03-23
|
* parseutils-test: Move some variable declarations to avoid block bracesDiego Biurrun2016-03-23
|
* des-test: Move a variable declaration to avoid an ifdefDiego Biurrun2016-03-23
|
* build: Add component for the SRTP common codeDiego Biurrun2016-03-23
| | | | This allows expressing the SRTP test code dependencies more clearly.
* timefilter-test: Only compile timefilter-test if JACK is enabledDiego Biurrun2016-03-23
|
* doc: Update paths to match new examples locationDiego Biurrun2016-03-23
|
* 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.