1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
Commit Graph

18030 Commits

Author SHA1 Message Date
Stefano Sabatini
9075d1e027 Document av_protocol_next().
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:31:18 +00:00
Stefano Sabatini
5d37750187 Replace calls/references of the deprecated register_protocol()
function with correponding calls/references to av_register_protocol().

Originally committed as revision 17323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:29:23 +00:00
Stefano Sabatini
65c40e4e3a Rename register_protocol() to av_register_protocol() and deprecate
register_protocol().

Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:25:23 +00:00
Aurelien Jacobs
54b4ea57fd demux some more metadata tags in mov
Originally committed as revision 17321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:13:28 +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
Stefano Sabatini
aeedac95cc Document av_iformat_next() and av_oformat_next() functions.
Originally committed as revision 17316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 09:04:08 +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
Aurelien Jacobs
49674dd052 use new metadata API in mov demuxer
Originally committed as revision 17309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 02:28:54 +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
Stefano Sabatini
e14ff1e628 Use sws_printVec2() instead of the deprecated sws_printVec().
Originally committed as revision 28567 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 20:18:50 +00:00
Stefano Sabatini
26b40a659d Implement sws_printVec2() and deprecate sws_printVec().
Originally committed as revision 28566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 20:14:28 +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