Michael Niedermayer
f08ed90d94
Assert that the context doesnt overflow in ffv1.
...
Originally committed as revision 25475 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
e2b2f8454c
Rectangular slice support for ffv1.2
...
Originally committed as revision 25474 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
c5ac275b2e
Allow storing multiple quant tables in extradata that can then be selected per keyframe in ffv1.
...
Originally committed as revision 25439 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
0f27aca7b3
Store global things in extradata for ffv1 ver=2.
...
ver=2 is not set yet so this does not affect output.
Originally committed as revision 25438 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
228adaab8d
Make sure version is not decreased for 16bit per sample colorspaces in ffv1.
...
Originally committed as revision 25437 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
4f22b3bbbf
Factorize quant table read and write code in ffv1.c
...
Originally committed as revision 25436 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
cbabccc367
ffv1: remove VLAs
...
Originally committed as revision 23802 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Thad Ward
741b5fd44a
Set an opaque alpha value when decoding rgba ffv1.
...
Patch by Thad Ward coderjoe69¤yahoo°com
Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
00bbc09309
Store range coder state transition table.
...
Use a better table, 2% compression gain for foreman
Originally committed as revision 22763 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
Michael Niedermayer
ef768b0c32
Disallow VLC coding with more than 8 bits as there are several bugs
...
in that code that could lead to broken files.
AC coding is unaffected.
Originally committed as revision 22638 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5d7bc46c2d
Throw out last experimental warning that was printed for colorspaces with more than
...
8 bits per component. This does no good except scaring users away.
Originally committed as revision 22633 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0e22d68834
Remove the word "experimental"
...
Originally committed as revision 22629 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Lars Täuber
7c6208d4c0
Use "FFmpeg video codec #1" instead of "FFmpeg codec #1" as codec long name.
...
patch by Lars Täuber, lars.taeuber gmx net
Originally committed as revision 19749 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Lars Täuber
2fee538a16
Fix comments after switching from CABAC to range coder in r3658.
...
Patch by Lars Täuber, lars D taeuber A gmx D net
Originally committed as revision 19720 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
84c1b149b2
Fix typo.
...
Originally committed as revision 19639 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f83c57735e
indent
...
Originally committed as revision 18679 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
68f8d33bec
Support >8bit per component YUV in FFV1.
...
decoding becomes slower, encoding becomes faster, with gcc on duron.
some inlining overrides like av_flatten are added to keep inlining similar
to before.
Originally committed as revision 18674 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
217d34e307
Force speed irrelevant calls to get/put_symbol() to be noinline.
...
We need to change decode_line to always_inline because gcc decided not to inline
it anymore once we force some calls to get/put_symbol() to be non inlined and
this decision of gcc would lead to a 10% overall speed loss.
100k smaller object file, no speed change
Originally committed as revision 18673 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3788e661f1
Optimize sign handling in get_symbol().
...
Originally committed as revision 18672 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
223d996aaf
Fix a possibly exploitable buffer overflow.
...
Originally committed as revision 18640 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6081c30b81
Remove 2 unneeded variables from common_init() found by CSA.
...
Originally committed as revision 18560 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
Stefano Sabatini
b275500706
Split bitstream.h, put the bitstream writer stuff in the new file
...
put_bits.h.
Originally committed as revision 18461 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
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f544a5fc84
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
...
CONFIG_FOO_ENCODER conditionals where appropriate.
Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
b3bf98aa56
move ff_log2_run to bitstream.c and reuse in ffv1.c
...
Originally committed as revision 13989 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
Carl Eugen Hoyos
d1845b4c84
Fix compilation for buggy icc.
...
Originally committed as revision 13273 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
eacced45c4
Replace some occurrences of -1 with PIX_FMT_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
038f846e41
Add long names to some AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13010 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
fb2cf1bcf0
const
...
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oliver Pfister
3caffb7d80
fix mem leak
...
patch by Oliver Pfister: [oliver pfister gmx ch]
Originally committed as revision 9491 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
62bb489b13
add some #ifdef CONFIG_ENCODERS/DECODERS
...
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c3e462a8ca
set supported pixel formats for a few encoders (fixes crashes with grayscale)
...
Originally committed as revision 6303 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
0c2aaa882d
memory leak.
...
Originally committed as revision 5331 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
b548f2b91b
ffv1 and ffvhuff havnt changed since a long time and noone proposed any
...
changes within 1 month after my warning so they are officially no longer
experimental and we will gurantee decodeability of files encoded with
the currenzt ffv1/ffvhuff in the future
Originally committed as revision 5288 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
ee7388c934
fix segfault on broken streams
...
Originally committed as revision 4966 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago