Michael Niedermayer
ed16f91f26
Guess picture type from picture coding extension when the main header is damaged.
...
Originally committed as revision 15456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 23:19:12 +00:00
Michael Niedermayer
047599a4ba
Rename error_resilience to error_recognition.
...
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Michael Niedermayer
395206f6b1
Ignore the spec, and calculate aspect ratio on width/height.
...
Fixes issue562 and issue621.
Originally committed as revision 15183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 19:04:46 +00:00
Baptiste Coudurier
8ee552f69c
simplify mpeg12 avctx->pix_fmt set
...
Originally committed as revision 14986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 23:25:29 +00:00
Diego Biurrun
071083b4a5
Rename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.
...
Now that it is exported, this should avoid confusion and name clashes.
Originally committed as revision 14867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 17:05:14 +00:00
Diego Biurrun
054480a57b
cosmetics: comment spelling/grammar fixes
...
Originally committed as revision 14866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 16:59:26 +00:00
Diego Biurrun
0da49fca79
Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.
...
Originally committed as revision 14851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 20:52:26 +00:00
Diego Biurrun
6ec87fbd92
Mark init_vlcs function as av_cold.
...
Originally committed as revision 14830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 08:55:40 +00:00
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
2008-06-12 21:50:13 +00:00
Baptiste Coudurier
ce8f4fb388
print correct mpeg-2 broken_link value, and print closed_gop
...
Originally committed as revision 13630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 19:04:14 +00:00
Michael Niedermayer
2d80ce2bdf
Change init_2d_vlc_rl() to not use *alloc_static().
...
Originally committed as revision 13566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:06:40 +00:00
Michael Niedermayer
9ef3193df1
Remove constant argument.
...
Originally committed as revision 13564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:06:08 +00:00
Michael Niedermayer
f76605e880
Switch to INIT_VLC_USE_NEW_STATIC.
...
Note, if code you maintain still uses INIT_VLC_USE_STATIC please change
it as well! Iam not volunteering to clean all codecs up ...
Originally committed as revision 13563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:02:59 +00:00
Michael Niedermayer
16e30b7a04
Do not reject odd width/height.
...
Fixes issue371.
Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:31:07 +00:00
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
2008-05-11 22:28:43 +00:00
Stefano Sabatini
6140271f54
Add some long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:24:44 +00:00
Michael Niedermayer
9b7ca3b71d
Decode stuff from extradata as well.
...
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:28:16 +00:00
Michael Niedermayer
7f8ef97534
Factorize code a little.
...
Originally committed as revision 12674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:25:07 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Diego Biurrun
b2c26e2717
Use correct t printf modifier for pointer differences.
...
Originally committed as revision 12442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 13:19:39 +00:00
Baptiste Coudurier
99c763d143
log aspect ratio forbidden value, and fail if error resilience is high
...
Originally committed as revision 12438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 09:33:38 +00:00
Baptiste Coudurier
a2338352be
do not fail badly if aspect ratio is 0/forbidden, fix issue 369
...
Originally committed as revision 12434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:26:53 +00:00
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Michael Niedermayer
21da962cf1
Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
...
field pictures much more digestable.
Originally committed as revision 12160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:45:38 +00:00
Michael Niedermayer
0521808158
Reduce the number of senselessly scanned bytes.
...
Originally committed as revision 12144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 15:55:14 +00:00
Michael Niedermayer
e68c7a4abe
const
...
Originally committed as revision 11710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:34:43 +00:00
Michael Niedermayer
9bd005bdbc
Drop non key frames before the first key frame.
...
Originally committed as revision 11411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 01:14:09 +00:00
Stefan Lucke
b8a9dfb7f6
Prevent infinite loop when buffer holds SEQ_END_CODE only. Fix for r9870
...
Patch by Stefan Lucke <stefan <at> lucke.in-berlin.de>
Subject: API breakage by r9870
Date: 2007-10-05 11:06:47 GMT
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/57467
Originally committed as revision 10720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 01:34:00 +00:00
Michael Niedermayer
4e2b9bcc08
Make MPEG-1/2 decoder work with the libmpeg2-style bitstream reader.
...
Originally committed as revision 9890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:01:11 +00:00
Michael Niedermayer
392b748293
output last frame if seq end code is encountered
...
fixes video decoding of AC3TEST.vob
closes issue19
Originally committed as revision 9870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 20:49:42 +00:00
Michael Niedermayer
037df60e05
simplify s->mv_dir init
...
Originally committed as revision 9867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 01:28:37 +00:00
Michael Niedermayer
653f738780
exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane,
...
matches the order of some other stuff and allows some simplifications)
Originally committed as revision 9864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:12:52 +00:00
Michael Niedermayer
04b502fa36
exchange if() and for() in the MT_FIELD case
...
18 cpu cycles faster for matrixbench
Originally committed as revision 9863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:17:26 +00:00
Michael Niedermayer
f4fbcd33d9
exchange for() and if() order in the MT_FRAME case
...
safes 24 cpu cycles
Originally committed as revision 9862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:05:58 +00:00
Michael Niedermayer
356ab1dace
change
...
for(){
if(){
switch(){
to
switch(){
for(){
if(){
this halfs the number of times the switch is executed in bidir blocks, in
other blocks the number is the same
25 cpu cycles less with matrixbench on duron
Originally committed as revision 9860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:37:41 +00:00
Michael Niedermayer
2952d13ad5
merge another 2 if() to save a few cpu cycles
...
Originally committed as revision 9858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:04:12 +00:00
Michael Niedermayer
09d1bee89e
reorder if() so that the condition can be simplified
...
saves another 4 cpu cycles
Originally committed as revision 9857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:37:28 +00:00
Michael Niedermayer
0ac6b5a301
merge/simplify 2 if()
...
~4 cpu cylces faster for the matrixbench video
Originally committed as revision 9856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:26:24 +00:00
Michael Niedermayer
fecc146b28
merge 2 if()
...
this safes 1-2 cpu cycles
Originally committed as revision 9855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:17:36 +00:00
Michael Niedermayer
01e795aba3
move some code which was executed for every skipped MB so it is only executed
...
for the first skipped mb in a run
Originally committed as revision 9845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:39:09 +00:00
Michael Niedermayer
4152c5ce14
get rid of a useless variable
...
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:00:17 +00:00
Michael Niedermayer
7ceab4af35
avoid 2 additions (1 cpu cycle) per MB
...
Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:52:49 +00:00
Michael Niedermayer
5bfbf0a54f
chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
...
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:44:48 +00:00
Aurelien Jacobs
eaa7557c73
add proper ff_ prefix to new extern symbols
...
Originally committed as revision 9479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:21:55 +00:00
Aurelien Jacobs
a6bc573158
split mpeg12 encoder out of mpeg12.c
...
Originally committed as revision 9477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:08:28 +00:00
Michael Niedermayer
28bf121a22
get rid of one unneeded #ifdef HAVE_XVMC
...
Originally committed as revision 9389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 17:18:58 +00:00
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Aurelien Jacobs
ab8072a6a2
move imx_dump_header bitstream filter in its own file
...
Originally committed as revision 9067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:44:41 +00:00
Jason Millard
cd61e40781
allow to enable or disable every bitstream filters individually
...
Original patch by Jason Millard jsm174 _at_ gmail
Date: On Fri, 11 May 2007 11:14:01 -0400
Subject: [FFmpeg-devel] enable/disable bitstream filters?
Originally committed as revision 9010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:33:53 +00:00