- 17 Jun, 2018 1 commit
-
-
Jun Zhao authored
Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
- 29 Mar, 2017 1 commit
-
-
Clément Bœsch authored
-
- 04 Dec, 2015 1 commit
-
-
Clément Bœsch authored
-
- 21 Oct, 2015 1 commit
-
-
Vittorio Giovara authored
Use the new fields directly instead of the ones from AVPicture. This removes a layer of indirection which serves no pratical purpose whatsoever, and will help in removing AVPicture structure completely later. Every subtitle encoder/decoder seamlessly points to the new arrays, so it is possible to deprecate AVSubtitleRect.pict. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 15 Aug, 2014 1 commit
-
-
Gabriel Dume authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 09 Jul, 2014 1 commit
-
-
Oliver Fromme authored
The issue affects dvdsub subtitles (a.k.a. VOBSUB). Some players -- in particular hardware players -- cut off the lowest row of pixels if the number of rows in the subtitle is odd. The patch below implements a work-around for that. If the number of rows is odd, it is simply rounded up to an even number, adding an invisible (i.e. fully transparent) row. The work-around can be enabled or disabled with a new option -even_rows_fix. The default is disabled, so there is no change of behaviour for users who don't care about it. The overhead for the fix is low, and in many cases even zero: For subtitles with an odd number of rows (i.e. in 50% of cases on average), the size increases by two bytes because a fully transparent row is encoded as 0x00 0x00. However, in the VOBSUB standard, all data packets are padded to 2KB anyway, so in most cases the additional bytes just use some part of the padding, so there is no overhead. Only in the rare case that the 2KB boundary is hit (0.1% chance), a full 2KB block is added. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 19 May, 2014 1 commit
-
-
Oliver Fromme authored
Reviewed-by: Anshul <anshul.ffmpeg@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 24 Apr, 2014 1 commit
-
-
Carl Eugen Hoyos authored
The Windows runtime aborts if it finds %t or %z. Fixes ticket #3472. Reviewed-by: Ronald Bultje
-
- 03 Oct, 2013 1 commit
-
-
Diego Biurrun authored
-
- 12 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 01 Jan, 2013 1 commit
-
-
Nicolas George authored
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.
-
- 30 Dec, 2012 2 commits
-
-
Clément Bœsch authored
Both libavformat and libavcodec requires this function.
-
Clément Bœsch authored
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.
-
- 17 Sep, 2012 1 commit
-
-
Anton Khirnov authored
AVCodecContext.encode is currently used only for subtitles, encode2 is used for audio and video.
-
- 24 Aug, 2012 1 commit
-
-
Nicolas George authored
Avoid a crash if a text rectangle is provided. Fix the segfault reported in trac ticket #1661.
-
- 14 Aug, 2012 3 commits
-
-
Nicolas George authored
-
Nicolas George authored
-
Nicolas George authored
DVD subtitles packets can only encode a single rectangle: if there are several, copy them into a big transparent one. DVD subtitles rely on an external 16-colors palette: use a reasonable default one, stored in the private context, and encode it into the extradata, as specified by Matroska. TODO: allow to change the palette with an option. Each packet can use four colors out of the global palette. The old logic was to map transparent colors to the color 0 and all other colors to 3, 2, 1, cyclically in descending frequency order, completely disregarding the original color. Select the "best" four colors from the global palette, according to heuristics based on frequency, opacity and brightness, and arrange them in standard DVD order: background, foreground, outline, other. TODO: select the alpha value more finely; see if CHG_COLCON can allow more than 4 colors per packet. Reference: http://dvd.sourceforge.net/dvdinfo/spu.html With these changes, dvdsubenc can be used to transcode DVB subtitles and get a very decent result.
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 27 Jul, 2012 1 commit
-
-
Michael Niedermayer authored
we use av_assert0() because the previous code unconditionally enabled the assert. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 06 Apr, 2012 1 commit
-
-
Martin Storsjö authored
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>
-
- 02 Nov, 2011 1 commit
-
-
Diego Biurrun authored
-
- 29 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 28 Jan, 2011 1 commit
-
-
Diego Elio Pettenò authored
None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f)
-
- 26 Jan, 2011 1 commit
-
-
Diego Elio Pettenò authored
None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 30 Mar, 2010 1 commit
-
-
Stefano Sabatini authored
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 19 Jan, 2009 1 commit
-
-
Diego Biurrun authored
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 03 Jan, 2009 2 commits
-
-
Michael Niedermayer authored
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Michael Niedermayer authored
when the size of AVSubtitleRect changes. Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 12 Jun, 2008 1 commit
-
-
Stefano Sabatini authored
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 27 Apr, 2008 1 commit
-
-
Stefano Sabatini authored
patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 25 Nov, 2007 1 commit
-
-
Aurelien Jacobs authored
patch by Alex Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 14 Nov, 2007 1 commit
-
-
Alex Beregszaszi authored
Originally committed as revision 11027 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 23 May, 2007 1 commit
-
-
Ramiro Polla authored
Originally committed as revision 9108 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 14 Oct, 2006 1 commit
-
-
Steve L'Homme authored
Patch by Steve LHomme Original thread: Date: 13.10.2006 21:55 Subject: [Ffmpeg-devel] [PATCH] Remove empty structures Originally committed as revision 6690 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 07 Oct, 2006 1 commit
-
-
Diego Biurrun authored
and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 12 Jan, 2006 1 commit
-
-
Diego Biurrun authored
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 17 Dec, 2005 1 commit
-
-
Diego Biurrun authored
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 12 Dec, 2005 1 commit
-
-
Måns Rullgård authored
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
-