Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Alexandre Colucci
92d2b909a0
xsub: feed init_get_bits the whole buffer
...
Do not use rlelen field for buffer size in init_get_bits, it is
only the size of the data for the first field.
Since it is not reliable, just use the size of the whole buffer.
Additional comments add removal of unused rlelen variable by
Reimar Döffinger.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Diego Biurrun
933a6fd5a1
cosmetics: fix indentation/alignment in AVCodec declarations
14 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6ce9b4310c
Remove use of the deprecated function avcodec_check_dimensions(), use
...
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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