1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Commit Graph

17974 Commits

Author SHA1 Message Date
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
Stefano Sabatini
a26b51cd4a Document sws_normalizeVec().
Originally committed as revision 28565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 19:37:13 +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
Kostya Shishkov
43cbf8adbb Make hScale_altivec_real() trim its output like other implementations do
Originally committed as revision 28556 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 16:39:15 +00:00
Kostya Shishkov
12794f73eb 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
2009-02-14 16:37:39 +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
Diego Biurrun
4ef690f565 whitespace cosmetics: vertical alignment
Originally committed as revision 17236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:23:08 +00:00
Diego Biurrun
2d7d8cc7f4 whitespace cosmetics: another round of formatting consistency fixes
Originally committed as revision 17235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:22:11 +00:00
Diego Biurrun
148302e7e4 whitespace cosmetics: consistent (more or less) K&R style
Originally committed as revision 17234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:14:26 +00:00
Diego Biurrun
39dba5e8df whitespace cosmetics: Fix indentation depth.
Originally committed as revision 17233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:05:36 +00:00
Diego Biurrun
8e5cfb6e82 Remove commented-out code.
Originally committed as revision 17232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 16:01:03 +00:00
Diego Biurrun
8f6f050aae 100l: Remove stray character that slipped into header name.
Originally committed as revision 17231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:54:24 +00:00
Michael Niedermayer
8ba311410a 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
2009-02-14 15:44:46 +00:00
Diego Biurrun
fc2dd7e3de Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:37:40 +00:00
Diego Biurrun
9e47796048 Rename xvmc.c --> mpegvideo_xvmc.c as suggested by Ivan.
Originally committed as revision 17228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:30:40 +00:00
Peter Ross
bad4a6bbb7 Use consistent indent style in oggdec.
Originally committed as revision 17227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 13:44:21 +00:00
Diego Biurrun
aea0b32cbc Make xvmc.h an installed header, applications like MPlayer need it.
Originally committed as revision 17226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 13:40:53 +00:00
Diego Biurrun
fd949a6353 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
2009-02-14 13:37:18 +00:00
Diego Biurrun
db68113d5e cosmetics: alphabetical order
Originally committed as revision 17224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 13:12:49 +00:00