summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | Merge commit '0670acc4f1c4ceb16968818a654e07a3f550a8c9'Michael Niedermayer2015-05-12
|\| | | | | | | | | | | | | | | | | | | | | * commit '0670acc4f1c4ceb16968818a654e07a3f550a8c9': dca_parser: Extend DTS core sync word and fix existing check Conflicts: libavcodec/dca_parser.c See: e80b2b9c81716a5d9f559c04cfe69d76b04e4cd3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dca_parser: Extend DTS core sync word and fix existing checkfoo862015-05-12
| | | | | | | | | | | | | | | | | | | | | | | | The previous version checked for 14-bit streams and did not properly work across buffer boundaries. Use the 64-bit parser state to make extended sync word detection work across buffer boundary and check the extended sync word for 16-bit LE and BE core streams to reduce probability of alias sync detection. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec/hevc: Fix order of operations in hls_decode_neighbour()Michael Niedermayer2015-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libx265: use x265 Multi-library Interface to query the APIGopu Govindaswamy2015-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ffmpeg can now use the x265 multi-library interface to make a runtime selection between a number of libx265 libraries (perhaps 8bpp and 16bpp). ffmpeg will link to one build of libx265 (statically or dynamically) and this linked version of libx265 will support one bit-depth (8 or 10 bits). At runtime, ffmpeg now has the option to request the encoder to use a different bit depth(8 or 10). If the requested bitdepth is zero, or if it matches the bitdepth of the system default libx265 (the currently linked library), then this library will be used for encode. If ffmpeg requests a different bit-depth, the linked libx265 will attempt to dynamically bind a shared library with the requested bit-depth from the install location (default or user-specified). new x265 API: const x265_api* api = x265_api_get(int bitDepth); x265_api - holds the libx265 public API functions bitDepth - requested API for 8bpp or 16bpp note: Use 0 to indicate native bit depth of the linked libx265 and x265_api_get(0) is guaranteed to return a non-null pointer Signed-off-by: Gopu Govindaswamy <gopu@multicorewareinc.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'b9f7a677083647d85e583d6d7384938766a293d7'Michael Niedermayer2015-05-10
|\| | | | | | | | | | | | | | | | | | | | | * commit 'b9f7a677083647d85e583d6d7384938766a293d7': png: Set the color range as full range Conflicts: libavcodec/pngdec.c See: 72e7553125e61847d9cab77fb7de62440dca746b Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * png: Set the color range as full rangewm42015-05-09
| | | | | | | | | | | | The format uses full range for the gray formats. CC: libav-stable@libav.org
* | Merge commit '243e8443cd9e83c887e3f5edf09a169e7783d14e'Michael Niedermayer2015-05-10
|\| | | | | | | | | | | | | | | | | | | | | * commit '243e8443cd9e83c887e3f5edf09a169e7783d14e': alac: Reject rice_limit 0 if compression is used Conflicts: libavcodec/alac.c See: 4b657a1b1eedcf38bcf36e89a2f4be6f76b5ce09 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * alac: Reject rice_limit 0 if compression is usedAndreas Cadhalpun2015-05-08
| | | | | | | | | | | | | | | | | | | | | | If in compression mode rice_limit = 0 leads to call `show_bits(gb, k)` in `decode_scalar` with k = 0. Request a sample in case it is valid and it should be accepted. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
| * ape: Support _0000 files with nblock smaller than 64Andreas Cadhalpun2015-05-08
| | | | | | | | | | | | | | | | The decode_array_0000 assumed that 64 is the minimal block size while it is not. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec/ppc/h264qpel_template: Fix alignment assertMichael Niedermayer2015-05-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snowenc: set dia_size for the first pass of motion estimation tooMichael Niedermayer2015-05-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snowenc: correct fullpel search patternMichael Niedermayer2015-05-10
| | | | | | | | | | | | | | No real difference in quality, its a bit slower for the same dia_size as more vectors are searched for the same dia_size Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snowenc: Fix used reference MV in fullpel iterative MEMichael Niedermayer2015-05-10
| | | | | | | | | | | | This very very slightly improves quality, no measurable speed change Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snowenc: change log level for iterative ME information to debug levelMichael Niedermayer2015-05-10
| | | | | | | | | | | | | | The printed stuff should be useless to the average user and its certainly not an error. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snowenc: add intra_penalty AVOptionMichael Niedermayer2015-05-09
| | | | | | | | | | | | This allows favoring intra or inter blocks by a user specified amount. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: Fix null pointer dereference with grayscale decoding with ↵Michael Niedermayer2015-05-09
| | | | | | | | | | | | mpeg2_field_encoding.ts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpeg12dec: Fix "-flags +gray"Michael Niedermayer2015-05-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: Fix indentionMichael Niedermayer2015-05-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/error_resilience: support grayscaleMichael Niedermayer2015-05-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: Fix -flags +gray with xvid_vlc_trac7411.h263Michael Niedermayer2015-05-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h263dec: use PIX_FMT_GRAY8 when the user specified CODEC_FLAG_GRAYMichael Niedermayer2015-05-09
| | | | | | | | | | | | Fixes Ticket4542 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vc1: Skip chroma operations if CODEC_FLAG_GRAY is setMichael Niedermayer2015-05-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vp9: de-duplicate some functions that are identical between 10/12 bpp.Ronald S. Bultje2015-05-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdec: set correct rangewm42015-05-08
| | | | | | | | | | | | | | | | | | | | AV_PIX_FMT_GRAY8/16 are considered YUV formats, and the color_range is not set - so the API user will have to assume limitted range. (Unless the API user adds a special-case for the PNG decoder.) Just export the correct range - full range. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/s3tc: fix alpha decoding when dimensions are not a multiple of 4Tom Butterworth2015-05-07
| | | | | | | | | | | | Fix alpha position error for edge blocks of odd-dimensioned frames Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/g2meet: Check init_get_bits8() return valueMichael Niedermayer2015-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/g2meet: Use init_get_bits8()Michael Niedermayer2015-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: Add av_packet_side_data_name()Michael Niedermayer2015-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/txd: Fix input size checks for dxt1/3 for dimensions % 4 != 0Michael Niedermayer2015-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/s3tc: fix decoding when dimensions are not a multiple of 4Tom Butterworth2015-05-07
| | | | | | | | | | | | Image dimensions were rounded down causing rows to wrap early if dimensions were not a multiple of 4. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacsbr: break infinite loop in sbr_hf_calc_npatchesAndreas Cadhalpun2015-05-07
| | | | | | | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni copy, uni ↵Shivraj Patil2015-05-07
| | | | | | | | | | | | | | | | horizontal and uni vertical mc functions Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/vp9dsp_init: Fix mix of declaration and statementMichael Niedermayer2015-05-07
| | | | | | | | | | Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vp9dsp: Replace assert by av_assert0()Michael Niedermayer2015-05-07
| | | | | | | | | | Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'rbultje/vp9-profile23-wip'Michael Niedermayer2015-05-07
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rbultje/vp9-profile23-wip: libvpxdec: add 440 pixfmts. vp9: add profile 2/3 fate tests. vp9: add inter-frame profile 2/3 suport. vp9: add keyframe profile 2/3 support. vp9: parse profile 2/3 bitdepth in frame header. vp9: add profile 2/3 to exported profiles. fate: add/update reference files for 440 addition. swscale: add yuv440p10/12 pixfmts. lavc: add yuv440p10/12 formats to aligned pixfmt list. lavu: add yuv440p10/12 pixfmts. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | libvpxdec: add 440 pixfmts.Ronald S. Bultje2015-05-07
| | |
| * | vp9: add inter-frame profile 2/3 suport.Ronald S. Bultje2015-05-06
| | |
| * | vp9: add keyframe profile 2/3 support.Ronald S. Bultje2015-05-06
| | |
| * | vp9: parse profile 2/3 bitdepth in frame header.Ronald S. Bultje2015-05-06
| | |
| * | vp9: add profile 2/3 to exported profiles.Ronald S. Bultje2015-05-06
| | |
| * | lavc: add yuv440p10/12 formats to aligned pixfmt list.Ronald S. Bultje2015-05-06
| | |
* | | avcodec/diracdec: Replace default_bsep[] by multiplicationMichael Niedermayer2015-05-07
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc/qdrw: Also support real-world qdraw images.Carl Eugen Hoyos2015-05-07
| | |
* | | avcodec/tableprint_vlc: Do not define functions to nothingMichael Niedermayer2015-05-07
| | | | | | | | | | | | | | | | | | This avoids potential warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge commit '04070dbca0688ab1e24528ce5c135254a9a79c47'Michael Niedermayer2015-05-06
|\ \ \ | | |/ | |/| | | | | | | | | | | | | * commit '04070dbca0688ab1e24528ce5c135254a9a79c47': libx265: Fix 'braces around scalar initializer' warning Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | libx265: Fix 'braces around scalar initializer' warningVittorio Giovara2015-05-06
| | | | | | | | | | | | | | | | | | | | | | | | x265 Reordered the x265_picture fields in the commit https://github.com/videolan/x265/commit/51b1518de2414431f36eac592db15b667c25a7b9#diff-945b5354d8767dfac13334f2d22cf58fR107 Now the first field is an integer and not an array.
* | | Merge commit '34efb8a169e4551326e069be47125c6c2cb7ab90'Michael Niedermayer2015-05-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '34efb8a169e4551326e069be47125c6c2cb7ab90': quickdraw: Support direct pixel blocks Conflicts: Changelog libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | quickdraw: Support direct pixel blocksVittorio Giovara2015-05-06
| | | | | | | | | | | | | | | Data is stored in separated components so rework decode_rle() to support stepping and offsets.
* | | Merge commit 'bb2cb0a66d86ec4ad9f43a488e8b6ab894c22d2f'Michael Niedermayer2015-05-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bb2cb0a66d86ec4ad9f43a488e8b6ab894c22d2f': quickdraw: Switch to greedy parsing Conflicts: libavcodec/qdrw.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | quickdraw: Switch to greedy parsingVittorio Giovara2015-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quickdraw packs data as a series of codes that the application is supposed to handle, but it does not define any order in which they might appear. Since it's unfeasible to support *all* opcodes defined by the spec, only handle well-known blocks containing video data and ignore any unknown or unsupported ones. Move palette loading and rle decoding to separate functions to resue them in other blocks and drop format initialization in init since it can support more formats than pal8. Validate width and height.