summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* h264: codec reinit: remove statements without effectJanne Grunau2014-04-191-4/+1
| | | | | | | avctx->coded_{height,width} will always equal h->{height,width} since init_dimensions() does that explicitly, Size changes are detected by changes in mb_{height,width} earlier and propagated through the needs_reinit variable.
* utils: add yvyu422 to avcodec_align_dimensions2Vittorio Giovara2014-04-191-0/+1
|
* filtfmts: remove unused lavf includeVittorio Giovara2014-04-191-1/+0
|
* lavfi: name anonymous structsVittorio Giovara2014-04-1934-40/+40
|
* configure: Handle armcc 5.0Martin Storsjö2014-04-191-2/+4
| | | | | | | The first line of the "armcc --vsn" output in one version is "Product: ARM Compiler 5.04". Signed-off-by: Martin Storsjö <martin@martin.st>
* mp3dec: decode more data from Info headerAlessandro Ghedini2014-04-173-10/+101
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* crc: add ANSI CRC16 LEAlessandro Ghedini2014-04-175-3/+45
| | | | | | This adds the reversed byte-order version of the ANSI CRC16. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3dec: move XING/Info and VBRI parsing into their own functionsAlessandro Ghedini2014-04-171-35/+58
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* replaygain: allow exporting already decoded replaygain valuesAlessandro Ghedini2014-04-172-15/+21
| | | | | | | | 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-171-8/+3
|
* drawtext: Add fontconfig supportLuca Barbato2014-04-173-5/+104
| | | | | | 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-141-1/+1
| | | | | | | | 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-141-1/+0
| | | | | | | | 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-141-0/+12
| | | | | | | | | | | | | 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-141-1/+1
| | | | | | | | | 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-132-4/+0
| | | | | | | 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-133-6/+23
| | | | | | | 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-131-1/+1
| | | | | | 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-131-0/+14
|
* resample: implement flushingAnton Khirnov2014-04-132-8/+40
|
* dcadec: Use correct channel count in stereo downmix checkTim Walker2014-04-121-5/+5
| | | | | | | 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-121-0/+10
| | | | | | 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-121-4/+18
|
* tiffdec: remove an unneeded variableJustin Ruggles2014-04-121-3/+1
|
* tiff: use a better name and enum values for PhotometricInterpretationJustin Ruggles2014-04-123-28/+57
| | | | Also add additional known values and log as missing features.
* tiffdec: use a single strip if RowsPerStrip is 0Justin Ruggles2014-04-121-8/+3
| | | | | 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-121-138/+111
| | | | | | Based on a patch by Paul B Mahol <onemda@gmail.com> CC:libav-stable@libav.org
* bytestream: add bytestream2_copy_buffer() functionsJustin Ruggles2014-04-121-0/+26
| | | | | | | 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-121-0/+10
| | | | | | | | 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-121-5/+6
|
* tiffdec: rename variables for consistency and fix variable shadowingJean First2014-04-121-8/+5
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* swscale: Set alpha to opaque for internal palettes.Justin Ruggles2014-04-123-7/+7
| | | | | | | | | 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-121-2/+2
| | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at>
* swscale: fix an implementation-defined unsigned-to-signed conversionJustin Ruggles2014-04-121-2/+2
|
* doc: Libavfilter English cleanupKaterina Barone-Adesi2014-04-122-641/+631
| | | | | | | | | 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-121-7/+39
| | | | | | | | | | | | 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-112-15/+27
|
* resample: add initial padding explicitlyAnton Khirnov2014-04-112-22/+36
| | | | | 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-111-2/+2
| | | | negative sample_index is handled in the block above.
* resample: reindentAnton Khirnov2014-04-111-21/+20
|
* resample: split the nearest neighbour path into a separate function pointerAnton Khirnov2014-04-112-13/+25
|
* resample: fix avresample_get_delay() return valueAnton Khirnov2014-04-111-1/+5
| | | | | | | | 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-114-68/+90
|
* DNxHD: make get_pixel_8x4_sym accept ptrdiff_t as strideTimothy Gu2014-04-113-4/+5
|
* DNxHD: K&R formatting cosmeticsVittorio Giovara2014-04-114-210/+319
|
* mp2: Do not force a samplerateLuca Barbato2014-04-112-2/+0
| | | | The default should be not to resample.
* libx265: Only set the SAR if it is validDerek Buitenhuis2014-04-101-7/+9
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Use 16-bit SARDerek Buitenhuis2014-04-101-2/+2
| | | | | | 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-101-5/+6
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mov: read hydrogenaudio replaygain informationAnton Khirnov2014-04-102-1/+98
|
OpenPOWER on IntegriCloud