summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* replaygain: allow exporting already decoded replaygain valuesAlessandro Ghedini2014-04-17
| | | | | | | | This adds a function to export raw replaygain values (i.e. in the (u)int32_t form). It first checks whether AV_PKT_DATA_REPLAYGAIN side data is present, in which case it does nothing. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* resample: remove an unneeded context variableAnton Khirnov2014-04-17
|
* drawtext: Add fontconfig supportLuca Barbato2014-04-17
| | | | | | Introduce the `font` option and make it optional to pass a fontfile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vp78: Align the intra4x4_pred_mode_top array within VP8MacroblockMartin Storsjö2014-04-14
| | | | | | | | This array is written using AV_WN32A, assuming alignment. This hopefully fixes the failing vp7 fate test on sparc. Signed-off-by: Martin Storsjö <martin@martin.st>
* dcadec: Delete redundant init_get_bits callNiels Möller2014-04-14
| | | | | | | | No initialization is needed in dca_decode_frame, because the next thing it does is calling dca_parse_frame_header, which takes care of the needed initialization. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtmpproto: Handle RTMP chunk size packets before the connect packetStephan Soller2014-04-14
| | | | | | | | | | | | | In all other cases where ff_rtmp_packet_read is used, the packet returned is passed to rtmp_parse_result more or less immediately. In this single case, the content of the packet was required to be a connect packet. Some clients, e.g. Open Broadcaster Software, send a chunk size packet before the connect packet. If the first packet is a chunk size packet, handle it and read another one, requiring this to be a connect packet instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Make sure to pass on the error code if read_connect failedMartin Storsjö2014-04-14
| | | | | | | | | Previously, if read_connect failed, the ret variable was unmodified and had the value 0, indicating success, which then was returned from the rtmp_open function, even though it actually failed. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* x86/synth_filter: remove the fma3 version ifdefsJames Almer2014-04-13
| | | | | | | This fixes compilation failures with --disable-fma3 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* af_volume: implement replaygain clipping preventionAlessandro Ghedini2014-04-13
| | | | | | | This adds a new "replaygain_noclip" option to the filter, and, if enabled, limits the gain applied for tracks where clipping would occur. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavr: allocate the resampling buffer with a positive sizeAnton Khirnov2014-04-13
| | | | | | This fixes cases where very few input samples (fewer than needed for one output sample) are passed to lavr at the beginning. CC:libav-stable@libav.org
* FATE: add tests for more resampling modesAnton Khirnov2014-04-13
|
* resample: implement flushingAnton Khirnov2014-04-13
|
* dcadec: Use correct channel count in stereo downmix checkTim Walker2014-04-12
| | | | | | | s->prim_channels is greater than num_core_channels when an XCh extension is present in the bitstream. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dcadec: Do not decode the XCh extension when downmixing to stereoTim Walker2014-04-12
| | | | | | This is neither necessary nor currently supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* tiffdec: support predictor type 2 with RGB48 pixel formatJean First2014-04-12
|
* tiffdec: remove an unneeded variableJustin Ruggles2014-04-12
|
* tiff: use a better name and enum values for PhotometricInterpretationJustin Ruggles2014-04-12
| | | | Also add additional known values and log as missing features.
* tiffdec: use a single strip if RowsPerStrip is 0Justin Ruggles2014-04-12
| | | | | The spec does not specify that 0 is an error condition, and there are samples which use 0 when the whole image is in one strip.
* tiffdec: use bytestream2 to simplify overread/overwrite protectionJustin Ruggles2014-04-12
| | | | | | Based on a patch by Paul B Mahol <onemda@gmail.com> CC:libav-stable@libav.org
* bytestream: add bytestream2_copy_buffer() functionsJustin Ruggles2014-04-12
| | | | | | | This is basically an overread/overwrite-safe memcpy between a GetByteContext and a PutByteContext. CC:libav-stable@libav.org
* bytestream: add functions for accessing size of bufferPaul B Mahol2014-04-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* tiffdec: use correct data type for palette entries and set alpha to 0xFFJustin Ruggles2014-04-12
|
* tiffdec: rename variables for consistency and fix variable shadowingJean First2014-04-12
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* swscale: Set alpha to opaque for internal palettes.Justin Ruggles2014-04-12
| | | | | | | | | Fixes conversion of pal8 to rgb formats with alpha. Updated references for 2 FATE tests which previously encoded fully transparent images. Based on a patch by Baptiste Coudurier <baptiste.coudurier@gmail.com>
* swscale: fix some undefined signed left shiftsJustin Ruggles2014-04-12
| | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at>
* swscale: fix an implementation-defined unsigned-to-signed conversionJustin Ruggles2014-04-12
|
* doc: Libavfilter English cleanupKaterina Barone-Adesi2014-04-12
| | | | | | | | | This aims to standardize the English used in the libavfilter documentation, describing the same thing in the same way more often, and significantly reduce the amount of outright errors, including run-on sentences and sentence fragments. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mp3enc: Properly write bitrate value in XING headerMichael Niedermayer2014-04-12
| | | | | | | | | | | | Instead of using a fixed bitrate_idx, calculate a matching bitrate for the XING header. Using a fixed bitrate_idx causes tools such as file(1) and mediainfo(1) to report wrong bitrate and bitrate mode when using CBR. Bug-Id: https://bugs.debian.org/736088 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* resample: split linear into its own functionAnton Khirnov2014-04-11
|
* resample: add initial padding explicitlyAnton Khirnov2014-04-11
| | | | | This simplifies the code, since we do not have to deal with a possibly negative source index anymore.
* resample: drop useless abs()Anton Khirnov2014-04-11
| | | | negative sample_index is handled in the block above.
* resample: reindentAnton Khirnov2014-04-11
|
* resample: split the nearest neighbour path into a separate function pointerAnton Khirnov2014-04-11
|
* resample: fix avresample_get_delay() return valueAnton Khirnov2014-04-11
| | | | | | | | The correct "next" input sample is not the first sample of the resampling buffer, but the center sample of the filter_length-sized block at the beginning. CC:libav-stable@libav.org
* DNxHD: convert inline asm to yasmTimothy Gu2014-04-11
|
* DNxHD: make get_pixel_8x4_sym accept ptrdiff_t as strideTimothy Gu2014-04-11
|
* DNxHD: K&R formatting cosmeticsVittorio Giovara2014-04-11
|
* mp2: Do not force a samplerateLuca Barbato2014-04-11
| | | | The default should be not to resample.
* libx265: Only set the SAR if it is validDerek Buitenhuis2014-04-10
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Use 16-bit SARDerek Buitenhuis2014-04-10
| | | | | | The spec says it is 16 bits. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Use x265_param_parse to set the SARDerek Buitenhuis2014-04-10
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mov: read hydrogenaudio replaygain informationAnton Khirnov2014-04-10
|
* libavfilter: Add asettb filter for setting timebase for audioNicolas George2014-04-10
| | | | | | | | Ported asettb (including the sr option for audio sample rate) from FFmpeg, and copied/modified the existing settb documentation for asettb. Signed-off-by: Katerina Barone-Adesi <katerinab+libav@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-09
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* fate: correctly set sample rate for mp2 testsVittorio Giovara2014-04-09
|
* doc: Completely document the x264 optionsLuca Barbato2014-04-08
| | | | And fix an option mismatch.
* doc: Use a 3 columns multitableLuca Barbato2014-04-08
| | | | Make the html output much nicer.
* doc: Change the multitable rendering in texi2podLuca Barbato2014-04-08
| | | | Makes it working better for our documentation purposes.
* fate: update tests for YVYU422 pixel formatVittorio Giovara2014-04-08
|
* rawvideo: Support decoding YVYU422 FourCCVittorio Giovara2014-04-08
|