summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc: remove img_get_alpha_info as it not available any morePaul B Mahol2013-01-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Fix "knwon" typo and add a check in tools/patcheckPaul B Mahol2013-01-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* fixed granularity of video quality when encoding with theora codecMaximilian Seesslen2013-01-04
| | | | | | | The floating point version of av_clip has to be used when converting the quality level. Signed-off-by: Maximilian Seesslen <mes@seesslen.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* msrle: fix small palette handlingMichael Niedermayer2013-01-04
| | | | | | Fixes second file in Ticket1273 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'a0b7e289075dccf223b7f407790d8a86fc5d77e8'Michael Niedermayer2013-01-04
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a0b7e289075dccf223b7f407790d8a86fc5d77e8': aviobuf: Partial support for reading in read/write contexts build: Avoid detecting bogus components named 'x' Conflicts: libavcodec/allcodecs.c libavdevice/alldevices.c libavformat/allformats.c libavformat/aviobuf.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Avoid detecting bogus components named 'x'Clément Bœsch2013-01-03
| | | | | | | | | | | | | | | | | | | | The function find_things() in configure is confused by component registration calls as part of multiline macros defining combined component registration. Coalesce those macros into one line to work around the issue. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* | ac3dec: split out pointer update loop for safteyMichael Niedermayer2013-01-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegaudiodec/mp3on4: fix buffer size.Michael Niedermayer2013-01-04
| | | | | | | | | | | | | | The larger (and really ugly) size is not needed anymore. Found-by: Justin Ruggles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | locodec: flip RGBAMichael Niedermayer2013-01-04
| | | | | | | | | | | | Fixes Ticket1222 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdec: fix decoding of right column for 2/4bppMichael Niedermayer2013-01-03
| | | | | | | | | | | | Fixes Ticket1146 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | gifdec: use log level that have more common sensePaul B Mahol2013-01-03
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-01-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cmdutils: update copyright year to 2013 h264: check SPS entries directly to detect pixel format changes forgotten changelogs for 9_beta2 Conflicts: Changelog cmdutils.c libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: check SPS entries directly to detect pixel format changesJanne Grunau2013-01-03
| | | | | | | | | | | | | | Comparing AVCodecContext.pix_fmt against the get_pixel_format() return value has the side effect of calling the get_format() callback on each slice. Users of the callback will probably handle hardware accelerator initialization in the callback.
* | subviewer: sanitize packets.Clément Bœsch2013-01-03
| | | | | | | | | | | | | | | | The data does not contain timing or trailing line breaks anymore. In addition to being less idiotic, it is consistent with other codecs and thus allows more switches between formats and codecs. It also fixes the issue of the trailing line returns being simple \n instead of CRLF in the ASS rectangle dialogue (this is the reason of the FATE update).
* | tiff: print error for old style LZWMichael Niedermayer2013-01-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Replace references to "que" with the appropriate word.Clément Bœsch2013-01-03
| | | | | | | | | | | | "que" sounds like a slang word to me. This commit renames a few variables, fix the comments and the logging messages (sometimes along with small other typo fixes).
* | rawdec: fix NV12Michael Niedermayer2013-01-02
| | | | | | | | | | | | Fixes Ticket646 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: check SPS entries directly to detect pixel format changesJanne Grunau2013-01-02
| | | | | | | | | | | | | | | | | | Comparing AVCodecContext.pix_fmt against the get_pixel_format() return value has the side effect of calling the get_format() callback on each slice. Users of the callback will probably handle hardware accelerator initialization in the callback. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/dvdsubenc: improve color distance function.Nicolas George2013-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | Consider the color space as an hypercone with apex alpha=0 and base alpha=1 instead of an hypercube. Make the encoder consider very transparent colors more similar even if the hue is very different. This corresponds roughly to using the alpha as a weight for the color difference. Only 4 bits of alpha are used, because this is what dvdsub uses, and it avoids overflows. Fix trac ticket #2005.
* | lavc/movtextdec: keep the min size instead of max to fix overread.Clément Bœsch2013-01-01
| | | | | | | | Fixes Ticket #2087.
* | rawdec: fix decoding of odd dimensioned raw yv12Michael Niedermayer2013-01-01
| | | | | | | | | | | | Fix Ticket339 part 2 of 2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12: fix frame_pred_frame_dct handling in field picturesMichael Niedermayer2012-12-31
| | | | | | | | | | | | Fixes Ticket254 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12: print invalid cbp valueMichael Niedermayer2012-12-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12: print error for invalid skip casesMichael Niedermayer2012-12-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/flacenc: improve error return.Nicolas George2012-12-31
| | | | | | | | Use meaningful error codes and add log messages.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-12-31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: suppress -fPIC in msvc builds Drop unnecessary 'l' length modifier when printfing double values. truemotion2: Sanitize tm2_read_header() Conflicts: libavcodec/truemotion2.c libavfilter/src_movie.c libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * truemotion2: Sanitize tm2_read_header()Diego Biurrun2012-12-31
| | | | | | | | Also give a variable a more sensible name.
* | Merge commit '5e6ee38bd3cef0dd05f1dd7977c71f3479eb6d01'Michael Niedermayer2012-12-31
|\| | | | | | | | | | | | | | | | | | | | | * commit '5e6ee38bd3cef0dd05f1dd7977c71f3479eb6d01': FATE: add cavs test cavsdec: export picture type in the output frame Conflicts: tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cavsdec: export picture type in the output frameAnton Khirnov2012-12-30
| |
* | Merge commit '7d8482640058d66867602a6f58446c9342d9d146'Michael Niedermayer2012-12-31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7d8482640058d66867602a6f58446c9342d9d146': cavs: deMpegEncContextize Note, the bugfixes have all been in FFmpeg previously, this just switches away from MpegEncContext Conflicts: libavcodec/cavs.c libavcodec/cavsdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cavs: deMpegEncContextizeAnton Khirnov2012-12-30
| | | | | | | | | | | | | | | | | | | | | | It does not use any of the mpegvideo infrastructure, just a few fields from the context. Fixes a segfault with the emu edge flag, since emu edge buffer is now allocated as a part of the frame buffer allocation and cavs calls ff_get_buffer() directly, it does not use mpegvideo buffer management. Fixes a memleak of the last frame.
* | Merge commit '64bb3fa6b7f5b2db22b7577585d5861be24eebd8'Michael Niedermayer2012-12-31
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '64bb3fa6b7f5b2db22b7577585d5861be24eebd8': cavs: cosmetics, reformat top part cavsdec: cosmetics, reformat libavcodec/utils: Add braces to shut up gcc warnings Conflicts: libavcodec/cavsdec.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cavs: cosmetics, reformat top partAnton Khirnov2012-12-30
| |
| * cavsdec: cosmetics, reformatAnton Khirnov2012-12-30
| |
| * libavcodec/utils: Add braces to shut up gcc warningsDiego Biurrun2012-12-30
| | | | | | | | | | libavcodec/utils.c:1050:5: warning: missing braces around initializer [-Wmissing-braces] libavcodec/utils.c:1314:5: warning: missing braces around initializer [-Wmissing-braces]
| * snow: use VideoDSPContextLuca Barbato2012-12-29
| | | | | | | | It was left over from the initial conversion.
* | lavc/textdec: fix subviewer1 preproc check.Clément Bœsch2012-12-31
| |
* | lavc: correctly set AVSubtitle format for text based subtitles.Clément Bœsch2012-12-31
| |
* | lavc/utils: reindent in avcodec_decode_subtitle2().Clément Bœsch2012-12-31
| |
* | microdvd: sanitize AVPackets.Clément Bœsch2012-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current MicroDVD AVPackets contain timing information and trailing line breaks. The data is now only composed of the markup data. Doing this consistently between text subtitles decoders allows to use different codec for various formats. For instance, MicroDVD markup is sometimes found in some VPlayer files. Also, generally speaking, the subtitles text decoders have no use of these timings (and they must not use them since it would break any user timing adjustment). Technically, this is a major ABI break. In practice, a mismatching lavf/lavc will now error out for MicroDVD decoding. Supporting both formats requires unnecessary complex and fragile code. FATE needs update because line breaks in the ASS file were "\n" (because that's what is used in the original file). ASS format expect "\r\n" line breaks; this commit fixes this issue. Also note that this "\r\n" trailing need to be moved at some point from the decoders to the ASS muxer.
* | Add SubViewer v1 subtitles demuxer and decoder.Clément Bœsch2012-12-31
| |
* | Add PJS subtitles demuxer and decoder.Clément Bœsch2012-12-30
| |
* | 10l: export ff_bprint_to_extradata between libs using avpriv_ prefix.Clément Bœsch2012-12-30
| | | | | | | | Both libavformat and libavcodec requires this function.
* | Add VPlayer subtitles demuxer and decoder.Clément Bœsch2012-12-30
| | | | | | | | | | | | | | Note that the linebreaks text codec option (but not the feature) has been removed; its main goal was to allow demuxers to configure the text decoder (and not meant to be used by users), but the AVOption are not a viable solution. This is solved differently in this commit.
* | Add MPL2 subtitles demuxer and decoder.Clément Bœsch2012-12-30
| |
* | lavc/avcodec: fix FF_INPUT_/BUFFER_/PADDING_SIZE typo.Clément Bœsch2012-12-30
| |
* | lavc: add ff_bprint_to_extradata() helper and use it.Clément Bœsch2012-12-30
| | | | | | | | | | | | | | | | | | | | This commit also makes sure the extradata and subtitle_header are NUL terminated, without taking into account the trailing '\0' in account in the size. At the same time, it should fix 'warning: dereferencing type-punned pointer will break strict-aliasing rules' warning for compilers who don't consider uint8_t** and char** compatibles.
* | lavc/srtenc: just like the decoder, mark SRT encoder as deprecated.Clément Bœsch2012-12-30
| |
* | lavc/srtenc: do not add trailing line breaks with SubRip.Clément Bœsch2012-12-30
| | | | | | | | | | | | | | The SRT muxer is reponsible for separating events with two line breaks, there is no need to add more than necessary. Similarly, other muxers (such as Matroska) are not supposed to add line breaks at the end of the payload.
* | lavc/srtdec: make some sscanf to work at the end of a line.Clément Bœsch2012-12-30
| | | | | | | | | | | | Fix sscanf calls that can't work at the end of a line unless it ends with \r\n or \n: the markup line may/should/must not end with these characters.