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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Reimar Döffinger
d819b41ba1
Remove unused variable in mpeg_mc_decode_init
...
Originally committed as revision 17676 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
765e94ef9e
More AVhwaccel hunks from Gwenole Beauchesne.
...
Originally committed as revision 17590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Michael Niedermayer
a05aa821b6
add ff_find_hwaccel() by Gwenole Beauchesne
...
Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Ivan Kalvachev
4acfdcab26
Cosmetics
...
Originally committed as revision 17294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Ivan Kalvachev
9e494ab77c
Check ff_xvmc_field_start() result in all cases.
...
Originally committed as revision 17290 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Ivan Kalvachev
78f9a87830
use ff_xvmc for function names instead of XVMC_
...
Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Peter Ross
50240e5646
convert mpeg1_decode_block_intra() to inline global
...
Originally committed as revision 17000 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
2bb6eba21d
remove ff_get_fourcc() and use AV_RL32() instead
...
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
2b3242253d
Add mpeg1_vdpau decoder.
...
Originally committed as revision 16640 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
e7edb2ea93
12l: Fix compilation with --disable-vdpau.
...
Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
062e7c3ca8
Avoid using sub_id in mpeg1/2video.
...
Originally committed as revision 16587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
448ecb68e3
Rename mpeg_set_pixelformat() as mpeg_get_pixelformat().
...
Originally committed as revision 16455 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
93c69a94ea
Factorise setting of avctx->pix_fmt.
...
Originally committed as revision 16453 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b24298badc
Switch xvmc over to a CONFIG_ option.
...
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
047599a4ba
Rename error_resilience to error_recognition.
...
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
8ee552f69c
simplify mpeg12 avctx->pix_fmt set
...
Originally committed as revision 14986 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Diego Biurrun
054480a57b
cosmetics: comment spelling/grammar fixes
...
Originally committed as revision 14866 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Diego Biurrun
6ec87fbd92
Mark init_vlcs function as av_cold.
...
Originally committed as revision 14830 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
9ef3193df1
Remove constant argument.
...
Originally committed as revision 13564 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Michael Niedermayer
16e30b7a04
Do not reject odd width/height.
...
Fixes issue371.
Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
9b7ca3b71d
Decode stuff from extradata as well.
...
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago