1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-14 19:13:30 +02:00
Commit Graph

605 Commits

Author SHA1 Message Date
Carl Eugen Hoyos
0fd0ef7947 Add new decoder property max_lowres and do not init decoder if requested value is higher.
Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 21:23:36 +00:00
Daniel Kristjansson
0db2d3cf1d Do not skip one of three bits zero padding.
Patch by Daniel Kristjansson, danielk cuymedia net

Originally committed as revision 23914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 21:46:03 +00:00
Måns Rullgård
49bd8e4b84 Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
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
2010-04-20 14:45:34 +00:00
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
2010-03-30 23:30:55 +00:00
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
2010-03-23 02:17:04 +00:00
Michael Niedermayer
53f66cee0c Add ff_ prefix for mpeg2_dc_scale_table.
Originally committed as revision 22556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 22:49:46 +00:00
Michael Niedermayer
acbb378d1d Fix timestamp association for mpeg2 field pictures.
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob

Originally committed as revision 21949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 23:22:51 +00:00
Carl Eugen Hoyos
b52fcba9cd Fix decoding ATI VCR2 codec, sample in
samples/V-codecs/ATI-VCR12/ATI/VCR2test.avi
Software decoding was broken since r8865, when two new context variables
were added, but not initialized in vcr2_init_sequence().
Another such context variable was added in r18381.

Originally committed as revision 21438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-24 22:47:50 +00:00
Michael Niedermayer
7a14430ed7 Be less picky on invalid frame_pred_frame_dct values.
Fixed issue1615.

Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 19:44:01 +00:00
Carl Eugen Hoyos
6e4f40e1f4 Cosmetics: Reindent after r20679.
Originally committed as revision 20738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-05 09:41:23 +00:00
Michael Niedermayer
483aad717e slif aka "SoftLab MPEG-2 I-frames Codec" support.
Flipping one bit still is popular it seems as a means to create a new codec.
fixes issue1469.

Originally committed as revision 20679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-01 02:07:46 +00:00
Michael Niedermayer
52069c4d3c Move "slice below image" check from mpeg_decode_slice to its caller.
Should fix issue1277.

Originally committed as revision 20676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 23:08:25 +00:00
Michael Niedermayer
d52b4abe8b Move dummy picture allocation code from mpeg1/2 to mpegvideo.
This fixes a infinite loop on a b frame.

Originally committed as revision 20672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 21:22:01 +00:00
Michael Niedermayer
078cdecf9e Set mb_y in mpeg2 field pictures like h264 does.
This fixes -vismv & -debug 16384 with field pictures.

Originally committed as revision 20670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 19:14:00 +00:00
Michael Niedermayer
ab8c48de8c Start decoding from seq/gop too, not just I frames.
Possibly fixes issue1124.

Originally committed as revision 20667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 03:32:43 +00:00
Michael Niedermayer
f0ec239438 Fix dual prime motion compensation in field pictures.
Fixes issue1125.

Originally committed as revision 20666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-30 02:37:03 +00:00
Michael Niedermayer
aeaef4ed63 Print errors instead of just ignoring contradictionary values in mpeg2 silently.
Originally committed as revision 20656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 14:31:40 +00:00
Michael Niedermayer
87f6806069 Override a few values read so as to ensure that things are not inconsistent.
Originally committed as revision 20654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 03:32:30 +00:00
Michael Niedermayer
d9b99556bf Restructure dummy frame allocation.
New code also allocates a dummy frame for an p field after an i field,
previously that could segfault due to reading from NULL+x.

Originally committed as revision 20653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 03:05:11 +00:00
Michael Niedermayer
9d13016690 Make sure field_select is not set to nonsensical values even if unused.
Fixed an assert failure.

Originally committed as revision 20646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 01:50:43 +00:00
Michael Niedermayer
1c3260939d Factorize "s->first_slice = 1" out.
Originally committed as revision 20645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-28 23:17:46 +00:00
Michael Niedermayer
88eba670fb Also check the location of the picture start code and picture coding
extension a little.

Originally committed as revision 20644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-28 23:05:06 +00:00
Michael Niedermayer
fc23d843e1 Check order of startcodes, ignore some obviously wrong ones.
Fixes issue487.

Originally committed as revision 20643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-28 22:51:53 +00:00
Michael Niedermayer
bbf266fdb5 Move mpeg_decode_postinit() out of bitstream decoding functions, it does not
belong in there.

Originally committed as revision 20642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-28 21:32:33 +00:00
Michael Niedermayer
1206f1d630 Inline mpeg_decode_extension, will simplify future changes.
Originally committed as revision 20641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-28 18:57:12 +00:00
Michael Niedermayer
191ad11e91 Simplify mpeg_decode_user_data()
Originally committed as revision 20640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-28 14:17:28 +00:00
Ronald S. Bultje
6e44ba1550 Use get_bits_left() instead of size_in_bits - get_bits_count().
Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-16 17:42:43 +00:00
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
2009-10-06 06:33:18 +00:00
Gwenole Beauchesne
25450bb252 Move down HWAccel code path so that to fill in s->mb_x first.
Originally committed as revision 19875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-16 07:49:08 +00:00
Baptiste Coudurier
6be8b20466 Revert r19317, "simplify slice_end, return size of output frame".
It returns non decodable B-frames.

Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 20:35:28 +00:00
Baptiste Coudurier
f7f1eb6cc9 simplify slice_end, return size of output frame
Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 17:29:52 +00:00
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
2009-05-27 19:55:35 +00:00
Wolfram Gloger
ed1dc74e18 Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.

Originally committed as revision 18959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 00:14:32 +00:00
Reimar Döffinger
936bb4a9bc Add a forward declaration of mpeg1_decode_block_intra to fix compilation
broken by r18859 for e.g. all gcc 4 compilers.

Originally committed as revision 18861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 09:09:07 +00:00
Måns Rullgård
db2f209352 mpeg12: fix non-standard use of "extern inline"
Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and
make it static.  Add ff_mpeg1_decode_block_intra as plain extern
function calling mpeg1_decode_block_intra.

Originally committed as revision 18859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 00:54:29 +00:00
Baptiste Coudurier
9d9a623925 decode mpeg-2 closed gop first b frames, fix issue #824
Originally committed as revision 18837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-15 05:39:44 +00:00
David Conrad
580a7465fb Add a chroma_sample_location field to define positioning of chroma samples
Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 04:34:23 +00:00
Michael Niedermayer
9c24cd7236 Extract colorspace fields from MPEG1/2.
Originally committed as revision 18747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 19:53:49 +00:00
Michael Niedermayer
714127812c Ignore first entry of intra matrixes if it is invalid.
Fixes pink.mpg / issue1046.

Originally committed as revision 18724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 12:31:19 +00:00
Michael Niedermayer
45ccc61a06 Factorize quantization matrix loading code out.
Originally committed as revision 18723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 12:17:25 +00:00
Michael Niedermayer
0127b86108 Fix mb_height for interlaced mpeg2.
This correctly fixes issue961, thanks to steven warren for spotting my mistake.

Originally committed as revision 18381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:48:44 +00:00
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
2009-04-07 15:59:50 +00:00
Michael Niedermayer
a4c7a5ea27 Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
of calling it at the end of a frame with a large negative offset.
This significantly reduces the maximal distance in container packets between
the point where the first byte of the "access unit" was stored and where
we call ff_fetch_timestamp() thus reducing the constraints on our parser.
Also change the parser from next_frame_offset to cur, this is needed
because now the reference is from container packet start instead of
frame start. (i previously misinterpreted this as bug)

Originally committed as revision 17731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 14:53:18 +00:00
Diego Biurrun
326b554ccf xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.
Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 05:20:00 +00:00
Reimar Döffinger
d819b41ba1 Remove unused variable in mpeg_mc_decode_init
Originally committed as revision 17676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 09:14:20 +00:00
Gwenole Beauchesne
6aca2c6785 Remove superfluous call to mpeg_decode_slice() for hwaccel, this
function already contains the needed code.
Patch by Gwenole Beauchesne.

Originally committed as revision 17636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:20:45 +00:00
Michael Niedermayer
3797c74ba5 Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.

Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 23:47:32 +00:00
Michael Niedermayer
765e94ef9e More AVhwaccel hunks from Gwenole Beauchesne.
Originally committed as revision 17590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 19:16:27 +00:00
Ivan Schreter
edbd72acea Correct time_base and repeat_pict for MPEG2 video.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 20:23:19 +00:00
Michael Niedermayer
a05aa821b6 add ff_find_hwaccel() by Gwenole Beauchesne
Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 19:04:43 +00:00
Michael Niedermayer
c269cf68a0 Approved hunks for VAAPI / our new shiny hwaccel API
by Gwenole Beauchesne gbeauchesne splitted desktop com

Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 13:35:52 +00:00
Ivan Kalvachev
21effaa4b2 Change the type of pblocks from pointers to short array into
pointers to array of 64 DCTELEM, similarly to other block fields.
This also get rid of some casts and fixes a warning.

Originally committed as revision 17517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 09:02:06 +00:00
Ivan Kalvachev
4acfdcab26 Cosmetics
Originally committed as revision 17294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 23:01:19 +00:00
Ivan Kalvachev
ce0e60a108 Merge preprocessor if CONFIG_MPEG_XVMC_DECODER and code if( &&)
where possible

Originally committed as revision 17293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:59:19 +00:00
Ivan Kalvachev
9e494ab77c Check ff_xvmc_field_start() result in all cases.
Originally committed as revision 17290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:46:20 +00:00
Diego Biurrun
4440bd0da4 Add xvmc_internal.h that contains all internal xvmc function declarations.
This allows getting rid of a bunch of ugly forward declarations.

Originally committed as revision 17280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:37:14 +00:00
Ivan Kalvachev
78f9a87830 use ff_xvmc for function names instead of XVMC_
Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:25:41 +00:00
Diego Biurrun
fc2dd7e3de Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:37:40 +00:00
Peter Ross
44ba8b650f don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required for the Electronic Arts TQI decoder.
Originally committed as revision 17001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 07:59:11 +00:00
Peter Ross
50240e5646 convert mpeg1_decode_block_intra() to inline global
Originally committed as revision 17000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 07:57:11 +00:00
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
2009-02-01 02:00:19 +00:00
Diego Biurrun
406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences.
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Aurelien Jacobs
2bb6eba21d remove ff_get_fourcc() and use AV_RL32() instead
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:21:01 +00:00
Carl Eugen Hoyos
2b3242253d Add mpeg1_vdpau decoder.
Originally committed as revision 16640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:50:32 +00:00
Carl Eugen Hoyos
e7edb2ea93 12l: Fix compilation with --disable-vdpau.
Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:50:20 +00:00
NVIDIA Corporation
d37edddc09 Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:14:07 +00:00
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
2009-01-13 23:44:16 +00:00
Michael Niedermayer
062e7c3ca8 Avoid using sub_id in mpeg1/2video.
Originally committed as revision 16587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 21:13:45 +00:00
Carl Eugen Hoyos
448ecb68e3 Rename mpeg_set_pixelformat() as mpeg_get_pixelformat().
Originally committed as revision 16455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 18:58:18 +00:00
Carl Eugen Hoyos
93c69a94ea Factorise setting of avctx->pix_fmt.
Originally committed as revision 16453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 15:16:33 +00:00
Diego Biurrun
b24298badc Switch xvmc over to a CONFIG_ option.
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:22:51 +00:00
Diego Biurrun
9686df2be5 Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Roman Shaposhnik
3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
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
Aurelien Jacobs
c53d2d9042 make some parser parameters const to avoid casting const to non-const
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 00:47:03 +00:00
Aurelien Jacobs
95dca03f77 add a ff_ prefix to the now exported mpeg1_find_frame_end() function
Originally committed as revision 8902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:25:02 +00:00
Aurelien Jacobs
7f50d4ac51 move mpegvideo_parser in it's own file
Originally committed as revision 8901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:18:51 +00:00
Heikki Lindholm
29644cb504 make mpeg decoder handle mid-stream changes in resolution
patch by Heikki Lindholm holindho at cs helsinki fi
original thread: [Ffmpeg-devel] [PATCH] fix mid-stream resolution changes
date: Sat Mar 31 13:52:50 CEST 2007

Originally committed as revision 8865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 08:18:28 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +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
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
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
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
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
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
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
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
Michael Niedermayer
0e066acb62 fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.mpg and http://sam.zoy.org/zzuf/lol-ffplay.m2v
Originally committed as revision 7538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:26:09 +00:00
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
2006-12-08 00:35:08 +00:00
Måns Rullgård
7b7abda3b3 make more tables static
Originally committed as revision 6996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 23:14:20 +00:00
Baptiste Coudurier
9d210bb42b typo
Originally committed as revision 6934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:50:41 +00:00
Baptiste Coudurier
80d617f5b4 add option to set mpeg1/2 gop timecode start, and drop frame flag timecode flag
Originally committed as revision 6933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:45:08 +00:00
Baptiste Coudurier
7d6b1abe1a rename ff_mpeg1_find_frame_end to mpeg1_find_frame_end and make it static
Originally committed as revision 6915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:46:54 +00:00
Baptiste Coudurier
4067d81be2 move AVCodecParser prototypes and definitions to parser.h, and move mpegvideo parser to mpeg12.c
Originally committed as revision 6914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:43:49 +00:00
Steve L'Homme
e344c1ea36 reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:09:14 +00:00
Michael Niedermayer
5d48f0cb05 set v_edge_pos correctly for field picture mpeg2
Originally committed as revision 6782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 07:33:39 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
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
2006-10-07 15:30:46 +00:00
Måns Rullgård
191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Stefan Gehrer
761089b028 staric frame_rate_tab -> non static ff_frame_rate_tab part of the cavs patch by (Stefan Gehrer stefan.gehrer gmx de)
Originally committed as revision 5578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 14:50:23 +00:00
Baptiste Coudurier
2d974017b0 MPEG-2 4:2:2 encoding support
Originally committed as revision 5387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 15:19:54 +00:00
Baptiste Coudurier
307eb24879 add MPEG-2 intra vlc support
Originally committed as revision 5372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 17:16:58 +00:00
Baptiste Coudurier
d634aa2095 remove unused variable
Originally committed as revision 5371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 15:43:51 +00:00
Michael Niedermayer
7923a3f904 d10 decoding fix
Originally committed as revision 5341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 09:03:22 +00:00
Steve L'Homme
267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Michael Niedermayer
2669777981 fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:59:22 +00:00
Michael Niedermayer
82fcbc145d faster find_startcode()
Originally committed as revision 4939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 20:32:02 +00:00
jwestfall@surrealistic.net
dd1a74d25d Off by one fix to prevent possible segfault. Patch by jwestfall at surrealistic dot net.
Originally committed as revision 4857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 17:43:22 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Ivan Kalvachev
31a78b718b Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts

Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-20 23:09:05 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Michael Niedermayer
8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer
02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
Michael Niedermayer
3b5ffe7a39 fix mpeg2 chroma_420_type
Originally committed as revision 4274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 19:42:42 +00:00
Michael Niedermayer
89ba9eede9 preserve parse context
Originally committed as revision 4241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 15:34:49 +00:00
Michael Niedermayer
4ad8ecd136 sanity check
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 10:15:19 +00:00
Michael Niedermayer
9cd8179818 #defines for strict_std_compliance and split between inofficial extensions and non standarized things
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 20:15:42 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Mike Melanson
160d679c07 Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Michael Niedermayer
2de4ba7ff7 avoid clearing block[] if its not used at all
Originally committed as revision 4148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:23:22 +00:00
Michael Niedermayer
dff0f03546 mpeg2_fast_decode_block_intra()
Originally committed as revision 4146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 20:31:04 +00:00
Michael Niedermayer
29df259923 optimizing non_intra ac coeff decode
Originally committed as revision 4140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 11:37:01 +00:00
Michael Niedermayer
e91f4bf160 avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
avcoder
a622dc4320 Typo errors patch by (QuickTime | ffmpeg gmail com>
Originally committed as revision 4103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 11:25:44 +00:00
Ivan Kalvachev
aa26aa789b reinitialize on aspect change,
required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 17:34:31 +00:00
Michael Niedermayer
71434945f2 more checks, fixes assertion failure
Originally committed as revision 4081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 17:01:49 +00:00
Michael Niedermayer
d8a57c6db9 (10l) supported pix_fmts forgotten
Originally committed as revision 4022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 20:35:27 +00:00
Michael Niedermayer
27ef18d12f typo
Originally committed as revision 4006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:37:19 +00:00
Josh Varner
fe533bb3a7 removing --disable-risky patch by (Josh Varner <jlvarner gmail com>)
Originally committed as revision 3966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:50:48 +00:00
Michael Niedermayer
934982c4ac avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Burkhard Plaum
073c2593c9 Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Michael Niedermayer
7494cac0fd fix constrained parameters flag
Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 23:07:18 +00:00
Michael Niedermayer
21adafec2a lowres width/height cleanup 3rd try
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
4f8a831994 set AVCodecContext.width/height to the picture width/height instead of the one stored in the bitstream (that only matters if lowres!=0)
Originally committed as revision 3518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 02:39:55 +00:00
Michael Niedermayer
af2a9e8fdb lowres slice fix
Originally committed as revision 3513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 13:03:43 +00:00
Michael Niedermayer
178fcca848 1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer
c32b14bb9c mess cleanup
Originally committed as revision 3449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 18:54:02 +00:00
Michael Niedermayer
3cb018726c typo
Originally committed as revision 3431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 18:46:41 +00:00
Michael Niedermayer
628b210f40 optional non spec compliant optimizations for mpeg1
Originally committed as revision 3430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:46:03 +00:00
Michael Niedermayer
6fc5b059b8 optional non spec compliant optimizations
Originally committed as revision 3429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:30:46 +00:00
Michael Niedermayer
baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Wolfram Gloger
6cfe51d9da Avoid segfault on ffmpeg "buffer flush" in mpeg12.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 18:36:39 +00:00
Michael Niedermayer
77e6c403e7 10l (fixes delayed frames during encoding)
Originally committed as revision 3278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 23:12:21 +00:00
Michael Niedermayer
0dfd33c3f1 support skiping of mb rows during decoding
Originally committed as revision 3253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 02:20:38 +00:00
Michael Niedermayer
0ff93477be optimization
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 14:11:44 +00:00
Ivan Kalvachev
715731a32b better cbp handling and small speedup in mpeg12
Originally committed as revision 3219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-12 16:51:15 +00:00
Ivan Kalvachev
ffdff4d7e8 mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
Originally committed as revision 3215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 07:59:12 +00:00
Michael Niedermayer
53db1cae1c data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
bf266e195a intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:44:29 +00:00
Ivan Kalvachev
d1700ead3b cola test
Originally committed as revision 3089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 23:20:46 +00:00
Michael Niedermayer
e4cb187db8 remove duplicated find_frame_end() code
move codec specific code from parser.c -> <codecname>.c as far as its easily possible

Originally committed as revision 3087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 14:21:33 +00:00
Michael Niedermayer
8aedc51d2b simplify
Originally committed as revision 3085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:50:41 +00:00
Michael Niedermayer
25ef43bb28 corrupted field pictures segfault fix
Originally committed as revision 3040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 21:41:08 +00:00
Michael Niedermayer
7c4f71c428 exporting field_select/ref_index values
Originally committed as revision 3035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-19 03:33:23 +00:00
Michael Niedermayer
0c352cadb0 fix exported motion vectors
Originally committed as revision 3032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 17:46:52 +00:00
Michael Niedermayer
137c8468e8 unify table indexing (motion_val,dc_val,ac_val,coded_block changed)
minor +-1 bugfix

Originally committed as revision 3016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:01:45 +00:00
Michael Niedermayer
8680741006 skiped mbs in interlaced b frames fix
Originally committed as revision 2946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:48:20 +00:00
Falk Hüffner
7906085fcc warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Michael Niedermayer
8fe2c60e5f 1000l for iive
Originally committed as revision 2916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 20:54:04 +00:00
Michael Niedermayer
7813d6a307 1000000l (using uninitalized variable for initalizing bits per MV table)
Originally committed as revision 2900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:57:27 +00:00
Michael Niedermayer
3edcacde04 init cleanup
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:11:29 +00:00
Ivan Kalvachev
6fe1a1a55b use pan_scan to remove some weight, proper pan_scan offset reading
Originally committed as revision 2898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 15:38:40 +00:00
Ivan Kalvachev
5ac4768362 mpeg12 fix 10l of aspect calucalations, return gop perser to print debug info, and make mpeg1_seq_header hot overwrite height/width
Originally committed as revision 2897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 16:41:15 +00:00
Ivan Kalvachev
a6b9ffbfc7 move MPV_common_init after parsing stream parameters, matrix rebuild
Originally committed as revision 2894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 00:08:24 +00:00
Michael Niedermayer
8be014e027 removing broken mpeg_decode_gop()
Originally committed as revision 2883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 22:01:32 +00:00
Michael Niedermayer
c7516a000c find_start_code() optimization (about 2x faster now) this may improve decoding speed with multiple threads
Originally committed as revision 2862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 15:23:14 +00:00
Zdenek Kabelac
5f0f7713ad * more consts
Originally committed as revision 2847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:21:56 +00:00
Zdenek Kabelac
49a37411f3 * const warn elimination
Originally committed as revision 2846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:09:12 +00:00
Ivan Kalvachev
494c56d36f silence warnings
Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-04 14:58:48 +00:00
Ivan Kalvachev
461cd5bfb5 add vlc for cbp=0 that is valid in 422,444
Originally committed as revision 2838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 18:39:25 +00:00
Michael Niedermayer
50c93f74a6 10l (segfault fix)
Originally committed as revision 2837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 17:21:55 +00:00
Ivan Kalvachev
4eaad9c028 forgot default chroma_format value
Originally committed as revision 2835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:40:18 +00:00
Ivan Kalvachev
5e5c247a7c initial chroma_format changes,xvmc tweaks and codec_cap
Originally committed as revision 2833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 14:55:21 +00:00
Michael Niedermayer
4c9544d026 mpeg2 field pic decoding fix
simplifiations

Originally committed as revision 2826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 21:02:49 +00:00
Michael Niedermayer
8d52ec7eb0 AVCodec.supported_framerates
Originally committed as revision 2821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 18:29:39 +00:00
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Ivan Kalvachev
530d574081 use get_format
Originally committed as revision 2802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 00:30:33 +00:00
Michael Niedermayer
e6dc9c6f99 more error checks for the sequence header
Originally committed as revision 2788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-16 03:34:11 +00:00
Michael Niedermayer
9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Alex Beregszaszi
fe455f3328 get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 15:27:31 +00:00
Michael Niedermayer
303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Michael Niedermayer
2c492e94fc removing broken framerate conversation hack in mpeg1/2
Originally committed as revision 2713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:41:44 +00:00
Michael Niedermayer
8f2ab83318 copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Michael Niedermayer
303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer
51929fd312 simplify
Originally committed as revision 2668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 11:16:05 +00:00
Michael Niedermayer
b1b8f9fc58 gop timestamp fix
Originally committed as revision 2667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 22:13:14 +00:00
Michael Niedermayer
96b73a2ada frame rate emulation "fix" by (Mean <fixounet at free dot fr>)
Originally committed as revision 2664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 17:43:28 +00:00
Michael Niedermayer
baaf3f467b SVCD scan offset stuff
Originally committed as revision 2660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 00:23:14 +00:00
Michael Niedermayer
0368c72d83 print vbv buffer size & bitrate when decoding with -debug 1
Originally committed as revision 2641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 02:56:35 +00:00
Michael Niedermayer
bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Wolfgang Hesseler
0c9bbaec60 motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
d60a8f85d7 vbv_delay
Originally committed as revision 2623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-17 19:53:05 +00:00
Michael Niedermayer
31b1ec5d38 mv vissualization & field picture fix
Originally committed as revision 2610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 20:48:12 +00:00
Wolfgang Hesseler
fad05f523c cygwin fix and dont average interlaced MVs patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 17:47:23 +00:00
Michael Niedermayer
a4337a5130 10l (printing qscale before parsing it)
Originally committed as revision 2608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 16:15:32 +00:00
Fabrice Bellard
7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Fabrice Bellard
3ab5b8cc9a interlaced DCT support for MPEG2 encoding
Originally committed as revision 2591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:51:54 +00:00