Commit Graph

9266 Commits

Author SHA1 Message Date
Justin Ruggles
5756bc7b02 flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
bytes, not 24.

Originally committed as revision 17820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 02:21:35 +00:00
Justin Ruggles
bf1d7e285c flacdec: cosmetics: move 2 statements to immediately after frame
decoding.

Originally committed as revision 17819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 01:23:53 +00:00
Justin Ruggles
fd6fd470ce flacdec: Simplify frame sync by not using the bitstream reader.
Originally committed as revision 17818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 01:15:38 +00:00
Justin Ruggles
a8ec12bc2e flacdec: Split the metadata_parse() function into 2 separate functions,
parse_streaminfo() and get_metadata_size().

Originally committed as revision 17817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 00:56:09 +00:00
Justin Ruggles
5ef4fa87b3 flacdec: Add a check for small buffer size. This ensures reading as
much of the frame header as possible without excluding the smallest
possible FLAC frame.  It also fixes a false positive warning message
that was being emitted at the end of decoding.

Originally committed as revision 17816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:55:10 +00:00
Justin Ruggles
c51997297a flacdec: cosmetics: Use a more descriptive variable name for the number
of bytes read, instead of reusing 'i'.

Originally committed as revision 17815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:24:44 +00:00
Justin Ruggles
549bccdbe4 flacdec: Handle 32 bps data when checking allocated size.
Originally committed as revision 17814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:16:30 +00:00
Justin Ruggles
a3d2379bdd flacdec: Check curr_bps after wasted bits are subtracted.
Originally committed as revision 17813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:10:40 +00:00
Stefano Sabatini
d3f766124a Fix typo: "i" -> "in".
Originally committed as revision 17812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 21:50:10 +00:00
Ivan Schreter
70e01da3bf Add support for ct_type to correctly detect interlaced flag
Originally committed as revision 17811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 19:37:19 +00:00
Reimar Döffinger
6d08f6c911 100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
instead of the 16x16 one. Seems to fix decoding on PPC.

Originally committed as revision 17808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:18:49 +00:00
Reimar Döffinger
5133816627 Set AVFrame.reference correctly for nuv decoder.
Originally committed as revision 17807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 17:12:58 +00:00
Vitor Sessak
a66430c0d0 Add more correct bound checking in filter_mb().
Should fix decoding of CVMAPAQP3_Sony_E.jsv in MinGW

Originally committed as revision 17806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 16:56:55 +00:00
Gwenole Beauchesne
34e46c44da Add frame buffer allocators. aka simplify calls to
AVCodecContext.{get,release}_buffer().

Originally committed as revision 17804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 08:47:29 +00:00
Reynaldo H. Verdejo Pinochet
87574416f7 Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one relocates the QCELP
especific code to the qcelpdec.* files.

Originally committed as revision 17800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:33:56 +00:00
Reynaldo H. Verdejo Pinochet
77bd18e117 Part 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one splits ff_qcelp_lspf2lpc
into the QCELP-especific ff_qcelp_lspf2lpc + the more general
ff_qcelp_lspf2lpc.

Originally committed as revision 17799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:28:07 +00:00
Justin Ruggles
e1374c06d6 flacdec: When there is not enough data to read the next header block,
reset the bitstream reader instead of skipping backwards.

Originally committed as revision 17798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:08:26 +00:00
Justin Ruggles
6a85fb34c9 cosmetics: indentation after last commit
Originally committed as revision 17796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:53:04 +00:00
Justin Ruggles
55a727383b flacdec: Check for an inline header before calling metadata_parse().
Originally committed as revision 17795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:52:18 +00:00
Justin Ruggles
239b961fbf flacdec: Allocate buffers right after STREAMINFO is parsed.
Originally committed as revision 17794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:21:46 +00:00
Stefano Sabatini
9d9de444e3 Fix syntax for the libfaad_decoder definition.
Fix compilation (when libfaad is enabled).

Originally committed as revision 17792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:52:31 +00:00
Justin Ruggles
184bc53db4 cosmetics: indentation after last commit
Originally committed as revision 17791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:50:21 +00:00
Justin Ruggles
7d0303587d flacdec: Avoid parsing the STREAMINFO multiple times.
Originally committed as revision 17790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:49:36 +00:00
Michael Niedermayer
6d4f53cbac Remove old scaler.
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Diego Biurrun
59701aeb46 Do not use a macro to generate a single AVCodec declaration.
Originally committed as revision 17773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 15:48:52 +00:00
Panagiotis Issaris
a0f8005079 When a H.264 stream references a PPS or SPS id which doesn't exist, instead of
just saying that a non-existing id is referenced, show the value of the id.

Originally committed as revision 17771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 14:32:24 +00:00
Gwenole Beauchesne
0d8ee24c7b Set PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.
Originally committed as revision 17766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:43:24 +00:00
Benoit Fouet
4f46099b90 Use sign_extend().
On behalf of Jai.

Originally committed as revision 17759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:11:10 +00:00
Justin Ruggles
2e78513cee flacdec: Warn about invalid max blocksize and limit the minimum value.
Originally committed as revision 17751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:53:38 +00:00
Alex Converse
09a64ee614 H.264: Simplify decode_residual()
Originally committed as revision 17750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:26:39 +00:00
Justin Ruggles
0c89ca72a5 cosmetics: remove a pointless comment
Originally committed as revision 17749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:25:58 +00:00
Justin Ruggles
95db6659d8 flacdec: Remove unused variable, min_blocksize.
Originally committed as revision 17748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:25:23 +00:00
Justin Ruggles
dde318d5d9 flacdec: Return error when blocksize code of 0 is found. It is a
reserved value per the FLAC format documentation.

Originally committed as revision 17747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:22:44 +00:00
Kostya Shishkov
c978997a88 Enable PB-frames decoding for H.263
Originally committed as revision 17746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:18:39 +00:00
Kostya Shishkov
685502cf3d Add PB-frame decoding support for H.263/i263 (and enable it for i263)
Originally committed as revision 17745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 05:17:22 +00:00
Justin Ruggles
6053da0182 alacdec: Simplify reading of uncompressed samples by using
get_sbits_long().

Originally committed as revision 17744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 04:57:02 +00:00
Justin Ruggles
5b37e2fc9a flacdec: Avoid trying to read 33 bits. This occurs when the source
is 32 bits-per-sample and channel decorrelation is used.  Such files
are valid, but not supported currently.

Originally committed as revision 17743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 04:45:45 +00:00
Justin Ruggles
505cc62f75 flacdec: ALT_BITSTREAM_READER is no longer required.
Originally committed as revision 17742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 02:53:11 +00:00
Justin Ruggles
9de6e090a7 flacdec: use get_sbits_long() where needed.
Originally committed as revision 17741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 02:19:01 +00:00
Justin Ruggles
017c0811a1 Add a get_sbits_long() function.
Originally committed as revision 17740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 02:00:47 +00:00
Måns Rullgård
8858990f07 ALAC: use sign_extend() from mathops.h
Originally committed as revision 17739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 01:53:54 +00:00
Måns Rullgård
101dfa7d0a Add sign_extend() function to mathops.h
Originally committed as revision 17738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 00:03:55 +00:00
Reimar Döffinger
edd532db64 Simplify show_bits_long and copy the GetBitsContext around only once instead of twice.
Originally committed as revision 17736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 19:42:31 +00:00
Justin Ruggles
ee4d0322e8 flacdec: Use get/skip_bits_long() for more than 17-bits and
get/skip_bits() for 17-bits or less.

Originally committed as revision 17735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 17:32:53 +00:00
Kostya Shishkov
b89e77cff7 Factor out block decoding in ff_h263_decode_mb()
Originally committed as revision 17734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 17:18:49 +00:00
Michael Niedermayer
7115cbda30 Consider all packets in the parser, not just ones with timestamps,
this should greatly simplify handling of packet pos.

Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 15:13:58 +00:00
Michael Niedermayer
2cc304215d Favor container packets that end after the first byte of the access
unit in fetch_timestamp(). This should make no difference for valid
streams but may help invalid ones, also its needed for future changes.

Originally committed as revision 17732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 15:12:26 +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
Benoit Fouet
d69da18cb0 Merge three conditions in a single 'if' instead of two.
Originally committed as revision 17728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 09:22:17 +00:00
Diego Biurrun
12dd57fd29 cosmetics: Reformat long_names so that "DPCM" comes first.
Originally committed as revision 17721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 06:01:32 +00:00
Diego Biurrun
fd75cedd15 cosmetics: Reformat long_names so that "ADPCM" comes first.
Originally committed as revision 17720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 05:55:03 +00:00
Diego Biurrun
655463b9eb cosmetics: Reformat long_names so that "PCM" comes first.
Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 05:45:44 +00:00
Diego Biurrun
7eb2d654a2 small spelling/grammar fixes
Originally committed as revision 17718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 05:41:55 +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
Diego Biurrun
0ffbc258aa Change a bunch of codec long_names to be more consistent and descriptive.
Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 05:18:33 +00:00
Justin Ruggles
68dddf53ff Add some missing codecs and update names to match the codec long_name
or vice-versa.

Originally committed as revision 17706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 02:25:31 +00:00
Måns Rullgård
09096c9fad RA144: work around gcc bug/oddity on ARM
This should not make any difference, yet some gcc versions on ARM
produce incorrect output without this fix.

Approved by Vitor.

Originally committed as revision 17698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 23:41:39 +00:00
Måns Rullgård
db794291a2 SVQ3: Fix decoding with A32_BITSTREAM_READER
svq3_decode_slice_header() modifies the buffer used by the bitstream
reader.  Some of the bitstream readers cache a few bytes of data, which
must be flushed after such a modification.  Calling skip_bits_long(gb, 0)
achieves this.

Originally committed as revision 17680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 12:11:07 +00:00
Måns Rullgård
4cd19f6e78 ARM: fix missing MUL16() return type
Originally committed as revision 17679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 12:11:02 +00:00
Vitor Sessak
8d2544bd1b Reindent after last commit
Originally committed as revision 17678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 11:16:57 +00:00
Vitor Sessak
9e27e0d4f8 Do not read uninitialized buffer, no matter if it will be multiplied by
zero later. This should fix some valgrind warnings and hopefully FATE
ra144 test on ARM.

Originally committed as revision 17677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 11:14:21 +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
Michael Niedermayer
47cd974ae5 Do not set low_delay if has_b_frames has been set before init()
this will be needed once the parser can figure out has_b_frames
in av_find_stream_info().

Originally committed as revision 17673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 03:13:04 +00:00
Alex Converse
9ef88afac3 AAC: Make the CPE function more consistent with the functions for other channel elements.
Originally committed as revision 17672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 00:23:05 +00:00
Michael Niedermayer
efd8c1f64d Adjust time_base exactly when changing ticks_per_frame to 2 this is safer
and for some raw h264 we managed to change the timebase twice before.

Originally committed as revision 17669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 20:58:07 +00:00
Måns Rullgård
fe7f149ed8 ARM: fix corner-case overflow in H.264 weighted prediction
Originally committed as revision 17657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 13:48:54 +00:00
David S. Miller
da2911d5e8 sub_mb_type[] needs to be 8-byte aligned because it is referenced
as a uint64_t in get_dct8x8_allowed().
Patch by David S. Miller <davem at davemloft dot net>

Originally committed as revision 17655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 08:38:33 +00:00
Cédric Schieli
5f59207d94 Fix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P
Originally committed as revision 17654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 07:31:36 +00:00
Ivan Schreter
03831f462e Correctly reset SEI variables.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:28:41 +00:00
Gwenole Beauchesne
7f8025349a Make ff_print_debug_info() a no-op when using HW acceleration.
Patch by Gwenolé Beauchesne.

Originally committed as revision 17646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 15:51:15 +00:00
Gwenole Beauchesne
a4f3fdfa83 Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
Patch by Gwenolé Beauchesne.

Originally committed as revision 17645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 15:49:32 +00:00
Gwenole Beauchesne
6026a0968a Add hardware acceleration hooks to H.264.
Patch by Gwenolé Beauchesne.

Originally committed as revision 17644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 15:45:55 +00:00
Michael Niedermayer
19df37a8a6 Fix SVQ3 regression since ticks_per_frame=2.
Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 14:01:32 +00:00
Gwenole Beauchesne
1468d503a9 Add HW acceleration hooks for MPEG-4 / H.263 decoding.
Patch by Gwenole Beauchesne.

Originally committed as revision 17637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:27:50 +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
Gwenole Beauchesne
11647a9f8c Return early if a HW accelerator is used.
Patch by Gwenole Beauchesne.

Originally committed as revision 17635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:16:22 +00:00
Gwenole Beauchesne
f06ce1ce89 Add VA API pixel formats.
Patch by Gwenole Beauchesne.

Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:12:41 +00:00
Gwenole Beauchesne
044f0296a4 Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.

Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:09:23 +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
f56995b4a6 Half user provided time_base once during the first frame when there is no
timebase stored in the h264 stream.
This should fix fate. (ffmpeg.c used pict_repeat with its default 1/25 timebase)

Originally committed as revision 17622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 21:09:24 +00:00
Carl Eugen Hoyos
26aedb4ab3 Cosmetics: Fix indentation after last commit.
Originally committed as revision 17621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 20:36:47 +00:00
Ivan Schreter
2c0c5e1249 Initialize H264 parser context correctly if the optional SEI messages
are not present.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 20:36:02 +00:00
Justin Ruggles
26adc8d086 cosmetics: line wrap and indentation after last commit.
Originally committed as revision 17603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:30:29 +00:00
Justin Ruggles
59c6178a54 Use a shared function to validate FLAC extradata.
Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:29:24 +00:00
Alex Converse
e8d5c07bcc Re-indent after last commit.
Originally committed as revision 17600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 01:54:16 +00:00
Alex Converse
21e8c46cde Refactor AAC unsigned band type decoding for a modest speedup.
Originally committed as revision 17599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 01:51:34 +00:00
Alex Converse
039821a838 Use const to better allow the compiler to optimize AAC independent coupling.
Originally committed as revision 17598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 01:50:00 +00:00
Carl Eugen Hoyos
5fe2a515f8 Completed documentation of reference field.
Originally committed as revision 17597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 01:38:51 +00:00
NVIDIA Corporation
2f9c978a07 Do not set h264.is_reference for pictures that are delayed, but not
actually reference frames.

Patch by NVIDIA

Originally committed as revision 17596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 01:03:01 +00:00
NVIDIA Corporation
f90b55166e The field rangered in VDPAU's VdpPictureInfoVC1 now also contains
rangeredfrm (VC-1 7.1.13) in bit 1.

Patch by NVIDIA

Originally committed as revision 17595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 00:29:01 +00:00
Carl Eugen Hoyos
1a022c2fbf Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU.
Originally committed as revision 17594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 23:58:52 +00:00
Gwenole Beauchesne
d7dae42e70 Add missing prototype for ff_is_hwaccel_pix_fmt().
patch by Gwenole Beauchesne, gbeauchesne,splitted-desktop,com

Originally committed as revision 17593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 23:24:34 +00:00
Michael Niedermayer
d404b3edb3 Add hwaccel->decode_slice() call for avhwaccel by Gwenole Beauchesne.
Originally committed as revision 17591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 19:39:42 +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
Diego Biurrun
e0cffbe7ea spelling/wording/grammar cosmetics
Originally committed as revision 17588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 18:03:47 +00:00
Carl Eugen Hoyos
ac00575d92 Fix VC1 and WMV3 playback in MPlayer.
Originally committed as revision 17587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 15:43:53 +00:00
Kostya Shishkov
7a47495079 cosmetics: reindent after last commit
Originally committed as revision 17585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 08:36:00 +00:00
Kostya Shishkov
77f7156d85 Since motion vectors for intra blocks are always zero, do not try to retrieve them.
Originally committed as revision 17584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 08:35:37 +00:00
Ivan Schreter
c733922eec Export timestamp parameter from H.264.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 22:24:34 +00:00
Ivan Schreter
27ca0a79c9 Add timestamp computation if values are exported by decoder.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 22:19:09 +00:00
Michael Niedermayer
4d8f830125 1000l for me, wrong pix_fmt.
Originally committed as revision 17573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 22:19:02 +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
Ivan Schreter
fc9fe42833 Correct time_base of H.264 and repeat_pict.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 20:19:59 +00:00
Ivan Schreter
810c451b02 Change duration computation to use time_base instead of TB/2.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 20:17:02 +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
6059f13cad ff_find_hwaccel()
Originally committed as revision 17568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:51:16 +00:00
Michael Niedermayer
414d9d7f2e av_hwaccel_next() by Gwenole Beauchesne.
Originally committed as revision 17567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:47:36 +00:00
Michael Niedermayer
c895618bb0 av_register_hwaccel() from Gwenole Beauchesne.
Originally committed as revision 17566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:46:00 +00:00
Michael Niedermayer
f986c8e2e5 Another AVhwaccel hunk from Gwenole Beauchesne.
Originally committed as revision 17565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:39:42 +00:00
Michael Niedermayer
09a9b45e4f Add and use ff_pixfmt_list_420.
Originally committed as revision 17564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:27:52 +00:00
Gwenole Beauchesne
c0aec489a6 Approved hunk from the AVHWaccel patch by Gwenole Beauchesne.
Originally committed as revision 17563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:24:56 +00:00
Vitor Sessak
66d4c62806 Do not reimplement ff_celp_lp_synthesis_filterf().
Originally committed as revision 17562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 18:11:42 +00:00
Gwenole Beauchesne
4daa41c415 Rename buf_vdpau to buf_start
Patch by Gwenole Beauchesne <g$lastname> <at> <(antonym of "joined")-desktop><com>

Originally committed as revision 17561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 17:09:57 +00:00
Gwenole Beauchesne
ee3e36315e Add ff_h263_find_resync_marker() to find the bit position of the next resync_marker, if any.
patch by Gwenole Beauchesne gbeauchesne splitted-desktopcom
based on suggested implementation by me

Originally committed as revision 17560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 16:12:47 +00:00
Stefan Gehrer
cd3356ff73 check for a stuffing byte at the end of a slice
Originally committed as revision 17559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:56:53 +00:00
Stefan Gehrer
88db5551cf change macroblock loop in inter frames so that after a
slice header the skip count is always parsed first

Originally committed as revision 17558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:54:51 +00:00
Diego Biurrun
acced32d08 Mark two variables with av_uninit to avoid false positive gcc warnings.
Originally committed as revision 17552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 14:13:46 +00:00
Måns Rullgård
d4f2a6250a Fix get_ur_golomb_jpegls() with A32_BITSTREAM_READER
If k==0, log==0 can indicate that the coded value uses more than
MIN_CACHE_BITS bits.  With MIN_CACHE_BITS==32, the fast branch is
incorrectly taken in this case unless explicitly forbidden.

Originally committed as revision 17550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 01:41:44 +00:00
Michael Niedermayer
d3bcbf57a9 AVPixFmtDescriptor doxy
Originally committed as revision 17549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 01:12:25 +00:00
Michael Niedermayer
9b61d838f6 Pixel Format descriptor, try #1.
(yes its intentionally unused, this is intended as a basis for further
 work, and to prevent repeation of the whole discussion dying and the
 results being forgotten)

Originally committed as revision 17548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 01:08:29 +00:00
Kenan Gillet
cacb82134e Change sign in ff_celp_lp_synthesis_filterf(). This makes this function
useful for AMR and RA144.

Patch by Kenan Gillet

Originally committed as revision 17546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 22:19:16 +00:00
Alex Converse
7ac1591764 Close the AAC parse context, discovered by Netgem.
Originally committed as revision 17544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 19:25:18 +00:00
Zuxy Meng
d05f808dc9 Remove CPUID availability check on AMD64 as it's architectural.
Originally committed as revision 17543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 15:53:39 +00:00
Reimar Döffinger
f8c96d011e Check return value of ff_fill_pointer in avcodec_default_get_buffer,
if it returns -1 we do not know how to allocate an AVFrame for that format
and must return -1 instead of returning nonsense.

Originally committed as revision 17542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 15:18:28 +00:00
Reimar Döffinger
d46b2d682f 100l, always declare variables at the top of a block, not inside a for ()
Originally committed as revision 17541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 14:02:11 +00:00
Gwenole Beauchesne
40e5d31b57 More approved hunks for VAAPI & our new and cleaner hwaccel API.
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com

Originally committed as revision 17540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 13:44:51 +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
Diego Biurrun
7c2d92fe08 Fix xvmc object dependencies.
Originally committed as revision 17534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 23:13:00 +00:00
Michael Niedermayer
7bbc686f82 Fix vc1 split().
Fixes Subtitle-sample.evo, issue52.

Originally committed as revision 17533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 20:48:12 +00:00
Kostya Shishkov
91ba181a15 Better parsing of i263 picture header
Originally committed as revision 17532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 18:13:40 +00:00
Daniel Verkamp
5ef251e504 Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu.

Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 13:48:55 +00:00
Jason Garrett-Glaser
e27ad11840 Convert x264 asm files to proper unix line breaks
Originally committed as revision 17524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 11:35:32 +00:00
Jason Garrett-Glaser
9bd5f59b33 Remove (incorrect) filenames from x264 asm files, add descriptions.
Originally committed as revision 17523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 11:33:09 +00:00
Reimar Döffinger
66e6038cf1 Check return value of frame_start(), this avoids a crash if AVCodecContext::get_buffer failed.
Not sure if returning -1 is the best possible solution but at least avoids the crash.

Originally committed as revision 17520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 09:51:58 +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
Peter Ross
001821904e Support 48-bit RGB PPM image.
Originally committed as revision 17511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:56:55 +00:00
Peter Ross
88c21a6f14 Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:55:49 +00:00
Ivan Schreter
346db3ef7f Use context variable repeat_pict for frame duration computation and
document this new use.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:11:47 +00:00
Ivan Schreter
96c3da93e6 Set context variable picture_structure in H264 parser.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:03:05 +00:00
Ivan Schreter
0ed260c7a3 Set context variable key_frame in H264 parser.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 19:59:25 +00:00
Ivan Schreter
ff6474dd15 Parse NAL units in H264 parser.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 19:56:50 +00:00
Ivan Schreter
1790a5e908 Make the following H264 functions available to the parser:
ff_h264_decode_sei, ff_h264_decode_seq_parameter_set,
ff_h264_decode_picture_parameter_set, ff_h264_decode_nal,
ff_h264_decode_rbsp_trailing

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 19:54:14 +00:00
Michael Niedermayer
e641f320bd indent
Originally committed as revision 17481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 17:17:09 +00:00
Måns Rullgård
822be725d9 Alpha: fix inline asm with DEC/Compaq/HP compiler
Originally committed as revision 17477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:03:23 +00:00
Michael Niedermayer
31f2616db8 Fix raw rgb/bgr vertical flip in avi based on info from http://www.fourcc.org/fccbihgt.php.
partially fixes issue862.

Originally committed as revision 17475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 15:32:56 +00:00
Justin Ruggles
a169df2f76 Set the correct number of samples for E-AC-3 in the AC3 parser.
Originally committed as revision 17472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-20 22:00:41 +00:00
Ivan Schreter
ebb61f834a Use last decoded SPS as current SPS in order to parse picture timing SEI
correctly. This works around an apparent H.264 standard deficiency.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-20 16:20:01 +00:00
Roman Shaposhnik
ce83d2bd37 Fixing a value returning issue
Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-20 02:00:44 +00:00
Ivan Schreter
b1fa494205 Add convergence_duration to AVCodecParserContext.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:35:59 +00:00
Alex Converse
d42e44a0ef Reindent after last commit
Originally committed as revision 17464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:08:23 +00:00
Ivan Schreter
3878be318b Silence two warnings:
cast discards qualifiers from pointer target type

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:01:13 +00:00
Alex Converse
274aa1d02f Some buffer checks for indeo3
Originally committed as revision 17462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 22:56:35 +00:00
Michael Niedermayer
dc405cc1c0 A try to fix the regressions.
Originally committed as revision 17459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 17:54:23 +00:00
Peter Ross
9bf1b72405 Add AVERROR_EOF.
Originally committed as revision 17455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 12:18:09 +00:00
Ivan Kalvachev
859bb3cfee Add more paranoid checks of xvmc token.
Originally committed as revision 17453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 09:55:52 +00:00
Ivan Kalvachev
9cfc1b3a84 Exit with error if MPV_common_init() is called with PIX_FMT_NONE.
Give nice error message to fix codecs that call it this way.

Originally committed as revision 17452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 08:39:47 +00:00
Diego Biurrun
e10252483e Only enable SSE/3DNOW optimizations when they have been enabled at compilation.
Fixes shared build with SSE/3DNOW disabled but MMX and yasm enabled.

Originally committed as revision 17451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:54:59 +00:00
Diego Biurrun
2213f431c7 Directly #include required X11/XvMC header.
Originally committed as revision 17450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:47:11 +00:00
Roman Shaposhnik
94ed2a303d transitioning dv_guess_dct_mode to dsputil cmp function
Originally committed as revision 17449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:34:42 +00:00
Roman Shaposhnik
7fb7f6367a Adding 2 intra 8x8 cmp functions: vsad, vsse
Originally committed as revision 17448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:30:24 +00:00
Joakim Plate
4cff8dc88f Allow AC-3 parser to modify codec_id.
Patch by Joakim Plate (elupus A ecce D se).

Originally committed as revision 17447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:28:19 +00:00
Roman Shaposhnik
3899eb2f65 Making the arrays accomodate an extra intra 8x8 cmp function
Originally committed as revision 17446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:28:08 +00:00
Aurelien Jacobs
d52b39c79c fix missing dependencies
Originally committed as revision 17445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:27:57 +00:00
Diego Biurrun
b3183ad034 prettyprinting whitespace cosmetics
Originally committed as revision 17443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:06:17 +00:00
Ivan Schreter
6363af44da Add key_frame to AVCodecParserContext, used in libavformat.
Initialized to -1 in parser.c for backward compatibility.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:46:05 +00:00
Ivan Schreter
2ea89d9274 Parse buffering period (H.264, D.1.1).
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:33:30 +00:00
Diego Biurrun
31866c4677 The 3DNow! and SSE FFT optimizations depend on the yasm optimizations in
x86/fft_mmx.asm, so only build them if the latter is built.

Originally committed as revision 17440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:32:41 +00:00
Ivan Schreter
24a414e0fa Store CPB count in the context.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:25:59 +00:00
Michael Niedermayer
9392863d1b Clarify get_ue_golomb_31() behavior with >31.
Originally committed as revision 17429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 11:57:11 +00:00
Reimar Döffinger
9bbf1a5c23 Instead of crashing, return from ff_vdpau_mpeg_picture_complete()
if get_buffer() failed.

Patch by Reimar

Originally committed as revision 17427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 09:21:29 +00:00
Ivan Schreter
cf6065ca6b Parse cbp_removal_delay in SEI picture structure.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:38:10 +00:00
Ivan Schreter
ff594f81df Parse dpb_output_delay in SEI picture structure.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:36:07 +00:00
Ivan Schreter
82e38c2952 Parse initial_cpb_removal_delay_length.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:33:33 +00:00
Diego Biurrun
ca14e2a8b7 Handle conditional compilation of CPU-specific FFT code in the Makefile.
Also replace one coarse MMX condition with more fine-grained
3DNow!/3DNowExt!/SSE conditions.

Originally committed as revision 17409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:11:49 +00:00
Diego Biurrun
3d17b948fd mpegvideo_xvmc.o depends on mpegvideo.o.
Originally committed as revision 17405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:59:53 +00:00
Diego Biurrun
7df33ec28e Replace sizeof(short) by the more robust sizeof(*s->pblocks[i]) in memset and
memcpy calls.  s->pblocks is the element actually being handled.

Originally committed as revision 17404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:51:28 +00:00
Diego Biurrun
63864cb810 small Doxygen comment grammar fix
Originally committed as revision 17403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:36:28 +00:00
Diego Biurrun
bd0eddb795 Revert converting two asserts into if checks and error messages.
It did not achieve the intended effect.

Originally committed as revision 17402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:35:41 +00:00
Stephen Warren
ef7ae94ba2 Fix MBAFF/PAFF samples.
Patch by Stephen Warren, swarren nvidia com

Originally committed as revision 17401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 23:30:07 +00:00
Diego Biurrun
9ba8bc0164 spelling/grammar/wording fixes for the Doxygen comments
Originally committed as revision 17400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 22:36:48 +00:00
Diego Biurrun
30f68128ab Add missing #includes to fix 'make checkheaders'.
Originally committed as revision 17398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 21:43:57 +00:00
Gwenole Beauchesne
ce09f9270a Move initialization of {luma,chroma}_weight_flag[] up,
to make sure they are always initialized.
Patch by Gwenole Beauchesne g${name} splitted-desktop com

Originally committed as revision 17393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 13:41:27 +00:00
Diego Biurrun
de86157836 cosmetics: 'void/int inline' --> 'inline void/int' to avoid warnings of the type
"'inline' is not at beginning of declaration" with -Wextra.

Originally committed as revision 17392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 12:11:46 +00:00
Diego Biurrun
1bf6e565dd cosmetics: 'const static' --> 'static const' to avoid warnings of the type
"'static' is not at beginning of declaration" with -Wextra.

Originally committed as revision 17391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 12:03:10 +00:00
Ivan Kalvachev
649c171aec Thoroughly check all fields set by the application in xvmc struct.
Originally committed as revision 17387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 22:46:30 +00:00
Patrik Kullman
7846418bdb flacdec: Silence false positive warning about uninitialized variables in
decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 22:23:47 +00:00
Ivan Kalvachev
02c0c8d17d Minor clarification of xvmc field description.
Originally committed as revision 17384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 18:19:48 +00:00
Ivan Kalvachev
e7de624bcc Improvements in xvmc structure fields descriptions.
Originally committed as revision 17383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 18:16:23 +00:00
Diego Biurrun
3842560379 whitespace cosmetics: Reindent a few lines after the last commit.
Originally committed as revision 17370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:50:06 +00:00
Diego Biurrun
83344066d3 Get rid of some '#if CONFIG_MPEG_XVMC_DECODER' preprocessor checks around if
statements by merging the CONFIG_MPEG_XVMC_DECODER check into the if condition.

Originally committed as revision 17369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:49:08 +00:00
Diego Biurrun
42dfc2bfa9 whitespace cosmetics: Place spaces around += for better readability.
Originally committed as revision 17368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:35:38 +00:00
Diego Biurrun
ed80a059ba Add missing object dependencies: eatqi.o depends on mpeg12.o.
Originally committed as revision 17366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 10:38:23 +00:00
Kostya Shishkov
42402a55b0 Make BMP decoder try to decode files with incorrect filesize field value
Originally committed as revision 17363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 06:57:11 +00:00
Diego Biurrun
f9d5bf3c2d Replace two asserts by checks and error messages.
Originally committed as revision 17362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 02:02:49 +00:00
Diego Biurrun
e7c88eb76f Doxygen comment wording fix
Originally committed as revision 17361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 01:59:51 +00:00
Diego Biurrun
6545996fb9 whitespace cosmetics
Originally committed as revision 17358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 01:33:02 +00:00
Diego Biurrun
cad1928f15 Give struct members more sensible names:
total_number_of_mv_blocks   --> allocated_mv_blocks
total_number_of_data_blocks --> allocated_data_blocks

Originally committed as revision 17356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 00:21:16 +00:00
Diego Biurrun
648410c1fc cosmetics: one more wording fix
Originally committed as revision 17355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 00:09:00 +00:00
Diego Biurrun
df9d2e04bb cosmetics: Keep lines below 80 characters where sensibly possible.
Originally committed as revision 17354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 00:06:32 +00:00
Diego Biurrun
037f13fe21 Doxygen spelling/wording fixes
Originally committed as revision 17353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 23:55:34 +00:00
Diego Biurrun
2f953883e3 spelling/wording fixes for the Doxygen comments
Originally committed as revision 17352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 23:23:39 +00:00
Diego Biurrun
8f66518d0b draw_horiz_band() is really ff_draw_horiz_band().
Originally committed as revision 17350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 21:05:48 +00:00
Diego Biurrun
058bcd7b6b spelling/grammar/wording/whitespace for Doxygen comments
Originally committed as revision 17349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 21:03:52 +00:00
Diego Biurrun
4e30fa6e7b Rename AV_XVMC_RENDER_MAGIC constant to AV_XVMC_ID to reflect a similar
change in the name of the struct member xvmc_id.

Originally committed as revision 17348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:33 +00:00
Stefano Sabatini
c1b0210115 Improve grammar: "X next after Y" -> "next X after Y".
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:10 +00:00
Diego Biurrun
864899c329 cosmetics: typo fix
Originally committed as revision 17346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:37:39 +00:00
Ivan Kalvachev
ad0405fc03 Describe all fields in xvmc struct.
Originally committed as revision 17345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:13:00 +00:00
Diego Biurrun
d758a5cb50 spelling/grammar/wording fixes for Doxygen comments
Originally committed as revision 17344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 19:10:16 +00:00
Diego Biurrun
1909fadea9 comment spelling/grammar/wording fixes
Originally committed as revision 17343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 19:06:05 +00:00
Diego Biurrun
e98b47557b Explain how AV_XVMC_RENDER_MAGIC got its seemingly arbitrary value.
Originally committed as revision 17342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 18:59:18 +00:00
Ivan Kalvachev
1fcef40847 Rename unique_id to the way michaelni likes it. (xvmc_id)
Originally committed as revision 17341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 18:45:22 +00:00
Ivan Kalvachev
3d43e42f29 Document all functions in mpegvideo_xvmc.
Originally committed as revision 17340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 18:30:39 +00:00
Diego Biurrun
f602b044b5 Rename xvmc_pixfmt_render structure to xvmc_pix_fmt.
Originally committed as revision 17339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 17:42:08 +00:00
Ivan Kalvachev
11f8aa042d Kill the magic field in xvmc structure.
Originally committed as revision 17338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 17:21:37 +00:00
Diego Biurrun
9043202e6e K&R whitespace cosmetics
Originally committed as revision 17337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:54:02 +00:00
Diego Biurrun
c1e7b256ec 10l: Remove duplicated hunk of code.
Originally committed as revision 17335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:29:31 +00:00
Stefano Sabatini
0334f79994 Document av_codec_next().
Originally committed as revision 17333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:02:07 +00:00
Carl Eugen Hoyos
c99a35768f Silence following warning if only zeros were not consumed:
AVC: Consumed only m bytes instead of n

Originally committed as revision 17327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:23:02 +00:00
Reimar Döffinger
06aae1238f Place spaces consistently in pointer types in vdpau.c
Originally committed as revision 17320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 12:31:01 +00:00
Ivan Kalvachev
9e0a8a368e Cosmetics. Vertical align.
Originally committed as revision 17319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 10:15:02 +00:00
Ivan Kalvachev
d76c5ed574 Almost cosmetics.
Move some assignments after the checks.

Originally committed as revision 17318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 10:14:16 +00:00
Ivan Kalvachev
d2d600b71f Check all critical xvmc struct fields in ff_xvmc_field_start()
and log error if they are not correct. All other functions
are supposedly called after that one, so use assert() for them.

Originally committed as revision 17317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 10:06:23 +00:00
Ivan Kalvachev
afb9342a3e Proper condition in xvmc decode mb.
The old one would try to use mv blocks that are written outside their buffer,
in case of unhandled error.

Originally committed as revision 17315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 09:03:47 +00:00
Ivan Kalvachev
095edd3e61 Rename xvmc_render_state to something with pixfmt in its name.
Originally committed as revision 17314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 08:42:11 +00:00
Ivan Kalvachev
3fff9d92dc A little better wording of doxygen comments.
Originally committed as revision 17313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 08:29:06 +00:00
Ivan Kalvachev
1a90cf3c98 Revert 17308.
The above commit makes ff_xvmc_decode_mb to output one log entry
for each decoded MB, causing massive slowdown.

Originally committed as revision 17312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 07:55:39 +00:00
Peter Ross
5f5e6af169 Prevent heap corruption when resampling 8-bit audio.
Originally committed as revision 17311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 06:29:43 +00:00
Ivan Kalvachev
a0723a4d84 Give a little better name to the magic(_id) field in xvmc struct
Originally committed as revision 17310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 02:36:43 +00:00
Diego Biurrun
1333d8fd20 Replace assert in ff_xvmc_field_end() by av_log call at level AV_LOG_ERROR.
Originally committed as revision 17308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 02:27:55 +00:00
Ivan Kalvachev
eb3b2ef91d Remove obsolete display_flags member from xvmc struct
and mark state defines as obsolete.

Originally committed as revision 17307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 02:17:48 +00:00
Ivan Kalvachev
72d38a749b Detailed description of the interesting fields in xvmc struct.
Originally committed as revision 17306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 01:35:32 +00:00
Ivan Kalvachev
f851909579 Move the state field in the xvmc struct to the extensions section.
It has always been a workaround for MPlayer limitations.

Originally committed as revision 17305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 01:28:50 +00:00
Diego Biurrun
967d2ae616 Remove redundant assert(render) in ff_xvmc_init_block(). The immediately
following if condition checks render and does an assert if it fails.

Originally committed as revision 17304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 01:24:09 +00:00
Diego Biurrun
e26f8d76d7 Remove asserts that are immediately followed by a check and error return.
Originally committed as revision 17303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 00:52:16 +00:00
Diego Biurrun
3af6c3dd9a Drop struct members display_flags and state with the next major version bump.
They are not used within FFmpeg.

Originally committed as revision 17302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 00:40:57 +00:00
Diego Biurrun
8f38ff007a Doxygen comment/explanation for ff_xvmc_init_block().
Originally committed as revision 17301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 00:16:51 +00:00
Diego Biurrun
4b72239059 Remove completely unsed structure fields mc_type and chroma_format.
Their only user, MPlayer, has already been updated not to use them anymore.

Originally committed as revision 17300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 00:09:28 +00:00
Diego Biurrun
05c363e90d whitespace consistency cosmetics
Originally committed as revision 17299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 23:48:11 +00:00
Diego Biurrun
5d6c111098 Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
Originally committed as revision 17298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 23:45:35 +00:00
Ivan Kalvachev
3bffe5fc9d Deprecate some unused xvmc structure fields.
Originally committed as revision 17297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 23:28:09 +00:00
Diego Biurrun
0b2eb2e8be Add Doxygen comment similar to ff_xvmc_field_start() to ff_xvmc_field_end().
Originally committed as revision 17296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 23:13:32 +00:00
Diego Biurrun
fe4be5dbd5 whitespace cosmetics: remove stray space
Originally committed as revision 17295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 23:08:43 +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
Diego Biurrun
9107f7cd07 Doxygenize ff_xvmc_field_start() comment.
Originally committed as revision 17292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:48:59 +00:00
Diego Biurrun
a1bce01171 Clarify ff_xvmc_field_start() comment.
Originally committed as revision 17291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:46:40 +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
Ivan Kalvachev
24b1583a62 Another attempt to clarify draw_horiz_band() usage.
Originally committed as revision 17289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:22:55 +00:00
Diego Biurrun
b71bd0ed11 Merge some declarations and initializations.
Originally committed as revision 17288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:21:17 +00:00
Ivan Kalvachev
013cebfbe8 Return error instead of triggering assert.
Originally committed as revision 17287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 22:06:00 +00:00
Diego Biurrun
930efaf410 cosmetics: comment wording/grammar
Originally committed as revision 17286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 21:52:44 +00:00
Diego Biurrun
6e4b41f880 cosmetics: Change '8*8' to '64'.
Originally committed as revision 17285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 21:50:46 +00:00
Diego Biurrun
cb18fb6288 cosmetics: K&R style
Originally committed as revision 17284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 21:49:48 +00:00
Ivan Kalvachev
9939841fe2 Give nice message for failed assert.
Originally committed as revision 17283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 21:33:13 +00:00
Diego Biurrun
2d7b05601a Attempt to clarify draw_horiz_band description and fix two random typos.
Originally committed as revision 17282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 21:00:26 +00:00
Ivan Kalvachev
dd4e297d94 More clarification for draw_horiz_band() in hwaccell mode.
Originally committed as revision 17281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:52:18 +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
6e2803405d Cosmetic 64 instead 8*8
Originally committed as revision 17279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:35:10 +00:00
Ivan Kalvachev
ae4dde76d3 Clarify some assert usage.
They are not to check application supplied parameters.

Originally committed as revision 17278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:30:13 +00:00
Ivan Kalvachev
2661ba4b09 Document that ff_draw_horiz_band() could be used as hwaccell callback.
Originally committed as revision 17277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:07:52 +00:00
Diego Biurrun
99df0aa59e another (last?) round of K&R whitespace cosmetics
Originally committed as revision 17276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:00:22 +00:00
Diego Biurrun
ba585726be whitespace cosmetics: Align some comments.
Originally committed as revision 17275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:54:59 +00:00
Diego Biurrun
81189e4ff6 whitespace cosmetics: Put some spaces around operators for better readability.
Originally committed as revision 17274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:52:06 +00:00
Diego Biurrun
465ce23e4d Remove a comment that references a non-existing function.
Originally committed as revision 17273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:47:55 +00:00
Diego Biurrun
0439c09d22 Make one comment slightly clearer and more readable.
Originally committed as revision 17272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:42:29 +00:00
Diego Biurrun
63a21bc041 Remove one more commented-out line.
Originally committed as revision 17271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:41:16 +00:00
Diego Biurrun
7e2e870e06 some more K&R whitespace cosmetics
Originally committed as revision 17270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:39:07 +00:00
Diego Biurrun
a1db3b93c0 cosmetics: grammar/spelling/wording fixes in comments
Originally committed as revision 17269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:33:09 +00:00
Diego Biurrun
052f377934 Remove useless comment.
Originally committed as revision 17268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:27:34 +00:00
Diego Biurrun
eba9cecc8b Restore one set of parentheses to avoid the warning:
libavcodec/mpegvideo_xvmc.c: In function ‘ff_xvmc_decode_mb’:
libavcodec/mpegvideo_xvmc.c:269: warning: suggest parentheses around && within ||

Originally committed as revision 17267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:24:37 +00:00
Diego Biurrun
1f7c1d140a whitespace cosmetics: consistently format all comments
Originally committed as revision 17266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:21:00 +00:00
Diego Biurrun
d15876d3bd whitespace cosmetics: Correctly indent all comments.
Originally committed as revision 17265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:14:46 +00:00
Ivan Kalvachev
788aa94a9d Clarify TODO comment
Originally committed as revision 17264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:09:33 +00:00
Diego Biurrun
6c7b70fbd6 Remove compatibility layer for old names of xvmc definitions.
The header was non-public before and the only user, MPlayer, was updated.

Originally committed as revision 17263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:08:47 +00:00
Diego Biurrun
36c5204d4e Drop two more sets of useless parentheses.
Originally committed as revision 17262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:05:07 +00:00
Ivan Kalvachev
90509ec7bf get rid of the branch prediction
Originally committed as revision 17261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:02:46 +00:00
Diego Biurrun
4ec58e1397 cosmetics: Consistently format all if/else statements in K&R style
and drop braces from if statements where unnecessary.

Originally committed as revision 17260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 19:00:51 +00:00
Diego Biurrun
9f00a41cb3 Remove some useless parentheses.
Originally committed as revision 17259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:57:32 +00:00
Diego Biurrun
ed92bedb63 Rename some forward declarations that were missed, fixes the warnings:
libavcodec/mpegvideo.o libavcodec/mpegvideo.c
libavcodec/mpegvideo.c: In function ‘MPV_frame_start’:
libavcodec/mpegvideo.c:944: warning: implicit declaration of function ‘ff_xvmc_field_start’
libavcodec/mpegvideo.c: In function ‘MPV_frame_end’:
libavcodec/mpegvideo.c:957: warning: implicit declaration of function ‘ff_xvmc_field_end’

Originally committed as revision 17258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:51:17 +00:00
Ivan Kalvachev
f0a902ad82 remove obsolete comment
Originally committed as revision 17257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:47:00 +00:00
Diego Biurrun
a002da797c Fix compilation: XVMC_ --> ff_xvmc prefix for xvmc functions.
Originally committed as revision 17256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:46:32 +00:00
Ivan Kalvachev
4742762f5d remove some useless ()
Originally committed as revision 17255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:45:44 +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
c1a5aa2953 whitespace cosmetics: Restore vertical alignment.
Originally committed as revision 17253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:15:59 +00:00
Ivan Kalvachev
aae667ba4d clarify xvmc struct fields usage distribution (internal communication)
Originally committed as revision 17252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:06:05 +00:00
Ivan Kalvachev
6785e509d4 doxygen style comments
Originally committed as revision 17251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:56:51 +00:00
Diego Biurrun
c97dffbc94 Replace useless X11 #includes by the one that actually provides the required
declarations of XvMCMacroBlock and XvMCSurface.

Originally committed as revision 17250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:52:30 +00:00
Diego Biurrun
6b6ea1dfdf whitespace cosmetics: vertical alignment
Originally committed as revision 17249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:45:38 +00:00
Diego Biurrun
e0dcbda24b Fix non-Doxygen comment.
Originally committed as revision 17248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:42:40 +00:00
Diego Biurrun
1369e003f6 Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
Originally committed as revision 17247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:37:42 +00:00
Ivan Kalvachev
4f7e6f0d58 vertically align xvmc struct member comments
Originally committed as revision 17246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:28:39 +00:00
Ivan Kalvachev
117f9234c8 Rename xvmc flags to follow ffmpeg AV_ notion.
preserve MP_ ones until next major bump.

Originally committed as revision 17245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:24:01 +00:00
Diego Biurrun
ea375af8c9 Give public #defines that are used by MPlayer an AV_ prefix.
Originally committed as revision 17244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:12:25 +00:00
Diego Biurrun
3ae0192839 Replace all (x == NULL) or (x != NULL) in assert and if conditions by !x and x.
Originally committed as revision 17243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 17:04:09 +00:00
Diego Biurrun
af28efa272 Update multiple inclusion guards to match filename.
Originally committed as revision 17242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:54:53 +00:00
Ivan Kalvachev
ef1b5ae2cd remove assertion that use external definitions
Originally committed as revision 17241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:53:42 +00:00
Diego Biurrun
1aa7abb281 Fix compilation: Restore mistakenly removed constant definitions.
Originally committed as revision 17240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:43:35 +00:00
Ivan Kalvachev
24d54e9ebb explain chroma_format field in xvmc struct
Originally committed as revision 17239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:37:30 +00:00
Ivan Kalvachev
d54a08cf2a describe idct variable in xvmc struct
Originally committed as revision 17238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:30:57 +00:00
Ivan Kalvachev
ff92137865 Describe the purpose of magic in xvmc structure.
Originally committed as revision 17237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:24:45 +00:00