summaryrefslogtreecommitdiff
path: root/libavcodec/dvdsubdec.c
Commit message (Collapse)AuthorAge
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* dvdsubdec: Check memory allocationsVittorio Giovara2015-02-17
|
* dvdsubdec: Do not leak on failure pathLuca Barbato2014-11-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1198262
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove a number of unnecessary dsputil.h #includesDiego Biurrun2014-04-04
|
* dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-13
| | | | Also switch from "tbl" to "tab" name suffixes.
* Remove #undefs for formerly forbidden system functionsDiego Biurrun2013-11-07
| | | | | The macros forbidding the system functions no longer exist, obviating the need for the #undefs.
* dvdsubdec: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* Remove commented-out debug #define cruftDiego Biurrun2013-05-16
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-08
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* dvdsubdec: parse the size from the extradataClément Bœsch2013-01-19
| | | | | Signed-off-by: Alexandra Khirnova <alexandra.khirnova@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dvdsubdec: Support palette in mkvJoakim Plate2013-01-15
| | | | | | | Matroska stores palette information as plain text in extradata. Signed-off-by: Alexandra Khirnova <alexandra.khirnova@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-02
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* dvdsubdec: fix incorrect colors.Alexandre Colucci2011-05-24
| | | | | | | | | | | | On DVD and HD-DVD colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications: see DVD Specifications for Read-Only Disc / Part 3, 4.3 Program Chain Information (7) PGC_SP_PLT see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (11) PGC_SDSP_PLT see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (12) PGC_HDSP_PLT see DVD Specifications for High Definition Disc, 5.5 Presentation Data (4) SET_COLOR2 When decoding a DVD or HD-DVD subtitle, the colors were incorrectly set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* remove useless castAurelien Jacobs2010-07-27
| | | | Originally committed as revision 24553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move colorspace.h from libavcodec to libavutil.Stefano Sabatini2010-07-01
| | | | | | Avoid a compile-time dependency of the pad filter on libavcodec. Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitleReimar Döffinger2009-08-20
| | | | | | | decoders instead of as small as possible. This avoids completely unnecessary issues with e.g. libswscale. Originally committed as revision 19673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify initialization of AVSubtitle by using memset.Reimar Döffinger2009-08-15
| | | | Originally committed as revision 19643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix cmd_pos bounds check to avoid the overflow case.Reimar Döffinger2009-08-15
| | | | Originally committed as revision 19640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.Diego Biurrun2009-07-30
| | | | Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set subtitle type in DVD and XSUB subtitle decoders.Janne Grunau2009-07-26
| | | | | | Patch by Janne Grunau <ja?ne-f?mpeg jannau net>. Originally committed as revision 19512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set AVSubtitle format to 0. Neither dvdsubdec nor xsubdec intializes formatBjörn Axelsson2009-02-12
| | | | | | | to 0, but ffplay checks it before displaying subtitles (ffplay.c:1437). patch by Björn Axelsson, gecko acc.umu se Originally committed as revision 17170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.Michael Niedermayer2009-01-03
| | | | Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Forgot to update (I likely missed it due to its similar name to dvb...)Michael Niedermayer2009-01-03
| | | | Originally committed as revision 16414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dvdsubdec: allow compilation with -DDEBUGMåns Rullgård2008-07-13
| | | | Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-01
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove some empty close/init functions in avcodecAurelien Jacobs2007-11-25
| | | | | | patch by Alex Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent two lines.Ian Caulfield2007-07-24
| | | | | | Patch by: Ian Caulfield, ian caulfield & gmx at Originally committed as revision 9789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add HD-DVD subpicture decoding.Ian Caulfield2007-07-24
| | | | | | Patch by: Ian Caulfield, ian caulfield & gmx at Originally committed as revision 9788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename "palette" to "colormap" when it's referring to the mapping from a 2-bitIan Caulfield2007-07-24
| | | | | | | encoded color to a 4-bit index into the DVD palette. Patch by: Ian Caulfield, ian caulfield & gmx at Originally committed as revision 9787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dvdsub parser to its own file.Diego Biurrun2007-05-06
| | | | Originally committed as revision 8910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the getbe16 functions and use the AV_RB16 macro instead. Patch by IanPanagiotis Issaris2007-01-30
| | | | | | Caulfield, ian dot caulfield gmail dot com. Originally committed as revision 7768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a bug in the DVD subtitle decoder where subtitles with odd heights would notIan Caulfield2007-01-30
| | | | | | | have the last line decoded, leaving the bottom line of the bitmap array uninitialised. Patch by Ian Caulfield, ian dot caulfield gmail dot com. Originally committed as revision 7767 to svn://svn.ffmpeg.org/ffmpeg/trunk