]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoDocument av_codec_next().
stefano [Sun, 15 Feb 2009 16:02:07 +0000 (16:02 +0000)]
Document av_codec_next().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17333 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomatroskadec: add needed definitions forgotten in r17331
aurel [Sun, 15 Feb 2009 16:00:58 +0000 (16:00 +0000)]
matroskadec: add needed definitions forgotten in r17331

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17332 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomatroskadec: add generic metadata support
aurel [Sun, 15 Feb 2009 15:53:55 +0000 (15:53 +0000)]
matroskadec: add generic metadata support

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17331 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomatroskadec: read track and attachment uid
aurel [Sun, 15 Feb 2009 15:34:22 +0000 (15:34 +0000)]
matroskadec: read track and attachment uid
will be useful for generic metadata support

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17330 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomatroskadec: export track name through the metadata API
aurel [Sun, 15 Feb 2009 15:29:09 +0000 (15:29 +0000)]
matroskadec: export track name through the metadata API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17329 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomatroskadec: use new metadata API to export some simple information
aurel [Sun, 15 Feb 2009 15:25:14 +0000 (15:25 +0000)]
matroskadec: use new metadata API to export some simple information

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSilence following warning if only zeros were not consumed:
cehoyos [Sun, 15 Feb 2009 15:23:02 +0000 (15:23 +0000)]
Silence following warning if only zeros were not consumed:
AVC: Consumed only m bytes instead of n

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17327 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not export to the public the first_protocol symbol at the next
stefano [Sun, 15 Feb 2009 14:34:23 +0000 (14:34 +0000)]
Do not export to the public the first_protocol symbol at the next
major bump.
There is no need for that, since av_protocol_next() already provides
access to the first registered protocol.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17326 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCast a __u64 variable to uint64_t so that it can be printed without warnings
lucabe [Sun, 15 Feb 2009 14:32:09 +0000 (14:32 +0000)]
Cast a __u64 variable to uint64_t so that it can be printed without warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument av_protocol_next().
stefano [Sun, 15 Feb 2009 14:31:18 +0000 (14:31 +0000)]
Document av_protocol_next().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17324 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace calls/references of the deprecated register_protocol()
stefano [Sun, 15 Feb 2009 14:29:23 +0000 (14:29 +0000)]
Replace calls/references of the deprecated register_protocol()
function with correponding calls/references to av_register_protocol().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename register_protocol() to av_register_protocol() and deprecate
stefano [Sun, 15 Feb 2009 14:25:23 +0000 (14:25 +0000)]
Rename register_protocol() to av_register_protocol() and deprecate
register_protocol().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17322 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodemux some more metadata tags in mov
aurel [Sun, 15 Feb 2009 14:13:28 +0000 (14:13 +0000)]
demux some more metadata tags in mov

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPlace spaces consistently in pointer types in vdpau.c
reimar [Sun, 15 Feb 2009 12:31:01 +0000 (12:31 +0000)]
Place spaces consistently in pointer types in vdpau.c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17320 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetics. Vertical align.
iive [Sun, 15 Feb 2009 10:15:02 +0000 (10:15 +0000)]
Cosmetics. Vertical align.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17319 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAlmost cosmetics.
iive [Sun, 15 Feb 2009 10:14:16 +0000 (10:14 +0000)]
Almost cosmetics.
Move some assignments after the checks.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17318 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCheck all critical xvmc struct fields in ff_xvmc_field_start()
iive [Sun, 15 Feb 2009 10:06:23 +0000 (10:06 +0000)]
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17317 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument av_iformat_next() and av_oformat_next() functions.
stefano [Sun, 15 Feb 2009 09:04:08 +0000 (09:04 +0000)]
Document av_iformat_next() and av_oformat_next() functions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoProper condition in xvmc decode mb.
iive [Sun, 15 Feb 2009 09:03:47 +0000 (09:03 +0000)]
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename xvmc_render_state to something with pixfmt in its name.
iive [Sun, 15 Feb 2009 08:42:11 +0000 (08:42 +0000)]
Rename xvmc_render_state to something with pixfmt in its name.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17314 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoA little better wording of doxygen comments.
iive [Sun, 15 Feb 2009 08:29:06 +0000 (08:29 +0000)]
A little better wording of doxygen comments.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRevert 17308.
iive [Sun, 15 Feb 2009 07:55:39 +0000 (07:55 +0000)]
Revert 17308.
The above commit makes ff_xvmc_decode_mb to output one log entry
for each decoded MB, causing massive slowdown.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17312 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPrevent heap corruption when resampling 8-bit audio.
pross [Sun, 15 Feb 2009 06:29:43 +0000 (06:29 +0000)]
Prevent heap corruption when resampling 8-bit audio.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17311 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGive a little better name to the magic(_id) field in xvmc struct
iive [Sun, 15 Feb 2009 02:36:43 +0000 (02:36 +0000)]
Give a little better name to the magic(_id) field in xvmc struct

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17310 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in mov demuxer
aurel [Sun, 15 Feb 2009 02:28:54 +0000 (02:28 +0000)]
use new metadata API in mov demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace assert in ff_xvmc_field_end() by av_log call at level AV_LOG_ERROR.
diego [Sun, 15 Feb 2009 02:27:55 +0000 (02:27 +0000)]
Replace assert in ff_xvmc_field_end() by av_log call at level AV_LOG_ERROR.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17308 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove obsolate display_flag from xvmc struct
iive [Sun, 15 Feb 2009 02:17:48 +0000 (02:17 +0000)]
Remove obsolate display_flag from xvmc struct
and mark state defines as obsolete.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17307 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDetailed description of the interesting fields in xvmc struct.
iive [Sun, 15 Feb 2009 01:35:32 +0000 (01:35 +0000)]
Detailed description of the interesting fields in xvmc struct.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17306 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMpve the field state in xvmc struct to the extentions section.
iive [Sun, 15 Feb 2009 01:28:50 +0000 (01:28 +0000)]
Mpve the field state in xvmc struct to the extentions section.
It have always been workaround for MPlayer limitations.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove redundant assert(render) in ff_xvmc_init_block(). The immediately
diego [Sun, 15 Feb 2009 01:24:09 +0000 (01:24 +0000)]
Remove redundant assert(render) in ff_xvmc_init_block().  The immediately
following if condition checks render and does an assert if it fails.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17304 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove asserts that are immediately followed by a check and error return.
diego [Sun, 15 Feb 2009 00:52:16 +0000 (00:52 +0000)]
Remove asserts that are immediately followed by a check and error return.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDrop struct members display_flags and state with the next major version bump.
diego [Sun, 15 Feb 2009 00:40:57 +0000 (00:40 +0000)]
Drop struct members display_flags and state with the next major version bump.
They are not used within FFmpeg.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDoxygen comment/explanation for ff_xvmc_init_block().
diego [Sun, 15 Feb 2009 00:16:51 +0000 (00:16 +0000)]
Doxygen comment/explanation for ff_xvmc_init_block().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17301 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove completely unsed structure fields mc_type and chroma_format.
diego [Sun, 15 Feb 2009 00:09:28 +0000 (00:09 +0000)]
Remove completely unsed structure fields mc_type and chroma_format.
Their only user, MPlayer, has already been updated not to use them anymore.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17300 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace consistency cosmetics
diego [Sat, 14 Feb 2009 23:48:11 +0000 (23:48 +0000)]
whitespace consistency cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17299 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
diego [Sat, 14 Feb 2009 23:45:35 +0000 (23:45 +0000)]
Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDepricate some unused xvmc structure fields.
iive [Sat, 14 Feb 2009 23:28:09 +0000 (23:28 +0000)]
Depricate some unused xvmc structure fields.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd Doxygen comment similar to ff_xvmc_field_start() to ff_xvmc_field_end().
diego [Sat, 14 Feb 2009 23:13:32 +0000 (23:13 +0000)]
Add Doxygen comment similar to ff_xvmc_field_start() to ff_xvmc_field_end().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: remove stray space
diego [Sat, 14 Feb 2009 23:08:43 +0000 (23:08 +0000)]
whitespace cosmetics: remove stray space

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17295 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetics
iive [Sat, 14 Feb 2009 23:01:19 +0000 (23:01 +0000)]
Cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17294 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMerge preprocessor if CONFIG_MPEG_XVMC_DECODER and code if( &&)
iive [Sat, 14 Feb 2009 22:59:19 +0000 (22:59 +0000)]
Merge preprocessor if CONFIG_MPEG_XVMC_DECODER and code if( &&)
where possible

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDoxygenize ff_xvmc_field_start() comment.
diego [Sat, 14 Feb 2009 22:48:59 +0000 (22:48 +0000)]
Doxygenize ff_xvmc_field_start() comment.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoClarify ff_xvmc_field_start() comment.
diego [Sat, 14 Feb 2009 22:46:40 +0000 (22:46 +0000)]
Clarify ff_xvmc_field_start() comment.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17291 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCheck ff_xvmc_field_start() result in all cases.
iive [Sat, 14 Feb 2009 22:46:20 +0000 (22:46 +0000)]
Check ff_xvmc_field_start() result in all cases.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17290 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAnother attempt to clarify draw_horiz_band() usage.
iive [Sat, 14 Feb 2009 22:22:55 +0000 (22:22 +0000)]
Another attempt to clarify draw_horiz_band() usage.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17289 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMerge some declarations and initializations.
diego [Sat, 14 Feb 2009 22:21:17 +0000 (22:21 +0000)]
Merge some declarations and initializations.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17288 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReturn error instead triggering assert.
iive [Sat, 14 Feb 2009 22:06:00 +0000 (22:06 +0000)]
Return error instead triggering assert.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: comment wording/grammar
diego [Sat, 14 Feb 2009 21:52:44 +0000 (21:52 +0000)]
cosmetics: comment wording/grammar

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: Change '8*8' to '64'.
diego [Sat, 14 Feb 2009 21:50:46 +0000 (21:50 +0000)]
cosmetics: Change '8*8' to '64'.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: K&R style
diego [Sat, 14 Feb 2009 21:49:48 +0000 (21:49 +0000)]
cosmetics: K&R style

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17284 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGive nice message for failed assert.
iive [Sat, 14 Feb 2009 21:33:13 +0000 (21:33 +0000)]
Give nice message for failed assert.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAttempt to clarify draw_horiz_band description and fix two random typos.
diego [Sat, 14 Feb 2009 21:00:26 +0000 (21:00 +0000)]
Attempt to clarify draw_horiz_band description and fix two random typos.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17282 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMore clarification for draw_horiz_band() in hwaccell mode.
iive [Sat, 14 Feb 2009 20:52:18 +0000 (20:52 +0000)]
More clarification for draw_horiz_band() in hwaccell mode.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17281 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd xvmc_internal.h that contains all internal xvmc function declarations.
diego [Sat, 14 Feb 2009 20:37:14 +0000 (20:37 +0000)]
Add xvmc_internal.h that contains all internal xvmc function declarations.
This allows getting rid of a bunch of ugly forward declarations.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17280 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetic 64 instead 8*8
iive [Sat, 14 Feb 2009 20:35:10 +0000 (20:35 +0000)]
Cosmetic 64 instead 8*8

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17279 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoClarify some assert usage.
iive [Sat, 14 Feb 2009 20:30:13 +0000 (20:30 +0000)]
Clarify some assert usage.
They are not to check application supplied parameters.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17278 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument that ff_draw_horiz_band() could be used as hwaccell callback.
iive [Sat, 14 Feb 2009 20:07:52 +0000 (20:07 +0000)]
Document that ff_draw_horiz_band() could be used as hwaccell callback.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoanother (last?) round of K&R whitespace cosmetics
diego [Sat, 14 Feb 2009 20:00:22 +0000 (20:00 +0000)]
another (last?) round of K&R whitespace cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17276 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: Align some comments.
diego [Sat, 14 Feb 2009 19:54:59 +0000 (19:54 +0000)]
whitespace cosmetics: Align some comments.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17275 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: Put some spaces around operators for better readability.
diego [Sat, 14 Feb 2009 19:52:06 +0000 (19:52 +0000)]
whitespace cosmetics: Put some spaces around operators for better readability.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove a comment that references a non-existing function.
diego [Sat, 14 Feb 2009 19:47:55 +0000 (19:47 +0000)]
Remove a comment that references a non-existing function.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17273 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake one comment slightly clearer and more readable.
diego [Sat, 14 Feb 2009 19:42:29 +0000 (19:42 +0000)]
Make one comment slightly clearer and more readable.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17272 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove one more commented-out line.
diego [Sat, 14 Feb 2009 19:41:16 +0000 (19:41 +0000)]
Remove one more commented-out line.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17271 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosome more K&R whitespace cosmetics
diego [Sat, 14 Feb 2009 19:39:07 +0000 (19:39 +0000)]
some more K&R whitespace cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17270 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: grammar/spelling/wording fixes in comments
diego [Sat, 14 Feb 2009 19:33:09 +0000 (19:33 +0000)]
cosmetics: grammar/spelling/wording fixes in comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17269 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove useless comment.
diego [Sat, 14 Feb 2009 19:27:34 +0000 (19:27 +0000)]
Remove useless comment.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17268 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRestore one set of parentheses to avoid the warning:
diego [Sat, 14 Feb 2009 19:24:37 +0000 (19:24 +0000)]
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 ||

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17267 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: consistently format all comments
diego [Sat, 14 Feb 2009 19:21:00 +0000 (19:21 +0000)]
whitespace cosmetics: consistently format all comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17266 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: Correctly indent all comments.
diego [Sat, 14 Feb 2009 19:14:46 +0000 (19:14 +0000)]
whitespace cosmetics: Correctly indent all comments.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17265 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoClarify TODO comment
iive [Sat, 14 Feb 2009 19:09:33 +0000 (19:09 +0000)]
Clarify TODO comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17264 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove compatibility layer for old names of xvmc definitions.
diego [Sat, 14 Feb 2009 19:08:47 +0000 (19:08 +0000)]
Remove compatibility layer for old names of xvmc definitions.
The header was non-public before and the only user, MPlayer, was updated.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17263 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDrop two more sets of useless parentheses.
diego [Sat, 14 Feb 2009 19:05:07 +0000 (19:05 +0000)]
Drop two more sets of useless parentheses.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17262 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoget rid of the branch prediction
iive [Sat, 14 Feb 2009 19:02:46 +0000 (19:02 +0000)]
get rid of the branch prediction

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17261 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: Consistently format all if/else statements in K&R style
diego [Sat, 14 Feb 2009 19:00:51 +0000 (19:00 +0000)]
cosmetics: Consistently format all if/else statements in K&R style
and drop braces from if statements where unnecessary.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17260 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove some useless parentheses.
diego [Sat, 14 Feb 2009 18:57:32 +0000 (18:57 +0000)]
Remove some useless parentheses.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17259 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename some forward declarations that were missed, fixes the warnings:
diego [Sat, 14 Feb 2009 18:51:17 +0000 (18:51 +0000)]
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’

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17258 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoremove obsolate comment
iive [Sat, 14 Feb 2009 18:47:00 +0000 (18:47 +0000)]
remove obsolate comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17257 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix compilation: XVMC_ --> ff_xvmc prefix for xvmc functions.
diego [Sat, 14 Feb 2009 18:46:32 +0000 (18:46 +0000)]
Fix compilation: XVMC_ --> ff_xvmc prefix for xvmc functions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17256 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoremove some useless ()
iive [Sat, 14 Feb 2009 18:45:44 +0000 (18:45 +0000)]
remove some useless ()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17255 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse ff_xvmc for function names instead of XVMC_
iive [Sat, 14 Feb 2009 18:25:41 +0000 (18:25 +0000)]
use ff_xvmc for function names instead of XVMC_

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17254 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: Restore vertical alignment.
diego [Sat, 14 Feb 2009 18:15:59 +0000 (18:15 +0000)]
whitespace cosmetics: Restore vertical alignment.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17253 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoclarify xvmc struct fields usage distribution (internal communication)
iive [Sat, 14 Feb 2009 18:06:05 +0000 (18:06 +0000)]
clarify xvmc struct fields usage distribution (internal communication)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17252 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodoxygen style comments
iive [Sat, 14 Feb 2009 17:56:51 +0000 (17:56 +0000)]
doxygen style comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17251 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace useless X11 #includes by the one that actually provides the required
diego [Sat, 14 Feb 2009 17:52:30 +0000 (17:52 +0000)]
Replace useless X11 #includes by the one that actually provides the required
declarations of XvMCMacroBlock and XvMCSurface.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17250 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: vertical alignment
diego [Sat, 14 Feb 2009 17:45:38 +0000 (17:45 +0000)]
whitespace cosmetics: vertical alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17249 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix non-Doxygen comment.
diego [Sat, 14 Feb 2009 17:42:40 +0000 (17:42 +0000)]
Fix non-Doxygen comment.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17248 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.
diego [Sat, 14 Feb 2009 17:37:42 +0000 (17:37 +0000)]
Add avcodec.h #include so that LIBAVCODEC_VERSION_MAJOR is not undefined.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17247 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agovertically align xvmc struct member comments
iive [Sat, 14 Feb 2009 17:28:39 +0000 (17:28 +0000)]
vertically align xvmc struct member comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17246 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename xvmc flags to follow ffmpeg AV_ notion.
iive [Sat, 14 Feb 2009 17:24:01 +0000 (17:24 +0000)]
Rename xvmc flags to follow ffmpeg AV_ notion.
preserve MP_ ones until next major bump.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17245 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoGive public #defines that are used by MPlayer an AV_ prefix.
diego [Sat, 14 Feb 2009 17:12:25 +0000 (17:12 +0000)]
Give public #defines that are used by MPlayer an AV_ prefix.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17244 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace all (x == NULL) or (x != NULL) in assert and if conditions by !x and x.
diego [Sat, 14 Feb 2009 17:04:09 +0000 (17:04 +0000)]
Replace all (x == NULL) or (x != NULL) in assert and if conditions by !x and x.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17243 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate multiple inclusion guards to match filename.
diego [Sat, 14 Feb 2009 16:54:53 +0000 (16:54 +0000)]
Update multiple inclusion guards to match filename.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17242 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoremove assertion that use external definitions
iive [Sat, 14 Feb 2009 16:53:42 +0000 (16:53 +0000)]
remove assertion that use external definitions

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17241 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix compilation: Restore mistakenly removed constant definitions.
diego [Sat, 14 Feb 2009 16:43:35 +0000 (16:43 +0000)]
Fix compilation: Restore mistakenly removed constant definitions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17240 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoexplain chroma_format field in xvmc struct
iive [Sat, 14 Feb 2009 16:37:30 +0000 (16:37 +0000)]
explain chroma_format field in xvmc struct

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodescribe idct variable in xvmc struct
iive [Sat, 14 Feb 2009 16:30:57 +0000 (16:30 +0000)]
describe idct variable in xvmc struct

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17238 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDescribe the pirpose of magic in xvmc structure
iive [Sat, 14 Feb 2009 16:24:45 +0000 (16:24 +0000)]
Describe the pirpose of magic in xvmc structure

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17237 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: vertical alignment
diego [Sat, 14 Feb 2009 16:23:08 +0000 (16:23 +0000)]
whitespace cosmetics: vertical alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17236 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: another round of formatting consistency fixes
diego [Sat, 14 Feb 2009 16:22:11 +0000 (16:22 +0000)]
whitespace cosmetics: another round of formatting consistency fixes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17235 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agowhitespace cosmetics: consistent (more or less) K&R style
diego [Sat, 14 Feb 2009 16:14:26 +0000 (16:14 +0000)]
whitespace cosmetics: consistent (more or less) K&R style

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17234 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b