platform/upstream/libav.git
15 years agoMove the state field in the xvmc struct to the extensions section.
Ivan Kalvachev [Sun, 15 Feb 2009 01:28:50 +0000 (01:28 +0000)]
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

15 years agoRemove redundant assert(render) in ff_xvmc_init_block(). The immediately
Diego Biurrun [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.

Originally committed as revision 17304 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17303 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDrop struct members display_flags and state with the next major version bump.
Diego Biurrun [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.

Originally committed as revision 17302 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17301 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove completely unsed structure fields mc_type and chroma_format.
Diego Biurrun [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.

Originally committed as revision 17300 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17299 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17298 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDeprecate some unused xvmc structure fields.
Ivan Kalvachev [Sat, 14 Feb 2009 23:28:09 +0000 (23:28 +0000)]
Deprecate some unused xvmc structure fields.

Originally committed as revision 17297 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd Doxygen comment similar to ff_xvmc_field_start() to ff_xvmc_field_end().
Diego Biurrun [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().

Originally committed as revision 17296 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17295 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17294 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17293 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17292 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17291 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17290 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17289 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17288 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17287 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17286 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17285 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17284 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17283 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17282 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17281 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd xvmc_internal.h that contains all internal xvmc function declarations.
Diego Biurrun [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.

Originally committed as revision 17280 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17279 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17278 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse sws_printVec2() instead of the deprecated sws_printVec().
Stefano Sabatini [Sat, 14 Feb 2009 20:18:50 +0000 (20:18 +0000)]
Use sws_printVec2() instead of the deprecated sws_printVec().

Originally committed as revision 28567 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoImplement sws_printVec2() and deprecate sws_printVec().
Stefano Sabatini [Sat, 14 Feb 2009 20:14:28 +0000 (20:14 +0000)]
Implement sws_printVec2() and deprecate sws_printVec().

Originally committed as revision 28566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

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

Originally committed as revision 17277 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17276 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17275 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17274 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17273 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17272 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17271 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17270 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDocument sws_normalizeVec().
Stefano Sabatini [Sat, 14 Feb 2009 19:37:13 +0000 (19:37 +0000)]
Document sws_normalizeVec().

Originally committed as revision 28565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

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

Originally committed as revision 17269 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17268 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRestore one set of parentheses to avoid the warning:
Diego Biurrun [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 ||

Originally committed as revision 17267 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17266 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17265 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17264 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove compatibility layer for old names of xvmc definitions.
Diego Biurrun [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.

Originally committed as revision 17263 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17262 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17261 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: Consistently format all if/else statements in K&R style
Diego Biurrun [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.

Originally committed as revision 17260 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17259 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRename some forward declarations that were missed, fixes the warnings:
Diego Biurrun [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’

Originally committed as revision 17258 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17257 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17256 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17255 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17253 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17252 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17251 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoReplace useless X11 #includes by the one that actually provides the required
Diego Biurrun [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.

Originally committed as revision 17250 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17249 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17248 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17247 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17246 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRename xvmc flags to follow ffmpeg AV_ notion.
Ivan Kalvachev [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.

Originally committed as revision 17245 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17244 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoReplace all (x == NULL) or (x != NULL) in assert and if conditions by !x and x.
Diego Biurrun [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.

Originally committed as revision 17243 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17242 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17241 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17240 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMake hScale_altivec_real() trim its output like other implementations do
Kostya Shishkov [Sat, 14 Feb 2009 16:39:15 +0000 (16:39 +0000)]
Make hScale_altivec_real() trim its output like other implementations do

Originally committed as revision 28556 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoSome AltiVec functions in SwScaler produce different output than their
Kostya Shishkov [Sat, 14 Feb 2009 16:37:39 +0000 (16:37 +0000)]
Some AltiVec functions in SwScaler produce different output than their
counterparts in pure C, so don't invoke them in bitexact mode.

Originally committed as revision 28555 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

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

Originally committed as revision 17239 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17238 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17237 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17236 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17235 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

Originally committed as revision 17234 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agowhitespace cosmetics: Fix indentation depth.
Diego Biurrun [Sat, 14 Feb 2009 16:05:36 +0000 (16:05 +0000)]
whitespace cosmetics: Fix indentation depth.

Originally committed as revision 17233 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove commented-out code.
Diego Biurrun [Sat, 14 Feb 2009 16:01:03 +0000 (16:01 +0000)]
Remove commented-out code.

Originally committed as revision 17232 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years ago100l: Remove stray character that slipped into header name.
Diego Biurrun [Sat, 14 Feb 2009 15:54:24 +0000 (15:54 +0000)]
100l: Remove stray character that slipped into header name.

Originally committed as revision 17231 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSilence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible point...
Michael Niedermayer [Sat, 14 Feb 2009 15:44:46 +0000 (15:44 +0000)]
Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"
The alternative (schoolbook) solution is less readable.

Originally committed as revision 17230 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
Diego Biurrun [Sat, 14 Feb 2009 15:37:40 +0000 (15:37 +0000)]
Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.

Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRename xvmc.c --> mpegvideo_xvmc.c as suggested by Ivan.
Diego Biurrun [Sat, 14 Feb 2009 15:30:40 +0000 (15:30 +0000)]
Rename xvmc.c --> mpegvideo_xvmc.c as suggested by Ivan.

Originally committed as revision 17228 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse consistent indent style in oggdec.
Peter Ross [Sat, 14 Feb 2009 13:44:21 +0000 (13:44 +0000)]
Use consistent indent style in oggdec.

Originally committed as revision 17227 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMake xvmc.h an installed header, applications like MPlayer need it.
Diego Biurrun [Sat, 14 Feb 2009 13:40:53 +0000 (13:40 +0000)]
Make xvmc.h an installed header, applications like MPlayer need it.

Originally committed as revision 17226 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRevert adding a _pixfmt to vdpau/xvmc header names.
Diego Biurrun [Sat, 14 Feb 2009 13:37:18 +0000 (13:37 +0000)]
Revert adding a _pixfmt to vdpau/xvmc header names.
Since vdpau.h was an installed header this would break API.

Originally committed as revision 17225 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: alphabetical order
Diego Biurrun [Sat, 14 Feb 2009 13:12:49 +0000 (13:12 +0000)]
cosmetics: alphabetical order

Originally committed as revision 17224 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd av_uninit to variable declarations to fix the false positive warnings:
Patrik Kullman [Sat, 14 Feb 2009 11:49:54 +0000 (11:49 +0000)]
Add av_uninit to variable declarations to fix the false positive warnings:
vhook/ppm.c:236: warning: 'out_height' may be used uninitialized in this function
vhook/ppm.c:235: warning: 'out_width' may be used uninitialized in this function
patch by Patrik Kullman, patrik yes nu

Originally committed as revision 17223 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix avfilter_parse_graph() invalid graph description detection.
Stefano Sabatini [Sat, 14 Feb 2009 11:47:42 +0000 (11:47 +0000)]
Fix avfilter_parse_graph() invalid graph description detection.

See the thread:
"[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()".

Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoEnable dropping frames for RV3/4
Kostya Shishkov [Sat, 14 Feb 2009 06:38:50 +0000 (06:38 +0000)]
Enable dropping frames for RV3/4

Originally committed as revision 17221 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd libavcodec/internal.h include to avoid warning: implicit declaration of
Patrik Kullman [Fri, 13 Feb 2009 23:02:05 +0000 (23:02 +0000)]
Add libavcodec/internal.h include to avoid warning: implicit declaration of
function ‘ff_log_missing_feature’

Patch by Patrik Kullman ( patrik yes nu )

Originally committed as revision 17220 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocompute body offset and index entry offset correctly
Baptiste Coudurier [Fri, 13 Feb 2009 22:38:05 +0000 (22:38 +0000)]
compute body offset and index entry offset correctly

Originally committed as revision 17219 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agolpc: Remove false positive compilation warning about weight being
Patrik Kullman [Fri, 13 Feb 2009 22:05:55 +0000 (22:05 +0000)]
lpc: Remove false positive compilation warning about weight being
uninitialized. Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17218 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAssert that ff_lpc_calc_coefs() is called with a valid LPC method.
Patrik Kullman [Fri, 13 Feb 2009 22:03:11 +0000 (22:03 +0000)]
Assert that ff_lpc_calc_coefs() is called with a valid LPC method.
Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17217 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agolpc: Document the use_lpc parameter to ff_lpc_calc_coefs().
Patrik Kullman [Fri, 13 Feb 2009 22:01:46 +0000 (22:01 +0000)]
lpc: Document the use_lpc parameter to ff_lpc_calc_coefs().
Patch by Patrik Kullman (patrik A yes D nu).

Originally committed as revision 17216 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoadd myself as maintainer for lpc.[ch]
Justin Ruggles [Fri, 13 Feb 2009 21:56:00 +0000 (21:56 +0000)]
add myself as maintainer for lpc.[ch]

Originally committed as revision 17215 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse correct field number for video according to specs, patch by Thierry Foucu, tfoucu...
Thierry Foucu [Fri, 13 Feb 2009 21:36:36 +0000 (21:36 +0000)]
use correct field number for video according to specs, patch by Thierry Foucu, tfoucu at gmail dot com

Originally committed as revision 17214 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics, rename nb_frames to nb_fields
Baptiste Coudurier [Fri, 13 Feb 2009 21:32:18 +0000 (21:32 +0000)]
cosmetics, rename nb_frames to nb_fields

Originally committed as revision 17213 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofix slice offset computation
Baptiste Coudurier [Fri, 13 Feb 2009 19:04:30 +0000 (19:04 +0000)]
fix slice offset computation

Originally committed as revision 17212 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRe-indent after last commit.
Alex Converse [Fri, 13 Feb 2009 16:07:20 +0000 (16:07 +0000)]
Re-indent after last commit.

Originally committed as revision 17211 to svn://svn.ffmpeg.org/ffmpeg/trunk