Commit Graph

8677 Commits

Author SHA1 Message Date
Diego Biurrun d3a4b4e09c Add check whether the compiler/assembler supports 10 or more operands.
thanks to Loren for some help with the asm statements

Originally committed as revision 17151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:16:00 +00:00
Alexander Strange 898189880b H264: Change left_block_options to uint8_t from int, saving a little space.
Originally committed as revision 17147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 06:03:18 +00:00
Stefan Gehrer 6847ab4375 introduce a macroblock index to avoid a few x*width+y calculations
Originally committed as revision 17138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 22:38:02 +00:00
Stefan Gehrer b9fce05205 fix multiple slices per frame
Originally committed as revision 17137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 20:51:35 +00:00
Stefan Gehrer 4ca6f4b29c fix parsing of pic_structure
Originally committed as revision 17136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 17:08:56 +00:00
Stefan Gehrer e090c70f2f avoid duplicating dsputil's clear_block
Originally committed as revision 17135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 16:45:02 +00:00
Stefan Gehrer ae2d3e3b25 time_code has 24 bits, not 16
Originally committed as revision 17134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 16:36:01 +00:00
Stefan Gehrer d934de5c5d do not check for minimum slice start code, 0x00000100 is valid
Originally committed as revision 17133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 16:34:45 +00:00
Anuradha Suraparaju 9fc88d7e20 Fix crash when encoding using libschroedinger.
Currently only pixel and half-pixel motion vector precisions are supported in
libschroedinger. Setting the mv_precision field to 2 (i.e. quarter pixel)
causes a crash in the libschroedinger encoder calls. By not setting this
parameter, we fall back to the default value used in libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 17132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 14:27:16 +00:00
Jai Menon f418b86151 Check sampling index validity for AAC decoding
Patch by Jai Menon ( jmenon86 gmail com )

Originally committed as revision 17131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 13:47:50 +00:00
Patrik Kullman c7efffcb44 Add a default (error) for the switch in case of an unsupported PIX_FMT.
Removes warnings about possibly uninitialized variables.
Patch by Patrik Kullman %patrik A yes P nu%

Originally committed as revision 17130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 12:38:56 +00:00
Mathieu Malaterre 3d6fac8cee Use default system include path for an installed OpenJPEG library.
patch by Mathieu Malaterre, mathieu.malaterre gmail com

Originally committed as revision 17129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 11:29:31 +00:00
Patrik Kullman 79ff462e73 Fix (with av_uninit()) false positive warning about uninitialized variable:
offset is initialized and used if code == 1.
patch by Patrik Kullman %patrik A yes P nu%

Originally committed as revision 17128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 10:35:05 +00:00
Aurelien Jacobs 26f3ae828b move vp6_filter_diag4() to a new vp6dsp.c file and use it throught dsputil
Originally committed as revision 17111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 23:37:31 +00:00
Patrik 862c1d2f05 Replace snprintf() with av_strlcpy().
Fixes the following warning on some systems:
audioconvert.c:131: warning: format not a string literal and no format
arguments

Patch by Patrik patrik A yes D nu

Originally committed as revision 17110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 23:11:26 +00:00
Ivan Schreter 37a558fe51 Add SEI recovery point frame counter to H264Context and use it when
setting key_frame.

Patch by Ivan Schreter schreter A gmx D net

Originally committed as revision 17109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 23:04:16 +00:00
Aurelien Jacobs ed76106755 vp56: alpha_offset is uninitialized on purpose
Originally committed as revision 17108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 22:45:30 +00:00
Nicolas George 05276956ce libvorbis: Use 0-10 range for audio quality.
Patch by Nicolas George (nicolas george normalesup org)

Originally committed as revision 17107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 22:11:28 +00:00
Michael Niedermayer a503722750 Fix: libavcodec/msmpeg4.c:1612: warning: ‘dc_pred_dir’ may be used uninitialized in this function
Originally committed as revision 17106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 22:04:34 +00:00
Michael Niedermayer 990058bdc7 Try to doxyfy av_resample_init(). I hope I did not misremember anything as I
just briefly checked the source.

Originally committed as revision 17100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 15:49:06 +00:00
Michael Niedermayer 3136fcf45e Move doxy for public resample2 functions to the public header.
Originally committed as revision 17099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 15:31:08 +00:00
Diego Biurrun ea399a87b2 Remove svn:executable property from source file.
Originally committed as revision 17098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 11:32:29 +00:00
Diego Biurrun b17e0f065c Remove file name from file headers.
It provides no useful information and breaks on renames.

Originally committed as revision 17097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 11:17:54 +00:00
Daniel Verkamp c385c0da22 remove no more needed fields in GIFContext, patch by Daniel Verkamp, daniel at drv dot nu
Originally committed as revision 17096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 08:16:04 +00:00
Daniel Verkamp dacfaf2373 remove dead rgb24 code, gif encoder now directly takes palette, patch by Daniel Verkamp, daniel at drv dot nu
Originally committed as revision 17095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 08:14:29 +00:00
Daniel Verkamp c33030bd7b remove dead netscape loop header code in gif encoder, patch by Daniel Verkamp, daniel at drv dot nu
Originally committed as revision 17094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 08:11:08 +00:00
Björn Axelsson 505aa6c91d Check that there are subtitle rects to encode in avcodec_encode_subtitle()
Patch by Björn Axelsson ( gecko A acc D umu D se )

Originally committed as revision 17093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 01:58:01 +00:00
Björn Axelsson 9413db9e04 Check that start_display_time is 0 in avcodec_encode_subtitle()
Patch by Björn Axelsson ( gecko A acc D umu D se )

Originally committed as revision 17092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 01:51:36 +00:00
Alex Converse 00bbe27631 VP3: Do not ignore error from read_huffman_tree().
Originally committed as revision 17090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 01:39:33 +00:00
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
2009-02-09 00:18:26 +00:00
Diego Biurrun 5bfd3147f8 cosmetics: Fix a few typos and use a consistent codec long name.
Originally committed as revision 17084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:32:46 +00:00
Diego Biurrun fca93859b2 Remove unused variables.
Originally committed as revision 17083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:28:21 +00:00
Diego Biurrun 4b81366b07 Add av_cold attribute to init function.
Originally committed as revision 17082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:25:56 +00:00
Diego Biurrun 27030ee4e9 Remove unused variables.
Originally committed as revision 17081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:24:26 +00:00
Diego Biurrun 01c534371c typo: CODEC_ID_cljr --> CODEC_ID_CLJR
Originally committed as revision 17080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:19:29 +00:00
Ivan Schreter 4d8eb2e899 Fix a const related warning
Patch by Ivan Schreter ( schreter gmx net )

Originally committed as revision 17073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:22:18 +00:00
Ivan Schreter dd02ea118b Replace hard-coded SEI type constants with symbolic names
Patch by Ivan Schreter ( schreter gmx net )

Originally committed as revision 17064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 20:28:12 +00:00
Michael Niedermayer eb8a25c895 Clarify has_b_frames doxy.
Originally committed as revision 17063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 18:56:33 +00:00
Loren Merritt 3daa434a40 ff_add_hfyu_median_prediction_mmx2
overall ffvhuff decoding speedup: 28% on core2, 25% on k8.

Originally committed as revision 17059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:45:30 +00:00
Loren Merritt 6166516d1f re-enable mid_pred asm on x86_64. (broke in r16681)
Originally committed as revision 17058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:44:04 +00:00
Baptiste Coudurier 353f87b8d4 fix typo in h264dsp_mmx (no effect currently as the function is not used), approved by Dark Shikari on IRC
Originally committed as revision 17046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 06:35:21 +00:00
Baptiste Coudurier 8468664bd8 Remove 'const' qualifier from variable in av_parse_video_frame_size().
Thus only one warning is printed due to assignment instead of 2 from strtol.

Originally committed as revision 17045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 06:11:50 +00:00
Baptiste Coudurier 8eb027c83c remove useless cast, it does not remove warning, encode prototype must be changed
Originally committed as revision 17044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 06:03:10 +00:00
Baptiste Coudurier a7573719e5 remove warning about incompatible pointer
Originally committed as revision 17043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 05:49:42 +00:00
Kostya Shishkov 432f1f11ea Move RV3/4 frame type check up so 1-slice unanchored B-frames are checked, too.
Originally committed as revision 17031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 10:46:51 +00:00
Kostya Shishkov 186f155e1c Add decoder flush after seeking for RV3/4 decoders
Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 09:35:16 +00:00
Stefano Sabatini 9d385cfec4 Drop the deprecated function register_avcodec() at the next major
version bump.

Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:54:50 +00:00
Stefano Sabatini 9be26823b9 Replace the calls to the deprecated function register_avcodec() with
corresponding calls to avcodec_register().

Originally committed as revision 17027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:50:54 +00:00
Stefano Sabatini 85662f4935 Rename register_avcodec() as avcodec_register() and deprecate the old
function name.

Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:46:15 +00:00
Michael Niedermayer 271e6ddd4a Fix list of input pix_fmts supported by GIF. This makes it work with swscale.
It also allows encoding GIF with a 4-bit palette and with a graycale one as a
side effect.

Originally committed as revision 17019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 13:04:39 +00:00