summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavc: Make AVPacket.duration int64, and deprecate convergence_durationwm42015-09-29
| | | | | | | | | Note that convergence_duration had another meaning, one which was in practice never used. The only real use for it was a 64 bit replacement for the duration field. It's better just to make duration 64 bits, and to get rid of it. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mips: intreadwrite: Only execute that code for mips r1 or r2Vicente Olivert Riera2015-09-29
| | | | | | | | | MIPS R6 supports unaligned memory access and does not have the load/store-left/right family of instructions. Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com> Signed-off-by: Luca Barbato <lu_zero at gentoo.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: mips: Support mips r6, r2 and r1Luca Barbato2015-09-29
| | | | | | Detect the different MIPS architecture variants. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Set the initial ldflags to match the cflagsLuca Barbato2015-09-29
| | | | | | | Some gcc-based toolchain would fail to link if the abi set by the cpuflags does not match the default. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libopenh264enc: Use av_log() to log messagesGregory J. Wolfe2015-09-29
| | | | | | | | | | | | | | File libopenh264enc.c has been modified so that the encoder uses av_log() to log messages (error, warning, info, etc.) instead of logging them directly to stderr. At the time the encoder is created, the current libav log level is mapped to an equivalent libopenh264 log level. This log level, and a message logging function that invokes av_log() to actually log messages, are then set on the encoder. This contains further changes and simplifications by Michael Niedermayer and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
* qsvdec: make ff_qsv_decode_init() staticAnton Khirnov2015-09-28
| | | | It is not used outside of qsvdec.c anymore.
* examples/qsvdec: free the lavc decoder before closing MFX/VAAPIAnton Khirnov2015-09-28
| | | | lavc expects MFX to still be in a usable state on close.
* examples/qsvdec: do not free the surfaces in the frame_free() callbackAnton Khirnov2015-09-28
| | | | | Even though libmfx might not need them anymore, avcodec might still access the surfaces. So free them separately at the end.
* qsvdec: close the MFX decoder on uninitAnton Khirnov2015-09-28
|
* qsv: document AVQSVContext membersAnton Khirnov2015-09-28
|
* qsvenc: mark the encoders as INIT_CLEANUPAnton Khirnov2015-09-28
| | | | Should fix some leaks on init failure.
* qsvenc: do not try to close the encoder if the session is NULLAnton Khirnov2015-09-28
|
* qsvdec: list supported pixel formatsAnton Khirnov2015-09-28
| | | | This is useful for detecting QSV-enabled decoders.
* lavfi: do not exclude hwaccel formats from ff_all_formats()Anton Khirnov2015-09-28
| | | | It should be possible to pass hwaccel frames through lavfi.
* checkasm/x86: Correctly handle variadic functionsHenrik Gramner2015-09-28
| | | | | | | | | | The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* checkasm: Use a self-balancing treeHenrik Gramner2015-09-28
| | | | | | | | | | | | | | Tested functions are internally kept in a binary search tree for efficient lookups. The downside of the current implementation is that the tree quickly becomes unbalanced which causes an unneccessary amount of comparisons between nodes. Improve this by changing the tree into a self-balancing left-leaning red-black tree with a worst case lookup/insertion time complexity of O(log n). Significantly reduces the recursion depth and makes the tests run around 10% faster overall. The relative performance improvement compared to the existing non-balanced tree will also most likely increase as more tests are added. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: fix constrained baseline fallbackwm42015-09-28
| | | | | | | | It appears vdpau drivers can return constrained baseline as unsupported, even if libvdpau knows about the symbol, and the main profile is supported. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: use avcodec_get_type() to set codec_typewm42015-09-28
| | | | | | | Note that this slightly changes behavior: it sets AVMEDIA_TYPE_UNKNOWN if the codec type is unknown. This should be ok. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: reimplement avcodec_get_type() using codec descriptorswm42015-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: deprecate av_vdpau_get_profile()Rémi Denis-Courmont2015-09-28
| | | | | | | | This function can intrinsically not deal with codec profile fallback (for H.264 Constrained Baseline especially), and was made redundant by av_vdpau_bind_context(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dxv: Improve error messageVittorio Giovara2015-09-24
|
* dxv: Support RAW intermediate compressionVittorio Giovara2015-09-24
| | | | | | Sample-Id: boombox64.mov Reported-by: Aarni Koskela Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dxv: Print texture information after header parsingVittorio Giovara2015-09-24
|
* dxv: Support the original first versionVittorio Giovara2015-09-24
| | | | | | | | DXV 1.0 provided DXT1 with LZF only. Sample-Id: Orange-Strings-07_640_DXV.mov Reported-by: Carl Eugen Hoyos Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dxv: Parse ancillary encoder informationVittorio Giovara2015-09-24
| | | | | Header does not contain the number of channels, but rather the encoder version, so rename the variable, and read the additional byte.
* mmal: Fix AVBufferRef usagewm42015-09-24
| | | | | | | | AVBufferRef.data and AVPacket.data don't need to have the same value. AVPacket could point anywhere into the buffer. Likewise, the sizes don't need to be the same. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmal: Remove setting extradata on input formatwm42015-09-24
| | | | | | | | This works only for extradata sizes up to 128 bytes. Additionally, I could never actually see it doing anything. The new code using MMAL_BUFFER_HEADER_FLAG_CONFIG now takes care of this. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmal: drop the h264 BSFwm42015-09-24
| | | | | | | | We can send mp4-style data directly. But for some reason, this requires sending the extradata as buffer with MMAL_BUFFER_HEADER_FLAG_CONFIG set. Reuse the infrastructure for sending AVPackets to do this. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv_opt: Allow printing private optionsVittorio Giovara2015-09-17
| | | | | | | | | | | | | | Add an allowed parameter to -h and --help avconv option to print private options from a codec, format, or filter, named with the provided input value. In case multiple classes are found (eg. mov demuxer and mov muxer, or h264 decoder and h264 demuxer) print all options from all classes. It is possible to select the type of class to print by adding it before the name (eg. demuxer:mov and muxer:mov, or decoder:h264and demuxer:h264). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* d3d11va: WindowsPhone requires a mutex around ID3D11VideoContextSteve Lhomme2015-09-17
|
* checkasm: v210: Fix array overwriteHenrik Gramner2015-09-17
|
* pixfmt: Add new SMPTE color primaries and transfer characteristic valuesKevin Wheatley2015-09-17
| | | | | | Appeared in ITU-T Rec H.265 10/2014. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dcadec: set channel layout in a separate functionAlexandra Hájková2015-09-16
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dcadec: scan for extensions in a separate functionAlexandra Hájková2015-09-16
| | | | | | to make dca_decode_frame more readable Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtpdec: Forward the memory failureLuca Barbato2015-09-16
| | | | | | And avoid a memory leak. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtsp: warning when max_delay reachedEloi BAIL2015-09-16
| | | | | | | | | packets are queued due to packet reordering until the queue reach its maximal size or max delay is reached. This commit adds a warning trace when max delay is reached. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: inform jitter buffer sizeEloi BAIL2015-09-16
| | | | | | | | This commit print as AV_LOG_VERBOSE the jitter buffer size. It might be the default value or the value set by application. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: add a trace when jitter buffer is fullEloi BAIL2015-09-16
| | | | | | | | This commit adds a warning trace when jitter buffer is full. It helps to understand leading decoding issues. Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Increase the max size of the jitter buffer to 500 packetsMartin Storsjö2015-09-15
| | | | | | | | | | Since the actual max length of the jitter buffer is restricted by max_delay, this shouldn't harm the overall latency (assuming that max_delay is set properly), while allowing packet reordering with a larger number of packets (which may be required with high bitrate video). Signed-off-by: Martin Storsjö <martin@martin.st>
* jpeg2000: Factor out prec initLuca Barbato2015-09-14
| | | | Makes debugging a little simpler.
* jpeg2000: Factor out band stepsize initializationLuca Barbato2015-09-14
|
* jpeg2000: Factor out band initializationLuca Barbato2015-09-14
|
* jpeg2000: Refactor decode_packetsLuca Barbato2015-09-14
| | | | Move the packet-specific parsers in separate functions.
* jpeg2000: Templatize the frame writerLuca Barbato2015-09-14
|
* jpeg2000: Split codeblock decoding from the main tile decodingLuca Barbato2015-09-14
| | | | That loop is completely stand-alone.
* doc: Add travis badgeLuca Barbato2015-09-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: Drop mpegvideo.h where not neededVittorio Giovara2015-09-13
| | | | Add necessary headers in .c files.
* mpegvideo: Make sure mpegutils.h is included where neededVittorio Giovara2015-09-13
|
* mpegvideo: Move macros to more appropriate headersVittorio Giovara2015-09-13
| | | | | | | MAX_MB_BYTES -> mpegutils.h FRAME_SKIPPED -> mpegutils.h INPLACE_OFFSET -> mpegutils.h ME_MAP_SIZE -> motion_est.h
* avfilter: Support both syntaxes for the scale filterLuca Barbato2015-09-13
|