Michael Niedermayer
53eb458a72
Fix rv20 encoding so the binary decoder can decode it.
...
Originally committed as revision 25203 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
James Darnley
8d39fbd6d9
Allow mpeg encoding with qscale and very low frame rate.
...
Patch by James Darnley, james D darnley A gmail
Originally committed as revision 25102 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b33451eeac
Check rc_buffer_size value using integer arithmetic
...
Using floating-point here can cause erroneous rejection of
parameters due to rounding errors leading to a slightly too
large result.
This fixes the mxf regression test with gcc 4.5 on x86_32.
Originally committed as revision 25060 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rodney Baker
2d525ef483
Change all occurences of "inofficial" to "unofficial" in code, comments
...
and options. Keep old options until next major version bump.
Patch by Rodney Baker, rodney d baker a iinet d net d au
Originally committed as revision 24021 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
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
Pavel Pavlov
be548816dc
Always check if ff_alloc_picture() succeeds.
...
Patch by Pavel Pavlov, pavel summit-tech ca
Originally committed as revision 22648 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fc4a2d1e8c
Change ref_index structure so it matches how its organized in h264.
...
Also revert the related error concealment hotfix.
Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
53f66cee0c
Add ff_ prefix for mpeg2_dc_scale_table.
...
Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6506c3d2b2
Support intra_dc_precision>8 in jpeg
...
Originally committed as revision 22554 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bd57cae86f
use mpeg2 quantization bias for mjpeg.
...
this seems to improve RD performance.
Originally committed as revision 22550 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
94ca624fbc
Move ff_sqrt() to libavutil/intmath.h
...
Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
40d1122752
Use LOCAL_ALIGNED macro for local arrays
...
Originally committed as revision 21866 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
7ffd8332c7
Add missing internal.h to files calling ff_match_2uint16().
...
Fixes warnings:
libavcodec/mpegvideo_enc.c:574: warning: implicit declaration of function
'ff_match_2uint16'
libavcodec/ituh263enc.c:143: warning: implicit declaration of function
'ff_match_2uint16'
libavcodec/svq1enc.c:97: warning: implicit declaration of function
'ff_match_2uint16'
Originally committed as revision 21133 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c46eeae2a8
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
...
instead of custom and bloated code to find an index into a w/h array.
Originally committed as revision 21113 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ca334dd14b
Split the mpeg4 encoder and decoder off h263.c
...
Originally committed as revision 21079 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6a14a15722
Move forgotton "AVCodec flv_encoder" over to flvenc.c.
...
Originally committed as revision 21052 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
eb52376915
Split out flv encoding.
...
Originally committed as revision 21050 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
4052cbf161
Get rid of pointless CONFIG_ANY_H263 preprocessor definition.
...
Originally committed as revision 20975 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
f34121f351
Replace CONFIG_ANY_H263_ENCODER definition by CONFIG_H263_ENCODER.
...
CONFIG_ANY_H263_ENCODER is just a logical OR of H.263 family definitions,
for which the build system enables CONFIG_H263_ENCODER anyway.
Originally committed as revision 20950 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
954a0b482a
Check sample_aspect_ratio validity for mpeg4/h263/h263p encoding.
...
Merged from ffmbc0.3
Originally committed as revision 20861 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
a1a63143f1
Cosmetic (restructure RGB ljpeg check to be more readable)
...
Originally committed as revision 20793 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
401e0a74bd
10l, Fix YUV ljpeg that i just broke by mistake.
...
Originally committed as revision 20792 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e0b176adff
Fix RGB LJPEG encoding.
...
Originally committed as revision 20788 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ccc4b91832
Make sure ff_init_qscale_tab() is called one way or another when
...
adaptive quantization is enabled.
Fixes issue509.
Originally committed as revision 20726 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9015b095bc
Move ff_init_qscale_tab() from h263.c to mpegvideo, the function is not h263 specific.
...
Originally committed as revision 20725 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b0bef34209
Add additional long names for the Flash Video decoder and encoder.
...
Originally committed as revision 20317 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
01418506a2
Remove casts that are useless since the argument is void *.
...
Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b52b0913c2
Check for thread_count==0.
...
fixed issue1333
Originally committed as revision 19809 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
16 years ago
Diego Biurrun
0bd485300e
Do not check for both CONFIG_H263_ENCODER and CONFIG_FLV_ENCODER.
...
The latter can never be enabled without the former.
Originally committed as revision 19598 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
965424dad1
Do not check for both CONFIG_H263_ENCODER and CONFIG_H263P_ENCODER.
...
The latter can never be enabled without the former.
Originally committed as revision 19596 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
735e36a3e4
Do not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or
...
CONFIG_RV20_ENCODER when also checking for CONFIG_H263_ENCODER.
The RV10/RV20 encoders depend on the H.263 encoder.
Originally committed as revision 19593 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f7e1353523
Move AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.
...
It is better to keep the declarations in conditionally compiled places.
Originally committed as revision 19573 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c0601d705c
remove apparently unused real_pict_num from AVCodecContext
...
Originally committed as revision 18969 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a4a750d3b2
Rename alloc_picture to ff_alloc_picture and move its definition
...
in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c,
because it contains motion code.
Originally committed as revision 18968 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
01bc48f4d5
Set progressive_sequence before MPV_common_init which cares about it when
...
setting mb_height for interlaced mpeg-2 encoding.
Originally committed as revision 18905 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
4601e76a43
Fix VBV delay for mpeg1/2 CBR.
...
Originally committed as revision 18820 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
241f5eab32
Remove dead assignments found by CSA
...
Originally committed as revision 18731 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fb53b4a035
Rename pbBufPtr() to put_bits_ptr().
...
The new name is more readable and consistent with the FFmpeg naming
style.
Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0ffbc258aa
Change a bunch of codec long_names to be more consistent and descriptive.
...
Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8c7f820686
Let rgb32 pass for ljpeg.
...
Originally committed as revision 17167 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
Stefano Sabatini
57be00bea7
Make more descriptive the long names for the various variants of H.263.
...
Originally committed as revision 16775 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
3bff4d8b7a
Implement the fields rc_max_available_vbv_use and
...
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.
See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.
Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8b22017f38
Move aanscales tables to their own file; fixes compilation without encoders.
...
based on a patch by David Geldreich, david.geldreich free fr
Originally committed as revision 15939 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago