Commit Graph

4779 Commits

Author SHA1 Message Date
Kostya Shishkov
c72e05ba0f Smacker Audio stereo fix
Originally committed as revision 8460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 05:56:29 +00:00
Ian Braithwaite
058ee0cf95 Small simplifications to subband coefficient handling and use av_random().
Patch by Ian Braithwaite ian .. braithwaite ... dk

Originally committed as revision 8456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 18:08:51 +00:00
Loren Merritt
0ec4bc6a27 oops, encoder was under ifdef decoders.
Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 16:51:30 +00:00
Kostya Shishkov
b314cfe709 Correctly handle data_size on decoding
Originally committed as revision 8451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 05:44:42 +00:00
Justin Ruggles
b5a05cc295 fix handling of special case for lowest snroffset. regressions are unaffected.
Originally committed as revision 8450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 02:12:13 +00:00
Baptiste Coudurier
8a0cdea157 10l, fix debug, dprintf does not have log level
Originally committed as revision 8449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 16:07:51 +00:00
Baptiste Coudurier
52b6bad219 dnxhd decoder
Originally committed as revision 8445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:25:00 +00:00
Bill O'Shaughnessy
4140a5234e AC-3 encoded volume is too high. Revert revision 7160:
bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level

Originally committed as revision 8444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:18:05 +00:00
Måns Rullgård
d7645fb9db fix init_vlc() with nonzero flags
Originally committed as revision 8443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 22:32:39 +00:00
Justin Ruggles
575bf46f16 split ac3_parametric_bit_allocation into 3 separate functions
Originally committed as revision 8442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 21:43:20 +00:00
Kostya Shishkov
9a44385e1a Zero MV vectors for P frame intra blocks
Originally committed as revision 8440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 18:07:27 +00:00
Loren Merritt
d2bfaf8aae huffyuv rgb encoder
Originally committed as revision 8439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 12:03:29 +00:00
Kostya Shishkov
7c9712335b indentation
Originally committed as revision 8437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 07:53:16 +00:00
Kostya Shishkov
ab47579565 Proper handling of motion vectors for adv. profile
Originally committed as revision 8436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 07:51:40 +00:00
Justin Ruggles
495529f7df hardcode ff_ac3_frame_sizes table
Originally committed as revision 8435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 04:53:21 +00:00
Bobby Bingham
92964be895 Add RLE encoding support, patch by Bobby Bingham, uhmmmm gmail com.
Originally committed as revision 8434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:59:58 +00:00
Bobby Bingham
e8952fa571 Move the encoding of the image data to its own function.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 13:16:18 +00:00
Bobby Bingham
552cf71281 Add 15 bit support, patch by Bobby Bingham, uhmmmm gmail com.
Originally committed as revision 8429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 12:56:34 +00:00
John Dalgliesh
5885dda4c5 force 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
patch by John Dalgliesh %johnd A defyne P org%

Originally committed as revision 8420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 23:45:20 +00:00
Ian Braithwaite
baab295750 subband_coef_noise -> subband_coef_sign
Cosmetics patch by Ian Braithwaite ian .. braithwaite dot dk

Originally committed as revision 8417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 21:22:10 +00:00
Bobby Bingham
2c0c00cb14 Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder

Originally committed as revision 8411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 12:23:08 +00:00
Michael Niedermayer
7ca6cc099c 10l for myself, fixing --disable-encoders
Originally committed as revision 8408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 23:23:30 +00:00
Kostya Shishkov
33a0dd378a DXA demuxer and decoder
Originally committed as revision 8405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 14:49:49 +00:00
Michael Niedermayer
0769498a9f deprecate ff_realloc_static
Originally committed as revision 8404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:25:15 +00:00
Michael Niedermayer
f78da6d64f 10l to whoever wrote this
Originally committed as revision 8403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:20:29 +00:00
Michael Niedermayer
3502a54f59 kill av_mallocz_static() calls in init_rl()
Originally committed as revision 8402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:19:19 +00:00
Michael Niedermayer
efddbce9d0 move RLTable stuff to its own header
Originally committed as revision 8401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 12:29:32 +00:00
Michael Niedermayer
6bd10f2de5 kill av_mallocz_static()
Originally committed as revision 8400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 12:15:34 +00:00
Baptiste Coudurier
b21c9af936 reindent after last commit
Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 11:13:17 +00:00
Baptiste Coudurier
1153be3be1 h264 complete frames parsing support
Originally committed as revision 8398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 11:12:02 +00:00
Michael Niedermayer
08cb195020 kill 3 more av_mallocz_static()
Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 01:59:53 +00:00
Michael Niedermayer
9608652dc1 kill another 2 av_mallocz_static()
Originally committed as revision 8396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 00:19:56 +00:00
Michael Niedermayer
2df6e97872 kill a av_mallocz_static()
Originally committed as revision 8395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 23:30:28 +00:00
Michael Niedermayer
e2e712e7c1 10^10l to whoever wrote this
Originally committed as revision 8394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 23:10:42 +00:00
Michael Niedermayer
0c3c674cde remove useless static cm variable
Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:53:01 +00:00
Michael Niedermayer
861450d551 cosmetic
Originally committed as revision 8392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:49 +00:00
Michael Niedermayer
3e207bb1bd remove silly static int done protecting the initalization of 32 elements to 1
Originally committed as revision 8391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:11 +00:00
Michael Niedermayer
2d2020b825 remove redundant memset()
Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:59 +00:00
Michael Niedermayer
5ac0915179 dont malloc() static mv_penalty arrays
Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:05 +00:00
Michael Niedermayer
ca2a0c938e deprecate av_mallocz_static()
Originally committed as revision 8388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:01:06 +00:00
Ian Braithwaite
85e7386ae0 Combine the window and overlap loops,
and get rid of the data swapping.

Patch by Ian Braithwaite <dk dot braithwaite at ian>

Originally committed as revision 8387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 19:44:02 +00:00
Michel Bardiaux
318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Benjamin Larsson
8736d68a80 Respect the gop size (-g) for marking I frames. Use -g 0 gives the old behaviour.
Originally committed as revision 8326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 21:01:33 +00:00
Ian Braithwaite
e7485bf378 Replace custom modified discrete cosine transform with ffmpeg's own.
This does alter the decoded output, but not by much.
The new output is closer to that produced by Real's "official" decoder,
and the decoder runs slightly faster.

Patch by Ian Braithwaite ian at braithwaite dot dk

Originally committed as revision 8325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 20:30:06 +00:00
Justin Ruggles
43a0791b66 the AC-3 parser needs ac3.o
Originally committed as revision 8324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:57:05 +00:00
Justin Ruggles
2476139973 move AC-3 header parsing to ac3.c
Originally committed as revision 8323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:44:14 +00:00
Kostya Shishkov
c81ab015f8 Correctly ME border blocks
Originally committed as revision 8322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:51:01 +00:00
Reimar Döffinger
284ad8a4f0 Check dimensions to avoid division by zero due to invalid new dimensions.
Partially fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=773.

Originally committed as revision 8321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:16:11 +00:00
Justin Ruggles
050aa8b9bc remove redundancy in AC-3 parser by using common tables from ac3tab.h
Originally committed as revision 8318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:13:05 +00:00
Benjamin Larsson
64472fcff1 Simplify, use avctx->frame_number.
Originally committed as revision 8309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 09:20:07 +00:00
Justin Ruggles
4258a0a32a Remove common code from AC-3 encoder and utilize ac3.c.
Originally committed as revision 8306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:57:42 +00:00
Justin Ruggles
96ae7f11e7 Create ac3.c which will be used for AC-3 common code.
Originally committed as revision 8305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:54:44 +00:00
Justin Ruggles
abfe5a4a75 simplify AC-3 bit allocation
Originally committed as revision 8302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 03:17:43 +00:00
Justin Ruggles
3a8bf52983 cosmetics. remove space before semi-colon.
Originally committed as revision 8301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 23:38:50 +00:00
Ian Braithwaite
d0429b4ff5 Simplify gain block handling.
Patch by Ian Braithwaite <ian at braithwaite dot dk>

Originally committed as revision 8298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 20:43:51 +00:00
Ian Braithwaite
4ff5e6563e Don't output the first two frames, since they don't contain valid audio.
This also eases comparison of decoded output with Real's binary decoder.

Patch by Ian Braithwaite <ian at braithwaite dot dk>

Originally committed as revision 8297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 19:47:03 +00:00
Baptiste Coudurier
39076e27de fix drop frame timecode flag
Originally committed as revision 8296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 18:25:47 +00:00
Michel Bardiaux
bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Michael Niedermayer
2ed76c08c3 bitrate sanity check (fixes assertion failure)
Originally committed as revision 8293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:25:06 +00:00
Benoit Fouet
c4f452fd03 Remove useless casts as recommended by Måns Rullgård.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:21:35 +00:00
Benoit Fouet
be6753c07f Cosmetics in amr.c.
- remove carriage returns where (i find it) unneeded
 - don't break lines when defining variables
 - break line between variable definition and the rest of the code
Patch by Ben Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:11:31 +00:00
Benoit Fouet
e7a5854d23 Move the initialization on context definition. In amr.c, only the
amr_wb_encode_frame function initialized its context on a different line as it
defined it.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:06:59 +00:00
Michael Niedermayer
6289025d8c add a -ab with default of 64k
change -b to only apply to video
this returns -ab/-b to the old defautls and old behavior regarding ordering of them

Originally committed as revision 8286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:51:45 +00:00
Michael Niedermayer
29301573af add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so

Originally committed as revision 8283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:29:44 +00:00
Michael Niedermayer
20e708cbbe add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags
Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:21:35 +00:00
Michael Niedermayer
bc2a1c340a make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:03:44 +00:00
Alex Beregszaszi
cbc09a7d5a typo: unkown->unknown
Originally committed as revision 8274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:27:23 +00:00
Alex Beregszaszi
c6e3365c81 add little endian 24bit read/write
Originally committed as revision 8270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:05:38 +00:00
Benoit Fouet
066a81a80f change management of "ab" option in ffmpeg.c, so that it works as "b" option.
patch by Benoit Fouet % benoit P fouet A purplelabs P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] use new way to handle "ab" option
Date: 03/03/2007 10:51 PM

Originally committed as revision 8244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 10:04:53 +00:00
Panagiotis Issaris
636d6a4a47 Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
to "picture" as suggested by Baptiste Coudurier.

Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 11:53:11 +00:00
Baptiste Coudurier
92d6b7fda2 imx dump header bitstream filter, modifies bitstream to fit in mov and be decoded by final cut pro decoder
Originally committed as revision 8218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:59:11 +00:00
Baptiste Coudurier
895c2c005e add bytestream_get/put_be24 functions
Originally committed as revision 8217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:51:33 +00:00
Baptiste Coudurier
5a6b9443ed dummy support for mpeg2 non linear quant
Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:26:20 +00:00
Michael Niedermayer
56c70e1d3a check for no frame and prevent segfault
Originally committed as revision 8211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 21:33:33 +00:00
Baptiste Coudurier
b0c59da234 partial avid meridien uncompressed support
Originally committed as revision 8203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:11:45 +00:00
Patrice Bensoussan
43a498f205 Add proper #idef to dlsymm call, also fixes an unresolved symbol on OS X 10.2.
patch by Patrice Bensoussan, patrice.bensoussan free fr

Originally committed as revision 8200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 08:33:07 +00:00
Diego Biurrun
4926485d92 Clarify that this decoder uses liba52.
Originally committed as revision 8199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 08:29:03 +00:00
Michael Niedermayer
66a4b2c179 support feeding individual NAL units to the decoder instead of just complete frames
Originally committed as revision 8197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 23:35:26 +00:00
Baptiste Coudurier
9a63497b0f support for mjpeg bottom field first in mov
Originally committed as revision 8192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:26:07 +00:00
Baptiste Coudurier
387afa9d01 fix adpcm swf decoding
Originally committed as revision 8186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:08:05 +00:00
Baptiste Coudurier
ea0fe83b0f remove ps option and rename rtp_payload_size AVOption to ps
Originally committed as revision 8172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:36:38 +00:00
Panagiotis Issaris
81299d421b Add documentation to some avcodec.h's pix_fmt related functions and defines.
Originally committed as revision 8171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 15:27:26 +00:00
Baptiste Coudurier
c828c70916 quicktime 'raw ' support
Originally committed as revision 8168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 13:03:33 +00:00
Baptiste Coudurier
6b936ec662 get rid of CODEC_FLAG_H263P_AIC with next major bump
Originally committed as revision 8167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 10:29:03 +00:00
Baptiste Coudurier
abd6a4fc53 define MPEG4AAC id to AAC, and get rid of it and MP3LAME id with next major bump
Originally committed as revision 8166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 10:24:07 +00:00
Baptiste Coudurier
ccec0f4f94 get rid of rtp_mode field after next major bump
Originally committed as revision 8164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 17:56:45 +00:00
Baptiste Coudurier
39c39d5f25 enable rtp payload size AVOption for video encoding
Originally committed as revision 8163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 17:40:31 +00:00
Baptiste Coudurier
4c02e46daf free faac extradata
Originally committed as revision 8161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 09:56:15 +00:00
Kostya Shishkov
c52ff68852 Looks like I'll work on it this year too
Originally committed as revision 8160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 06:59:39 +00:00
Kostya Shishkov
9d1f80f207 WMV3 Complex Profile initial support
Originally committed as revision 8159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 06:39:58 +00:00
Aurelien Jacobs
c2a29455e3 enable some 64bit optimized code on 64bit arch
Originally committed as revision 8155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 00:55:19 +00:00
Diego Biurrun
bf925c056b Fix wrong license header.
Originally committed as revision 8144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 09:56:09 +00:00
Michel Bardiaux
911b9faf31 Rename WMADecodeContext to WMACodecContext
Originally committed as revision 8143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 09:54:48 +00:00
Michel Bardiaux
a9c9a2400b Supply context to tprintf
Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 09:39:04 +00:00
Kostya Shishkov
01ca9ac334 DCA decoder
Originally committed as revision 8141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 06:30:40 +00:00
Diego Biurrun
e7ebecbf44 The Snow DEcoding routines should be under CONFIG_SNOW_DECODER.
Originally committed as revision 8140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:24:49 +00:00
Diego Biurrun
3cee76e6c9 Remove useless conditional.
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Aurelien Jacobs
eba0fcad9e cleanup setting of returned data frame
Originally committed as revision 8125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 16:02:32 +00:00
Aurelien Jacobs
704a2881bc Use pointers to avoid copying AVFrame.
This ensure get_buffer() won't be confused with an AVFrame pointer
which looks like it wasn't released.

Originally committed as revision 8124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 15:33:38 +00:00
Reimar Döffinger
f66e4f5f9e Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Panagiotis Issaris
392cf77a4b Move the unaltered documentation of the functions which are part of the public
API out of imgconvert.c into avcodec.h.

Originally committed as revision 8121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 07:53:44 +00:00
Michael Niedermayer
0268a54a65 rewrite find_frame_end()
new code correctly splits long start codes, also its about twice as fast

Originally committed as revision 8120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 02:38:08 +00:00
Ramiro Polla
0b2d5a8ed5 use FFMIN
patch by ramiro _at_ lisha.ufsc.br

Originally committed as revision 8119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 00:35:30 +00:00
Diego Biurrun
e870111e4f Only compile snowdsp_mmx.c if the Snow decoder is enabled.
Originally committed as revision 8117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 11:59:26 +00:00
Diego Biurrun
d42f88025a Fix wrong conditional, Snow decoding, not encoding, was SIMD-accelerated.
Originally committed as revision 8116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 11:58:52 +00:00
Diego Biurrun
eafcac6ac8 cosmetics: Fix another common typo, dependAnt --> dependEnt.
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 09:41:43 +00:00
Alexander Strange
bd91fee3d7 h264 optimization: common case hl_decode_mb patch by (Alexander Strange astrange ithinksw com)
144095->142319 dezicycles for hl_decode_mb() on duron
trailing whitespace removed by me

Originally committed as revision 8106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 00:58:28 +00:00
Aurelien Jacobs
65a455a879 Use pointers to avoid copying AVFrame.
This ensure get_buffer() won't be confused with an AVFrame pointer
which looks like it wasn't released.

Originally committed as revision 8105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 00:55:50 +00:00
Michael Niedermayer
58e31fb1d5 reorder a few more paddws to reduce dependancy chains
chroma mc4 put 2480 -> 2460 dezicyles on duron

Originally committed as revision 8098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:44:56 +00:00
Michael Niedermayer
b4fe97696c reorder paddws to reduce dependancy chain
put_h264_chroma_mc2_mmx2() 927 -> 902 dezicyles on duron

Originally committed as revision 8097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:28:35 +00:00
Benoit Fouet
9ff77d1797 add CODEC_TYPE_NB to enum CodecType, will be used to declare option arrays in ffmpeg.c
Patch by Benoit Fouet % benoit P fouet A purplelabs P com %

Originally committed as revision 8096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:19:29 +00:00
Michael Niedermayer
0c67082e02 shortening dependancy chain in chroma mc2
Originally committed as revision 8095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:03:30 +00:00
Michael Niedermayer
af26516261 remove now wrong comment
Originally committed as revision 8094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 14:29:59 +00:00
Michael Niedermayer
61240ae556 fix chroma mc2 bug, this is based on a patch by (Oleg Metelitsa oleg hitron co kr)
and does slow the mc2 chroma put down, avg interrestingly seems unaffected speedwise on duron
this of course should be rather done in a way which doesnt slow it down but its better a few %
slower but correct then incorrect

Originally committed as revision 8093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 14:29:13 +00:00
Aurelien Jacobs
f0b23422fa use av_noinline instead of __attribute((noinline))
Originally committed as revision 8091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 10:23:45 +00:00
Michael Niedermayer
9c856d62be dont check buffer size if the decode function wont be called at all
Originally committed as revision 8090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 00:47:21 +00:00
Panagiotis Issaris
5dad0282b5 av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.
Originally committed as revision 8089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 00:20:39 +00:00
Panagiotis Issaris
beebfdb1e8 Move the av_realloc_static() declaration out of avcodec.h into bitstream.c.
Originally committed as revision 8088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 20:21:33 +00:00
Panagiotis Issaris
e0b67c7618 Doxygenize the existing amr.c documentation.
Originally committed as revision 8087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:16:31 +00:00
Panagiotis Issaris
4267e90dd0 Doxygenize the comments for the av_fast_realloc() function.
Originally committed as revision 8086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:14:07 +00:00
Panagiotis Issaris
8079a686c3 Doxygenize the comments for the av_free_static() function.
Originally committed as revision 8085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:12:40 +00:00
Panagiotis Issaris
9c5cb112ca Doxygenize the comments for the av_mallocz_static() function.
Originally committed as revision 8084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:11:33 +00:00
Panagiotis Issaris
3d0a39fa2d Doxygenize the comments for the av_realloc_static() function.
Originally committed as revision 8083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:10:55 +00:00
Panagiotis Issaris
2fa378a72c Doxygenize the comments for the av_get_bits_per_sample() function.
Originally committed as revision 8082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:09:35 +00:00
Panagiotis Issaris
8f6260af48 Doxygenize the comments for the av_get_pict_type_char() function.
Originally committed as revision 8081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:08:39 +00:00
Panagiotis Issaris
8fc3d25c0a Doxygenize the comments for the avpicture_free() function.
Originally committed as revision 8080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:06:28 +00:00
Panagiotis Issaris
8ab4861cc2 Move the Doxygen function documentation unaltered from libavcodec/utils.c to
libavcodec/avcodec.h.

Originally committed as revision 8079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:05:44 +00:00
Panagiotis Issaris
f9ec0aa1a9 Add more Doxygen documentation.
Originally committed as revision 8078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 18:59:05 +00:00
Panagiotis Issaris
930344d854 Fix spelling.
Originally committed as revision 8077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 14:56:54 +00:00
Panagiotis Issaris
b24daebf22 The memsetting of the end of buffer is not needed for audio.
Originally committed as revision 8070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:56:31 +00:00
Panagiotis Issaris
f6618b0f43 Stray comment, probably copy & pasted from audio_encode_example().
Originally committed as revision 8066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 02:12:54 +00:00
Panagiotis Issaris
5604801191 Fix typo.
Originally committed as revision 8065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:46:36 +00:00
Diego Biurrun
3700dab4f2 cosmetics: aswell --> as well typo fix
Originally committed as revision 8062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:14:54 +00:00
Michael Niedermayer
470d2d03cc gcc 2.95 fix
Originally committed as revision 8059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:04:36 +00:00
Panagiotis Issaris
85975aa9a5 Correct typo.
Originally committed as revision 8058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:48:20 +00:00
Aurelien Jacobs
6829ac8de4 simplify release_buffer using FFSWAP
Originally committed as revision 8057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:46:25 +00:00
Diego Biurrun
3dc09ed188 simplify i386 object handling
Originally committed as revision 8056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:32:13 +00:00
Michael Niedermayer
97bbb8851b output delayed frames
fixes:
CANL4_SVA_B.264
NL3_SVA_C.264
NL3_SVA_E.264

Originally committed as revision 8055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 21:16:07 +00:00
Diego Biurrun
57177f648d cosmetics: Fix another common typo, gurantee --> guArantee.
Originally committed as revision 8054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 19:19:46 +00:00
Kostya Shishkov
391fcef9a9 100l: forgot to reset LS mode on new frame
Originally committed as revision 8053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 18:10:25 +00:00
Diego Biurrun
0afd2a92bd cosmetics: Fix a common typo, sepErate --> sepArate.
Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 10:15:08 +00:00
Panagiotis Issaris
7ad731e99f Add some more Doxygen documentation to libavcodec/utils.c.
Originally committed as revision 8041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 12:45:16 +00:00
Michel Bardiaux
346a655d46 Add support for MS-GSM codec
Originally committed as revision 8039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 11:09:47 +00:00
Panagiotis Issaris
758a6b3c06 Provide Doxygen documentation.
Originally committed as revision 8038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 10:34:01 +00:00
Guillaume Poirier
bb0f999bbb add doxygen docs for avpicture_fill()
Patch  by Panagiotis Issaris % takis P issaris A uhasselt P be %

Originally committed as revision 8034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 08:35:25 +00:00
Stefan Gehrer
0ac47d632f fix comment, get/show_bits(0) does not work
Originally committed as revision 8029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 20:59:40 +00:00
Michel Bardiaux
78104b5d76 Remove some old disabled debugging output
Originally committed as revision 8027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 11:00:38 +00:00
Loren Merritt
4672503d8c simplify in fill_caches
Originally committed as revision 8026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 04:44:17 +00:00
Panagiotis Issaris
9b2bb40341 Remove a non-C dependency (being M_PI) from the libavcodec example.
Originally committed as revision 8025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 21:23:50 +00:00
Benjamin Larsson
0564528eff Clairyfication of the gain tool struct.
Originally committed as revision 8023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 20:35:22 +00:00
Måns Rullgård
459022f504 fix for x86-64
Originally committed as revision 8022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 20:00:05 +00:00
Benjamin Larsson
dd462087fd Don't use byte swaps and use the more portable way
of declaring aligned buffers.

Originally committed as revision 8021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 19:12:20 +00:00
Michael Niedermayer
fda51641b1 factorize more calls to fill_rectangle()
Originally committed as revision 8017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:37:50 +00:00
Michael Niedermayer
d19f5acb36 factorize fill_rectangle() calls
Originally committed as revision 8016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:24:57 +00:00
Alex Beregszaszi
492d0e4c12 display line number when printing error
Originally committed as revision 8015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:02:34 +00:00
Michael Niedermayer
b21e0b6dfc rewrite H264_CHROMA_MC4_TMPL (20% faster)
Originally committed as revision 8012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 23:43:02 +00:00
Michael Niedermayer
bc2ce35b31 remove imgresample and convert with the next version bump
Originally committed as revision 8005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:55:57 +00:00
Kostya Shishkov
e4cc43625f Use AVRandom
Originally committed as revision 8004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:41:59 +00:00
Kostya Shishkov
eeb40eb367 10l: forgot break statement
Originally committed as revision 8003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:39:54 +00:00
Michael Niedermayer
8d6947bc7d factorize fill_rectangle()
remove more silly ref_count checks
use list_count where appropriate

Originally committed as revision 8000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:50:37 +00:00
Michael Niedermayer
3425501d3b replace list<2 checks by list<list_count
remove silly ref_count<0 and ref_count==0 checks its impossible for this variable to have such a value

Originally committed as revision 7999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:42:01 +00:00
Michael Niedermayer
187696fa72 fix 2nd ref_count check
add list_count

Originally committed as revision 7998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:34:21 +00:00
Michael Niedermayer
0565c64834 fix ref_count check
Originally committed as revision 7997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:29:15 +00:00
Michael Niedermayer
65a0f3fd47 factorize mv_cache and mvd_cache init
Originally committed as revision 7996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:27:59 +00:00
Michael Niedermayer
43ff071456 simplify
Originally committed as revision 7995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:25:22 +00:00
Michael Niedermayer
2a115873af add a few asserts to ensure alignment
Originally committed as revision 7994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:22:53 +00:00
Michael Niedermayer
00e210ddbb prevent h.264 MC related functions from being inlined (yes this is much faster the code just doesnt fit in the code cache otherwise)
Originally committed as revision 7993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:21:07 +00:00
Michel Bardiaux
5286d11fcd Spelling fix
Originally committed as revision 7989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:51 +00:00
Michel Bardiaux
1d726a5958 Spelling fix
Originally committed as revision 7988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:20 +00:00
Diego Biurrun
befa3397c5 Move xvmc_render.h to libavcodec where it belongs. Blessed by Ivan.
Originally committed as revision 7986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 23:33:16 +00:00
Michael Niedermayer
e13d80238c doxy for avcodec_encode_video()
Originally committed as revision 7977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 10:50:01 +00:00
Michel Bardiaux
e372862674 Fix one warning
Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 09:57:41 +00:00
Måns Rullgård
35f9736988 rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
Originally committed as revision 7968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:45:28 +00:00
François Revol
8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Michel Bardiaux
bcdf0d2697 Change some dprintf to av_log
Originally committed as revision 7964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 16:06:50 +00:00
Kostya Shishkov
674678b04a Intensity compensation for B-frames in AP was missing
Originally committed as revision 7962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 07:48:23 +00:00
Diego Biurrun
dc02fc6a68 consistency renaming: yuv422 --> yuyv422
Originally committed as revision 7959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:23:05 +00:00
Diego Biurrun
9ac529a5ba consistency renaming: uyvy411 --> uyyvyy411
Originally committed as revision 7958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:15:38 +00:00
Diego Biurrun
3cf5b6bed7 consistency renaming: rgba32 --> rgb32
Originally committed as revision 7957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:07:17 +00:00
Diego Biurrun
7bc5f2a8a4 Restore the possibility to link liba52 instead of dlopening.
Originally committed as revision 7945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 10:05:19 +00:00
Diego Biurrun
f4ca507980 Rename ac3 decoder to liba52 to prepare for native decoder.
Originally committed as revision 7939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 19:02:59 +00:00
Måns Rullgård
ecfc4f4436 rename HAVE_GPROF to CONFIG_GPROF
Originally committed as revision 7934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:39:09 +00:00
Diego Biurrun
0900a85fe8 Remove internal liba52; external lib still works, native decoder coming up.
Originally committed as revision 7933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:29:00 +00:00
Diego Biurrun
b7d3bfa6d3 Remove unused libac3 AC3 decoding interface.
Originally committed as revision 7923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:27:11 +00:00
Reimar Döffinger
392b76ca93 Minor AMD64 compilation fix
Originally committed as revision 7907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 13:33:08 +00:00
Michael Niedermayer
9bc0d3ef3e maybe fix x86_64 (untested)
Originally committed as revision 7906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 03:56:49 +00:00
Francois Oligny-Lemieux
6ff9b4226b always decode extradata when of non-avc stream (like RTSP)
Patch by Francois Oligny-Lemieux % eucloid A gmail P com %
Original thread:
Date: Feb 9, 2007 12:00 AM
Subject: [Ffmpeg-devel] h264.c patch, always decoding extradata when on non avc stream

Originally committed as revision 7904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 22:25:29 +00:00
Michael Niedermayer
b2a581dc71 packets with half pcm samples are invalid
Originally committed as revision 7900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 13:57:14 +00:00
Michael Niedermayer
7c4fd7eb0c factor out common subexprssion (gcc of course is too stupid to do this ...)
5% faster avg_h264_chroma_mc2_mmx2()
10% faster put_h264_chroma_mc2_mmx2()

Originally committed as revision 7898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:37:38 +00:00
Michael Niedermayer
9301a0b4a9 merge asm fragments in H264_CHROMA_MC2_TMPL()
10% faster avg_h264_chroma_mc2_mmx2()
5% faster put_h264_chroma_mc2_mmx2()

Originally committed as revision 7897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:24:22 +00:00
Michael Niedermayer
04cfef21ff sanity check
Originally committed as revision 7890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:25:23 +00:00
Michael Niedermayer
960964f5a9 fix segfault with lol-ffplay2.mpg (dunno if this is exploitable, probably not easily)
Originally committed as revision 7889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:21:34 +00:00
Justin Ruggles
f7a49547de fix parsing of RealAudio AC-3/DolbyNet
Originally committed as revision 7888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:02:09 +00:00
Luca Abeni
ab1c6dc95c Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)

Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 18:55:36 +00:00
Reimar Döffinger
5959a29893 Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
Fixes bug 739.

Originally committed as revision 7875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:35:36 +00:00
Michael Niedermayer
7dda43eefd vorbis suffers from the same sign flip issue as wma (so this lame workaround, though it arguably doesnt matter much where the sign is fliped back)
Originally committed as revision 7873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 16:59:10 +00:00
Michael Niedermayer
6836af5250 doxygenize
Originally committed as revision 7872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 14:53:25 +00:00
Diego Biurrun
013591c5f2 Add a comment about swapped numerator and denominator.
Originally committed as revision 7871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 14:10:50 +00:00
Diego Biurrun
9b1a3ea0de missing spaces
Originally committed as revision 7870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 12:38:47 +00:00
Diego Biurrun
71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
a1fd944f73 workaround sign bug
Originally committed as revision 7864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 23:58:02 +00:00
Michael Niedermayer
21ac1d47d1 10l use of uninitalized var
Originally committed as revision 7863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 22:20:55 +00:00
Michael Niedermayer
e8ebd57360 kill debuging code
Originally committed as revision 7856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 21:12:48 +00:00
Michael Niedermayer
5968607304 wma encoder
Originally committed as revision 7855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 20:19:04 +00:00
Michael Niedermayer
aad512b4ec Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer
7d4495dafe simplify and remove useless index in AV_W*
Originally committed as revision 7852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:10:17 +00:00
Kostya Shishkov
ac91185fb7 Progressive frames disguised as interlaced are supported
Originally committed as revision 7849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:16:52 +00:00
Kostya Shishkov
6eda6e37a9 B-frames could not be determined from broken_link/closed_entry, use fixed value
Originally committed as revision 7848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:11:20 +00:00
Kostya Shishkov
02c823d4f3 Wrong flag tested
Originally committed as revision 7847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:07:29 +00:00
Aurelien Jacobs
5e5067c73d ensure that data[0] is set to NULL for next frame
to please avcodec_default_get_buffer()

Originally committed as revision 7846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 00:35:51 +00:00
Måns Rullgård
7ee829922b oops, revert accidental checkin
Originally committed as revision 7840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 21:18:11 +00:00
Måns Rullgård
271593f123 fix multichannel decoding
Originally committed as revision 7839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 21:16:31 +00:00
Måns Rullgård
3a0495a29f move static variables to private context struct
Originally committed as revision 7838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 20:17:02 +00:00
Måns Rullgård
89fa5b4e23 remove preprocessor cruft
Originally committed as revision 7837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:56:31 +00:00
Måns Rullgård
8af23633a2 cosmetics: don't needlessly open new blocks
Originally committed as revision 7836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:55:15 +00:00
Måns Rullgård
ac49ddc60d cosmetic: indent sensibly so code can be read at all
Originally committed as revision 7835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:35:36 +00:00
Diego Biurrun
52548eeede BMP encoder by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 15:05:29 +00:00
Sascha Sommer
8274e4224a fix use of uninitialized variables
Originally committed as revision 7822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 11:57:36 +00:00
Benoit Fouet
487747de57 Remove useless check, patch by Benoit Fouet, benoit.fouet purplelabs com.
Originally committed as revision 7821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 09:11:10 +00:00
Kostya Shishkov
4305a4ef0d Set codec dimensions in extradata parsing
Originally committed as revision 7820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 06:58:02 +00:00
Kostya Shishkov
5dc4b2108f table fix
Originally committed as revision 7819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 06:56:49 +00:00
Michael Niedermayer
ac975ac462 useless as this file wont be compiled if this is not true
Originally committed as revision 7816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 11:20:32 +00:00
Kostya Shishkov
93731ff27d Save frame header info in context variables
Originally committed as revision 7815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 10:46:28 +00:00
Kostya Shishkov
f0c31621c6 Set frame rate from extradata
Originally committed as revision 7814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 10:45:01 +00:00
Michael Niedermayer
5773d46009 factorize switch_buffer()
Originally committed as revision 7813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 13:15:55 +00:00
Michael Niedermayer
e0cf92048a fix decoding of takethat.mp3
Originally committed as revision 7812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 12:42:12 +00:00
Kostya Shishkov
f0a85d5f5c These messages are just for debug purposes
Originally committed as revision 7811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 06:43:06 +00:00
Kostya Shishkov
e7cf38e556 Set codec dimensions if provided by extradata
Originally committed as revision 7810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 06:41:14 +00:00
Kostya Shishkov
35bffd7f3d VC-1 parser
Originally committed as revision 7809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 06:39:50 +00:00
Kostya Shishkov
8165ee9394 0x00000103 is not an escape marker
Originally committed as revision 7807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 15:14:13 +00:00
Michael Niedermayer
3d7232ff00 add FIXME
Originally committed as revision 7804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 10:25:30 +00:00
Kostya Shishkov
77ccd3ba54 General approach to parsing chunks in VC-1 AP
Originally committed as revision 7803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 06:45:21 +00:00
Michael Niedermayer
14c49573d8 some (probably exploitable) out of array write fixes
Originally committed as revision 7802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 02:58:01 +00:00
Måns Rullgård
7348ed6e94 missed a redundant load
Originally committed as revision 7801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 00:23:19 +00:00
Måns Rullgård
7c6c0dd9e7 revert accidental checkin
Originally committed as revision 7800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 23:30:33 +00:00
Måns Rullgård
ac62b62600 save one cycle
Originally committed as revision 7799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 22:50:38 +00:00
Måns Rullgård
173fd724f5 remove redundant loads
Originally committed as revision 7798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 22:44:42 +00:00
Kostya Shishkov
b956373b6f Check for out-of-bounds access
Originally committed as revision 7797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 18:39:49 +00:00
Michel Bardiaux
286c71074a Add decode_end method to bmp decoder. Patch by Michel Bardiaux,
mbardiaux mediaxim dot be.

Originally committed as revision 7796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:48:09 +00:00
Baptiste Coudurier
09d7aa7e30 correctly set profile/level for hd
Originally committed as revision 7795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:47:36 +00:00
Michel Bardiaux
65d999d6cf Activate guards in avcodec_default_get_buffer. Patch by Michel Bardiaux,
mbardiaux mediaxim dot be.

Originally committed as revision 7794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:45:05 +00:00
Måns Rullgård
118a49b0b7 optimize IDCT of rows with mostly zero coefficients
Originally committed as revision 7790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 23:04:56 +00:00
Reimar Döffinger
4302963daa Move lzo decompression to libavutil
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 22:58:53 +00:00
Reimar Döffinger
c215e40316 Make sure we do not accidentially "fix" cnt to something < 0
Originally committed as revision 7788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 21:20:31 +00:00
Reimar Döffinger
c0a8b87600 Simplify checks, use that we know that cnt will not be < 0
Originally committed as revision 7787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 21:00:48 +00:00
Reimar Döffinger
56f8647aaa Remove boundary checks that are actually done "well enough"
in copy function

Originally committed as revision 7786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 20:57:30 +00:00
Reimar Döffinger
9b2c14df60 Documentation fix: Copy functions should "work" fine for cnt == 0
Originally committed as revision 7785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 20:26:32 +00:00
Reimar Döffinger
1db8c21c1f Optimize LZO copy operations
Originally committed as revision 7784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 17:16:13 +00:00
Michel Bardiaux
e8f917d6fd Fix memcpy out-of-bounds.
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 11:19:48 +00:00
Michael Niedermayer
960e48f8f0 another >> vs >
Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:48:08 +00:00