Reimar Döffinger
29d7eef7dc
Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitle
...
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
16 years ago
Reimar Döffinger
cea0b5272d
Fix start_display_time/end_display_time to be relative to packet pts in xsub decoder.
...
Makes no difference for the sample AVI files since they all have no packet pts values.
Originally committed as revision 19646 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4a3190ed40
Reindent.
...
Originally committed as revision 19645 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fd35d6d097
Remove code that is now dead.
...
Originally committed as revision 19644 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
df47d24501
Make sure AVSubtitle is initialized, memset it to 0.
...
Originally committed as revision 19642 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Janne Grunau
6dc13ccbcc
Set subtitle type in DVD and XSUB subtitle decoders.
...
Patch by Janne Grunau <ja?ne-f?mpeg jannau net>.
Originally committed as revision 19512 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
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
16 years ago
Björn Axelsson
37a43cfb39
Set AVSubtitle format to 0. Neither dvdsubdec nor xsubdec intializes format
...
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
16 years ago
Björn Axelsson
ffe2c09d46
Fix timestamp parsing in XSUB decoder.
...
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 17087 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
25b4c651a3
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
...
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
db4fac64db
Change AVSubtitle.rects to an array of pointers so ABI does not break
...
when the size of AVSubtitleRect changes.
Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7993df6527
consts
...
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
cedb83a671
colour --> color in variable names
...
Originally committed as revision 11159 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
6628165891
Add proper license header
...
Originally committed as revision 9944 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
369f73062b
Remove AVCodecContext parameter from parse_timecode function
...
Originally committed as revision 9943 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
e3c90129a4
Fix deinterlacing for odd height
...
Originally committed as revision 9942 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
3c247b4ff7
Deinterlace xsub subtitles
...
Originally committed as revision 9941 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
3143c78716
Colours except background should not be transparent
...
Originally committed as revision 9940 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
d5049e2c69
get rid of av_rescale_q, it does not work as intended.
...
Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
d6136c7618
get rid of xsubdec array and calculate value instead
...
Originally committed as revision 9938 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
737c5ebfc8
10l, runbits order was reversed
...
Originally committed as revision 9937 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
5968b39635
100l, wrong argument to av_freep
...
Originally committed as revision 9935 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
59f6f64e30
Add forgotten xsub timecode parsing
...
Originally committed as revision 9934 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
7e2643ae8d
First version of xsub decoder, not yet tested
...
Originally committed as revision 9933 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago